/* =======================================================
   1. Fonts & Variables (Royal Blue & Bright Light Mode)
   ======================================================= */
@font-face {
  font-family: 'Changa';
  src: url('/fonts/changa/Changa-ExtraLight.ttf') format('truetype');
  font-weight: 200;
}
@font-face {
  font-family: 'Changa';
  src: url('/fonts/changa/Changa-Light.ttf') format('truetype');
  font-weight: 300;
}
@font-face {
  font-family: 'Changa';
  src: url('/fonts/changa/Changa-Regular.ttf') format('truetype');
  font-weight: 400;
}
@font-face {
  font-family: 'Changa';
  src: url('/fonts/changa/Changa-Medium.ttf') format('truetype');
  font-weight: 500;
}
@font-face {
  font-family: 'Changa';
  src: url('/fonts/changa/Changa-SemiBold.ttf') format('truetype');
  font-weight: 600;
}
@font-face {
  font-family: 'Changa';
  src: url('/fonts/changa/Changa-Bold.ttf') format('truetype');
  font-weight: 700;
}
@font-face {
  font-family: 'Changa';
  src: url('/fonts/changa/Changa-ExtraBold.ttf') format('truetype');
  font-weight: 800;
}

:root {
  --default-font: 'Changa', sans-serif;
  --heading-font: 'Changa', sans-serif;
  --nav-font: 'Changa', sans-serif;
}

/* Global Colors - Dr. Hassan Al-Jouni (Bright Light Mode) */
:root { 
  --background-color: #ffffff;    /* Pure White */
  --default-color: #4b5563;       /* Softer Dark Grey */
  --heading-color: #052c65;       /* Deep Royal Blue (Matches Logo) */
  --accent-color: #007bff;        /* Vibrant Bright Blue */
  --surface-color: #ffffff;       /* White cards */
  --contrast-color: #ffffff;      /* White text */
}

/* Pagination - Royal Blue Theme */
:root {
    --pagination-bg: var(--surface-color, #f8f9fa);
    --pagination-active-bg: linear-gradient(90deg, var(--heading-color) 0%, var(--accent-color) 100%);
    --pagination-active-color: var(--contrast-color, #fff);
    --pagination-hover-bg: #e2e8f0; 
    --pagination-color: var(--heading-color);
    --pagination-gap: 0.85rem;
    --pagination-font-size: 1.22rem;
    --pagination-shadow: 0 2px 14px rgba(5, 44, 101, 0.1); 
    --pagination-active-shadow: 0 5px 24px rgba(0, 123, 255, 0.25);
}

/* Nav Menu Colors */
:root {
  --nav-color: #052c65;             
  --nav-hover-color: #007bff;       
  --nav-mobile-background-color: #ffffff; 
  --nav-dropdown-background-color: #ffffff; 
  --nav-dropdown-color: #052c65;    
  --nav-dropdown-hover-color: #007bff; 
}

/* Color Presets */
.light-background {
  --background-color: #f0f8ff;     /* "Alice Blue" - faint beautiful blue tint */
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #052c65;     /* Deep Royal Blue */
  --default-color: #f1f5f9;        
  --heading-color: #ffffff;        
  --surface-color: #0b3d82;        /* Lighter Navy */
  --contrast-color: #00bfff;       /* Cyan highlight */
}

/* =======================================================
   2. Base Global Styles
   ======================================================= */
body {
  font-family: var(--default-font);
  background-color: var(--background-color);
  color: var(--default-color);
  overflow-x: hidden;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: var(--heading-color); 
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-weight: 700;
}

/* Buttons (Global) */
.btn-primary, .cta-btn {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--contrast-color);
    padding: 10px 28px;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-primary:hover, .cta-btn:hover {
    background-color: var(--heading-color);
    border-color: var(--heading-color);
}

/* =======================================================
   3. Preloader Styles (Royal Blue Theme)
   ======================================================= */
#preloader-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, #052c65 80%, #007bff 140%);
    overflow: hidden;
    transition: opacity 0.8s cubic-bezier(.7,.14,.21,1), visibility 0.9s;
    opacity: 1;
    visibility: visible;
}
#preloader-overlay.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-bg-blob {
    position: absolute;
    width: 460px;
    height: 370px;
    background: radial-gradient(ellipse at 60% 40%, #007bff 0%, #052c65 55%, transparent 100%);
    filter: blur(40px) opacity(0.8);
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%) scale(1.12);
    animation: blob-move 3.2s ease-in-out infinite alternate;
    z-index: 1;
    pointer-events: none;
}
@keyframes blob-move {
    0% { border-radius: 48% 52% 51% 49% / 53% 47% 53% 47%; }
    100% { border-radius: 39% 61% 37% 63% / 68% 49% 51% 32%; }
}

.preloader-glass {
    position: relative;
    background: rgba(255,255,255,0.15);
    border-radius: 28px;
    padding: 48px 42px 42px 42px;
    backdrop-filter: blur(11px) saturate(1.5);
    box-shadow: 0 6px 54px 0 rgba(5, 44, 101, 0.25), 0 0 0 10px rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
}

.preloader-glow {
    background: linear-gradient(120deg, #007bff 50%, #052c65 120%);
    border-radius: 50%;
    padding: 9px;
    box-shadow: 0 0 48px 18px rgba(0, 123, 255, 0.3), 0 0 16px 2px rgba(5, 44, 101, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    animation: glowPulse 1.7s infinite alternate;
}
@keyframes glowPulse {
    0% { box-shadow: 0 0 48px 14px rgba(0, 123, 255, 0.2), 0 0 8px 0 rgba(5, 44, 101, 0.3);}
    100% { box-shadow: 0 0 64px 24px rgba(0, 123, 255, 0.5), 0 0 26px 3px rgba(5, 44, 101, 0.6);}
}
.preloader-glow img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 34px rgba(0, 123, 255, 0.25);
}

.preloader-typewriter {
    color: #fff;
    font-size: 1.19rem;
    letter-spacing: 0.5px;
    font-weight: 700;
    font-family: 'Changa', sans-serif;
    white-space: nowrap;
    border-right: 2.5px solid #fff;
    width: max-content;
    margin: 0 auto;
    margin-top: 12px;
    opacity: .96;
    min-height: 32px;
    overflow: hidden;
    animation: blinkCursor .9s steps(1) infinite;
}
@keyframes blinkCursor {
    0%, 100% { border-right: 2.5px solid #fff; }
    50% { border-right: 2.5px solid #007bff;}
}
@media (max-width: 576px) {
    .preloader-bg-blob { width: 210px; height: 140px; filter: blur(23px);}
    .preloader-glass { padding: 27px 16px 18px 16px;}
    .preloader-glow img { width: 52px; height: 52px;}
    .preloader-typewriter { font-size: .98rem;}
}

/* =======================================================
   4. Header Styles (Royal Header - Responsive Fixed)
   ======================================================= */
.royal-header {
    background-color: var(--background-color);
    transition: all 0.5s;
    z-index: 997;
    padding: 15px 0;
    box-shadow: 0px 5px 30px rgba(5, 44, 101, 0.05);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
}

.royal-header.scrolled {
    padding: 10px 0;
    box-shadow: 0px 5px 30px rgba(5, 44, 101, 0.15);
}

/* Top Gradient Bar */
.royal-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--heading-color) 0%, var(--accent-color) 100%);
}

