/* =================================================================
   1) Fonts
   ================================================================= */
@font-face { font-family: 'Changa'; src: url('/assets/fonts/changa/Changa-ExtraLight.ttf') format('truetype'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'Changa'; src: url('/assets/fonts/changa/Changa-Light.ttf')       format('truetype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Changa'; src: url('/assets/fonts/changa/Changa-Regular.ttf')     format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Changa'; src: url('/assets/fonts/changa/Changa-Medium.ttf')      format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Changa'; src: url('/assets/fonts/changa/Changa-SemiBold.ttf')    format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Changa'; src: url('/assets/fonts/changa/Changa-Bold.ttf')        format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Changa'; src: url('/assets/fonts/changa/Changa-ExtraBold.ttf')   format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }

/* =================================================================
   2) Design Tokens (Bright Mode)
   ================================================================= */
:root {
  /* Base */
  --base-font: 'Changa', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --background-color: #FFFFFF;
  --surface-1: #FFFFFF;                /* cards/panels */
  --surface-2: #F7F9FB;                /* subtle sections */
  --border-soft: #E9EEF2;

  /* Primary (Blue) scale from logo */
  --primary-50:  #F1F6FA;
  --primary-100: #E2EDF5;
  --primary-200: #C7DBE8;
  --primary-300: #A6C5D8;
  --primary-400: #5A89A7;
  --primary-500: #46759C;  /* MAIN */
  --primary-600: #3D6A8B;
  --primary-700: #33526D;  /* headings/hover */
  --primary-800: #263B51;
  --primary-900: #1A222E;  /* deep text/nav */

  /* Accent (Orange) scale from logo */
  --accent-50:  #FFF6EC;
  --accent-100: #FEEAD3;
  --accent-200: #FBD19E;
  --accent-300: #F5B363;
  --accent-400: #EFA446;
  --accent-500: #DF9B3D;   /* light end */
  --accent-600: #D27F2F;
  --accent-700: #C95727;   /* deep end */
  --accent-800: #A7441F;
  --accent-900: #7A2F15;

  /* Text & iconography */
  --text-strong: var(--primary-900);   /* #1A222E */
  --text: #243746;                     /* body text on white */
  --text-muted: #5D7386;
  --icon-accent: #5A89A7;

  /* Alias (keep your older variable names working) */
  --default-color: var(--primary-700);
  --heading-color: var(--primary-500);
  --accent-color: var(--accent-700);
  --surface-color: var(--surface-1);
  --contrast-color: #FFFFFF;
  --text-accent: var(--primary-600);
  --animation-glow: rgba(70,117,156,0.28);

  /* RGB aliases */
  --heading-color-rgb: 70, 117, 156;   /* primary-500 */
  --default-color-rgb: 51, 82, 109;    /* primary-700 */
  --accent-color-rgb: 201, 87, 39;     /* accent-700 */

  /* Nav */
  --nav-color: var(--primary-900);
  --nav-hover-color: var(--accent-700);
  --nav-mobile-background-color: #FAFBFC;
  --nav-azad-dropdown-background-color: #FFFFFF;
  --nav-azad-dropdown-color: var(--primary-800);
  --nav-azad-dropdown-hover-color: var(--accent-700);

  /* Pagination */
  --pagination-bg: #F0F3F6;
  --pagination-active-bg: linear-gradient(90deg, var(--primary-600) 60%, var(--primary-500) 100%);
  --pagination-active-color: #FFFFFF;
  --pagination-hover-bg: var(--accent-600);
  --pagination-color: #233548;
  --pagination-gap: 0.85rem;
  --pagination-font-size: 1.12rem;
  --pagination-shadow: 0 2px 14px rgba(26, 34, 46, 0.10);
  --pagination-active-shadow: 0 5px 24px rgba(26, 34, 46, 0.18);

  /* Buttons/links (these replace the broken references in your 2nd :root) */
  --btn-primary-bg: var(--primary-600);
  --btn-primary-fg: #FFFFFF;
  --btn-primary-hover: var(--primary-700);
  --btn-primary-active: var(--primary-800);

  --btn-secondary-bg: var(--accent-600);
  --btn-secondary-fg: #FFFFFF;
  --btn-secondary-hover: var(--accent-700);
  --btn-secondary-active: var(--accent-800);

  --link-color: var(--primary-700);
  --link-hover: var(--accent-700);

  /* Cards */
  --card-bg: var(--surface-1);
  --card-border: var(--border-soft);
  --card-shadow: 0 8px 24px rgba(15, 19, 23, 0.06);
}


:root{
  /* Secondary accent system */
  --accent2-50:#f5f4ff; --accent2-100:#ebe9ff; --accent2-200:#d9d3ff;
  --accent2-300:#b8acff; --accent2-400:#9a8bff; --accent2-500:#7e6cff;
  --accent2-600:#6b4eff; /* primary violet */
  --accent2-700:#5737f5; --accent2-800:#4329c8; --accent2-900:#2f1f94;

  /* Companion mint for chips/ok states */
  --mint-100:#e9fbf3; --mint-300:#bdf3dc; --mint-500:#34d399; --mint-700:#14a36e;
}

/* Utility helpers */
.text-accent2{ color: var(--accent2-700)!important }
.bg-accent2 { background: var(--accent2-600)!important; color:#fff!important }
.badge-accent2{ background: var(--accent2-100); color: var(--accent2-700); border:1px solid var(--accent2-200); border-radius:10px; padding:.25rem .6rem }
.border-accent2{ border-color: var(--accent2-300)!important }

/* Alt CTA (square, non-pill) */
.btn-cta-alt{
  background: linear-gradient(135deg, var(--accent2-700), var(--accent2-600));
  color:#fff; border:1px solid rgba(0,0,0,.06); border-radius:12px;
  padding:.75rem 1.15rem; font-weight:800; letter-spacing:.1px;
  box-shadow:0 8px 18px rgba(0,0,0,.10); transition:transform .1s ease, box-shadow .15s ease;
}
.btn-cta-alt:hover{ transform:translateY(-1px); box-shadow:0 12px 24px rgba(0,0,0,.14) }

/* Mint chips */
.chip-mint{ background:var(--mint-100); color:var(--mint-700); border:1px solid var(--mint-300);
  border-radius:999px; padding:.25rem .6rem; font-size:.85rem }

/* Section accent stripe */
.section-accent2{
  background: linear-gradient(180deg, var(--accent2-50), #fff);
  border-top:1px solid var(--accent2-200); border-bottom:1px solid var(--accent2-200);
}

/* Card hover with violet focus */
.card--accent2:hover{ box-shadow:0 14px 28px rgba(91,69,255,.18) }
.card--accent2:focus-within{ outline:2px solid var(--accent2-400); outline-offset:2px }

/* =================================================================
   2. GLOBAL STYLES & RESETS
   ================================================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  direction: rtl; /* set to ltr if your page is English */
}

body {
  font-family: var(--base-font);
  background-color: var(--background-color);
  color: var(--text);
  line-height: 1.7;
  font-weight: 400;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-strong);        /* or keep var(--heading-color) if you prefer bluer headings */
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

a {
  color: var(--primary-700);        /* matches your link-color alias */
  text-decoration: none;
  transition: color .3s ease;
}
a:hover { color: var(--accent-700); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Optional helpers */
.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  border: 1px solid transparent;
  box-shadow: 0 2px 8px rgba(70,117,156,.18);
}
.btn-primary:hover  { background: var(--btn-primary-hover); }
.btn-primary:active { background: var(--btn-primary-active); }


/* =================================================================
   AMAZING SECTION HEADER STYLES
   ================================================================= */
.section-header-amazing {
    margin-bottom: 50px;
}

.section-header-amazing .tagline {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--accent-100);
    color: var(--accent-700);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-header-amazing .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-strong);
    margin-bottom: 1rem;
}

.section-header-amazing .decorator {
    width: 80px;
    height: 4px;
    margin: 0 auto 20px auto;
    border-radius: 5px;
    background: linear-gradient(90deg, var(--accent-600), var(--primary-500));
}

.section-header-amazing .section-subtitle {
    font-size: 1.1rem;
    max-width: 600px; /* Improves readability */
    margin: 0 auto;
}


/* ================================================================
   AMAZING SECTION HEADER — themable
================================================================ */
.section-header-amazing{
  --tag-bg: var(--accent-100);
  --tag-fg: var(--accent-700);
  --decor-start: var(--accent-600);
  --decor-end: var(--primary-500);

  margin-bottom: 50px; text-align:center;
}
.section-header-amazing .tagline{
  display:inline-block;padding:6px 14px;background:var(--tag-bg);color:var(--tag-fg);
  border-radius:12px;font-weight:800;font-size:.85rem;letter-spacing:.4px;margin-bottom:14px
}
.section-header-amazing .section-title{
  font-size:2.2rem;font-weight:900;color:var(--text-strong);margin-bottom:.75rem
}
.section-header-amazing .decorator{
  width:88px;height:4px;margin:0 auto 18px;border-radius:5px;
  background:linear-gradient(90deg,var(--decor-start),var(--decor-end))
}
.section-header-amazing .section-subtitle{
  font-size:1.05rem;max-width:640px;margin:0 auto;color:var(--text-muted)
}

/* ===== Variants ===== */
/* Violet accent */
.section-header-amazing.is-accent2{
  --tag-bg: var(--accent2-100);
  --tag-fg: var(--accent2-700);
  --decor-start: var(--accent2-700);
  --decor-end: var(--accent2-400);
}
/* Mint accent */
.section-header-amazing.is-mint{
  --tag-bg: var(--mint-100);
  --tag-fg: var(--mint-700);
  --decor-start: var(--mint-700);
  --decor-end: var(--accent2-600);
}
/* Left-aligned option */
.section-header-amazing.is-left{text-align:right}
.section-header-amazing.is-left .section-subtitle{margin-inline:0}

/* Responsive */
@media (max-width: 991.98px){
  .section-header-amazing{margin-bottom:36px}
  .section-header-amazing .section-title{font-size:1.8rem}
  .section-header-amazing .section-subtitle{font-size:1rem}
}



/* ===== TOP BAR ===== */
.top-bar{background:var(--surface-2);padding:.55rem 0;font-size:.85rem;color:var(--text-muted)}
.top-bar .top-link{color:var(--text-muted);text-decoration:none}
.top-bar .top-link:hover{color:var(--accent-700)}
.top-bar .social-links a{color:var(--text-muted);margin-right:.5rem}
.top-bar .social-links a:hover{color:var(--accent-700)}
.top-bar .sep{opacity:.35}
@media (max-width:768px){.top-bar{display:none}}

/* On home: float the top bar over the hero */
:root{ --topbar-h: 36px; --header-h: 68px; }
.top-bar-glass{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.15)!important;color:#fff;
  position:absolute; inset:0 0 auto 0; height:var(--topbar-h); z-index:1030;
}
.top-bar-glass .top-link,
.top-bar-glass .social-links a{color:rgba(255,255,255,.9)}
.top-bar-glass .top-link:hover,
.top-bar-glass .social-links a:hover{color:#fff}
.top-bar-glass .sep{color:rgba(255,255,255,.5)}
@media(max-width:768px){.top-bar-glass{display:none}}

/* ===== HEADER ===== */
.header{
  background:var(--surface-1);
  
  backdrop-filter:saturate(120%) blur(6px);
  box-shadow:0 8px 24px rgba(0,0,0,.04);
  transition:all .25s ease; z-index:1035;
  
}
.navbar{padding:.65rem 0}
.header.is-scrolled{box-shadow:0 10px 28px rgba(0,0,0,.08)}

/* Over hero: absolute, transparent, white nav */
.header-over-hero{
  position:absolute; left:0; right:0; top:var(--topbar-h);  /* sits over hero */
  background:transparent; box-shadow:none; backdrop-filter:none;
}
.header-over-hero .navbar{padding:.9rem 0}
.header-over-hero .brand-text{color:#fff}
.header-over-hero .nav-link{color:rgba(255,255,255,.92)}
.header-over-hero .nav-link:hover,
.header-over-hero .nav-link.active{color:#fff}
.header-over-hero .nav-link::before{background:rgba(255,255,255,.9)}
.header-over-hero .icon-btn{color:#fff;border-color:rgba(255,255,255,.35)}
.header-over-hero .icon-btn:hover{color:#fff;box-shadow:0 6px 16px rgba(0,0,0,.18)}

/* Snap to normal when scrolled */
.header-over-hero.is-scrolled{
  position:sticky; top:0; background:linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 100%);
  box-shadow:0 10px 28px rgba(0,0,0,.08); backdrop-filter:saturate(120%) blur(6px);
}


/* Brand and links (shared) */
.navbar-brand img{max-height:46px;transition:transform .2s ease}
.header.is-scrolled .navbar-brand img{transform:scale(.95)}
.brand-text{color:var(--primary-700)}
.navbar-nav .nav-link{
  font-family:var(--base-font);font-weight:600;color:var(--nav-color);
  padding:.55rem .9rem;margin:0 .15rem;font-size:1.02rem;position:relative;transition:color .2s ease
}
.navbar-nav .nav-link::before{
  content:"";position:absolute;bottom:-6px;right:0;width:0;height:2px;
  background:var(--nav-hover-color);transition:width .25s ease
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active{color:var(--nav-hover-color)}
.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before{width:100%}

/* Buttons */
.icon-btn{
  display:inline-flex;align-items:center;justify-content:center;
  width:40px;height:40px;border-radius:50%;color:var(--nav-color);
  border:1px solid var(--border-soft);transition:all .2s ease
}
.icon-btn:hover{color:var(--nav-hover-color);transform:translateY(-1px);box-shadow:0 4px 10px rgba(0,0,0,.08)}

/* CTA: high-contrast over hero, brand style after scroll */
.btn-cta{
  border-radius:999px;padding:.55rem 1.2rem;font-weight:700;transition:all .2s ease; border:1px solid transparent;
}
.header-over-hero .btn-cta{ background:#fff; color:var(--primary-800); border-color:rgba(255,255,255,.35) }
.header-over-hero .btn-cta:hover{ background:var(--btn-secondary-bg); color:var(--btn-secondary-fg); box-shadow:0 8px 18px rgba(0,0,0,.18) }
.header.is-scrolled .btn-cta,
.header-over-hero.is-scrolled .btn-cta{ background:var(--btn-secondary-bg); color:var(--btn-secondary-fg) }
.header.is-scrolled .btn-cta:hover{ background:var(--btn-secondary-hover) }

/* Mobile */
.navbar-toggler{border:none;font-size:1.6rem;color:var(--primary-700)}
.navbar-toggler:focus{box-shadow:none}
@media (max-width:991.98px){
  .navbar-collapse{border-top:1px solid var(--border-soft);margin-top:.75rem;padding-top:.75rem}
  .navbar-nav .nav-link{padding:.7rem 0}
  .icon-btn{display:none}
  .btn-cta{width:100%;margin-top:.5rem;text-align:center}
  .brand-text{display:none}
}



/* Accessibility + motion */
.navbar-nav .nav-link:focus{outline:2px solid var(--accent-700);outline-offset:2px;border-radius:6px}
@media (prefers-reduced-motion:reduce){
  .navbar,.navbar-brand img,.navbar-nav .nav-link::before,.btn-cta,.icon-btn{transition:none}
}

/* 1) Force white nav over hero at top */
.header-over-hero .navbar-nav .nav-link{color:#fff !important}
.header-over-hero .navbar-nav .nav-link:hover,
.header-over-hero .navbar-nav .nav-link.active{color:#fff !important}
.header-over-hero .navbar-nav .nav-link::before{background:rgba(255,255,255,.9)}
.header-over-hero .brand-text{color:#fff !important}
.header-over-hero .icon-btn{color:#fff;border-color:rgba(255,255,255,.35)}
.header-over-hero .icon-btn:hover{color:#fff}
.header-over-hero .btn-cta{background:#fff;color:var(--primary-900);border:1px solid rgba(255,255,255,.28)}
.header-over-hero .btn-cta:hover{background:var(--btn-secondary-bg);color:var(--btn-secondary-fg)}

/* 2) Mobile: always solid colored header on all pages */
@media (max-width: 991.98px){
  .top-bar, .top-bar-glass{display:none!important}

  .header,
  .header-over-hero{
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, var(--primary-800), var(--primary-600)) !important;
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
    backdrop-filter: none;
  }

  .navbar{padding:.65rem 0}
  .navbar-toggler{color:#fff !important}
  .brand-text{color:#fff !important; display:none}        /* keep logo only on mobile */
  .navbar-nav .nav-link{color:#fff !important}
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active{color:#fff !important}
  .navbar-nav .nav-link::before{background:rgba(255,255,255,.9)}
  .icon-btn{display:none}
  .btn-cta{
    background:#fff;color:var(--primary-900);border:1px solid rgba(255,255,255,.28);
    width:100%;margin-top:.5rem;text-align:center
  }
.header-over-hero.is-scrolled .navbar-nav .nav-link{color:var(--surface-1) !important}

}

/* 3) Ensure desktop scroll state snaps back to your normal palette */
.header-over-hero.is-scrolled{
  /* background: var(--surface-1) !important; */
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
  backdrop-filter: saturate(120%) blur(6px);
}

.header-over-hero.is-scrolled .brand-text{color:var(--primary-700)}
.header-over-hero.is-scrolled .nav-link{color:var(--nav-color)}
.header-over-hero.is-scrolled .nav-link:hover,
.header-over-hero.is-scrolled .nav-link.active{color:var(--nav-hover-color)}
.header-over-hero.is-scrolled .nav-link::before{background:var(--nav-hover-color)}
.header-over-hero.is-scrolled .icon-btn{    color: #fff;
    background: rgba(255, 255, 255, 0.1);}





/* =================================================================
   HERO SECTION STYLES (NEW DESIGN)
   ================================================================= */

.hero-section-new {
    padding: 160px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    /* 1. Using your deep blue gradient for the background */
    background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 100%);
    color: #fff;
    overflow: hidden;
    position: relative;
}

/* 2. Recreating the tech grid pattern from the example */
.hero-section-new::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    z-index: 0;
}

.hero-section-new .container {
    position: relative;
    z-index: 1;
}

/* 3. New Typography Styles */
.hero-content .hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}
.hero-content .hero-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-200);
    margin-top: 0.5rem;
}
.hero-content .hero-description {
    font-size: 1rem;
    color: var(--primary-300);
    margin-top: 1.5rem;
    max-width: 90%;
}

/* 4. New Button Group Styles */
.hero-buttons {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.hero-buttons .btn {
    padding: 12px 30px;
    font-weight: 700;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

/* The primary filled button (using your accent color) */
.hero-buttons .btn-primary-hero {
    background: var(--accent-600);
    color: #fff;
}
.hero-buttons .btn-primary-hero:hover {
    background: var(--accent-700);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(var(--accent-color-rgb), 0.2);
}

/* The outline/ghost buttons */
.hero-buttons .btn-outline-hero {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}
.hero-buttons .btn-outline-hero:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* 5. New Search Form Styles */
.hero-search-form {
    margin-top: 2.5rem;
}
.hero-search-form .input-group {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
}
.hero-search-form .form-control {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    padding: 10px 15px;
}
.hero-search-form .form-control::placeholder {
    color: var(--primary-300);
}
.hero-search-form .form-control:focus {
    box-shadow: none;
    background: transparent;
}
.hero-search-form .btn {
    background: var(--primary-600);
    color: #fff;
    border-radius: 8px !important; /* Override bootstrap */
    font-size: 1.2rem;
}

/* 6. Image Styling with a subtle glow */
.hero-image-container img {
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-section-new {

        text-align: center;
        padding-top: 0;
        min-height: auto;
    }
    .hero-image-container {
        margin-bottom: 40px;
    }
    .hero-content .hero-description {
        max-width: 100%;
    }
    .hero-buttons {
        justify-content: center;
    }
}


/* =================================================================
   HERO & HEADER FIX
   ================================================================= */

/* 1. Update the Hero Section */
.hero-section-new {
    /* We remove the margin-top and just use a stable padding */
    padding-top: calc(var(--topbar-h) + var(--header-h) + 80px); /* Creates permanent space for the header */
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 100%);
    color: #fff;
    overflow: hidden;
    position: relative;
}

/* 2. Update the Scrolled Header Rule */
.header-over-hero.is-scrolled {
    /* Change from 'sticky' to 'fixed' for a smoother transition */
    position: fixed; 
    top: 0;
    left: 0;
    right: 0; /* Ensures it spans the full width */

    background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 100%);
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
    backdrop-filter: saturate(120%) blur(6px);
}

/* 3. FIX THE TEXT COLOR on the scrolled header */
.header-over-hero.is-scrolled .brand-text,
.header-over-hero.is-scrolled .nav-link,
.header-over-hero.is-scrolled .icon-btn {
    color: #fff !important; /* Force white text on the dark gradient */
}

.header-over-hero.is-scrolled .nav-link:hover,
.header-over-hero.is-scrolled .nav-link.active {
    color: var(--accent-500) !important; /* Use a bright accent for hover */
}
.header-over-hero.is-scrolled .nav-link::before {
    background: var(--accent-500);
}
.header-over-hero.is-scrolled .icon-btn {
    border-color: rgba(255, 255, 255, 0.2);
}
.header-over-hero.is-scrolled .icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}



/* =================================================================
   MOBILE-SPECIFIC REFINEMENTS
   ================================================================= */

@media (max-width: 991.98px) {

    /* 1. Fix Hero Padding on Mobile */
    /* This reduces the large space at the top of the hero */
    .hero-section-new {
        padding-top: 80px !important; /* A fixed, smaller padding */
        min-height: auto; /* Allow the hero to size naturally */
    }

    /* 2. Show and Shrink Brand Text on Mobile */
    /* This overrides the 'display: none' rule */
    .brand-text {
        display: inline !important; /* Make it visible */
        font-size: 1rem !important; /* Make it smaller */
    }

    /* 3. Optional: Adjust Hero Title Size on Mobile */
    .hero-content .hero-title {
        font-size: 2.2rem;
    }

}
/* =================================================================
   CATEGORIES SECTION STYLES
   ================================================================= */
.categories-section {
    padding: 80px 0;
    background-color: var(--surface-2);
}

.section-header {
    margin-bottom: 50px;
}
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-strong);
}
.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.category-card {
    display: block;
    background: var(--surface-1);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-soft);
    box-shadow: 0 8px 24px rgba(15, 19, 23, 0.04);
    text-decoration: none;
    height: 100%;

    /* The "Thrown Card" Effect */
    transform: rotate(var(--rotation, 0deg));
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* The "Pop Up" Effect on Hover */
.category-card:hover {
    transform: translateY(-12px) rotate(0deg) scale(1.05);
    box-shadow: 0 20px 40px rgba(15, 19, 23, 0.1);
    z-index: 10;
    position: relative; /* Needed for z-index to work */
}

.category-card .icon-wrapper {
    margin: 0 auto 20px auto;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.category-card .icon-wrapper i {
    color: #fff;
    font-size: 2rem;
}

.category-card:hover .icon-wrapper {
    background: linear-gradient(135deg, var(--accent-600), var(--accent-700));
    transform: scale(1.1) rotate(15deg);
}

.category-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.category-card:hover h3 {
    color: var(--accent-700);
}

.category-card span {
    font-size: 0.9rem;
    color: var(--text-muted);
}
/* =================================================================
   CATEGORIES SECTION STYLES (BRIGHT & ELEGANT RE-DESIGN)
   ================================================================= */

.categories-section {
    padding: 80px 0;
    /* 1. BRIGHTER BACKGROUND: Changed from grey to pure white */
    background-color: var(--background-color);
}

.section-header {
    margin-bottom: 50px;
}
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-strong);
}
.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.category-card {
    display: block;
    /* 2. MINIMALIST CARD: Transparent background with only a border */
    background: transparent;
    padding: 30px 25px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-soft);
    text-decoration: none;
    height: 100%;
    box-shadow: none; /* No shadow by default */

    /* The "Thrown Card" Effect is kept */
    transform: rotate(var(--rotation, 0deg));
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 3. "LIGHT UP" ON HOVER: The card gets a background and a soft shadow on hover */
.category-card:hover {
    background: var(--surface-1);
    transform: translateY(-12px) rotate(0deg) scale(1.05);
    border-color: transparent;
    box-shadow: 0 20px 45px rgba(var(--heading-color-rgb), 0.1);
    z-index: 10;
    position: relative;
}

.category-card .icon-wrapper {
    margin: 0 auto 20px auto;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    
    /* 4. LIGHTER ICONS: A subtle, transparent background for the icon */
    background: rgba(var(--heading-color-rgb), 0.08);
}

.category-card .icon-wrapper i {
    /* The icon itself takes the main brand color */
    color: var(--primary-600);
    font-size: 2rem;
    transition: all 0.3s ease;
}

/* On hover, the icon inverts its colors for a great effect */
.category-card:hover .icon-wrapper {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    transform: scale(1.1) rotate(10deg);
}
.category-card:hover .icon-wrapper i {
    color: #fff;
    transform: rotate(-10deg);
}

.category-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.category-card:hover h3 {
    color: var(--accent-700);
}

.category-card span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* =================================================================
   FEATURED PACKAGES SECTION STYLES
   ================================================================= */
.featured-packages-section {
    padding: 80px 0;
    /* We alternate between white and light grey backgrounds */
    background-color: var(--background-color); 
}

.package-card {
    background: var(--surface-1);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(var(--heading-color-rgb), 0.12);
}

.package-card .card-img {
    position: relative;
}

.package-card .category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(var(--accent-color-rgb), 0.9);
    color: #fff;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.package-card .card-content {
    padding: 20px 25px;
    flex-grow: 1; /* This makes the card content fill the space */
}

.package-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0;
}

.package-card .card-title a {
    color: var(--text-strong);
    text-decoration: none;
    transition: color 0.3s ease;
}
.package-card .card-title a:hover {
    color: var(--accent-700);
}

.package-card .card-meta {
    margin-top: 15px;
}

.package-card .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-600);
}

.package-card .card-footer {
    padding: 0 25px 25px 25px;
    background: var(--surface-1);
}

.btn-outline-primary {
    border-color: var(--primary-500);
    color: var(--primary-600);
    font-weight: 600;
    padding: 10px;
    border-radius: 10px;
}

.btn-outline-primary:hover {
    background-color: var(--primary-600);
    border-color: var(--primary-600);
    color: #fff;
}



/* =================================================================
   HOW IT WORKS SECTION STYLES (REDESIGNED)
   ================================================================= */

.howit-section {
    padding: 120px 0;
    background-color: var(--background-color); /* White background */
}

/* This container will hold the connecting line */
.howit-timeline {
    position: relative;
    margin-top: 40px;
}

/* The dashed connecting line */
.howit-timeline::before {
    content: '';
    position: absolute;
    top: 54px; /* Vertically center with the icons */
    left: 10%;
    width: 80%;
    height: 2px;
    background-image: linear-gradient(to right, var(--border-soft) 50%, transparent 50%);
    background-size: 16px 2px;
    background-repeat: repeat-x;
    z-index: 0;
}

@media (max-width: 767px) {
    .howit-timeline::before {
        display: none; /* Hide line on mobile */
    }
}

.howit-card {
    background: var(--surface-1);
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    position: relative; /* To sit on top of the line */
    z-index: 1;
    overflow: hidden;
    height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
}

.howit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(var(--heading-color-rgb), 0.1);
}

/* The large background number */
.howit-card .step-number {
    position: absolute;
    top: -10px;
    right: -5px;
    font-size: 5rem;
    font-weight: 800;
    color: var(--primary-50);
    z-index: -1;
    transition: color 0.3s ease;
}
.howit-card:hover .step-number {
    color: var(--primary-100);
}


.howit-card .howit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-50), var(--accent-100));
    color: var(--accent-700);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.howit-card:hover .howit-icon {
    background: var(--accent-600);
    color: #fff;
    transform: rotate(15deg) scale(1.1);
}

