* {
  box-sizing: border-box;
  font-family: "Almarai", sans-serif !important;
}

/* Root Variables */
:root {
  --primary-color: #137976;
  --secondary-color: #000000;
  --accent-color: #AA8730;
  --white: #FFFFFF;
  --light-bg: #F7F7F7;
}

/* Global */
*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: "Almarai", sans-serif !important;
  font-weight: 400;
  font-style: normal;
}

/* ==========================================
   Header
========================================== */

.site-header {
  width: 100%;
  direction: rtl;
  font-family: "Almarai", sans-serif;
  background: #fff;
}

/* ==========================================
   Top Bar
========================================== */

.top-bar {
  background: #137976;
  color: #fff;
  text-align: center;
  padding: 10px 20px;
}

.top-bar p,
.top-bar h2 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
}

/* ==========================================
   Navbar
========================================== */

.navbar {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #ececec;
  position: relative;
  z-index: 100;
}

.navbar .container {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 10px 40px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================
   Logo
========================================== */

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  width: 246px;
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================
   Navigation
========================================== */

.nav-menu {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  margin-right: 30px;
}

.nav-menu ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;

  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  text-decoration: none;
  color: hsla(0, 0%, 13%, 0.959);
  font-size: 24px;
  font-weight: 700;
  transition: all .3s ease;
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #137976;
}

.mobile-login-item {
  display: none;
}

/* ==========================================
   Dashboard Button
========================================== */

.login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

     padding: 6px 30px;

  background: var(--accent-color);
  color: #fff;
  border-radius: 50px;

  text-decoration: none;
  font-size: 17px;
  font-weight: 600;

  transition: all .3s ease;
  flex-shrink: 0;
}

.login-btn:hover {
  background: #c9a84c;
  color: #fff;
}

/* ==========================================
   Mobile Menu Button
========================================== */

.menu-toggle {
  display: none;

  width: 45px;
  height: 45px;

  border: none;
  background: transparent;

  font-size: 23px;
  color: #137976;

  cursor: pointer;
}

/* ==========================================
   Responsive - Tablet
========================================== */

@media (max-width: 1200px) {

  .logo img {
    width: 220px;
  }

  .nav-menu ul {
    gap: 15px;
  }

  .nav-menu a {
    font-size: 16px;
    white-space: nowrap;
  }

  .login-btn {
    padding: 8px 20px;
    font-size: 15px;
    white-space: nowrap;
  }
}

/* ==========================================
   Responsive - Mobile
========================================== */

@media (max-width: 991px) {

  .navbar .container {
    padding: 15px 20px;
    flex-wrap: wrap;
  }

  .logo {
    order: 1;
  }

  .logo img {
    width: 180px;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
  }

  .login-btn {
    display: none;
  }

  .nav-menu {
    display: none;
    flex: 0 0 100%;
    margin: 15px 0 0;
    background: #fff;
    border-top: 1px solid #eee;
    order: 3;
  }

  .nav-menu.active {
    display: block;
  }

  .nav-menu ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    display: block;
    padding: 16px 20px;
    font-size: 18px;
    border-bottom: 1px solid #eee;
  }

  .nav-menu a:hover,
  .nav-menu a.active {
    background-color: #137976;
    color: #fff;
  }

  .mobile-login-item {
    display: block;
    padding: 15px 20px;
  }

  .nav-menu .mobile-login-item a {
    background-color: rgb(170, 135, 48);
    color: #fff !important;
    border-radius: 50px;
    text-align: center;
    border-bottom: none;
    font-weight: 700;
    padding: 12px 20px;
  }

  .nav-menu .mobile-login-item a:hover,
  .nav-menu .mobile-login-item a.active {
    background-color: #9c7b2a !important;
    color: #fff !important;
  }
}

/* ==========================================
   Small Mobile
========================================== */

@media (max-width: 576px) {

  .top-bar {
    padding: 10px 15px;
  }

  .top-bar p,
  .top-bar h2 {
    font-size: 15px;
    line-height: 1.6;
  }

  .navbar .container {
    padding: 12px 15px;
  }

  .logo img {
    width: 150px;
  }

  .menu-toggle {
    font-size: 28px;
  }

  .nav-menu a {
    font-size: 17px;
    padding: 14px 18px;
  }
}

/* =========================
   Footer
========================= */

.footer {
  direction: rtl;
  font-family: "Almarai", sans-serif;
}

/* =========================
   Newsletter Section
========================= */

.newsletter {
  background: linear-gradient(rgba(253, 253, 253, 0.96),
      rgba(253, 253, 253, 0.96)),
    url('../images/pattern-v01-08.png') repeat center;
  padding: 50px 0;
  position: relative;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}


/* Newsletter Layout */

.newsletter .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  max-width: 100%;
  padding: 0 40px;
}


/* =========================
   Newsletter Content (70%)
========================= */

.newsletter-content {
  width: 70%;
}

.newsletter-content h2 {
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 20px;
  color: rgb(19, 121, 118);
  line-height: 1.4;
}

.newsletter-content p {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2em;
  text-align: start;
}


/* =========================
   Newsletter Form (30%)
========================= */

.newsletter-form {
  width: 30%;
}

.newsletter-form form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}