/* Logo Area */
.brand-logo .logo-wrapper img {
    max-height: 55px;
    transition: 0.3s;
}

.brand-logo .brand-text {
    display: flex;
    flex-direction: column;
}

.brand-logo .doctor-name {
    font-size: 20px;
    margin: 0;
    font-weight: 800;
    color: var(--heading-color);
    line-height: 1.2;
}

.brand-logo .doctor-title {
    font-size: 12px;
    color: var(--accent-color);
    font-weight: 500;
}

/* ---------------------------------------------------------
   Desktop Navigation (Screens larger than 991px)
   --------------------------------------------------------- */
.royal-navbar {
    padding: 0;
}

.royal-navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
}

.royal-navbar li {
    position: relative;
    margin-left: 25px;
}

.royal-navbar a,
.royal-navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 10px 30px;
    font-family: var(--nav-font);
    font-size: 16px;
    font-weight: 600;
    color: var(--heading-color);
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
}

.royal-navbar a:hover,
.royal-navbar .active,
.royal-navbar .active:focus,
.royal-navbar li:hover>a {
    color: var(--accent-color);
}

/* Underline Effect (Desktop Only) */
@media (min-width: 992px) {
    .royal-navbar a:before {
        content: "";
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 5px;
        right: 0;
        background-color: var(--accent-color);
        visibility: hidden;
        transition: all 0.3s ease-in-out;
    }

    .royal-navbar a:hover:before,
    .royal-navbar li:hover>a:before,
    .royal-navbar .active:before {
        visibility: visible;
        width: 25px;
    }
}

/* Contact Button */
.royal-navbar .nav-btn-contact {
    background: var(--heading-color);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 50px;
    margin-right: 15px;
    box-shadow: 0 4px 15px rgba(5, 44, 101, 0.2);
    display: inline-block;
}

.royal-navbar .nav-btn-contact:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

.royal-navbar .nav-btn-contact:before {
    display: none !important;
}

/* ---------------------------------------------------------
   Mobile Navigation (Screens smaller than 991px)
   --------------------------------------------------------- */
.mobile-nav-toggle {
    color: var(--heading-color);
    font-size: 32px;
    cursor: pointer;
    display: none; /* Hidden on Desktop */
    line-height: 0;
    transition: 0.5s;
    z-index: 9999; /* Always on top */
}

@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: block; /* Show hamburger on Mobile */
        margin-right: 15px;
    }

    /* Hide standard desktop menu list by default */
    .royal-navbar ul {
        display: none; 
    }
}

/* Mobile Menu Overlay 
   (Applied when JS adds .navbar-mobile class) 
*/
.navbar-mobile {
    position: fixed;
    overflow: hidden;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(5, 44, 101, 0.8); /* Dark Blue Overlay */
    transition: 0.3s;
    z-index: 998;
}

.navbar-mobile ul {
    display: block !important; /* Force show list */
    position: absolute;
    top: 55px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    padding: 10px 0;
    background-color: #fff;
    border-radius: 10px;
    overflow-y: auto;
    transition: 0.3s;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile a,
.navbar-mobile a:focus {
    padding: 15px 20px;
    font-size: 16px;
    color: var(--heading-color);
    border-bottom: 1px solid #eee;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
    color: var(--accent-color);
    padding-right: 25px; /* Indent effect */
}

.navbar-mobile .nav-btn-contact {
    margin: 15px 20px;
    text-align: center;
    justify-content: center;
    width: calc(100% - 40px);
}


/* =======================================================
   5. Hero Section (Premium White Theme)
   ======================================================= */
.hero-section-white {
    padding-top: 140px; /* Space for fixed header */
    padding-bottom: 80px;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
    /* Subtle geometric pattern for texture */
    background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 30px 30px;
}

/* Background Fade Overlay */
.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #ffffff 100%);
    pointer-events: none;
    z-index: 0;
}

/* --- Visuals / Image Side --- */
.hero-visuals {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

/* Organic Blob Background */
.blob-shape {
    position: absolute;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.08) 0%, rgba(5, 44, 101, 0.05) 100%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morph 8s ease-in-out infinite;
    z-index: -1;
}

.hero-person {
    max-height: 580px;
    filter: drop-shadow(0 20px 40px rgba(5, 44, 101, 0.15));
    transition: transform 0.5s ease;
    z-index: 2;
    position: relative;
}

.hero-visuals:hover .hero-person {
    transform: scale(1.02);
}

/* Floating Cards */
.float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 3;
    animation: float 4s ease-in-out infinite;
}

.experience-card {
    top: 20%;
    right: 0;
    border-right: 4px solid var(--accent-color);
}

.qualification-card {
    bottom: 10%;
    left: 0;
    animation-delay: 2s; /* Desync animation */
    border-left: 4px solid var(--heading-color);
}

.float-card .icon-box {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.experience-card .icon-box { background: rgba(0, 123, 255, 0.1); color: var(--accent-color); }
.qualification-card .icon-box { background: rgba(5, 44, 101, 0.1); color: var(--heading-color); }

.float-card .text-content { display: flex; flex-direction: column; }
.float-card .number { font-weight: 800; font-size: 1.4rem; color: var(--heading-color); line-height: 1; }
.float-card .label { font-size: 0.85rem; color: var(--default-color); }
.float-card .label-bold { font-weight: 700; color: var(--heading-color); }
.float-card .label-small { font-size: 0.8rem; color: var(--default-color); }

/* --- Text Content Side --- */
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(5, 44, 101, 0.05);
    color: var(--heading-color);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.display-title {
    font-weight: 900;
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    line-height: 1.15;
    color: var(--heading-color);
    margin-bottom: 20px;
}

.text-gradient {
    background: linear-gradient(120deg, var(--heading-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.hero-lead {
    font-size: 1.2rem;
    color: var(--default-color);
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Topics Tags */
.topics-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end; /* RTL */
    margin-bottom: 35px;
}

.topic-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--heading-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    transition: 0.3s;
}

.topic-item:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* Buttons */
.btn-hero-lg {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.15);
    transition: all 0.3s;
}

.btn-hero-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 123, 255, 0.25);
}