.howit-card h3 {
    color: var(--text-strong);
}

/* =================================================================
   TESTIMONIALS SECTION STYLES (REDESIGNED)
   ================================================================= */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--surface-2);
}

.testimonial-item {
    background: var(--surface-1);
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    box-shadow: 0 10px 30px rgba(var(--heading-color-rgb), 0.05);
}

/* The large decorative quote mark in the background */
.testimonial-item::before {
    content: '\201C'; /* Unicode for left double quote */
    position: absolute;
    top: -20px;
    right: 10px;
    font-size: 10rem;
    font-family: Georgia, serif;
    color: var(--primary-50);
    line-height: 1;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2; /* Ensures author is above the quote mark */
}

.testimonial-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 15px; /* RTL margin */
}

.author-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-strong);
}

.author-info h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.8;
    position: relative;
    z-index: 2; /* Ensures text is above the quote mark */
    padding-top: 10px;
    border-top: 1px solid var(--border-soft);
}

/* Swiper Navigation & Pagination Styles */
.testimonials-section .swiper-button-prev,
.testimonials-section .swiper-button-next {
    color: var(--primary-500);
    background-color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    top: 50%;
    transform: translateY(-50%);
}
.testimonials-section .swiper-button-prev::after,
.testimonials-section .swiper-button-next::after {
    font-size: 1rem;
    font-weight: 900;
}
.testimonials-section .swiper-button-prev { left: -10px; }
.testimonials-section .swiper-button-next { right: -10px; }