.newsletter-form input {
  width: 100%;
  height: 60px;
  border: 1px solid var(--primary-color) !important;
  border-radius: 100px !important;
  background: #fff;
  padding: 0 25px;
  font-size: 16px;
  color: #000;
  text-align: right;
  font-family: "Almarai", sans-serif;
  box-sizing: border-box;
}


.newsletter-form input::placeholder {
  color: #999;
}


/* Submit Button */

.newsletter-form button {
  width: 100%;
  height: 60px;
  border: none;
  border-radius: 100px;
  background: #AA8730;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
  font-family: "Almarai", sans-serif;
}


.newsletter-form button:hover {
  background: #0f6663;
}


/* =========================
   Footer Bottom
========================= */

.footer-bottom {
  background: #f7f6f2;
  padding: 40px 0;
  text-align: center;
}


.footer-bottom p {
  color: var(--primary-color);
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}


/* =========================
   Responsive Design
========================= */


@media(max-width:992px) {

  .newsletter .container {
    flex-direction: column;
    text-align: center;
    gap: 35px;
  }


  .newsletter-content,
  .newsletter-form {
    width: 100%;
  }


  .newsletter-content h2 {
    font-size: 32px;
  }


  .newsletter-form form {
    max-width: 450px;
    margin: auto;
  }

}


@media(max-width:576px) {

  .newsletter {
    padding: 35px 0;
  }


  .container {
    width: 92%;
  }


  .newsletter-content h2 {
    font-size: 26px;
  }


  .newsletter-content p {
    font-size: 15px;
  }


  .newsletter-form input,
  .newsletter-form button {
    height: 55px;
  }


  .footer-bottom {
    padding: 30px 0;
  }

}

body {
  margin: 0;
  text-align: right;
  direction: rtl;
  background: #fff;
  color: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Section */
.hero-section {
  position: relative;
  z-index: 3;
  background-color: var(--primary-color);
  transition:
    background 0.3s,
    border 0.3s,
    border-radius 0.3s,
    box-shadow 0.3s;
  padding: 80px 20px;
}

/* Container */
.custom-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Content */
.hero-content {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Heading */
.hero-content h2 {
  margin: 0;
  color: var(--white);
  font-family: "Noto Naskh Arabic", serif;
  font-size: 72px;
  font-weight: 600;
  line-height: 1em;
  letter-spacing: -2px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content h2 {
    font-size: 52px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 20px;
  }

  .hero-content h2 {
    font-size: 40px;
    letter-spacing: -1px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 40px 15px;
  }

  .hero-content h2 {
    font-size: 28px;
    line-height: 1.3;
  }
}

body {
  background: #fff;
  margin: 0;
  color: #0f172a;
}

/* AUTH */
.auth {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.auth-card {
  background: white;
  padding: 30px;
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
}

.auth-card h1 {
  color: #0f2a44;
}

.subtitle {
  color: #64748b;
  margin-bottom: 30px;
}

.auth-card input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
}

button {
  background: #0f2a44;
  color: white;
  border: none;
  padding: 12px;
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
}

/* TOPBAR */
.topbar {
  background: #0f2a44;
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
}

/* CONTAINER */
/* .container {
  padding: 20px;
} */

/* INFO */
.info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.info-box {
  background: white;
  padding: 20px;
  border-radius: 12px;
  border-right: 6px solid #0f2a44;
}

.green {
  border-right-color: #15803d;
}

/* CARD */
.card {
  background: white;
  margin-top: 25px;
  padding: 20px;
  border-radius: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

table th,
table td {
  padding: 12px;
  border-bottom: 1px solid #e2e8f0;
  text-align: center;
}

.pdf-btn {
  background: #15803d;
  display: block;
  margin-top: 20px;
  color: white;
  border: none;
  padding: 12px;
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

/* MOBILE */
@media(max-width:600px) {

  table th,
  table td {
    font-size: 14px;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 110px;
  left: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #1ebe57;
  transform: scale(1.1);
}

/* Scroll to Top Button */
#ast-scroll-top {
  display: flex !important;
  position: fixed;
  bottom: 55px;
  left: 50px;
  width: 40px;
  height: 40px;
  background-color: #137976;
  color: #fff;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

#ast-scroll-top.show {
  opacity: 1;
  pointer-events: auto;
}

#ast-scroll-top:hover {
  background-color: #0f615e;
  transform: translateY(-3px);
}

#ast-scroll-top svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

/* ── Home Footer ── */
.home-footer {
    background: #fbf9f4; /* beige color from screenshot */
    padding: 60px 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    direction: rtl;
    text-align: right;
}

.footer-col h4 {
    color: #17655d; /* teal color from screenshot */
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 24px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a,
.footer-col p {
    color: #17655d; /* text is also teal */
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
    display: block;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
}

.footer-logo img {
    max-width: 120px;
    margin-bottom: 16px;
}

.footer-desc {
    color: #1a2e22;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #fff;
    color: #17655d;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.footer-socials a:hover {
    background: #17655d;
    color: #fff;
    transform: translateY(-2px);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(23, 101, 93, 0.1);
}

.footer-contact-item span {
    font-family: Arial, sans-serif;
    direction: ltr;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}