.btn-outline-secondary {
    border-color: #e5e7eb;
    color: var(--default-color);
    box-shadow: none;
}

.btn-outline-secondary:hover {
    background: #f8f9fa;
    color: var(--heading-color);
    border-color: #d1d5db;
    transform: translateY(-3px);
}

/* Trust Footer */
.hero-trust {
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.trust-label {
    font-size: 0.9rem;
    color: #9ca3af;
    margin-bottom: 10px;
}

.trust-icons {
    display: flex;
    justify-content: flex-end; /* RTL */
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    color: var(--heading-color);
    font-weight: 600;
}

.trust-icons i { color: var(--accent-color); margin-left: 5px; }
.separator { color: #e5e7eb; }

/* --- Animations --- */
@keyframes morph {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
    67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
    100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .hero-section-white { padding-top: 100px; text-align: center; }
    .hero-text-content { text-align: center; }
    .topics-wrapper { justify-content: center; }
    .trust-icons { justify-content: center; flex-wrap: wrap; }
    .hero-visuals { margin-bottom: 50px; }
    .display-title { font-size: 2.5rem; }
    .float-card { padding: 10px 15px; }
    .experience-card { top: 10%; right: -10px; }
    .qualification-card { bottom: 0; left: -10px; }
    .blob-shape { width: 350px; height: 350px; }
}

/* =======================================================
   6. Impact/Stats Strip (Royal Blue Theme)
   ======================================================= */
.impact-section {
    padding: 60px 0;
    background-color: var(--background-color);
    position: relative;
    z-index: 2;
    margin-top: -40px; /* Slight overlap with Hero if desired, or set to 0 */
}

.stat-card {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(5, 44, 101, 0.08); /* Soft blue shadow */
    border: 1px solid rgba(0, 123, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Top Accent Bar */
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--heading-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(5, 44, 101, 0.15);
}

.stat-card:hover::before {
    opacity: 1;
}

/* Icon Styles */
.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 123, 255, 0.1); /* Light Blue BG */
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: 0.3s;
}

.stat-card:hover .stat-icon {
    background: var(--heading-color);
    color: #fff;
    transform: scale(1.1) rotateY(180deg);
}

/* Typography */
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--heading-color);
    line-height: 1;
    margin-bottom: 5px;
    font-family: var(--heading-font);
}

.stat-label {
    font-size: 1rem;
    color: var(--default-color);
    font-weight: 500;
    opacity: 0.8;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .stat-card {
        padding: 20px 15px;
    }
    .stat-number {
        font-size: 2rem;
    }
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}


/* =======================================================
   7. Training Gallery (Pinterest Masonry)
   ======================================================= */
.training-gallery-section {
    padding: 80px 0;
    background-color: var(--surface-color);
}

.section-heading {
    color: var(--heading-color);
    font-size: 2.2rem;
    font-weight: 800;
}

.title-shape {
    width: 100px;
    height: 20px;
    color: var(--accent-color);
    margin: 10px auto;
}

.section-subtitle {
    color: var(--default-color);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Pinterest Masonry Layout */
.masonry-grid {
    column-count: 3;
    column-gap: 20px;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 20px;
}

.gallery-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: zoom-in;
    box-shadow: 0 4px 15px rgba(5, 44, 101, 0.08);
    transition: transform 0.3s ease;
    background: #000; /* Dark bg for image loading */
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(5, 44, 101, 0.15);
}

.gallery-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-img {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Hover Overlay */
.gallery-card .overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 44, 101, 0.4); /* Navy tint */
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-card:hover .overlay {
    opacity: 1;
}

.zoom-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-color);
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-card:hover .zoom-btn {
    transform: scale(1);
}

/* Responsive Columns */
@media (max-width: 991px) {
    .masonry-grid {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .masonry-grid {
        column-count: 1;
    }
}

/* Modal Styling (Updated for Royal Blue) */
.modal-glass-bg {
    display: none;
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(5, 44, 101, 0.85); /* Deep Blue Overlay */
    backdrop-filter: blur(8px);
    align-items: center; justify-content: center;
}
.modal-glass-bg.active { display: flex; }

.glass-modal-content {
    position: relative;
    max-width: 90vw; max-height: 90vh;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.glass-modal-img {
    max-width: 90vw; max-height: 85vh;
    object-fit: contain;
    background: #000;
}

.glass-modal-close,
.glass-modal-nav-btn {
    position: absolute;
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px; height: 44px;
    display: grid; place-items: center;
    cursor: pointer;
    transition: 0.3s;
}
.glass-modal-close:hover,
.glass-modal-nav-btn:hover {
    background: var(--accent-color);
}

.glass-modal-close { top: 20px; left: 20px; font-size: 1.5rem; }
.glass-modal-nav-btn.prev { top: 50%; left: 20px; transform: translateY(-50%); }
.glass-modal-nav-btn.next { top: 50%; right: 20px; transform: translateY(-50%); }

.glass-modal-counter {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    background: rgba(0,0,0,0.5); color: #fff;
    padding: 5px 15px; border-radius: 20px; font-size: 0.9rem;
}

/* =======================================================
   9. Clients / Partners Section
   ======================================================= */
.clients-section { 
    padding: 80px 0;
    background-color: var(--background-color);
}

.logo-carousel { 
    width: 100%; 
    padding: 20px 0 40px; 
}

.logo-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(5, 44, 101, 0.08); /* Royal Blue tint */
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(5, 44, 101, 0.05);
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden;
    padding: 25px;
    cursor: pointer;
}

.logo-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: transform 0.3s, filter 0.3s;
}

/* Glowing Border Effect (Blue Theme) */
.logo-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: 22px;
    /* Gradient: Bright Blue -> White -> Bright Blue */
    background: conic-gradient(from 130deg, var(--accent-color), #fff, var(--accent-color));
    opacity: 0;
    filter: blur(12px);
    transition: opacity 0.4s;
}

.logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.15);
    border-color: transparent;
}

.logo-card:hover::before {
    opacity: 0.6;
    animation: borderPulse 2.5s linear infinite;
}

.logo-card:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

@keyframes borderPulse {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Swiper Navigation Buttons */
.swiper-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 10px;
}