@media (max-width: 767px) {
    .testimonials-section .swiper-button-prev,
    .testimonials-section .swiper-button-next { display: none; }
}

.testimonials-section .swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: var(--primary-200);
    opacity: 1;
    transition: all 0.3s ease;
}

.testimonials-section .swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--accent-600);
    width: 25px;
    border-radius: 5px;
}


/* =================================================================
   CTA SECTION - V2 ENHANCED DESIGN
   ================================================================= */

.cta-section-v2 {
    padding: 5rem 0;
    background-color: var(--surface-2);
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
}

.cta-section-v2 .cta-card {
    background: linear-gradient(135deg, var(--primary-200), var(--accent-300));
    color: #fff;
    border-radius: var(--r-lg, 14px);
    padding: 3rem;
    position: relative;
    z-index: 2;
}

/* --- Content Side --- */
.cta-content .section-header .tagline {
    color: var(--accent-400); /* Use a bright accent */
}
.cta-section-v2 .cta-content .section-header .title {
    color: #fff;
}
.cta-content .section-header .subtitle {
    color: rgba(255, 255, 255, 0.8);
    max-width: 450px;
}

.cta-content .btn-cta {
    background-color: var(--accent-600);
    border-color: var(--accent-600);
    padding: 0.8rem 2rem;
    font-weight: 700;
}
.cta-content .btn-cta:hover {
    background-color: var(--accent-700);
    border-color: var(--accent-700);
    transform: translateY(-3px);
}