.client-prev, .client-next {
    position: static; /* Override Swiper default absolute */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--heading-color);
    border: 1px solid rgba(5, 44, 101, 0.1);
    box-shadow: 0 4px 12px rgba(5, 44, 101, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    cursor: pointer;
}

/* Remove default Swiper arrows */
.client-prev::after, .client-next::after {
    content: none; 
}

.client-prev:hover, .client-next:hover {
    background: var(--heading-color);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.25);
}

/* Modal Styling */
.glass-modal-content {
    background: rgba(5, 44, 101, 0.9); /* Deep Blue Background */
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.modal-logo-img {
    max-height: 50vh;
    object-fit: contain;
    padding: 20px;
    background: #fff; /* White bg for logo readability */
    border-radius: 12px;
}

.logo-counter {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.carousel-control-prev-icon, 
.carousel-control-next-icon {
    background-color: var(--accent-color);
    border-radius: 50%;
    background-size: 50%;
}


/* =======================================================
   11. CTA Duo Section (Twin Focus)
   ======================================================= */
.cta-duo-section {
    padding: 100px 0;
    position: relative;
    background-color: #ffffff;
    overflow: hidden;
}

/* Subtle Gradient Background Blob */
.cta-bg-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(0, 123, 255, 0.04) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.cta-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(5, 44, 101, 0.06);
    box-shadow: 0 10px 40px rgba(5, 44, 101, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}

.cta-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(5, 44, 101, 0.12);
}

/* Card Variants */
.cta-card.corporate {
    border-top: 5px solid var(--heading-color); /* Royal Blue */
}

.cta-card.personal {
    border-top: 5px solid var(--accent-color); /* Bright Blue */
}

/* Layout inside card */
.cta-content {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

/* Icons */
.icon-box {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: 0.3s;
}

.corporate .icon-box {
    background-color: rgba(5, 44, 101, 0.08);
    color: var(--heading-color);
}

.personal .icon-box {
    background-color: rgba(0, 123, 255, 0.08);
    color: var(--accent-color);
}

.cta-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
}

/* Text */
.text-box h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--heading-color);
}

.text-box p {
    font-size: 1rem;
    color: var(--default-color);
    line-height: 1.7;
    margin-bottom: 25px;
    opacity: 0.85;
}

/* Link Button */
.cta-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: 0.3s;
}

.cta-link-btn i {
    transition: transform 0.3s;
}

.corporate .cta-link-btn { color: var(--heading-color); }
.personal .cta-link-btn { color: var(--accent-color); }

.cta-card:hover .cta-link-btn i {
    transform: translateX(-5px); /* Move arrow left on hover (RTL) */
}

/* Decorative Pattern in Background */
.card-pattern {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 150px;
    height: 150px;
    background-image: radial-gradient(var(--heading-color) 1px, transparent 1px);
    background-size: 10px 10px;
    opacity: 0.05;
    border-radius: 50%;
    z-index: 0;
    transition: 0.5s;
}

.personal .card-pattern {
    background-image: radial-gradient(var(--accent-color) 1px, transparent 1px);
}

.cta-card:hover .card-pattern {
    transform: scale(1.5);
    opacity: 0.1;
}

@media (max-width: 768px) {
    .cta-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .text-box h3 {
        margin-top: 10px;
    }
    .cta-card {
        padding: 30px 20px;
    }
    .card-pattern {
        display: none;
    }
}

/* =======================================================
   12. Testimonials Section (Equal Height Fix)
   ======================================================= */
.testimonials-section {
    padding: 80px 0;
    background-color: #f9fbfd;
    position: relative;
    overflow: hidden;
}

.testimonials-slider-wrapper {
    position: relative;
    padding: 20px 10px;
}

/* --- FORCE EQUAL HEIGHT LOGIC --- */
.testimonials-swiper .swiper-wrapper {
    align-items: stretch; /* Key: Stretches all slides to the tallest one */
}

.testimonials-swiper .swiper-slide {
    height: auto; /* Allow the slide to grow/shrink with flex */
}
/* ------------------------------- */

.testimonial-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(5, 44, 101, 0.06);
    position: relative;
    border: 1px solid rgba(0, 123, 255, 0.05);
    height: 100%; /* Key: Fills the stretched slide */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes author to bottom */
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(5, 44, 101, 0.1);
}

/* Accent Side Bar */
.testimonial-card::before {
    content: '';
    position: absolute;
    right: 0;
    top: 30px;
    bottom: 30px;
    width: 4px;
    background: var(--heading-color);
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.quote-icon {
    font-size: 3rem;
    color: rgba(0, 123, 255, 0.1);
    position: absolute;
    top: 20px;
    left: 25px;
    line-height: 1;
}

.rating-stars {
    color: #ffc107;
    font-size: 0.9rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testimonial-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 10px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--default-color);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 25px;
    opacity: 0.9;
    
    /* Truncate long text to keep cards neat (approx 5-6 lines) */
    display: -webkit-box;
    -webkit-line-clamp: 6; 
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Author Section */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto; /* Pushes this section to the bottom */
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 20px;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0;
}

.author-role {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 500;
}

/* Swiper Pagination */
.testimonials-section .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: #d1d9e6;
    opacity: 1;
    transition: 0.3s;
}

.testimonials-section .swiper-pagination-bullet-active {
    background-color: var(--heading-color);
    width: 25px;
    border-radius: 5px;
}

/* =======================================================
   13. About Page Styles
   ======================================================= */

/* General Page Spacing */
.page-wrapper {
    padding-top: 120px; /* Space for fixed header */
    overflow-x: hidden;
}

/* --- 1. Modern About Hero (Royal Blue Gradient) --- */
.about-hero {
    background: linear-gradient(135deg, var(--heading-color) 0%, #0a3d82 100%);
    color: #fff;
    border-radius: 24px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    text-align: right; /* RTL */
    box-shadow: 0 20px 40px rgba(5, 44, 101, 0.15);
}

/* Background decorative circles */
.about-hero::before, .about-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    pointer-events: none;
}
.about-hero::before {
    width: 300px; height: 300px;
    background: #fff;
    top: -100px; right: -50px;
}
.about-hero::after {
    width: 200px; height: 200px;
    background: var(--accent-color);
    bottom: -50px; left: -50px;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.badge-pill {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.hero-title {
    color: #ffffff;
    margin: 0 0 15px;
    font-weight: 800;
    font-size: clamp(1.8rem, 2.5vw, 2.8rem);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 90%;
    color: #f0f8ff; /* Alice Blue text */
}

/* Metrics Chips */
.metrics-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
}
.metric-chip {
    background: rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
}
.metric-chip i { color: var(--accent-color); } /* Bright Blue Icon */

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.btn-hero {
    background: var(--accent-color);
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.2);
}
.btn-hero:hover {
    background: #fff;
    color: var(--heading-color);
    transform: translateY(-3px);
}
.btn-hero.alt {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    box-shadow: none;
    color: #fff;
}
.btn-hero.alt:hover {
    background: #fff;
    border-color: #fff;
    color: var(--heading-color);
}

/* --- 2. Detailed Info Section --- */
.about-details {
    padding: 80px 0;
    background-color: #fff;
}

.about-img-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(5, 44, 101, 0.1);
}
.about-img-box img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}
.about-img-box:hover img { transform: scale(1.03); }

.content-title {
    color: var(--heading-color);
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}
.content-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0; /* RTL */
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.lead-text {
    font-size: 1.1rem;
    color: var(--default-color);
    line-height: 1.8;
    margin-bottom: 25px;
}

.skills-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}
.skills-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--heading-color);
    font-weight: 600;
}
.skills-list li i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Stats Cards */
.stats-row { margin-top: 40px; }
.stat-box {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid rgba(5, 44, 101, 0.05);
}
.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(5, 44, 101, 0.08);
    background: #fff;
}
.stat-box i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    display: block;
}
.stat-box h4 {
    color: var(--heading-color);
    font-weight: 800;
    margin-bottom: 5px;
}
.stat-box p {
    color: var(--default-color);
    margin: 0;
    font-size: 0.9rem;
}

/* --- 3. Resume/Timeline --- */
.resume-section {
    padding: 80px 0;
    background-color: #f0f8ff; /* Alice Blue */
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}
/* Vertical Line */
.timeline-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 20px; /* RTL position */
    width: 3px;
    background: #dbeafe;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-right: 50px; /* Space for line */
}

.timeline-dot {
    position: absolute;
    right: 11px; /* Center on line */
    top: 0;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 4px solid var(--accent-color);
    border-radius: 50%;
    z-index: 2;
}

.timeline-content {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(5, 44, 101, 0.03);
    border-right: 4px solid var(--heading-color);
    transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateX(-5px);
}