/* --- Image Side --- */
.cta-image-wrapper {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-image {
    width: 100%;
    max-width: 400px; /* Control the max size */
    height: auto;
    border-radius: var(--r-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);

    /* This makes the image overlap the dark card */
    transform: scale(1.15) rotate(3deg);
}

/* --- Responsive Adjustments --- */
@media (max-width: 991.98px) {
    .cta-card {
        padding: 2rem;
        text-align: center;
    }
    .cta-content .section-header .subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .cta-image-wrapper {
        margin-bottom: -80px; /* Pull the content up over the image */
        order: -1; /* Show image on top on mobile */
    }
    .cta-image {
        transform: scale(1) rotate(0); /* Reset rotation on mobile */
        max-width: 300px;
    }
}
/* =================================================================
   BEAUTIFUL FOOTER STYLES (DARK THEME REDESIGN)
   ================================================================= */

.site-footer {
    /* 1. Dark, premium background */
    background: linear-gradient(135deg, var(--primary-900), var(--primary-800));
    color: rgba(255, 255, 255, 0.7);
    
    /* 2. Beautiful gradient top border for separation */
    border-top: 4px solid transparent;
    border-image: linear-gradient(90deg, var(--accent-600), var(--primary-500)) 1;
}

/* 3. Typography adapted for dark background */
.site-footer .footer-brand span,
.site-footer .footer-title {
    color: #fff; /* Brighter white for titles */
    font-weight: 700;
    margin-bottom: 1rem;
}

.site-footer .footer-list li {
    margin-bottom: 0.6rem;
}

.site-footer .footer-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.site-footer .footer-list a:hover {
    color: var(--accent-500); /* Bright accent color on hover */
    padding-right: 5px; /* RTL-friendly nudge effect */
}

/* 4. More impactful social icons */
.site-footer .footer-social a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.site-footer .footer-social a:hover {
    transform: translateY(-3px);
    background: var(--accent-600);
    color: #fff;
    box-shadow: 0 10px 20px rgba(var(--accent-color-rgb), 0.2);
}

/* 5. Styled newsletter form for dark theme */
.footer-news .form-control {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 10px;
}
.footer-news .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.footer-news .btn {
    border-radius: 10px;
}

/* Horizontal Rule */
.site-footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

/* 6. Redesigned badges for dark theme */
.badge-soft {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.4rem 0.8rem;
    font-size: .8rem;
    color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
}

/* Bottom bar text & links */
.site-footer .small a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}
.site-footer .small a:hover {
    color: #fff;
}

/* =================================================================
   FOOTER PAYMENT ICONS
   ================================================================= */

.footer-payment-methods {
    order: -1; /* On mobile, show payment icons first */
}

@media (min-width: 768px) {
    .footer-payment-methods {
        order: 0; /* Reset order on larger screens */
    }
}

.payment-icon-container {
    width: 44px;
    height: 44px;
    background-color: #ffffff; /* Clean white background for logos */
    border-radius: 50%;      /* Creates the perfect circle */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;           /* Prevents logos from touching the edges */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.payment-icon-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.payment-icon {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ensures logos are scaled correctly without distortion */
}
/* 7. Enhanced "Back to Top" button */
.to-top {
    position: fixed;
    bottom: 20px;
    left: 20px; /* RTL-friendly */
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: none;
    background: var(--primary-700);
    color: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.5rem;
}
.to-top.show {
    display: flex;
}
.to-top:hover {
    background: var(--accent-600);
    transform: translateY(-3px);
}



/* =================================================================
   PACKAGES INDEX PAGE STYLES
   ================================================================= */

/* 1. Page Header */
.page-header {
    padding: 60px 0;
    background-color: var(--surface-2);
    text-align: center;
    border-bottom: 1px solid var(--border-soft);
}
.page-header h1 {
    color: var(--text-strong);
    font-weight: 800;
}
.breadcrumb {
    justify-content: center;
    background: none;
    padding: 0;
    margin-top: 10px;
}
.breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
}
.breadcrumb-item a:hover {
    color: var(--accent-700);
}
.breadcrumb-item.active {
    color: var(--text-strong);
    font-weight: 600;
}

/* 2. Sidebar */
.sidebar-widget {
    background: var(--surface-1);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid var(--border-soft);
    position: sticky; /* Makes sidebar stick on scroll */
    top: 100px;
}
.widget-title {
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-soft);
}
.category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.category-list li a:hover {
    background-color: var(--surface-2);
    color: var(--accent-700);
}
.category-list li a.active {
    background-color: var(--primary-600);
    color: #fff;
}
.category-list li a.active .badge {
    background-color: var(--surface-1);
    color: var(--primary-600);
}
.category-list li a .badge {
    background-color: var(--surface-2);
    color: var(--text-muted);
    transition: all 0.3s ease;
}
.category-list li a:hover .badge {
    background-color: var(--accent-100);
    color: var(--accent-700);
}

/* 3. Note on Package Cards */
/* The styles for .package-card are already defined from your homepage. 
   If you created a separate CSS file, ensure those styles are included here. */

/* 4. Pagination */
.pagination {
    --bs-pagination-padding-x: 1rem;
    --bs-pagination-padding-y: 0.5rem;
    --bs-pagination-font-size: 1rem;
    --bs-pagination-border-radius: 0.5rem;
    --bs-pagination-border-color: var(--border-soft);
    --bs-pagination-color: var(--text);
    --bs-pagination-hover-color: var(--accent-700);
    --bs-pagination-hover-bg: var(--accent-100);
    --bs-pagination-active-color: #fff;
    --bs-pagination-active-bg: var(--primary-600);
    --bs-pagination-active-border-color: var(--primary-600);
}


/* =================================================================
   PACKAGE SHOW PAGE STYLES
   ================================================================= */

/* 1. Redesigned Info Blocks */
.info-block {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--surface-2);
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 20px;
}
.info-block .info-icon {
    font-size: 2rem;
    color: var(--primary-600);
}
.info-block .info-content h4 {
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 8px;
}
.info-block .info-content p {
    margin: 0;
    color: var(--text);
    line-height: 1.7;
}
.section-title-inner {
    font-weight: 800;
    color: var(--text-strong);
}

/* 2. Custom Accordion Styles */
.custom-accordion .accordion-item {
    background-color: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 12px !important; /* Override bootstrap */
    margin-bottom: 1rem;
    overflow: hidden;
}
.custom-accordion .accordion-header {
    margin: 0;
}
.custom-accordion .accordion-button {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-strong);
    background-color: var(--surface-2);
}
.custom-accordion .accordion-button:not(.collapsed) {
    background-color: var(--primary-600);
    color: #fff;
    box-shadow: none;
}
.custom-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-200);
}
.custom-accordion .accordion-button::after {
    /* Custom chevron icon */
    content: '\F282';
    font-family: 'bootstrap-icons';
    transform: scale(1.2);
    transition: transform 0.3s ease;
}
.custom-accordion .accordion-button:not(.collapsed)::after {
    transform: scale(1.2) rotate(180deg);
}
.custom-accordion .accordion-body {
    background: #fff;
    padding: 20px;
}

/* 3. Redesigned Purchase Sidebar */
.purchase-sidebar {
    top: 100px;
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 15px 40px rgba(var(--heading-color-rgb), 0.08);
}
.purchase-sidebar .price-header {
    padding: 25px;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
}
.purchase-sidebar .price {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
}
.purchase-sidebar .price small {
    font-size: 1.2rem;
    font-weight: 600;
}
.purchase-sidebar .sidebar-body {
    padding: 25px;
}
.purchase-sidebar .includes-title {
    font-weight: 700;
    margin-bottom: 15px;
}
.purchase-sidebar .includes-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text);
}
.purchase-sidebar .includes-list i {
    color: var(--accent-600);
    font-size: 1.2rem;
}
.purchase-sidebar .btn-cta {
    margin-top: 15px;
}
.purchase-sidebar .secure-payment-badge {
    text-align: center;
    margin-top: 20px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
}


/* =================================================================
   ABOUT US PAGE STYLES
   ================================================================= */

/* 1. Mission Section Specifics */
.about-mission-section .lead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
}
.about-mission-section .section-header-amazing {
    text-align: right; /* Align header text to the right for this layout */
}
.about-mission-section .decorator {
    margin: 0 0 20px 0; /* Align decorator to the start */
}

@media (max-width: 991.98px) {
    .about-mission-section .section-header-amazing {
        text-align: center; /* Center on mobile */
    }
    .about-mission-section .decorator {
        margin: 0 auto 20px auto; /* Center on mobile */
    }
}


/* 2. Values Section & Cards */
.about-values-section {
    background-color: var(--surface-2);
}

.value-card {
    background: var(--surface-1);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid transparent;
    height: 100%;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-200);
    box-shadow: 0 15px 40px rgba(var(--heading-color-rgb), 0.08);
}

.value-card .value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-100);
    color: var(--primary-600);
    font-size: 1.8rem;
}

.value-card h4 {
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 10px;
}

.value-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* =================================================================
   CONTACT US PAGE STYLES
   ================================================================= */

/* 1. Contact Info Cards */
.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}
.contact-info-card .info-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background-color: var(--primary-100);
    color: var(--primary-600);
    border-radius: 50%;
}
.contact-info-card .info-details h4 {
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 5px;
}
.contact-info-card .info-details p {
    color: var(--text-muted);
    margin: 0;
    font-size: 1.1rem;
}

/* 2. Contact Form Wrapper & Inputs */
.contact-form-wrapper {
    background: var(--surface-1);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 15px 40px rgba(var(--heading-color-rgb), 0.08);
}
.form-label {
    font-weight: 600;
    color: var(--text-strong);
    margin-bottom: 8px;
}
.form-control {
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid var(--border-soft);
    background-color: var(--surface-2);
}
.form-control:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(var(--heading-color-rgb), 0.1);
    background-color: #fff;
}
.contact-form-wrapper .btn-primary {
    background-color: var(--primary-600);
    border-color: var(--primary-600);
    font-weight: 700;
    padding-top: 12px;
    padding-bottom: 12px;
}
.contact-form-wrapper .btn-primary:hover {
    background-color: var(--primary-700);
    border-color: var(--primary-700);
}

/* 3. Map Section */
.map-section {
    /* The iframe takes care of itself, this is just a container */
    padding-top: 80px;
}

/* =================================================================
   STATIC CONTENT PAGE STYLES (TERMS, PRIVACY, ETC.)
   ================================================================= */

.static-content-page .lead {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 2rem;
}

.static-content-page h4 {
    font-weight: 700;
    color: var(--text-strong);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-100);
}

.static-content-page p {
    line-height: 1.8;
    color: var(--text-muted);
}



/* =================================================================
   AUTH PAGE STYLES (LOGIN & SIGNUP)
   ================================================================= */

.auth-section {
    background-color: var(--surface-2);
    padding: 80px 0;
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
}

.auth-card {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 15px 40px rgba(var(--heading-color-rgb), 0.08);
}

.auth-logo {
    max-height: 50px;
    margin-bottom: 20px;
}

.auth-title {
    font-weight: 800;
    color: var(--text-strong);
}

.auth-subtitle {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.auth-card .form-label {
    font-weight: 600;
}

.auth-card .form-control {
    padding: 12px 15px;
    background-color: var(--surface-2);
    border-radius: 10px;
}

.auth-card .form-control:focus {
    background-color: #fff;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(var(--heading-color-rgb), 0.1);
}

.auth-card .btn-primary {
    background-color: var(--primary-600);
    border-color: var(--primary-600);
    font-weight: 700;
    padding-top: 12px;
    padding-bottom: 12px;
}
.auth-card .btn-primary:hover {
    background-color: var(--primary-700);
    border-color: var(--primary-700);
}

.auth-footer a {
    color: var(--primary-600);
    font-weight: 600;
    text-decoration: none;
}
.auth-footer a:hover {
    text-decoration: underline;
}


/* =================================================================
   1. CATEGORIES INDEX PAGE STYLES
   ================================================================= */

.category-index-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--surface-1);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.category-index-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(var(--heading-color-rgb), 0.1);
    border-color: var(--primary-200);
}

.category-index-card .card-body {
    padding: 30px;
    text-align: center;
    flex-grow: 1;
}

.category-index-card .icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
    color: var(--primary-600);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.category-index-card:hover .icon-wrapper {
    background: var(--primary-600);
    color: #fff;
    transform: scale(1.1);
}

.category-index-card .card-title {
    font-weight: 700;
    color: var(--text-strong);
    transition: color 0.3s ease;
}

.category-index-card:hover .card-title {
    color: var(--primary-600);
}

.category-index-card .card-text {
    color: var(--text-muted);
    font-weight: 600;
}

.category-index-card .card-footer {
    background: var(--surface-2);
    padding: 15px 30px;
    text-align: center;
    font-weight: 700;
    color: var(--primary-600);
    transition: all 0.3s ease;
}

.category-index-card:hover .card-footer {
    background: var(--accent-600);
    color: #fff;
}


/* =================================================================
   2. CATEGORY SHOW PAGE STYLES
   ================================================================= */

/*
   NOTE: This page primarily reuses existing styles for a consistent look:
   - .page-header (Already styled)
   - .package-card (Already styled from the homepage)
   - .pagination (Already styled from the packages index page)
*/

.category-show-section .lead {
    color: var(--text-muted);
    max-width: 600px;
    margin: 1rem auto 0;
}


/* =================================================================
   NEW CHECKOUT PAGE STYLES
   ================================================================= */

.checkout-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

/* Left Column: Summary */
.checkout-summary {
    background-color: var(--surface-2);
    padding: 30px;
    border-radius: 16px;
    height: fit-content;
    position: sticky;
    top: 100px;
}
.summary-title { font-weight: 800; color: var(--text-strong); margin-bottom: 25px; }
.plan-name { font-weight: 700; font-size: 1.3rem; margin-bottom: 15px; }
.plan-features { list-style: none; padding: 0; margin: 0; }
.plan-features li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: var(--text-muted); }
.plan-features i { color: var(--accent-600); }
.order-details-pricing { margin-top: 25px; border-top: 1px solid var(--border-soft); padding-top: 20px; }
.pricing-row { display: flex; justify-content: space-between; align-items: center; font-size: 1.2rem; }
.pricing-row.is-total { font-weight: 800; color: var(--text-strong); }

/* Right Column: Payment */
.payment-step { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.step-number { width: 30px; height: 30px; background: var(--primary-600); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.step-title { font-size: 1.5rem; font-weight: 700; margin: 0; }
.account-form { margin-bottom: 30px; }
.checkout-input { width: 100%; padding: 12px 15px; border-radius: 10px; border: 1px solid var(--border-soft); background-color: var(--surface-2); font-size: 1rem; }
.checkout-input:disabled { background: var(--surface-2); opacity: 0.7; }
.form-note { font-size: 0.9rem; color: var(--text-muted); margin-top: 8px; }

/* Payment Methods Grid */
.payment-methods-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-bottom: 30px; }
.payment-method { border: 2px solid var(--border-soft); border-radius: 12px; padding: 15px; cursor: pointer; transition: all 0.2s ease; }
.payment-method img { width: 100%; height: 40px; object-fit: contain; }
.payment-method:hover { border-color: var(--primary-200); }
.payment-method.is-active { border-color: var(--primary-600); box-shadow: 0 0 0 2px var(--primary-600); }

/* Bank Transfer Form */
.bank-transfer-form { background: var(--surface-2); padding: 25px; border-radius: 12px; margin-bottom: 30px; }
.bank-info { margin-bottom: 20px; line-height: 1.8; }
.checkout-form-group { margin-bottom: 15px; }
.checkout-form-group label { display: block; font-weight: 600; margin-bottom: 8px; }

/* Submit Button */
.btn-cta-checkout { width: 100%; background: var(--accent-600); color: #fff; border: none; padding: 15px; font-size: 1.2rem; font-weight: 700; border-radius: 12px; cursor: pointer; transition: all 0.3s ease; }
.btn-cta-checkout:hover { background: var(--accent-700); }
.btn-cta-checkout.is-disabled { background: var(--primary-200); cursor: not-allowed; opacity: 0.8; }
.secure-checkout-note { text-align: center; margin-top: 20px; color: var(--text-muted); }

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .checkout-container { grid-template-columns: 1fr; }
    .checkout-summary { position: static; margin-bottom: 30px; }
}


/* =================================================================
   BEAUTIFUL CHECKOUT PAGE STYLES
   ================================================================= */

/* --- Main Layout --- */
.checkout-container {
    display: grid;
    grid-template-columns: 4fr 5fr; /* 4 parts for summary, 5 for payment */
    gap: 3rem;
    align-items: flex-start;
}

/* --- Left Column: Order Summary --- */
.order-summary-card {
    background-color: var(--surface-2, #F7F9FB);
    border-radius: var(--r-lg, 14px);
    padding: 2rem;
    position: sticky;
    top: 120px; /* Adjust if your header height is different */
    border: 1px solid var(--border-soft, #E9EEF2);
}

.summary-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-800);
    margin-bottom: 1.5rem;
}

.package-header .package-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-700);
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    font-size: 0.95rem;
}