.timeline-date {
    display: inline-block;
    background: #f0f8ff;
    color: var(--heading-color);
    padding: 5px 12px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.timeline-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--heading-color);
    margin-bottom: 5px;
}
.timeline-subtitle {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

/* =======================================================
   14. Services Page Styles (Royal Blue)
   ======================================================= */

/* --- 1. Services Hero --- */
.services-hero {
    background: linear-gradient(135deg, var(--heading-color) 0%, #0a3d82 100%);
    color: #fff;
    border-radius: 20px;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(5, 44, 101, 0.1);
}

.services-hero .badge-pill {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.services-hero .hero-title {
    color: #fff;
    font-weight: 800;
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
}

.services-hero .hero-subtitle {
    color: #f0f8ff;
    font-size: 1.1rem;
    max-width: 700px;
    opacity: 0.9;
}

/* --- 2. Service Cards --- */
.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(5, 44, 101, 0.05);
    border: 1px solid rgba(5, 44, 101, 0.08);
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(5, 44, 101, 0.1);
    border-color: var(--accent-color);
}

.service-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--heading-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

.service-content {
    flex-grow: 1;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--heading-color);
    margin: 0;
}

.service-badges {
    display: flex;
    gap: 8px;
}

.badge-soft {
    background: rgba(5, 44, 101, 0.06);
    color: var(--heading-color);
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.service-desc {
    color: var(--default-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.service-features li {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--heading-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.service-features li i {
    color: var(--accent-color);
}

/* --- 3. Sidebar CTA --- */
.services-sidebar {
    position: sticky;
    top: 100px;
}

.cta-box {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(5, 44, 101, 0.08);
    text-align: center;
    border-top: 5px solid var(--accent-color);
}

.cta-box h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--heading-color);
    margin-bottom: 10px;
}

.cta-box p {
    font-size: 0.95rem;
    color: var(--default-color);
    margin-bottom: 25px;
}

.cta-buttons .btn {
    padding: 10px 20px;
    font-weight: 700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.features-list {
    text-align: right;
}

.feature-item {
    font-size: 0.9rem;
    color: var(--default-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-item i {
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 991px) {
    .service-header {
        flex-direction: column;
    }
    .services-sidebar {
        position: static;
        margin-top: 40px;
    }
    .service-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* =======================================================
   15. FAQ Section (Accordion)
   ======================================================= */
.faq-section {
    padding: 80px 0;
    background-color: #fff;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid rgba(5, 44, 101, 0.08); /* Royal Blue Tint */
    border-radius: 12px;
    padding: 20px 25px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(5, 44, 101, 0.05);
    border-color: var(--accent-color);
}

.faq-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--heading-color);
    padding-left: 30px; /* Space for icon */
    line-height: 1.5;
    transition: color 0.3s;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, margin-top 0.3s ease;
    opacity: 0;
}

.faq-content p {
    color: var(--default-color);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.faq-toggle {
    position: absolute;
    left: 25px; /* RTL Left */
    top: 22px;
    font-size: 1.2rem;
    color: var(--heading-color);
    transition: transform 0.3s;
}

/* Active State */
.faq-item.faq-active {
    background-color: #f0f8ff; /* Alice Blue active bg */
    border-color: var(--accent-color);
}

.faq-item.faq-active h3 {
    color: var(--accent-color);
    margin-bottom: 15px; /* Push content down */
}

.faq-item.faq-active .faq-content {
    max-height: 200px; /* Adjust based on max content */
    opacity: 1;
    margin-bottom: 10px;
}

.faq-item.faq-active .faq-toggle {
    transform: rotate(180deg);
    color: var(--accent-color);
}



/* =======================================================
   16. Blog Index Page (Royal Blue)
   ======================================================= */

/* Hero Section */
.blog-hero {
    background: linear-gradient(135deg, var(--heading-color) 0%, #0a3d82 100%);
    color: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 15px 30px rgba(5, 44, 101, 0.1);
}

.blog-hero .title {
    font-weight: 800;
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    margin: 10px 0;
    color: #fff;
}

.blog-hero .subtitle {
    color: #f0f8ff;
    opacity: 0.95;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.badge-pill {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 50px;
    padding: 6px 16px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Card Grid */
.post-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(5, 44, 101, 0.1);
    border-color: var(--accent-color);
}

.thumb-wrap {
    position: relative;
    overflow: hidden;
    display: block;
    height: 240px;
}

.thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .thumb-wrap img {
    transform: scale(1.05);
}

.date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--heading-color);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.post-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cat-badge {
    background: rgba(5, 44, 101, 0.05);
    color: var(--heading-color);
    border-radius: 50px;
    padding: 4px 12px;
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 12px;
}

.post-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.4;
}

.post-title a {
    color: var(--heading-color);
    text-decoration: none;
    transition: color 0.2s;
}

.post-title a:hover {
    color: var(--accent-color);
}

.excerpt {
    color: var(--default-color);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
    opacity: 0.9;
}

.readmore {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
    text-decoration: none;
    color: var(--accent-color);
    font-size: 0.95rem;
    margin-top: auto;
}

.readmore i {
    transition: transform 0.2s;
}

.readmore:hover i {
    transform: translateX(-5px);
}

/* Empty State */
.empty-message {
    padding: 3rem;
    border: 2px dashed #e0e0e0;
    border-radius: 16px;
    background-color: #f9f9f9;
    color: #999;
}

/* Pagination (Royal Blue) */
.pagination {
    gap: 8px;
    justify-content: center;
}

.page-link {
    min-width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--heading-color);
    border: 1px solid #eee;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.page-item.active .page-link {
    background: var(--heading-color);
    color: #fff;
    border-color: var(--heading-color);
}

.page-link:hover {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}


/* =======================================================
   17. Single Post Page (Royal Blue)
   ======================================================= */
.single-post-container {
    margin-top: 40px;
    margin-bottom: 60px;
}

/* --- Article Styling --- */
.post-article {
    background: #fff;
    padding: 0 0 40px;
}

.post-meta-header {
    margin-bottom: 15px;
}

.post-date-badge {
    background: #f0f8ff;
    color: var(--heading-color);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.post-date-badge i { color: var(--accent-color); }

.post-main-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--heading-color);
    line-height: 1.3;
    margin-bottom: 20px;
}

.post-lead {
    font-size: 1.2rem;
    color: var(--default-color);
    line-height: 1.8;
    margin-bottom: 30px;
    font-weight: 500;
    opacity: 0.9;
    border-right: 4px solid var(--accent-color);
    padding-right: 20px;
}

.post-featured-image {
    margin-bottom: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(5, 44, 101, 0.1);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #334155;
}

.post-content h2, .post-content h3 {
    color: var(--heading-color);
    font-weight: 800;
    margin-top: 40px;
    margin-bottom: 20px;
}

.post-content ul, .post-content ol {
    margin-bottom: 25px;
    padding-right: 20px;
}

.post-content li {
    margin-bottom: 10px;
}

.post-content p {
    margin-bottom: 20px;
}

/* --- Sidebar Styling --- */
.post-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: #fff;
    border: 1px solid rgba(5, 44, 101, 0.08);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(5, 44, 101, 0.05);
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--heading-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f8ff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-title i { color: var(--accent-color); }

.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #eef2f6;
}

.recent-posts-list li:last-child {
    border-bottom: none;
}

.recent-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--heading-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.2s;
    text-decoration: none;
}

.recent-link .icon {
    color: var(--accent-color);
    font-size: 0.8rem;
    transition: transform 0.2s;
}

.recent-link:hover {
    color: var(--accent-color);
}

.recent-link:hover .icon {
    transform: translateX(-3px);
}

.recent-posts-list .date {
    font-size: 0.75rem;
    color: #94a3b8;
    background: #f8fafc;
    padding: 3px 8px;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 991px) {
    .post-main-title { font-size: 1.8rem; }
    .post-sidebar { margin-top: 40px; position: static; }
}

/* =======================================================
   18. Contact Page (Royal Blue)
   ======================================================= */
.contact-page-container {
    padding-top: 100px;
    padding-bottom: 80px;
}

/* --- Hero --- */
.contact-hero {
    background: linear-gradient(135deg, var(--heading-color) 0%, #0a3d82 100%);
    color: #fff;
    border-radius: 20px;
    padding: 50px 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(5, 44, 101, 0.1);
}

.contact-hero .badge-pill {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    border-radius: 50px;
    padding: 6px 16px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-hero .hero-title {
    font-weight: 800;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 15px;
    color: #fff;
}

.contact-hero .hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #f0f8ff;
    max-width: 700px;
    opacity: 0.95;
}

.hero-contact-quick {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.quick-btn {
    background: rgba(255,255,255,0.1);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.2);
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-btn:hover {
    background: #fff;
    color: var(--heading-color);
    transform: translateY(-2px);
}

.quick-btn.whatsapp:hover { color: #25D366; }

/* --- Contact Form Card --- */
.contact-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(5, 44, 101, 0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.form-title {
    color: var(--heading-color);
    font-weight: 800;
    margin-bottom: 5px;
}

.form-subtitle {
    color: var(--default-color);
    font-size: 0.95rem;
}

.form-floating label {
    color: #999;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.15);
}

/* --- Info Sidebar --- */
.contact-info-card {
    background: #f8faff; /* Very Light Blue */
    border-radius: 16px;
    border: 1px solid rgba(5, 44, 101, 0.05);
}

.info-title {
    color: var(--heading-color);
    font-weight: 800;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.info-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.icon-box {
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    flex-shrink: 0;
}

.info-item h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--heading-color);
}

.contact-link {
    color: var(--default-color);
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
}

.contact-link:hover {
    color: var(--accent-color);
}

/* Social Buttons */
.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--heading-color);
    border: 1px solid rgba(0,0,0,0.08);
    transition: 0.3s;
    font-size: 1.1rem;
}

.social-btn:hover {
    background: var(--heading-color);
    color: #fff;
    transform: translateY(-3px);
}

/* =======================================================
   28. Contact Page Social Buttons (Force Fix)
   ======================================================= */
.contact-social-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    
    /* Default State: White Background, Blue Icon */
    background-color: #ffffff !important;
    border: 2px solid var(--heading-color) !important;
    color: var(--heading-color) !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05) !important;
}

/* Ensure the icon inside takes the color */
.contact-social-btn i {
    color: inherit !important;
    font-size: 1.2rem !important;
    line-height: 1 !important;
}

/* Hover State: Blue Background, White Icon */
.contact-social-btn:hover {
    background-color: var(--heading-color) !important;
    color: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 15px rgba(5, 44, 101, 0.2) !important;
    border-color: var(--heading-color) !important;
}
/* =======================================================
   19. Footer (Royal Blue Theme)
   ======================================================= */
.footer-section {
    background: linear-gradient(120deg, var(--heading-color) 80%, #0a3d82 110%);
    color: #fff;
    padding: 1.8rem 0 1rem;
    position: relative;
    overflow-x: hidden;
    margin-top: auto; /* Push to bottom if content is short */
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Brand */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1 1 auto;
    min-width: 240px;
}

.footer-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 4px;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

.brand-info {
    text-align: right;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
    color: var(--accent-color); /* Bright Blue */
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.footer-tagline {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* Social */
.footer-social {
    flex: 2 1 auto;
    min-width: 220px;
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: #fff;
    color: var(--heading-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Credits */
.footer-credits {
    flex: 1 1 auto;
    min-width: 240px;
    text-align: left; /* LTR within RTL context visually */
}

.raf-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    transition: 0.3s;
    background: rgba(0,0,0,0.1);
    padding: 6px 12px;
    border-radius: 50px;
}

.raf-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.footer-logo-raf {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 2px;
}

.developer strong {
    color: #fff;
    font-weight: 700;
}

/* Copyright */
.copyright {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0.5rem;
}

.copyright .sitename {
    color: #fff;
    font-weight: 700;
    margin: 0 4px;
}

/* Responsive */
@media (max-width: 991px) {
    .footer-grid {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .footer-brand, .footer-social, .footer-credits {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .brand-info { text-align: center; }
    .footer-credits { text-align: center; }
    .raf-link { justify-content: center; }
}

/* =======================================================
   20. reCAPTCHA Disclaimer (Clean Style)
   ======================================================= */
.recaptcha-note {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    margin-top: 15px;
    background-color: #f8fafc; /* Very light cool grey */
    border: 1px solid rgba(5, 44, 101, 0.08); /* Subtle Royal Blue border */
    border-radius: 10px;
    font-size: 0.8rem;
    color: var(--default-color);
    line-height: 1.5;
}

.recaptcha-note .note-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--heading-color); /* Royal Blue Icon */
    font-size: 1.1rem;
    flex-shrink: 0;
}

.recaptcha-note strong {
    color: var(--heading-color);
    font-weight: 700;
}

.recaptcha-note a {
    color: var(--accent-color); /* Bright Blue Link */
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.recaptcha-note a:hover {
    text-decoration: underline;
    color: var(--heading-color);
}

/* =======================================================
   21. Program Booking Page (Royal Blue)
   ======================================================= */
.booking-page-container {
    padding-top: 100px;
    padding-bottom: 80px;
}

/* --- Hero --- */
.booking-hero {
    background: linear-gradient(135deg, var(--heading-color) 0%, #0a3d82 100%);
    color: #fff;
    border-radius: 20px;
    padding: 40px 20px;
    box-shadow: 0 10px 30px rgba(5, 44, 101, 0.15);
}

.booking-badge {
    background: rgba(255,255,255,0.2);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
}

.booking-title {
    color: #fff;
    font-weight: 800;
    margin-bottom: 10px;
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
}

.booking-subtitle {
    color: #e0e7ff;
    font-size: 1.05rem;
    max-width: 600px;
    line-height: 1.6;
}

/* --- Booking Card --- */
.booking-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 50px rgba(5, 44, 101, 0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

/* Section Title inside form */
.form-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 30px 0 20px;
}

.form-section-title .line {
    width: 40px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 4px;
}

.form-section-title .text {
    font-weight: 800;
    color: var(--heading-color);
    font-size: 1.1rem;
}

/* Toggle Buttons */
.type-toggle-wrapper {
    background: #f1f5f9;
    padding: 5px;
    border-radius: 12px;
}

.type-btn {
    background: transparent;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    color: #64748b;
    transition: 0.3s;
}

.type-btn.active {
    background: #fff;
    color: var(--heading-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.type-btn:hover:not(.active) {
    color: var(--heading-color);
}

/* Form Inputs */
.input-group-clean {
    position: relative;
}

.input-group-clean .form-control {
    padding-right: 45px; /* RTL space for icon */
    padding-left: 15px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    height: 48px;
    transition: 0.2s;
}

.input-group-clean .input-icon {
    position: absolute;
    right: 15px; /* RTL */
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    z-index: 5;
    font-size: 1.1rem;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-label {
    font-weight: 600;
    color: var(--heading-color);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .booking-card {
        padding: 25px;
    }
}

/* =======================================================
   22. Thank You Page (Royal Blue)
   ======================================================= */
.thankyou-container {
    padding-top: 120px;
    padding-bottom: 80px;
}

/* --- Hero --- */
.thank-hero {
    background: linear-gradient(135deg, var(--heading-color) 0%, #0a3d82 100%);
    color: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 15px 40px rgba(5, 44, 101, 0.15);
}

.check-burst {
    width: 80px;
    height: 80px;
    background: #fff;
    color: #28a745; /* Success Green */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.2);
}

.thank-title {
    font-weight: 800;
    margin-bottom: 10px;
}

.thank-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    color: #f0f8ff;
}

/* --- Steps Card --- */
.next-steps-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    margin-top: 30px;
    box-shadow: 0 10px 40px rgba(5, 44, 101, 0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.steps-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--heading-color);
    margin-bottom: 25px;
    text-align: center;
}

.step-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.step-icon {
    width: 35px;
    height: 35px;
    background: rgba(0, 123, 255, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}

.step-text {
    font-size: 0.95rem;
    color: var(--default-color);
    line-height: 1.6;
}

.step-text strong {
    color: var(--heading-color);
}

.action-buttons .btn {
    font-weight: 700;
    border-radius: 10px;
}

/* =======================================================
   23. Consultation Page (Royal Blue)
   ======================================================= */
.consultation-page-container {
    padding-top: 100px;
    padding-bottom: 80px;
}

/* Hero */
.consultation-hero {
    background: linear-gradient(135deg, var(--heading-color) 0%, #0a3d82 100%);
    color: #fff;
    border-radius: 20px;
    padding: 40px 20px;
    box-shadow: 0 10px 30px rgba(5, 44, 101, 0.15);
}

.consultation-badge {
    background: rgba(255,255,255,0.2);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
}

.consultation-title {
    color: #fff;
    font-weight: 800;
    margin-bottom: 10px;
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
}

.consultation-subtitle {
    color: #e0e7ff;
    font-size: 1.05rem;
    max-width: 600px;
    line-height: 1.6;
}

/* Card */
.consultation-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 50px rgba(5, 44, 101, 0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

/* Custom Option Cards (Radio) */
.option-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
    background: #fff;
}

.option-card .icon-box {
    width: 50px;
    height: 50px;
    background: #f1f5f9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--heading-color);
}

.option-card .text-box {
    flex-grow: 1;
}

.option-card .title {
    display: block;
    font-weight: 700;
    color: var(--heading-color);
    font-size: 1rem;
}

.option-card .desc {
    display: block;
    font-size: 0.85rem;
    color: #64748b;
}

.option-card .check-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    transition: 0.2s;
}

/* Checked State */
.btn-check:checked + .option-card {
    border-color: var(--accent-color);
    background: #f8fbff;
}

.btn-check:checked + .option-card .check-circle {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-check:checked + .option-card .icon-box {
    background: rgba(0, 123, 255, 0.1);
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .consultation-card {
        padding: 25px;
    }
}

/* =======================================================
   24. Consultation Thank You Page
   ======================================================= */
.thankyou-page-container {
    padding-top: 120px;
    padding-bottom: 80px;
}

.consultation-success-card {
    background: #fff;
    padding: 60px 40px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(5, 44, 101, 0.08);
    border: 1px solid rgba(0,0,0,0.02);
}

.success-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #e0f2f1 0%, #b9f6ca 100%);
    color: #00c853; /* Success Green */
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: 0 10px 20px rgba(0, 200, 83, 0.15);
    animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.success-title {
    color: var(--heading-color);
    font-weight: 800;
    margin-bottom: 15px;
    font-size: 2rem;
}

.success-subtitle {
    color: var(--default-color);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Info Box */
.info-box {
    background: #f8faff; /* Alice Blue tint */
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(5, 44, 101, 0.05);
}

.info-box h5 {
    color: var(--heading-color);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    color: var(--heading-color);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(5, 44, 101, 0.05);
    border: 1px solid rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.contact-pill i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.contact-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(5, 44, 101, 0.12);
    color: var(--accent-color);
}

@media (max-width: 576px) {
    .consultation-success-card {
        padding: 40px 20px;
    }
    .contact-pill {
        width: 100%;
        justify-content: center;
    }
}


  /* =======================================================
   25. Activities / Media Center (Royal Blue)
   ======================================================= */
.activities-page {
    padding-top: 100px;
    padding-bottom: 80px;
}

/* Hero */
.activity-hero {
    background: linear-gradient(135deg, var(--heading-color) 0%, #0a3d82 100%);
    color: #fff;
    border-radius: 20px;
    padding: 50px 20px;
    box-shadow: 0 15px 40px rgba(5, 44, 101, 0.15);
}

.activity-hero .hero-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 10px;
}

.activity-hero .hero-subtitle {
    font-size: 1.1rem;
    color: #e0e7ff;
    max-width: 600px;
    margin: 0 auto;
}

/* Activity Card */
.activity-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(5, 44, 101, 0.06);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(5, 44, 101, 0.12);
}

/* Media Thumbnail */
.media-thumb-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #000;
}

.media-thumb-wrapper img, 
.media-thumb-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.activity-card:hover .media-thumb-wrapper img {
    transform: scale(1.05);
}

.type-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.type-badge.video { background: #dc3545; color: #fff; }
.type-badge.image { background: var(--accent-color); color: #fff; }

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.2);
    font-size: 3.5rem;
    color: #fff;
    opacity: 0.8;
    transition: 0.3s;
}

.activity-card:hover .play-overlay {
    background: rgba(0,0,0,0.4);
    transform: scale(1.1);
}

/* Card Content */
.card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.meta-tags {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: #64748b;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--heading-color);
    margin-bottom: 12px;
    line-height: 1.4;
}

.card-excerpt {
    font-size: 0.95rem;
    color: var(--default-color);
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
    opacity: 0.9;
}

.btn-view-details {
    background: transparent;
    border: none;
    padding: 0;
    color: var(--accent-color);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    transition: 0.2s;
}

.btn-view-details:hover {
    gap: 12px;
    color: var(--heading-color);
}

/* Modal Styles */
.activity-modal .modal-content {
    border-radius: 20px;
    border: none;
    overflow: hidden;
}

.activity-modal .modal-header {
    background: var(--heading-color);
    color: #fff;
    border: none;
    padding: 15px 25px;
}

.rich-text-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

.rich-text-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 10px 0;
}

/* Embed Container */
.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    width: 100%;
    background: #000;
}

.embed-container iframe, 
.embed-container object, 
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* =======================================================
   26. Enhanced Activity Modal (Royal Blue)
   ======================================================= */

/* Modal Frame */
.activity-modal .modal-content {
    border: none;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    overflow: hidden;
    background-color: #fff;
}

/* Header */
.activity-modal .modal-header {
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.activity-modal .modal-title {
    font-family: var(--heading-font);
    font-weight: 800;
    color: var(--heading-color);
    font-size: 1.3rem;
    margin: 0;
}

.activity-modal .btn-close {
    background-color: #f8fafc;
    opacity: 1;
    padding: 12px;
    border-radius: 50%;
    background-size: 10px;
    transition: all 0.2s ease;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.03);
}

.activity-modal .btn-close:hover {
    background-color: #e2e8f0;
    transform: rotate(90deg);
}

/* Media Side (Left/Top) */
#modalMediaContainer {
    background-color: #000;
    /* Subtle radial gradient for depth */
    background-image: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Content Side (Right/Bottom) */
.activity-modal .col-lg-5 {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 600px; /* Fixed height for scrolling text */
    background: #fff;
}

/* Scrollable Wrapper */
.activity-modal .p-4.h-100 {
    padding: 30px !important;
    overflow-y: auto;
}

/* Custom Scrollbar for the text area */
.activity-modal .overflow-auto::-webkit-scrollbar {
    width: 6px;
}
.activity-modal .overflow-auto::-webkit-scrollbar-track {
    background: #f1f5f9;
}
.activity-modal .overflow-auto::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 10px;
}
.activity-modal .overflow-auto::-webkit-scrollbar-thumb:hover {
    background-color: #94a3b8;
}

/* Meta Badges (Date & Location) */
.modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #e2e8f0;
}

.modal-meta .badge {
    background: rgba(5, 44, 101, 0.05) !important; /* Light Royal Blue bg */
    color: var(--heading-color) !important;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.modal-meta .badge i {
    color: var(--accent-color);
    font-size: 1rem;
}

/* Description Text */
.rich-text-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155; /* Slate color */
}

.rich-text-content p {
    margin-bottom: 1rem;
}

.rich-text-content a {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Video Responsive Fix */
#modalMediaContainer video, 
#modalMediaContainer iframe {
    max-height: 100%;
    max-width: 100%;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* =======================================================
   27. Hide Google reCAPTCHA Badge
   ======================================================= */
.grecaptcha-badge { 
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}