.package-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.package-features i {
    color: var(--mint-500, #34d399);
    margin-left: 0.75rem;
    font-size: 1.2rem;
}

.package-total {
    border-top: 2px dashed var(--border-soft, #E9EEF2);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.package-total .total-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-strong);
}

.package-total .total-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-600);
}

/* --- Right Column: Payment Details --- */
.payment-details-card {
    background-color: var(--surface-1, #FFFFFF);
    border-radius: var(--r-lg, 14px);
    padding: 2rem;
    border: 1px solid var(--border-soft, #E9EEF2);
    box-shadow: var(--shadow-sm);
}

.step-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.step-indicator .step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--primary-600);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    margin-left: 1rem;
}

.step-indicator .step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-800);
}

/* --- User Account Info --- */
.account-info .user-email {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: var(--r-sm, 10px);
    background-color: var(--surface-2);
    border: 1px solid var(--border-soft);
    color: var(--text-muted);
    font-family: inherit;
    font-size: 1rem;
}

.account-info .note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* --- Payment Method Display (The New Beautiful Part) --- */
.payment-method-display {
    border: 2px solid var(--primary-600); /* Highlighted border */
    border-radius: var(--r-md, 12px);
    padding: 1.5rem;
    text-align: center;
    background-color: var(--primary-50);
    margin-top: 1rem;
}

.payment-method-display .label {
    font-weight: 600;
    color: var(--primary-700);
    margin-bottom: 1rem;
}

.payment-method-display .logos img {
    max-width: 250px; /* Control the size of the single image */
    height: auto;
}

/* --- CTA Button & Secure Note --- */
.btn-checkout-primary {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1rem;
    border: none;
    border-radius: var(--r-md, 12px);
    box-shadow: 0 8px 20px rgba(var(--heading-color-rgb), 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.btn-checkout-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(var(--heading-color-rgb), 0.3);
}

.secure-checkout-note {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.secure-checkout-note i {
    color: var(--mint-500);
}

/* --- Responsive Design --- */
@media (max-width: 991.98px) {
    .checkout-container {
        grid-template-columns: 1fr; /* Stack columns on tablets and mobile */
    }
    .order-summary-card {
        position: static; /* Remove sticky behavior on mobile */
    }
}

/* ADD THIS TO THE END OF public/assets/css/checkout.css */

/* --- Selectable Payment Options --- */
.payment-methods-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.payment-method-option {
    border: 2px solid var(--border-soft, #E9EEF2);
    border-radius: var(--r-md, 12px);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    position: relative;
}

.payment-method-option:hover {
    border-color: var(--primary-300);
    transform: translateY(-3px);
}

.payment-method-option.is-active {
    border-color: var(--primary-600);
    background-color: var(--primary-50);
    box-shadow: 0 0 0 3px var(--primary-200);
}

/* Checkmark for active state */
.payment-method-option.is-active::before {
    content: '\f26a'; /* Bootstrap Icon for check-circle-fill */
    font-family: 'bootstrap-icons';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.25rem;
    color: var(--primary-600);
}

.payment-method-option img {
    max-height: 40px;
    max-width: 100%;
    object-fit: contain;
}

/* --- Bank Transfer Details Form --- */
.bank-transfer-details {
    margin-top: 2rem;
    padding: 1.5rem;
    border: 1px dashed var(--border-soft);
    border-radius: var(--r-md);
    background-color: var(--surface-2);
}

.bank-info-box {
    background-color: #fff;
    padding: 1rem;
    border-radius: var(--r-sm);
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-soft);
}

.bank-info-box p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.bank-info-box strong {
    color: var(--text-strong);
}

.form-group-custom {
    margin-bottom: 1rem;
}

.form-group-custom label {
    display: block;
    font-weight: 600;
    color: var(--text-strong);
    margin-bottom: 0.5rem;
}

.form-control-custom {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: var(--r-sm, 10px);
    background-color: #fff;
    border: 1px solid var(--border-soft);
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
}

/* --- Disabled Button State --- */
.btn-checkout-primary.is-disabled {
    background: #bdc3c7; /* A neutral gray color */
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

/* =================================================================
   CHECKOUT V2 - A CLEANER, MORE DETAILED REDESIGN
   ================================================================= */

/* --- Main Layout --- */
.checkout-container-v2 {
    display: grid;
    grid-template-columns: 4fr 6fr; /* Give more space to payment options */
    gap: 3rem;
    align-items: flex-start;
}

/* --- Left Column: Enhanced Order Summary --- */
.order-summary-card-v2 {
    background-color: var(--surface-1);
    border-radius: var(--r-lg, 14px);
    border: 1px solid var(--border-soft, #E9EEF2);
    box-shadow: var(--shadow-sm);
    overflow: hidden; /* To contain the image */
    position: sticky;
    top: 120px;
}

.package-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.summary-content {
    padding: 1.5rem;
}

.summary-content .package-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-800);
    margin-bottom: 1rem;
}

.package-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-soft);
}

.package-meta div {
    display: flex;
    align-items: center;
}
.package-meta i {
    color: var(--primary-500);
    margin-left: 0.5rem;
}

.summary-content .features-title {
    font-weight: 600;
    color: var(--text-strong);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.package-features-v2 {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}
.package-features-v2 li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--text);
}
.package-features-v2 i {
    color: var(--mint-500);
    margin-left: 0.5rem;
}

.package-total-v2 {
    background-color: var(--surface-2);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem -1.5rem -1.5rem -1.5rem; /* Extend to card edges */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.package-total-v2 .total-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-strong);
}
.package-total-v2 .total-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-600);
}

/* --- Right Column: Redesigned Payment Section --- */
.payment-section-v2 .step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-800);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-soft);
}

/* New Payment Options List */
.payment-options-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-option {
    border: 2px solid var(--border-soft);
    border-radius: var(--r-md);
    transition: all 0.2s ease-in-out;
}
.payment-option.is-active {
    border-color: var(--primary-600);
    background-color: var(--primary-50);
}
.payment-option label {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    width: 100%;
}
.payment-option input[type="radio"] {
    width: 1.2em;
    height: 1.2em;
    accent-color: var(--primary-600);
    margin-left: 1.5rem;
}
.payment-option .payment-logos img {
    height: 50px; /* INCREASE THIS VALUE for larger logos */
    width: auto; /* Keep width auto to maintain aspect ratio */
    object-fit: contain;
}
.payment-option .payment-text {
    flex-grow: 1;
    text-align: right; /* RTL */
    font-weight: 600;
    color: var(--text-strong);
}

/* Bank Transfer Details */
.bank-transfer-details-v2 {
    padding: 0 1.5rem 1.5rem 1.5rem; /* Inside the payment-option */
    border-top: 1px solid var(--border-soft);
    margin-top: 1rem;
}

/* --- Responsive Design --- */
@media (max-width: 991.98px) {
    .checkout-container-v2 {
        grid-template-columns: 1fr;
    }
    .order-summary-card-v2 {
        position: static;
    }
}

/* =================================================================
   PACKAGE SHOW PAGE - V2 ENHANCEMENT
   ================================================================= */

/* --- 1. Page Header Redesign --- */
.page-header {
    background: linear-gradient(135deg, var(--primary-800), var(--primary-900));
    color: #fff;
    padding: 3rem 0;
    text-align: center;
}

.page-header .tagline {
    display: inline-block;
    background-color: var(--accent-600);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 1rem;
    transition: background-color 0.2s ease;
}
.page-header .tagline:hover {
    background-color: var(--accent-700);
}

.page-header h1 {
    color: #fff;

    font-size: 2.5rem;
    font-weight: 800;
}

.page-header .breadcrumb {
    justify-content: center;
    background: none;
    padding: 0;
    margin-top: 0.5rem;
}
.page-header .breadcrumb-item a {
    color: var(--primary-300);
}
.page-header .breadcrumb-item.active {
    color: var(--primary-200);
}

/* --- 2. Main Content & Image --- */
.package-cover-image {
    border-radius: var(--r-lg, 14px);
    box-shadow: 0 15px 40px rgba(17, 24, 39, 0.15);
}

/* --- 3. Details Cards (Replaces Info Blocks) --- */
.details-card {
    display: flex;
    align-items: flex-start;
    background-color: var(--surface-2);
    border: 1px solid var(--border-soft);
    padding: 1.5rem;
    border-radius: var(--r-md, 12px);
    margin-bottom: 1.5rem;
}

.details-card .details-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--primary-100);
    color: var(--primary-600);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    margin-left: 1.5rem; /* For RTL */
}

.details-card .details-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-800);
    margin-bottom: 0.25rem;
}
.details-card .details-content p {
    margin-bottom: 0;
    color: var(--text-muted);
}

/* --- 4. Enhanced Accordion --- */
.section-title-inner {
    font-weight: 700;
    color: var(--primary-800);
    border-bottom: 3px solid var(--primary-200);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.modules-accordion-v2 .accordion-item {
    border: 1px solid var(--border-soft);
    border-radius: var(--r-md) !important;
    margin-bottom: 1rem;
    overflow: hidden; /* For border-radius */
}
.modules-accordion-v2 .accordion-header {
    border-radius: 0;
}
.modules-accordion-v2 .accordion-button {
    font-weight: 600;
    color: var(--primary-800);
    background-color: #fff;
}
.modules-accordion-v2 .accordion-button:not(.collapsed) {
    background-color: var(--primary-600);
    color: #fff;
}
.modules-accordion-v2 .accordion-body {
    background-color: var(--surface-2);
    line-height: 1.8;
}

/* --- 5. Premium Purchase Sidebar --- */
.purchase-sidebar-v2 {
    background: var(--surface-1);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-lg);
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
    top: 120px; /* Sticky top offset */
}
.purchase-sidebar-v2 .price-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
    border-top-left-radius: var(--r-lg);
    border-top-right-radius: var(--r-lg);
}
.purchase-sidebar-v2 .price {
    font-size: 2.75rem;
    font-weight: 800;
    color: #fff;
}
.purchase-sidebar-v2 .price small {
    font-size: 1rem;
    font-weight: 500;
}
.purchase-sidebar-v2 .sidebar-body {
    padding: 1.5rem;
}
.purchase-sidebar-v2 .includes-title {
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 1rem;
}
.purchase-sidebar-v2 .includes-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--text);
}
.purchase-sidebar-v2 .includes-list i {
    color: var(--mint-500);
    margin-left: 0.5rem; /* For RTL */
}
.purchase-sidebar-v2 .btn-cta {
    background: var(--accent-600);
    transition: all 0.2s ease;
}
.purchase-sidebar-v2 .btn-cta:hover {
    background: var(--accent-700);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(var(--accent-color-rgb), 0.2);
}
.purchase-sidebar-v2 .secure-payment-badge {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.purchase-sidebar-v2 .secure-payment-badge i {
    color: var(--mint-700);
}

/* --- Responsive for Sidebar --- */
@media (max-width: 991.98px) {
    .purchase-sidebar-v2 {
        position: static;
        margin-top: 3rem;
    }
}

/* =================================================================
   FULL SCREEN SEARCH OVERLAY
   ================================================================= */

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 34, 46, 0.95); /* Use your --primary-900 color with opacity */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(10px);
}

.search-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-content {
    width: 100%;
    max-width: 700px;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.search-overlay.is-active .search-overlay-content {
    transform: scale(1);
}

.search-overlay-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}

.search-form-v2 .search-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 3px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    padding: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-form-v2 .search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-form-v2 .search-input:focus {
    border-bottom-color: var(--accent-500, #DF9B3D);
}

.search-overlay-hint {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
}

.search-form-v2 .search-button {
    margin-top: 5px;
    background-color: var(--accent-500, #DF9B3D);
    color: var(--primary-900, #1A222E); /* Dark text on accent bg */
    border: none;
    border-radius: 8px; /* Slightly rounded corners */
    padding: 0.9rem 1.5rem; /* Adjust padding */
    font-size: 1.1rem; /* Match input size roughly */
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    flex-shrink: 0; /* Prevent button from shrinking */
}

.search-form-v2 .search-button:hover {
    background-color: var(--accent-600, #D47B2C); /* Darker accent on hover */
    transform: translateY(-1px);
}

.search-form-v2 .search-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Adjust hint position */
.search-overlay-hint {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1.5rem; /* Add more space below the form */
    text-align: center; /* Ensure it's centered */
}

/* Adjust error message position */
#search-recaptcha-error {
    text-align: center;
    width: 100%; /* Make it full width below form */
    margin-top: 1rem;
}

/* Media query for smaller screens if needed */
@media (max-width: 576px) {
    .search-form-v2 {
        flex-direction: column; /* Stack input and button */
        gap: 0.8rem;
    }
    .search-form-v2 .search-input {
        text-align: center; /* Center text when stacked */
    }
     .search-form-v2 .search-button {
        width: 100%; /* Make button full width */
        font-size: 1rem;
        padding: 0.8rem 1rem;
    }
    .search-overlay-hint {
       margin-top: 1rem;
    }
}
/* =================================================================
   PACKAGES INDEX PAGE - ENHANCED DESIGN
   ================================================================= */

/* --- 1. Sidebar Redesign --- */
.sidebar-widget-v2 {
    background: var(--surface-1);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-lg, 14px);
    padding: 1.5rem;
    position: sticky;
    top: 120px; /* Offset for sticky header */
    box-shadow: var(--shadow-sm);
}

.sidebar-widget-v2 .widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-800);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-100);
}

.category-list-v2 {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list-v2 li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    border-radius: var(--r-sm, 10px);
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.category-list-v2 li a:hover {
    background-color: var(--primary-50);
    color: var(--primary-700);
    transform: translateX(-5px); /* RTL-friendly nudge */
}

.category-list-v2 li a.active {
    background-color: var(--primary-600);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(var(--heading-color-rgb), 0.2);
}

.category-list-v2 li a .badge {
    background-color: var(--primary-100);
    color: var(--primary-700);
    font-weight: 600;
}

.category-list-v2 li a.active .badge {
    background-color: #fff;
    color: var(--primary-600);
}

/* --- 2. Enhanced Package Card --- */
.packages-grid-header {
    background: var(--surface-1);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-md);
    padding: 1rem 1.5rem;
}

.package-card-v2 {
    background-color: #fff;
    border-radius: var(--r-lg);
    border: 1px solid var(--border-soft);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    overflow: hidden; /* Important for image zoom */
}
.package-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.package-card-v2 .card-img {
    position: relative;
    overflow: hidden; /* For zoom effect */
}
.package-card-v2 .card-img img {
    transition: transform 0.4s ease;
}
.package-card-v2:hover .card-img img {
    transform: scale(1.05);
}

.package-card-v2 .category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-600);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.package-card-v2 .card-content {
    padding: 1.25rem;
    flex-grow: 1;
}
.package-card-v2 .card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.package-card-v2 .card-title a {
    text-decoration: none;
    color: var(--primary-800);
    transition: color 0.2s ease;
}
.package-card-v2 .card-title a:hover {
    color: var(--primary-600);
}

.package-card-v2 .card-meta {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-600);
}
.package-card-v2 .card-meta small {
    font-size: 0.9rem;
    font-weight: 500;
}

.package-card-v2 .card-footer-v2 {
    padding: 0 1.25rem 1.25rem 1.25rem;
    display: flex;
    gap: 0.75rem;
}

/* =================================================================
   ABOUT US PAGE - ENHANCED & RESPONSIVE DESIGN
   ================================================================= */

/* --- 1. Hero Section --- */
.about-hero {
    position: relative;
    padding: 6rem 0;
    color: #fff;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 34, 46, 0.85), rgba(70, 117, 156, 0.75));
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero h1 {
    color: #fff;

    font-weight: 800; /* Use Bootstrap's fw-bold instead of defining font-size here */
}

.about-hero p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

/* --- 2. Mission Story Section --- */
.story-image-wrapper {
    border-radius: 14px; /* Use var(--r-lg) if available */
    box-shadow: 0 15px 40px rgba(17, 24, 39, 0.1);
    overflow: hidden; /* Ensures image corners are rounded */
}

.story-section .story-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.story-image-wrapper:hover .story-image {
    transform: scale(1.05);
}

.story-section .lead {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* --- 3. Enhanced Values Section --- */
.values-section-v2 {
    background-color: #f8f9fa; /* Using a standard light gray */
}

.value-card-v2 {
    background-color: #fff;
    border-radius: 12px; /* Use var(--r-md) if available */
    padding: 2rem;
    text-align: center;
    border: 1px solid #dee2e6; /* Use var(--border-soft) if available */
    transition: all 0.3s ease;
}

.value-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Use var(--shadow-md) if available */
    border-color: #0d6efd; /* Use var(--primary-200) if available */
}

.value-card-v2 .value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem auto;
    background: linear-gradient(135deg, #0d6efd, #0a58ca); /* Use var(--primary-500, --primary-600) if available */
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.3);
}

.value-card-v2 h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #212529; /* Use var(--primary-800) if available */
    margin-bottom: 0.75rem;
}

.value-card-v2 p {
    color: #6c757d; /* Use var(--text-muted) if available */
    line-height: 1.7;
}

/* --- 4. Statistics Section --- */
.stats-section {
    background-color: #212529; /* Use var(--primary-800) if available */
    color: #fff;
}

.stat-item {
    text-align: center;
}

.stat-item .stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #0dcaf0; /* Use var(--accent-500) if available */
}

.stat-item .stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
}

/* ===========================================
   RESPONSIVE ADJUSTMENTS
   =========================================== */

/* --- Tablets (Medium Devices) --- */
@media (max-width: 992px) {
    .about-hero {
        padding: 5rem 0;
    }

    .about-hero h1 {
        font-size: 2.8rem;
    }

    .story-section .story-image {
        max-height: 400px;
    }
}

/* --- Mobile (Small Devices) --- */
@media (max-width: 768px) {
    .about-hero {
        padding: 4rem 0;
        background-attachment: scroll; /* Disable parallax on mobile for performance */
    }

    .about-hero h1 {
        font-size: 2.2rem; /* Use Bootstrap's display classes for this */
    }

    .about-hero p {
        font-size: 1rem;
    }

    .story-section .text-center, .story-section .text-start {
        text-align: center !important;
    }
    
    .stat-item {
        /* Add margin-bottom for stacked items on small screens */
        margin-bottom: 2rem;
    }
    .stat-item:last-child {
        margin-bottom: 0;
    }

    .stat-item .stat-number {
        font-size: 2.8rem;
    }
}

/* =================================================================
   PAYMENT STATUS PAGES
   ================================================================= */

.status-page-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 2rem 0;
}

.status-card {
    background-color: var(--surface-1);
    border-radius: var(--r-lg, 14px);
    padding: 2.5rem;
    max-width: 600px;
    width: 100%;
    box-shadow: var(--shadow-md);
    border-top: 5px solid var(--primary-500);
}

.lottie-container {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem auto;
}

.status-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-800);
}

/* Success specific color */
.status-card.success .status-title { color: #198754; }
.status-card.success { border-top-color: #198754; }


/* Pending specific color */
.status-card.pending .status-title { color: var(--accent-700); }
.status-card.pending { border-top-color: var(--accent-600); }

/* Failed specific color */
.status-card.failed .status-title { color: #dc3545; }
.status-card.failed { border-top-color: #dc3545; }


.status-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.status-details {
    background-color: var(--surface-2);
    padding: 1.5rem;
    border-radius: var(--r-md);
    text-align: right;
    line-height: 1.8;
}

/* =================================================================
   PAYMENT STATUS PAGES
   ================================================================= */

.status-page-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 2rem 0;
    background-color: var(--surface-2); /* A soft background for the whole page */
}

.status-card {
    background-color: var(--surface-1);
    border-radius: var(--r-lg, 14px);
    padding: 2.5rem;
    max-width: 600px;
    width: 100%;
    box-shadow: var(--shadow-md);
    text-align: center; /* Center all content */
}

.lottie-container {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem auto;
}

.status-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-800);
}

/* --- Success specific styles --- */
.status-card.success {
    border-top: 5px solid #198754; /* Green accent for success */
}
.status-card.success .status-title {
    color: #198754; /* Green text for success title */
}

/* Other statuses */
.status-card.pending { border-top-color: var(--accent-600); }
.status-card.failed { border-top-color: #dc3545; }


.status-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.status-details {
    background-color: var(--surface-2);
    padding: 1.5rem;
    border-radius: var(--r-md);
    text-align: right; /* RTL friendly */
    line-height: 1.8;
    margin-bottom: 2rem;
}
.status-details p {
    margin: 0;
}

/* ADD THIS TO YOUR payment-status.css FILE */

/* --- Error/Warning specific styles --- */
.status-card.error {
    border-top-color: #dc1e5d; /* A warning yellow */
}
.status-card.error .status-title {
    color: #c42f18; /* A darker, more readable yellow/brown */
}


/* =================================================================
   POST SHOW PAGE - PROFESSIONAL REDESIGN
   ================================================================= */

/* --- 1. Enhanced Page Header --- */
.post-header-v2 {
    text-align: center;
    padding: 3rem 0;
    background-color: var(--surface-2);
    border-bottom: 1px solid var(--border-soft);
}

.post-header-v2 .post-date {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-600);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.post-header-v2 .post-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary-800);
    line-height: 1.3;
    max-width: 800px;
    margin: 0 auto 1rem auto;
}

.post-header-v2 .post-excerpt {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* --- 2. Main Article Layout & Featured Image --- */
.article-featured-image {
    margin: 2rem 0;
    border-radius: var(--r-lg, 14px);
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.1);
}

/* --- 3. Professional Typography for Article Content --- */
.article-content-v2 {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
}
.article-content-v2 p {
    margin-bottom: 1.5rem;
}
.article-content-v2 h2, .article-content-v2 h3 {
    font-weight: 700;
    color: var(--primary-800);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}
.article-content-v2 blockquote {
    border-right: 4px solid var(--primary-200); /* RTL */
    padding-right: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-muted);
}
.article-content-v2 img {
    max-width: 100%;
    height: auto;
    border-radius: var(--r-md);
    margin: 2rem 0;
}

/* --- 4. Social Share Buttons --- */
.social-share {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-soft);
}
.social-share-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-strong);
}
.social-share-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--surface-2);
    color: var(--text-muted);
    font-size: 1.2rem;
    text-decoration: none;
    margin-left: 0.5rem; /* RTL */
    transition: all 0.2s ease;
}
.social-share-buttons a:hover {
    background-color: var(--primary-600);
    color: #fff;
    transform: translateY(-3px);
}

/* --- 5. Redesigned Sidebar --- */
.sidebar-v2 .widget {
    background-color: var(--surface-1);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}
.sidebar-v2 .widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-800);
    margin-bottom: 1.5rem;
}
.recent-posts-v2 li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}
.recent-posts-v2 .post-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--r-sm);
    flex-shrink: 0;
    margin-left: 1rem; /* RTL */
}
.recent-posts-v2 .post-info .post-title a {
    font-weight: 600;
    color: var(--text-strong);
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.2s ease;
}
.recent-posts-v2 .post-info .post-title a:hover {
    color: var(--primary-600);
}
.recent-posts-v2 .post-info .post-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* =================================================================
   FEATURED PACKAGES - V2 ENHANCED DESIGN
   ================================================================= */

.featured-packages-section-v2 {
    padding: 5rem 0;
    background-color: var(--surface-2); /* A soft, premium background */
}

.package-card-v2 {
    background-color: #fff;
    border-radius: var(--r-lg, 14px);
    border: 1px solid var(--border-soft);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    overflow: hidden;
}
.package-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(17, 24, 39, 0.08);
}

.package-card-v2 .card-img {
    position: relative;
    overflow: hidden; /* For image zoom effect */
}
.package-card-v2 .card-img img {
    transition: transform 0.4s ease;
}
.package-card-v2:hover .card-img img {
    transform: scale(1.05);
}

.package-card-v2 .category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-600);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.package-card-v2 .card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.package-card-v2 .card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}
.package-card-v2 .card-title a {
    text-decoration: none;
    color: var(--primary-800);
    transition: color 0.2s ease;
}
.package-card-v2 .card-title a:hover {
    color: var(--primary-600);
}

/* NEW: Meta details for duration */
.card-details-v2 {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.card-details-v2 i {
    color: var(--primary-500);
}

/* NEW: Price section */
.card-price-v2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-600);
    margin-top: auto; /* Pushes price to the bottom */
}
.card-price-v2 small {
    font-size: 1rem;
    font-weight: 500;
}

.package-card-v2 .card-footer-v2 {
    padding: 1.5rem;
    border-top: 1px solid var(--border-soft);
    background-color: var(--surface-2);
}
.navbar .nav-link.fw-bold {
  background: var(--btn-primary-bg, var(--primary-600));
  color: var(--btn-primary-fg, #fff) !important;
  border-color: transparent !important;
}
.navbar .nav-link.fw-bold:hover {
  background: var(--btn-primary-hover, var(--primary-700));
}






  .auth-azad {
        background-color: var(--surface-2, #F7F9FB);
        padding-top: 5rem;
        padding-bottom: 5rem;
        min-height: 100vh;
    }

    .auth-card {
        background-color: var(--surface-1, #FFFFFF);
        border: 1px solid var(--border-soft, #E9EEF2);
        border-radius: 16px;
        padding: 2.5rem;
        box-shadow: var(--card-shadow, 0 8px 24px rgba(15, 19, 23, 0.06));
        overflow: hidden;
    }

    .auth-header {
        text-align: center;
        margin-bottom: 2rem;
    }

    .auth-header h2 {
        color: var(--text-strong, #1A222E);
        font-weight: 700;
        font-size: 1.75rem;
    }
    
    .auth-header p {
        color: var(--text-muted, #5D7386);
        font-size: 1rem;
    }

    .form-control {
        min-height: 50px;
        border: 1px solid var(--border-soft, #E9EEF2);
        border-radius: 8px;
        transition: all 0.2s ease-in-out;
    }
    
    .form-control:focus {
        background-color: var(--surface-1, #FFFFFF);
        border-color: var(--primary-500, #46759C);
        box-shadow: 0 0 0 4px var(--animation-glow, rgba(70,117,156,0.28));
    }

    .btn-primary {
        background: var(--btn-primary-bg, #3D6A8B);
        border-color: var(--btn-primary-bg, #3D6A8B);
        font-weight: 700;
        padding: 0.75rem 1rem;
        border-radius: 8px;
        transition: all 0.2s ease-in-out;
    }

    .btn-primary:hover {
        background: var(--btn-primary-hover, #33526D);
        border-color: var(--btn-primary-hover, #33526D);
        transform: translateY(-2px);
    }
    
    .auth-link {
        color: var(--link-color, #33526D);
        font-weight: 500;
        text-decoration: none;
    }
    
    .auth-link:hover {
        color: var(--link-hover, #C95727);
    }
    
    .form-check-input:checked {
        background-color: var(--primary-600, #3D6A8B);
        border-color: var(--primary-600, #3D6A8B);
    }

    /* Responsive adjustments */
    @media (max-width: 576px) {
        .auth-card {
            padding: 1.5rem;
            border: none;
            box-shadow: none;
        }
        .auth-azad {
            background-color: var(--surface-1, #FFFFFF);
            padding-top: 2rem;
            padding-bottom: 2rem;
        }
    }

.grecaptcha-badge {
    visibility: hidden !important; /* Hides the badge */
}