@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: block; /* Prevent font swap flash during hash navigation */
  src: local('Nunito'), url('https://fonts.gstatic.com/s/nunito/v25/XRXV3I6Li01BKofINeaB.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.logo img {
    height: 100px;
    width: 50px;
}

:root {
    --primary-blue: #2B6CB0;
    --clean-white: #F7FAFC;
    --dark-gray: #4A5568;
    --accent-orange: #DD6B20;
    --section-padding: 3rem;
    --card-radius: 12px;
    --card-shadow: 0 4px 10px rgba(0,0,0,0.05);
    --transition: all 0.3s cubic-bezier(.4,0,.2,1);
    --transition-fast: all 0.2s cubic-bezier(.4,0,.2,1);
    --transition-slow: all 0.4s cubic-bezier(.4,0,.2,1);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Performance optimizations for reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Remove default browser focus styles that cause yellow borders */
*:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Only show focus outline for keyboard navigation */
*:focus-visible {
    outline: 2px solid #2B6CB0 !important;
    outline-offset: 2px !important;
}

/* Ensure no yellow borders appear anywhere */
.nav-links a:focus,
.nav-links a:active,
.btn:focus,
.cta-button:focus,
.submit-btn:focus,
.service-card:focus,
.plan-card:focus,
.tool-card:focus,
.resource-card:focus,
.blog-card:focus,
.faq-question:focus,
.back-button:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Critical CSS for above-the-fold content */
.navbar {
    background-color: var(--primary-blue);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(43, 108, 176, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    will-change: transform, background-color;
}

.hero {
    /* MOBILE OPTIMIZED: Different images for different screen sizes */
    background: linear-gradient(rgba(43, 108, 176, 0.8), rgba(43, 108, 176, 0.9));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll; /* Better for mobile */
    padding: 4rem 5% 5rem;
    text-align: center;
    color: var(--clean-white);
    position: relative;
    /* Fast loading animation */
    opacity: 1;
    transition: all 0.2s ease;
    min-height: 350px;
    height: 60vh;
    max-height: 800px;
    /* Image optimization */
    will-change: background-image;
    contain: layout style paint;
}

/* Mobile phones - Ultra lightweight version */
@media screen and (max-width: 480px) {
    .hero {
        background-image: linear-gradient(rgba(43, 108, 176, 0.8), rgba(43, 108, 176, 0.9)), 
                          url('../images/picture-for-website.png');
        background-size: cover;
        background-position: center;
        min-height: 250px; /* Smaller for mobile */
        height: 50vh;
        padding: 2rem 5% 3rem; /* Less padding on mobile */
        /* Mobile-specific optimizations */
        background-attachment: scroll;
        will-change: auto; /* Disable expensive animations */
        /* Image optimization */
        image-rendering: optimizeQuality;
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Tablets - Medium optimization */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .hero {
        background-image: linear-gradient(rgba(43, 108, 176, 0.8), rgba(43, 108, 176, 0.9)), 
                          url('../images/picture-for-website.png');
        min-height: 300px;
        height: 55vh;
        padding: 3rem 5% 4rem;
    }
}

/* Desktop - Full quality */
@media screen and (min-width: 769px) {
    .hero {
        background-image: linear-gradient(rgba(43, 108, 176, 0.8), rgba(43, 108, 176, 0.9)), 
                          url('../images/picture-for-website.png');
        background-attachment: fixed; /* Only on desktop */
        min-height: 350px;
        height: 60vh;
        max-height: 800px;
    }
}
body {
    padding-top: 70px;
    background-color: var(--clean-white);
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background-color: var(--primary-blue);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(43, 108, 176, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(43, 108, 176, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.8rem 5%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--clean-white);
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo img {
    height: 40px;
}
.nav-links {
    display: flex;
    gap: 1.5rem;
}
.nav-links a {
    color: var(--clean-white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.nav-links a.active {
  border-bottom: 2px solid var(--clean-white);
  color: var(--clean-white) !important;
  background: none;
  transition: color 0.2s, border-bottom 0.2s;
}

.mobile-nav {
    display: none; /* Initial state: hidden */
    background-color: rgba(43, 108, 176, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    top: 60px; /* Adjust based on your navbar height */
    left: 0;
    width: 100%;
    padding: 1rem;
    z-index: 999;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.mobile-nav.active {
    /* This rule might not be needed anymore if JS directly manipulates style.display */
    /* But we will add !important for testing purposes if you decide to revert to classList */
    display: block !important; /* {{ 1 }} Force show with !important if active class is somehow used */
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu-btn {
    display: none; /* Default state: hidden on desktop */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1000;
}

.hamburger-bar {
    width: 24px;
    height: 2px;
    background-color: white;
    border-radius: 2px;
    display: block;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex; /* {{ 2 }} Show button on mobile */
    }
    
    .nav-links {
        display: none; /* Hide desktop nav links on mobile */
    }
}

/* Hero Section */
.hero {
    background: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') no-repeat center/cover;
    padding: 4rem 5% 5rem;
    text-align: center;
    color: var(--clean-white);
    position: relative;
}

/* Hero text overlay for better readability */
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 2rem 1.5rem;
}

.hero h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 1.2rem;
    line-height: 1.1;
    color: #fff;
    white-space: nowrap;
    text-align: center;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 1px 2px rgba(0, 0, 0, 0.6);
}
.hero p {
    font-size: 1rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 1px 2px rgba(0, 0, 0, 0.6);
}
.cta-button {
    width: 180px !important;
    height: 44px !important;
    font-size: 1rem !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 180px !important;
    min-height: 44px !important;
    box-sizing: border-box;
}
@media (max-width: 700px) {
  .cta-button {
    width: 180px !important;
    height: 44px !important;
    font-size: 1rem !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 180px !important;
    min-height: 44px !important;
    box-sizing: border-box;
    margin: auto !important;
  }
  
  /* Hero text responsiveness for mobile */
  .hero h1 {
    font-size: clamp(1.6rem, 5vw, 2.2rem) !important;
    line-height: 1.1 !important;
    padding: 0 12px !important;
    text-align: center !important;
    margin-bottom: 1rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-weight: 800 !important;
    max-width: 100% !important;
    letter-spacing: -0.02em !important;
  }
  
  /* Hero title specific styling for mobile */
  .hero-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem) !important;
    line-height: 1.1 !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 0 auto !important;
    padding: 0 8px !important;
    font-weight: 800 !important;
    max-width: 100% !important;
    letter-spacing: -0.02em !important;
  }
  
  /* Hero subtitle styling for mobile */
  .hero-subtitle-text {
    font-size: 1.4rem !important;
    line-height: 1.2 !important;
    display: block !important;
    margin-top: 0.5rem !important;
    font-weight: 400 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 1px 2px rgba(0, 0, 0, 0.6) !important;
  }
  
  .hero p {
    font-size: 1rem !important;
    line-height: 1.5 !important;
    padding: 0 16px !important;
    text-align: center !important;
    margin-bottom: 1.5rem !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 1px 2px rgba(0, 0, 0, 0.6) !important;
  }
  
  .hero-content {
    padding: 1.5rem 1rem !important;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(1.4rem, 4.5vw, 1.8rem) !important;
    line-height: 1.1 !important;
    padding: 0 8px !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
  }
  
  .hero-title {
    font-size: clamp(1.4rem, 4.5vw, 1.8rem) !important;
    line-height: 1.1 !important;
    padding: 0 6px !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
  }
  
  .hero-subtitle-text {
    font-size: 1.2rem !important;
    line-height: 1.1 !important;
    margin-top: 0.3rem !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 1px 2px rgba(0, 0, 0, 0.6) !important;
  }
  
  .hero-content {
    padding: 1rem 0.5rem !important;
  }
}

/* Floating icons animation */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}
.floating-icon {
    position: absolute;
    opacity: 0.1;
    animation: float 15s infinite linear;
    will-change: transform;
    transform: translateZ(0);
}
@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
    }
}

/* Services Section */
.services-section {
    padding: 80px 20px 60px; /* Top padding increased for more space */
    background-color: var(--clean-white);
    position: relative;
    overflow: hidden;
}
/* Standardized typography */
.section-title {
    text-align: center;
    color: #000;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

h1 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #000;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    color: #000;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    color: #000;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    color: #000;
}

p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Unified .service-card styles for consistent border and hover effect */
.service-card {
  background: #fff !important;
  box-shadow: 0 2px 12px rgba(51, 122, 183, 0.08) !important;
  border-left: 4px solid #337ab7 !important;
  border-radius: 8px !important;
  padding: 1.5rem !important;
  min-height: 240px !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  transition: 
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.38s cubic-bezier(0.22, 1, 0.36, 1) !important;
  will-change: transform, box-shadow, border-color, background;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.service-card h3 {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    line-height: 1.2 !important;
}
.service-card h3 i {
    font-size: 1.5rem !important;
    color: #337ab7 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 1.5em !important;
    width: 1.5em !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle !important;
    box-sizing: content-box !important;
}
.service-card h3 a {
    display: flex !important;
    align-items: center !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #337ab7 !important;
    text-decoration: none !important;
    vertical-align: middle !important;
}
.service-card p {
    color: var(--dark-gray);
    font-size: 0.95rem;
}
.service-icon {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 1.8rem;
    color: rgba(43, 108, 176, 0.1);
}

/* Plans Section */
.plans {
    padding: 3rem 5%;
    background-color: var(--clean-white);
    position: relative;
}
.plans .section-title {
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.plan-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-blue);
    position: relative;
    overflow: hidden;
}
.plan-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}
.plan-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.plan-card li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--dark-gray);
}
.plan-card .check {
    color: var(--accent-orange);
    font-size: 1.2rem;
}
.view-details {
    background-color: var(--accent-orange);
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
}

/* Testimonials */
.testimonials {
    padding: 4rem 5%;
    background-color: var(--primary-blue);
    color: var(--clean-white);
    position: relative;
}

/* Ensure testimonials section title is visible */
.testimonials .section-title {
    color: #fff !important;
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Premium Testimonial Grid Layout */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Premium Testimonial Cards */
.testimonial-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    padding-top: 60px;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    height: auto;
    overflow: visible;
}

/* Destination Country Flag - Top Right Corner */
.testimonial-card .destination-flag {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 30;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    pointer-events: none;
    transform: translateZ(0);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Video Testimonial Cards */
.testimonial-card .video-testimonial-wrapper {
    width: 100%;
    margin-bottom: 1rem;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-card .video-testimonial-wrapper iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    background: #000;
    border: none;
    display: block;
}

/* Hide YouTube navigation elements and related videos */
.testimonial-card .video-testimonial-wrapper {
    position: relative;
    overflow: hidden;
}

/* Hide any YouTube navigation arrows or related video overlays */
.testimonial-card .video-testimonial-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 10;
    background: transparent;
}

/* Specific styling for Sooban's video to prevent any navigation */
#youtube-player-sooban {
    pointer-events: auto;
}

/* Hide any YouTube end screen or related videos */
.testimonial-card .video-testimonial-wrapper iframe[src*="W_WFMNewUv8"] {
    pointer-events: auto;
}

/* Hide YouTube navigation arrows and playlist indicators */
.testimonial-card .video-testimonial-wrapper iframe {
    /* Hide any navigation arrows */
    filter: contrast(1) brightness(1);
}

/* Hide YouTube player navigation elements */
.testimonial-card .video-testimonial-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 15;
    background: transparent;
}

/* Specific override for all video thumbnails */
.testimonial-card .video-testimonial-wrapper iframe[class*="youtube-player"] {
    /* Force single video mode */
    pointer-events: auto;
}

/* Completely hide YouTube end screen and related videos */
.testimonial-card .video-testimonial-wrapper iframe {
    /* Hide any YouTube end screen elements */
    filter: contrast(1) brightness(1) saturate(1);
}

/* Hide YouTube end screen overlay */
.testimonial-card .video-testimonial-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 20;
    background: transparent;
}

/* Hide any YouTube navigation or end screen elements */
.testimonial-card .video-testimonial-wrapper iframe[src*="youtube"] {
    /* Force clean display */
    pointer-events: auto;
}

/* Additional protection against YouTube end screen */
.testimonial-card .video-testimonial-wrapper {
    /* Ensure no overflow of YouTube elements */
    overflow: hidden;
    position: relative;
}

/* Enhanced video styling for cleaner appearance */
.testimonial-card .video-testimonial-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
    z-index: 1;
    border-radius: 12px;
}

/* Testimonial Quote Styling */
.testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    margin-top: 0;
    position: relative;
    flex-grow: 1;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    padding-top: 0;
}

.testimonial-card p::before,
.testimonial-card p::after {
    content: '"';
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.4);
    font-family: serif;
    line-height: 0;
}

/* Author Section */
.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.testimonial-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 6px;
}

.testimonial-field {
    font-weight: 500;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.2;
}

.testimonial-city {
    font-weight: 400;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1.2;
}

.flag {
    font-size: 1.1em;
    display: inline-block;
    vertical-align: middle;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 900px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
        padding-top: 55px;
        min-height: 280px;
    }
    
    .testimonial-card p {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
        padding-top: 50px;
        min-height: 250px;
        text-align: center;
    }
    
    .testimonial-card .author {
        justify-content: center;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .testimonial-photo {
        width: 60px;
        height: 60px;
    }
    
    .testimonials {
        padding: 3rem 1rem;
    }
    
    .testimonials .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    /* Mobile destination flag adjustments */
    .testimonial-card .destination-flag {
        top: 12px;
        right: 12px;
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
}

/* Fade-in Animation for Testimonial Cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-card {
    animation: fadeInUp 0.6s ease-out forwards;
    will-change: transform, opacity;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:nth-child(4) { animation-delay: 0.4s; }
.testimonial-card:nth-child(5) { animation-delay: 0.5s; }
.testimonial-card:nth-child(6) { animation-delay: 0.6s; }
.testimonial-card:nth-child(7) { animation-delay: 0.7s; }
.testimonial-card:nth-child(8) { animation-delay: 0.8s; }

/* Enhanced Load More Button */
.load-more-container {
    margin-top: 3rem;
    text-align: center;
}

.load-more-reviews-btn {
  width: 220px !important;
  min-width: 220px !important;
  max-width: 220px !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  border-radius: 50px !important;
  background-color: #ff6b35 !important;
  color: white !important;
  border: none !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(.4,0,.2,1) !important;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3) !important;
}

.load-more-reviews-btn:hover {
  background-color: #e55a2b !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3) !important;
}

.load-more-reviews-btn:active {
  transform: translateY(0) !important;
}

.load-more-reviews-btn i {
  font-size: 0.9rem !important;
}
.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.2rem;
    position: relative;
    font-size: 0.95rem;
    flex-grow: 1;
}
.testimonial-card p::before,
.testimonial-card p::after {
    content: '"';
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.3);
}
.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 0;
}
.testimonial-card .author::before {
    content: '';
    display: block;
    width: 15px;
    height: 2px;
    background: var(--accent-orange);
}
.testimonial-flag {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 25px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
}

/* Load More Button */
.load-more-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
}

/* Force Load More button to be the same size on all devices */
.load-more-btn {
  width: 220px !important;
  min-width: 220px !important;
  max-width: 220px !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  border-radius: 50px !important;
  background-color: #ff6b35 !important;
  color: white !important;
  border: none !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(.4,0,.2,1) !important;
}

@media (max-width: 10000px) {
  .load-more-btn {
    width: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    font-size: 1.05rem !important;
    padding: 0 !important;
  }
}

/* Load More button hover effect */
.load-more-btn:hover {
  background-color: #e55a2b !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3) !important;
}

/* Quick Chat Button specific styling */
.quick-chat-btn {
  width: 180px;
  height: 44px;
  font-size: 1rem;
  padding: 10px 16px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 44px;
  box-sizing: border-box;
  margin: auto;
}

/* Hidden Reviews */
.hidden-reviews {
    display: none;
}

/* Empty Space Filler */
.empty-space-filler {
    background: linear-gradient(135deg, rgba(43,108,176,0.1) 0%, rgba(221,107,32,0.1) 100%);
    padding: 2rem;
    text-align: center;
    margin: 1.5rem 0;
    border-radius: 8px;
    border: 2px dashed rgba(43,108,176,0.3);
}
.filler-content {
    max-width: 600px;
    margin: 0 auto;
}
.filler-title {
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.3rem;
}
.filler-text {
    color: var(--dark-gray);
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}
.filler-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.2rem;
}
.filler-icon {
    font-size: 2rem;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

/* Contact Section */
.contact {
    padding: 3rem 5%;
    background-color: var(--clean-white);
    position: relative;
}
.contact-container {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}
.contact-info {
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}
.contact-info h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.contact-info p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}
.contact-form {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--primary-blue);
}

/* Contact Form */
.form-group {
    margin-bottom: 1.2rem;
    position: relative;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid #E2E8F0;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.2);
}
.form-group textarea {
    min-height: 120px;
    resize: vertical;
    padding: 0.7rem 1rem;
}
.submit-btn {
    width: 100%;
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Match Chat with Ali button to Chat with Sameer Karim */
.contact a[href*="03192004954"] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #25D366;
    color: white;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 0.8rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

/* WhatsApp Button */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #25D366;
    color: white;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 0.8rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

/* Footer */
.footer {
  background-color: var(--primary-blue);
  padding: 2rem 5%;
  color: var(--clean-white);
  position: relative;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  justify-items: center;
}

.footer-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  justify-self: center;
}

.footer-logo {
  width: 100px;
  height: auto;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.footer-branding p {
  font-size: 1rem;
  margin: 0;
  line-height: 1.5;
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin: 0.8rem 0;
  justify-content: center;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--clean-white);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social a i {
  color: inherit !important; /* Icon color follows parent */
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0;
  font-size: 0.95rem;
  text-align: center;
  justify-content: center;
  color: #fff;
}

.footer-contact i {
  color: #3498DB;
  font-size: 1.1rem;
}

.copyright {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .footer {
    padding: 1.5rem 1rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-branding {
    /* align-items: center; (This rule is now redundant as it's set globally) */
    /* margin: 0 auto; (This rule is now redundant as justify-self handles centering) */
  }

  /* .footer-social { justify-content: center; } (This rule is now redundant as it's set globally) */
  /* .footer-contact p { justify-content: center; } (This rule is now redundant as it's set globally) */
  
  .footer-logo {
    width: 90px;
  }
}

/* Popup Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Consultancy Modal specific styles */
#consultancyModal {
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    position: fixed !important;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0,0,0,0.5) !important;
    z-index: 9999 !important;
    padding: 0 !important;
}

#consultancyModal.show {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.consultancy-modal-content {
    margin: 0 !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
}

/* Plan Modal specific styles */
#planModal {
    display: none;
}

#planModal.show {
    display: flex;
}

/* FAQ Section */
.faq-item {
    margin-bottom: 0.8rem;
}
.faq-question {
    background-color: #f8f9fa;
    padding: 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    transition: background-color 0.3s ease;
}
.faq-answer {
    display: none;
    padding: 0.8rem;
    font-size: 0.9rem;
    color: var(--dark-gray);
    border-left: 2px solid var(--primary-blue);
    margin-left: 1rem;
}
.faq-answer.active {
    display: block;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideIn {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Privacy Policy Modal */
#privacyModal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}
.privacy-content {
    background-color: white;
    margin: 5% auto;
    padding: 1.5rem;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.privacy-content h2 {
    color: var(--primary-blue);
    margin-bottom: 1.2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.5rem;
}
.privacy-content h3 {
    color: var(--primary-blue);
    margin: 1.2rem 0 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
}
.privacy-content p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    font-size: 0.95rem;
}
.privacy-content ul {
    margin-bottom: 1.2rem;
    padding-left: 1.2rem;
    font-size: 0.95rem;
}
.privacy-content li {
    margin-bottom: 0.4rem;
}
.close-privacy {
    color: #aaa;
    float: right;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
}
.close-privacy:hover {
    color: var(--dark-gray);
}

/* Tools Section */
.tools {
    padding: 3rem 5%;
    background-color: var(--clean-white);
    position: relative;
}
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.tool-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-blue);
    position: relative;
    overflow: hidden;
}
.tool-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}
.tool-result {
    margin-top: 1rem;
    padding: 0.8rem;
    background-color: #f8f9fa;
    border-radius: 4px;
    font-size: 0.95rem;
    color: var(--dark-gray);
    min-height: 50px;
}
.service-card a,
.tool-card a {
    text-decoration: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 1rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .logo {
        font-size: 1.3rem;
    }
    .logo img {
        height: 35px;
    }
    .nav-links {
        display: none;
    }
    .hero {
        padding: 2rem 5% 3rem;
    }
    .hero h1 {
        font-size: 1.5rem;
    }
    .hero p {
        font-size: 0.9rem;
    }
    .section-title {
        font-size: 1.3rem;
    }
    .service-card {
        min-height: 220px !important;
    }
    .service-card h3 {
        font-size: 1rem;
    }
    .service-card p {
        font-size: 0.85rem;
    }
    .plan-card h3 {
        font-size: 1rem;
    }
    .plan-card li {
        font-size: 0.85rem;
    }
    .testimonial-card p {
        font-size: 0.85rem;
    }
    .testimonial-card .author {
        font-size: 0.8rem;
    }
    .whatsapp-btn {
        width: 100%;
        justify-content: center;
    }
    .footer-links {
        flex-direction: column;
        gap: 0.8rem;
    }
    .footer p {
        font-size: 0.85rem;
    }
    .social-icons a {
        font-size: 1.2rem;
    }
    .modal-content {
        width: 95%;
        margin: 0 auto;
    }
    .modal-body {
        max-height: 70vh;
    }
}

@media (min-width: 769px) {
    .contact-container {
        flex-direction: row;
    }
    .contact-info {
        flex: 1;
    }
    .contact-form {
        flex: 2;
    }
}

/* Consultancy Modal Styling */
#consultancyModal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    /* Center vertically and horizontally */
}

#consultancyModal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.consultancy-modal-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-in-out;
    text-align: center;
    position: relative;
    margin: 0 auto;
    /* Remove any margin-top or margin-bottom that could push it to the top */
}
@media (max-width: 768px) {
    .consultancy-modal-content {
        width: 98vw;
        max-width: 98vw;
        padding: 12px;
        border-radius: 10px;
    }
}

.consultancy-modal-content h2 {
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.consultancy-modal-content p {
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
}

.consultancy-modal-content .start-chat-button {
    background-color: #25D366;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease;
}

#closeConsultancyModal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #888;
}
#closeConsultancyModal:hover {
    color: #333;
}
.whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #25D366;
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 16px;
  width: 100%;
  max-width: 320px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  margin: 10px auto;
}

.whatsapp-button i {
  margin-right: 10px;
  font-size: 18px;
}

/* ------------------ Responsive Design ------------------ */

/* Tablets (≤ 992px) */
@media (max-width: 992px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 2rem;
  }
  .hero h1 {
    font-size: clamp(1.6rem, 4.5vw, 2.5rem);
    white-space: nowrap;
    text-align: center;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 1px 2px rgba(0, 0, 0, 0.6);
  }
  .hero p {
    font-size: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 1px 2px rgba(0, 0, 0, 0.6);
  }
  .section, .container {
    padding: 1.5rem;
  }
}

/* Mobile Devices (≤ 768px) */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .logo img {
    height: 48px;
    width: auto;
  }
  .cta-button,
  .btn,
  button {
    width: 100%;
    font-size: 1rem;
    padding: 12px;
    margin: 0.5rem 0;
  }
  .hero h1 {
    font-size: clamp(1.4rem, 4vw, 2rem);
    line-height: 1.1;
    padding: 0 16px;
    text-align: center;
    white-space: nowrap;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 1px 2px rgba(0, 0, 0, 0.6);
  }
  .hero p {
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 0 16px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 1px 2px rgba(0, 0, 0, 0.6);
  }
  
  /* Quick Chat Button consistency for mobile */
  .cta-button {
    width: 180px;
    height: 44px;
    font-size: 1rem;
    padding: 10px 16px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 44px;
    box-sizing: border-box;
    margin: auto;
  }
  .services-grid, .row {
    flex-direction: column;
  }
  .section, .container {
    padding: 1rem;
  }
  footer {
    text-align: center;
    font-size: 0.85rem;
  }
}

/* WhatsApp Button Responsive Fix */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  padding: 12px 16px;
  background: #25D366;
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}
@media (max-width: 768px) {
  .whatsapp-btn {
    bottom: 100px; /* push up from overlapping footer/cards */
    right: 16px;
  }
}
/* === Header Mobile Fix === */
@media (max-width: 768px) {
  header, .navbar {
    padding: 0.5rem 1rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .logo img {
    height: 32px;
    width: auto;
  }

  .navbar .brand-text {
    font-size: 1.1rem;
    font-weight: 600;
  }

  .navbar .menu-toggle {
    font-size: 1.5rem;
    margin-left: auto;
  }
}
/* --- Header Alignment + Mobile Nav --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.6rem 1rem;
  background-color: var(--primary-blue);
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 45px;
  width: auto;
  transform: scale(1.1);
  transform-origin: left center;
  margin: -5px 0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.brand-text {
  color: white;
  font-weight: 700;
  font-size: 1.3rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.menu-toggle {
  display: none;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer; /* {{ 1 }} Ensure cursor indicates clickability */
  padding: 8px;
  z-index: 1000; /* {{ 2 }} Ensure button is on top of other elements */
}

.hamburger-bar {
  width: 24px;
  height: 2px;
  background-color: white;
  border-radius: 2px;
  display: block;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active .hamburger-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Styling */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-nav a {
    display: block;
    color: white;
    padding: 0.8rem 1rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
  }
  
  .mobile-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 1.5rem;
  }
  
  /* Mobile Dropdown */
  .mobile-nav-dropdown {
    position: relative;
  }
  
  .mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.8rem 1rem;
    text-decoration: none;
    color: white;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
  }
  
  .mobile-dropdown-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 1.5rem;
  }
  
  .mobile-dropdown-menu {
    display: none;
    background: rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }
  
  .mobile-dropdown-menu a {
    padding: 0.6rem 1.5rem;
    border-radius: 0;
    font-size: 0.95rem;
  }
  
  .mobile-dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
}

.faq-section {
  padding: 2rem 1rem;
  max-width: 800px;
  margin: auto;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.faq-item {
  margin-bottom: 1rem;
  border-bottom: 1px solid #ccc;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1rem;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 1rem 1rem 1rem;
  font-size: 0.95rem;
  color: #333;
}

/* --- Premium Services Dropdown Fix --- */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #2B6CB0;
  min-width: 220px;
  z-index: 999;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-weight: 500;
}

.dropdown-content a:hover {
  background-color: #1A4D8C;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Ensure only one Premium Services and dropdown shows smoothly */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #2B6CB0;
  min-width: 220px;
  z-index: 999;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-weight: 500;
}

.dropdown-content a:hover {
  background-color: #1A4D8C;
}

.dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
}

/* Premium Services Grid Fix */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 16px;
}

/* Service Card Styling */
.service-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

/* Hover effects removed for main page cards */

/* Hidden Class for Load More */
.hidden {
    display: none !important;
}

/* Load More Button Styling */
#loadMoreBtn {
    display: none !important;
    margin: 30px auto 0;
    padding: 12px 24px;
    background-color: #004aad;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

#loadMoreBtn:hover {
    background-color: #003080;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .services-container {
        padding: 0 12px;
    }

    .service-card {
        padding: 16px;
    }

    nav ul {
        flex-direction: column;
    }
}

/* Footer Social Icons */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin: 1.2rem 0;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--clean-white);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social a i {
  color: inherit !important; /* Icon color follows parent */
}

.modal-content {
    background-color: white;
    margin: 0 auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    position: relative;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-blue), #2C5282);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.modal-body {
    padding: 1.2rem;
}

/* Plan Details Styling */
.plan-details {
    padding: 0;
}

.plan-details h4 {
    color: var(--primary-blue);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.plan-description {
    color: var(--dark-gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.plan-features {
    background-color: #f8fafc;
    padding: 1.2rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.plan-features h4 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.6rem;
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.plan-features li:last-child {
    margin-bottom: 0;
}

.plan-features li i {
    color: #22c55e;
    font-size: 1rem;
}

.modal-buttons {
    padding: 0.8rem 1.2rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: center;
}

.modal-btn {
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.modal-btn-primary {
    background-color: var(--accent-orange);
    color: white;
    border: none;
}

.modal-btn-primary:hover {
    background-color: #c05621;
    transform: translateY(-2px);
}

.close-modal {
    color: white;
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    padding: 0.2rem;
}

.close-modal:hover {
    opacity: 1;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .modal.show {
        padding: 15px;
    }
    
    .modal-content {
        width: 95%;
    }
    
    .modal-header {
        padding: 0.8rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .plan-features {
        padding: 1rem;
    }
    
    .modal-buttons {
        padding: 0.8rem 1rem;
    }
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-left img {
    height: 65px;
    width: auto;
    transition: all 0.3s ease;
    transform-origin: left center;
}

.brand-text {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .navbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .navbar-left img {
    height: 50px;
    width: auto;
    transform: scale(1);
    margin: 0;
  }

  .brand-text {
    font-size: 1.2rem;
    white-space: nowrap;
  }
}

.resources {
  padding: 3rem 5%;
  background-color: var(--clean-white);
}

.resources .section-title {
  text-align: center;
  margin-bottom: 2rem;
}

/* Resources section cards - smaller height */
.resources .service-card {
  min-height: 180px !important;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Hover effects removed for main page cards */

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-card h3 i {
  color: var(--primary-blue);
}

.service-card h3 a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-card h3 a:hover {
  color: var(--accent-orange);
}

.service-card p {
  color: var(--dark-gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

@media (max-width: 768px) {
  .resources {
    padding: 2rem 1rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0;
  }

  .service-card {
    padding: 1.25rem;
  }

  /* Resources cards smaller on mobile too */
  .resources .service-card {
    min-height: 160px !important;
  }

  .service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.7rem 1.6rem;
  background-color: #337ab7;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(51, 122, 183, 0.08);
  border: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  margin: 0.5rem 0 2rem 0;
  cursor: pointer;
}

.back-button i {
  font-size: 1.1em;
}

.back-button:hover {
  background-color: #235a96;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 18px rgba(51, 122, 183, 0.15);
}

/* Remove hover effects for consultation pages */
.services .back-button:hover,
.service-page .back-button:hover {
  background-color: #337ab7;
  color: #fff;
  transform: none;
  box-shadow: none;
}

@media (max-width: 768px) {
  .back-button {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }
}

.service-page {
  padding: 1.5rem;
  max-width: 1200px;
  margin: 2rem auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(51, 122, 183, 0.08);
  border-left: 4px solid #337ab7;
  transition: 
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, box-shadow, border-color, background;
  position: relative;
  z-index: 1;
}

.service-page:hover {
  transform: translateY(-12px) scale(1.035);
  box-shadow: 0 12px 32px rgba(51, 122, 183, 0.18), 0 2px 8px rgba(0,0,0,0.08);
  border-color: #337ab7;
  background: linear-gradient(120deg, #fafdff 80%, #eaf4fb 100%);
}

/* Remove hover effects for consultation service pages */
.services .service-page:hover,
.service-page:hover {
  transform: none;
  box-shadow: 0 2px 12px rgba(51, 122, 183, 0.08);
  border-color: #337ab7;
  background: white;
}

.service-page::after {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  transition: box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: none;
  z-index: 2;
}

.service-page:hover::after {
  box-shadow: 0 0 0 4px rgba(51, 122, 183, 0.10);
}

/* Remove hover effects for consultation service pages */
.services .service-page:hover::after,
.service-page:hover::after {
  box-shadow: none;
}

.service-page h1 {
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.service-page p {
  line-height: 1.7;
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.service-page ul {
  margin-bottom: 1.5rem;
  padding-left: 1.2rem;
}

.service-page li {
  margin-bottom: 0.5rem;
  color: var(--dark-gray);
}

@media (max-width: 768px) {
  .service-page {
    padding: 1rem;
    margin: 1rem;
    max-width: calc(100% - 2rem);
  }
  
  .service-page h1 {
    font-size: 1.5rem;
  }
  
  .back-button {
    padding: 0.7rem 1.2rem;
    font-size: 0.95rem;
  }
}

/* Add these styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: white;
    padding: 20px;
    border-radius: 5px;
    position: relative;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: none;
    font-size: 24px;
    cursor: pointer;
}

/* Make WhatsApp modal close button visible on white background */
#whatsappModal .close-modal {
    color: #888 !important; /* A darker gray color */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .modal.show {
        padding: 15px;
    }
    
    .modal-content {
        width: 95%;
    }
    
    .modal-header {
        padding: 0.8rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .plan-features {
        padding: 1rem;
    }
    
    .modal-buttons {
        padding: 0.8rem 1rem;
    }
}

/* Blog Article Page Styling (for pages like Winning SOP, Top 5 Countries) */
.blog-article-page {
    display: none; /* Hidden by default */
    padding: 20px 0; /* Padding for the entire page section */
    background-color: #f0f2f5; /* Light grey background as seen in screenshot */
    min-height: calc(100vh - 120px); /* Adjust based on header/footer height */
    box-sizing: border-box; /* Include padding in element's total width and height */
}

.blog-article-page .blog-content-wrapper {
    background-color: #fff;
    max-width: 800px; /* Max width for the content box */
    margin: 20px auto; /* Center the content box and add vertical margin */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Subtle shadow */
    line-height: 1.7; /* Better readability */
    color: #333;
}

.blog-article-page h2 {
    color: #000; /* Black color for main title */
    margin-bottom: 20px;
    text-align: center; /* Center the title */
    font-size: 1.5rem; /* Adjust font size for main title */
}

.blog-article-page h3 {
    color: #000; /* Black color for subheadings */
    margin: 25px 0 15px;
    font-size: 1.5rem; /* Adjust font size for subheadings */
}

.blog-article-page p {
    margin-bottom: 15px;
}

.blog-article-page ul {
    list-style-type: disc; /* Use discs for lists */
    margin-left: 20px;
    margin-bottom: 20px;
}

.blog-article-page ul li {
    margin-bottom: 8px; /* Spacing between list items */
}

.blog-article-page .back-to-blog {
    display: block;
    text-align: center;
    margin-bottom: 20px;
    color: #000;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1em;
}

.blog-article-page .back-to-blog:hover {
    text-decoration: underline;
}

/* Ensure existing blog section styles are maintained for consistency if they are used */
.blog-post h3 {
    color: #000;
    margin-bottom: 10px;
}
.blog-post p {
    font-size: 0.9em;
    color: #555;
    line-height: 1.5;
}

/* New styles for Payment Modal */
.payment-details-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    margin: 30px 0;
    background: #f8f9fc;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.qr-code-section, .bank-details-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    width: 100%;
}

.qr-code-section:hover, .bank-details-section:hover {
    transform: translateY(-5px);
}

.qr-code-img {
    width: 220px;
    height: 220px;
    margin: 20px auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    object-fit: contain;
}

.qr-code-img:hover {
    transform: scale(1.05);
}

.bank-details-section p {
    margin: 15px 0;
    color: #444;
    font-size: 16px;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.bank-details-section p i {
    color: var(--primary-blue);
    font-size: 18px;
    width: 20px;
    flex-shrink: 0;
}

.bank-details-section strong {
    color: var(--primary-blue);
    font-weight: 600;
    flex-shrink: 0;
}

/* Styles for Pay Now buttons - Modern & Professional (Blue Theme) */
.pay-now-btn {
    background-color: var(--primary-blue);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 700;
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pay-now-btn:hover {
    background-color: #2C5282;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Adjustments for service-card children */
/* These ensure button is always at the bottom */
.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card a {
    text-decoration: none;
    color: inherit;
    flex-grow: 1;
    margin-bottom: 20px;
    display: block;
}

/* Ensure consistent styling for form elements in modals (if not already perfect) */
.modal-content .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.modal-content .form-group input,
.modal-content .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.modal-content .form-group input:focus,
.modal-content .form-group textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.2);
    outline: none;
}

.modal-content .form-group textarea {
    resize: vertical;
}

/* Payment Modal Styles - Optimized for All Screens */
#paymentModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

#paymentModal.show {
    display: flex;
}

#paymentModal .modal-content {
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 35px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    position: relative;
    margin: auto;
    animation: slideInTop 0.4s ease-out;
}

#paymentModal .close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: #f8f9fc;
    z-index: 1;
}

#paymentModal .close-modal:hover {
    background: #e9ecef;
    color: var(--primary-blue);
    transform: rotate(90deg);
}

#paymentModal h2 {
    color: var(--primary-blue);
    font-size: 28px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
    padding-right: 40px;
}

/* Payment Details Container */
.payment-details-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    margin: 30px 0;
    background: #f8f9fc;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.qr-code-section, .bank-details-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    width: 100%;
}

.qr-code-section:hover, .bank-details-section:hover {
    transform: translateY(-5px);
}

.qr-code-img {
    width: 220px;
    height: 220px;
    margin: 20px auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    object-fit: contain;
}

.qr-code-img:hover {
    transform: scale(1.05);
}

/* Headings inside sections */
.bank-details-section h3, .qr-code-section h3 {
    color: var(--primary-blue);
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

/* Paragraphs with icons inside bank details */
.bank-details-section p {
    margin: 15px 0;
    color: #444;
    font-size: 16px;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.bank-details-section p i {
    color: var(--primary-blue);
    font-size: 18px;
    width: 20px;
    flex-shrink: 0;
}

.bank-details-section strong {
    color: var(--primary-blue);
    font-weight: 600;
    flex-shrink: 0;
}

/* Price Info section dynamically added by JS */
.price-info {
    background: linear-gradient(145deg, #f8f9fc, #ffffff);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
}

.price-info h3 {
    color: var(--primary-blue);
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.price-info p {
    margin: 12px 0;
    font-size: 16px;
    color: #444;
}

.price-info strong {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Input field for selected service */
#selectedServicePayment {
    background: #f8f9fc;
    border: 2px solid #e9ecef;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 20px;
    width: 100%;
}

/* Textarea for note */
#paymentNote {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 16px;
    margin-top: 15px;
    resize: vertical;
    min-height: 120px;
    transition: all 0.3s ease;
}

#paymentNote:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(51, 122, 183, 0.1);
}

/* WhatsApp Confirmation Button */
#whatsappConfirmButtonPayment {
    background: #25D366 !important;
    color: #fff !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 16px 0 !important;
    width: 100% !important;
    max-width: 340px !important;
    margin: 18px auto 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.13), 0 1.5px 6px rgba(0,0,0,0.06);
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    cursor: pointer !important;
    text-align: center !important;
    letter-spacing: 0.01em;
}
#whatsappConfirmButtonPayment i {
  font-size: 1.6rem !important;
  margin-right: 8px !important;
}
#whatsappConfirmButtonPayment:hover, #whatsappConfirmButtonPayment:focus {
  background: #1ebe5d !important;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.18), 0 2px 8px rgba(0,0,0,0.08);
  transform: translateY(-2px) scale(1.03);
  color: #fff !important;
  text-decoration: none !important;
}
@media (max-width: 700px) {
  #whatsappConfirmButtonPayment {
    font-size: 1.05rem !important;
    padding: 14px 0 !important;
    max-width: 98vw !important;
  }
}

/* Responsive Styles for Different Screen Sizes */

/* For screens smaller than 1024px (e.g., Tablets and large phones) */
@media (max-width: 1023px) {
    #paymentModal .modal-content {
        width: 90%;
        padding: 25px;
    }
    
    .payment-details-container {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 20px;
    }

    #paymentModal h2 {
        font-size: 24px;
        padding-right: 0;
    }

    .qr-code-img {
        width: 180px;
        height: 180px;
    }

    .bank-details-section p, .price-info p {
        font-size: 15px;
    }

    .bank-details-section strong {
        min-width: 100px;
    }
}

/* For screens smaller than 768px (e.g., Mobile phones) */
@media (max-width: 768px) {
    #paymentModal {
        padding: 10px;
    }

    #paymentModal .modal-content {
        width: 95%;
        padding: 20px;
        margin: 0;
        border-radius: 15px;
    }

    #paymentModal .close-modal {
        top: 15px;
        right: 15px;
        font-size: 24px;
        width: 35px;
        height: 35px;
    }

    #paymentModal h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .payment-details-container {
        padding: 15px;
        gap: 15px;
    }

    .qr-code-img {
        width: 150px;
        height: 150px;
        margin: 15px auto;
    }

    .bank-details-section h3, .qr-code-section h3, .price-info h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .bank-details-section p, .price-info p, #selectedServicePayment, #paymentNote {
        font-size: 14px;
    }

    .bank-details-section strong {
        min-width: unset;
        width: auto;
    }

    #selectedServicePayment, #paymentNote {
        padding: 10px;
    }

    #whatsappConfirmButtonPayment {
        padding: 14px 20px;
        font-size: 15px;
        gap: 8px;
    }
}

/* For very small screens (e.g., old phones, less than 480px) */
@media (max-width: 480px) {
    #paymentModal .modal-content {
        width: calc(100% - 20px);
        padding: 15px;
        border-radius: 10px;
    }

    #paymentModal h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .qr-code-img {
        width: 120px;
        height: 120px;
        margin: 10px auto;
    }

    .bank-details-section h3, .qr-code-section h3, .price-info h3 {
        font-size: 15px;
    }

    .bank-details-section p, .price-info p, #selectedServicePayment, #paymentNote {
        font-size: 13px;
    }

    #whatsappConfirmButtonPayment {
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* Scrollbar Styling for Modal (existing, no change, just showing context) */
#paymentModal .modal-content::-webkit-scrollbar {
    width: 8px;
}

#paymentModal .modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#paymentModal .modal-content::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 10px;
}

#paymentModal .modal-content::-webkit-scrollbar-thumb:hover {
    background: #286090;
}

/* Unified Close Button Styling for all Modals */
.modal .close-btn {
    position: absolute;
    top: 20px; /* Consistent top positioning */
    right: 20px; /* Consistent right positioning */
    font-size: 28px; /* Consistent size */
    color: #666; /* Default color for the cross */
    cursor: pointer;
    width: 40px; /* Clickable area */
    height: 40px; /* Clickable area */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Circular background */
    transition: all 0.3s ease; /* Animation for hover effects */
    background: #f8f9fc; /* Light background for visibility */
    z-index: 1001; /* Ensure it's above modal content, increased z-index for safety */
}

.modal .close-btn:hover {
    background: #e9ecef; /* Slightly darker on hover */
    color: var(--primary-blue); /* Theme blue color on hover */
    transform: rotate(90deg); /* The desired rotation animation */
}

/* Ensure default modal display doesn't interfere with JS 'show' class */
.modal {
    display: none; /* Important for JS to control visibility */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
    animation: fadeIn 0.3s ease-out; /* Keep existing fade-in for overlay */
}

.modal.show {
    display: flex; /* Show the modal */
}

/* New CSS to disable background scroll when a modal is open */
body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* Enhanced mobile modal scroll prevention */
@media (max-width: 768px) {
  body.modal-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
  }
  
  .modal.show {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .modal.show .modal-content {
    max-height: 90vh;
    overflow-y: auto;
  }
  
  /* Payment modal specific styles - same as plan modal */
  #paymentModal.show {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
  }
  
  #paymentModal .modal-content {
    max-height: 85vh;
    overflow-y: auto;
    margin: 0 auto;
  }
}

/* Remove or update old specific close button styles to avoid conflicts */
/* This ensures the new .close-btn styles are applied consistently */
#consultancyModal .consultancy-modal-content #closeConsultancyModal { /* Remove this if it exists separately */
    /* top: 15px; right: 20px; font-size: 1.5rem; color: #888; */ /* These are now handled by .close-btn */
}

#whatsappModal .close-modal { /* Remove or update this specific style */
    color: #888 !important; /* This was an inline style, so ensure .close-btn takes precedence */
    /* Remove this specific rule in styles.css if the inline style from HTML is removed */
}

#privacyModal .close-privacy { /* Remove this specific style */
    /* color: #aaa; float: right; font-size: 1.5rem; font-weight: bold; */ /* These are now handled by .close-btn */
}

html {
  /* scroll-behavior already defined above */
  transition: background 0.3s, color 0.3s;
}

/* Plan Modal Responsive Fix */
#planModal .modal-content {
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 16px;
    box-sizing: border-box;
    max-height: 90vh;
    overflow-y: auto;
}

@media (max-width: 768px) {
    #planModal .modal-content {
        width: 98%;
        max-width: 98vw;
        padding: 12px;
        border-radius: 10px;
    }
}

.form-error, .tool-error {
  color: #c05621;         /* Professional orange/red */
  background: #fff4e5;    /* Light orange background */
  border-left: 4px solid #c05621;
  padding: 8px 14px;
  border-radius: 6px;
  margin: 10px 0 0 0;
  font-size: 0.98em;
  font-weight: 600;
  display: block;
  animation: fadeIn 0.3s;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal.show .modal-content {
  animation: modalFadeIn 0.35s cubic-bezier(.4,2,.6,1) both;
}
.modal.hide .modal-content {
  animation: modalFadeOut 0.25s cubic-bezier(.4,2,.6,1) both;
}

/* Remove or override this block for #loadMoreBtn */
#loadMoreBtn {
    /* REMOVE or comment out these lines: */
    /* background-color: #004aad; */
    /* color: #fff; */
    /* border-radius: 8px; */
    /* ...rest of the code... */
}

/* Instead, use this for orange button consistency: */
#loadMoreBtn.btn-orange {
    background-color: #ff6b35 !important;
    color: #fff !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.08) !important;
    border: none !important;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 auto !important;
    padding: 0.7rem 1.5rem !important;
    justify-content: center !important;
}

#loadMoreBtn.btn-orange:hover {
    background-color: #e55a2b !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(255, 107, 53, 0.15) !important;
}

.form-success {
  color: #228B22; /* Green */
  background: #e6ffed; /* Light green background */
  border-left: 4px solid #228B22;
  padding: 8px 14px;
  border-radius: 6px;
  margin: 10px 0 0 0;
  font-size: 0.98em;
  font-weight: 600;
  display: block;
  animation: fadeIn 0.3s;
}

@media (max-width: 768px) {
  #loadMoreBtn,
  .load-more-btn {
    width: 100% !important;
    min-width: 0;
    max-width: 100%;
    font-size: 0.98rem;
    padding: 10px 0 !important;
    margin: 0.5rem 0 !important;
    border-radius: 24px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.7rem 1.5rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(43, 108, 176, 0.08);
  background-color: var(--primary-blue);
  color: #fff;
}
.btn:hover {
  background-color: #235a96;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 18px rgba(43, 108, 176, 0.15);
}

/* Standardized button styles - all buttons now use consistent styling */
.btn-orange {
  background-color: #ff6b35 !important;
  color: #fff !important;
  border: none !important;
  padding: 12px 24px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
}
.btn-orange:hover {
  background-color: #e55a2b !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3) !important;
}

.load-more-btn,
#loadMoreBtn {
    margin-top: 2rem !important;
    /* ...existing styles... */
}

#loadMoreBtn {
  margin-top: 2.5rem !important;
  margin-bottom: 0 !important;
  display: block !important;
}

#loadMoreBtn[style*="display: none"] {
  display: none !important;
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
  .container, .services-container, .plans-grid, .testimonial-grid, .service-grid, .tools-grid, .blog-container, .contact-container, .footer-container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
  }
  .service-card, .plan-card, .testimonial-card, .tool-card, .resource-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
  }
  button, .btn, .submit-btn, .load-more-btn, .pay-now-btn, .view-details, .cta-button {
    min-width: 44px !important;
    min-height: 44px !important;
    font-size: 1rem !important;
    padding: 12px !important;
    box-sizing: border-box;
  }
  input, select, textarea {
    min-height: 44px !important;
    font-size: 1rem !important;
    width: 100% !important;
    box-sizing: border-box;
  }
  .modal-content, .consultancy-modal-content, .privacy-content {
    width: 98vw !important;
    max-width: 98vw !important;
    left: 1vw !important;
    right: 1vw !important;
    padding: 10px !important;
    box-sizing: border-box;
  }
  .modal {
    align-items: flex-start !important;
    padding-top: 10vw !important;
  }
  .footer {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 480px) {
  .modal-content, .consultancy-modal-content, .privacy-content {
    padding: 16px !important;
    border-radius: 10px !important;
    width: 98vw !important;
    max-width: 98vw !important;
    left: 1vw !important;
    right: 1vw !important;
    box-sizing: border-box;
  }
  .modal-buttons {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .modal-btn, .modal-btn-primary {
    width: 100% !important;
    margin: 0 !important;
    border-radius: 30px !important;
  }
}

.modal-content {
    max-height: 90vh;
    overflow-y: auto;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    max-height: 90vh;
    overflow-y: auto;
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 16px;
    box-sizing: border-box;
}
@media (max-width: 768px) {
    .modal-content {
        width: 98vw;
        max-width: 98vw;
        padding: 12px;
        border-radius: 10px;
    }
}

.modal-content {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow: hidden;
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 16px;
    box-sizing: border-box;
}
#planModal .modal-header {
    flex-shrink: 0;
}
#planModal .modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
    padding: 1.2rem;
}
#planModal .modal-buttons {
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    background: white;
    z-index: 2;
    padding: 0.8rem 1.2rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: center;
}
@media (max-width: 768px) {
    .modal-content {    
        width: 98vw;
        max-width: 98vw;
        padding: 12px;
        border-radius: 10px;
    }
    #planModal .modal-body {
        padding: 1rem;
    }
    #planModal .modal-buttons {
        padding: 0.8rem 1rem;
    }
}
body.modal-open {
    overflow: hidden !important;
}

.modal.hide {
    display: none !important;
}

/* --- MODAL RESPONSIVENESS & BEAUTY FIX --- */

/* Center and style all modals on all screens */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  padding: 0;
}
.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* Modal content universal style */
.modal-content, .consultancy-modal-content, .privacy-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  margin: 0 auto;
  padding: 2rem;
  max-width: 500px;
  width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .modal-content, .consultancy-modal-content, .privacy-content {
    max-width: 98vw !important;
    width: 98vw !important;
    padding: 14px !important;
    border-radius: 12px !important;
    max-height: 90vh !important;
  }
  .modal {
    align-items: flex-start !important;
    padding-top: 8vw !important;
  }
}
@media (max-width: 480px) {
  .modal-content, .consultancy-modal-content, .privacy-content {
    padding: 8px !important;
    border-radius: 8px !important;
  }
}

/* Large, sticky close button for all modals */
.close-modal, .close-privacy, #closeConsultancyModal, .close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 2rem !important;
  min-width: 40px;
  min-height: 40px;
  width: 40px;
  height: 40px;
  color: #888;
  background: #f8f9fc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  border: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.close-modal:hover, .close-privacy:hover, #closeConsultancyModal:hover, .close-btn:hover {
  background: #e9ecef;
  color: var(--primary-blue);
  transform: rotate(90deg);
}

body.modal-open {
  overflow: hidden !important;
}

/* Remove duplicate/conflicting modal/mobile modal CSS blocks below this line */

/* --- PLAN MODAL PROFESSIONAL THEME REDESIGN --- */
#planModal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  padding: 0;
  animation: modalFadeIn 0.3s ease;
}
#planModal.show {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  animation: modalFadeIn 0.3s ease;
}
#planModal .modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 92vw;
  max-width: 450px;
  margin: 0 auto;
  padding: 0;
  border-radius: 12px;
  box-sizing: border-box;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  position: relative;
  min-height: 260px;
  max-height: 85vh;
  overflow-y: auto;
  border: 1px solid #e1e8ed;
  animation: modalSlideIn 0.3s ease;
}
#planModal .modal-header, #planModal h2#planModalTitle {
  width: 100%;
  background: #337ab7;
  color: white;
  padding: 1.2rem 1.5rem 1rem 1.5rem;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0;
  border-bottom: 1px solid #e1e8ed;
}
#planModal .close-modal {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 1.5rem;
  color: white;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  border: none;
  transition: background 0.2s ease;
}
#planModal .close-modal:hover {
  background: rgba(255,255,255,0.2);
  color: white;
}
#planModal .plan-details {
  width: 100%;
  padding: 1.2rem 1.5rem 0.5rem 1.5rem;
  margin-bottom: 0.5rem;
  box-sizing: border-box;
}
#planModal .plan-details h4 {
  color: #337ab7;
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
  text-align: center;
}
#planModal .plan-features {
  background: #f8f9fa;
  padding: 1rem 1.2rem 0.8rem 1.2rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  width: 100%;
  border: 1px solid #e9ecef;
}
#planModal .plan-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#planModal .plan-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.5rem;
  color: #333;
  font-size: 1rem;
  font-weight: 500;
  background: white;
  border-radius: 6px;
  padding: 0.6rem 0.8rem;
  border: 1px solid #e9ecef;
  transition: background 0.2s ease;
}
#planModal .plan-features li:hover {
  background: #f8f9fa;
}
#planModal .plan-features li:last-child {
  margin-bottom: 0;
}
#planModal .plan-features li i {
  color: #337ab7;
  font-size: 1rem;
  min-width: 16px;
  text-align: center;
}
#planModal .modal-buttons {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 1.5rem 1.5rem 1.5rem;
  background: #f8f9fa;
  position: sticky;
  bottom: 0;
  z-index: 2;
  border-top: 1px solid #e9ecef;
}
#planModal .modal-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  background: #25D366;
  color: white;
  border: 1px solid #25D366;
  transition: background 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  margin: 0;
  outline: none;
  position: relative;
  min-width: 180px;
}
#planModal .modal-btn .wa-icon {
  background: white;
  color: #25D366;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-right: 4px;
  flex-shrink: 0;
}
#planModal .modal-btn:hover, #planModal .modal-btn:focus {
  background: #128C7E;
  color: white;
}
@media (max-width: 768px) {
  #planModal .modal-content {
    width: 96vw;
    max-width: 420px;
    border-radius: 16px;
  }
  #planModal .modal-header, #planModal h2#planModalTitle {
    padding: 1.2rem 1.2rem 1rem 1.2rem;
    font-size: 1.4rem;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
  }
  #planModal .close-modal {
    top: 12px;
    right: 15px;
    width: 36px;
    height: 36px;
    font-size: 1.6rem;
  }
  #planModal .plan-details {
    padding: 1.2rem 1.2rem 0.5rem 1.2rem;
  }
  #planModal .plan-features {
    padding: 1rem 1rem 0.8rem 1rem;
    border-radius: 10px;
  }
  #planModal .plan-features li {
    padding: 0.7rem 0.8rem;
    font-size: 1rem;
    gap: 8px;
  }
  #planModal .plan-features li i {
    font-size: 1.1rem;
    padding: 5px;
    min-width: 22px;
  }
  #planModal .modal-buttons {
    padding: 1.2rem 1.2rem 1.2rem 1.2rem;
  }
  #planModal .modal-btn {
    width: 100%;
    font-size: 1rem;
    padding: 0.9rem 1.5rem;
    border-radius: 40px;
    min-width: auto;
  }
  #planModal .modal-btn .wa-icon {
    width: 28px;
    height: 28px;
    font-size: 1.2rem;
  }
}

.service-card a.service-details-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 180px;
  height: 48px;
  margin: 1.2rem auto 0 auto;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 14px;
  background: var(--primary-blue);
  color: #fff;
  box-shadow: 0 2px 8px rgba(43,108,176,0.08);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  line-height: 1.2;
  text-decoration: none;
}
.service-card a.service-details-btn:hover, .service-card a.service-details-btn:focus {
  background: #17497a;
  color: #fff;
  box-shadow: 0 4px 16px rgba(43,108,176,0.15);
}
@media (max-width: 600px) {
  .service-card a.service-details-btn {
    width: 100%;
    min-width: 0;
    height: 44px;
    font-size: 1rem;
    margin-top: 1rem;
  }
}

/* Prevent the whole card from being clickable */
.service-card {
  pointer-events: auto;
}
.service-card * {
  pointer-events: auto;
}

/* Calendly Cards Responsive Styles */
.calendly-section {
  margin-bottom: 3rem;
}

.calendly-card {
  /* Inherit service-card styles */
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  margin-bottom: 0.5rem;
  transition: box-shadow 0.2s, transform 0.2s, border 0.2s;
  border: 2px solid transparent;
  cursor: pointer;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  pointer-events: auto;
}

/* Hover effects removed for main page cards */

.calendly-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  text-align: center;
}

.calendly-card p {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-align: center;
}

.calendly-card ul {
  text-align: left;
  margin: 1.5rem 0;
  padding-left: 1.2rem;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.4;
  flex-grow: 1;
}

.calendly-card li {
  margin-bottom: 0.5rem;
}

.calendly-card a {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.3s ease;
  width: 100%;
  max-width: 200px;
  box-sizing: border-box;
  text-align: center;
  background-color: var(--accent-orange);
  color: white;
}

.calendly-card a:hover {
  background-color: #c05621 !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(221,107,32,0.15) !important;
  transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .calendly-section {
    padding: 0 12px;
  }
  
  .calendly-card {
    padding: 16px;
    margin-bottom: 1rem;
  }
  
  .calendly-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .calendly-card p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }
  
  .calendly-card ul {
    font-size: 0.85rem;
    margin: 1rem 0;
    padding-left: 1rem;
  }
  
  .calendly-card li {
    margin-bottom: 0.4rem;
  }
  
  .calendly-card a {
    padding: 12px 16px;
    font-size: 0.85rem;
    max-width: 180px;
    margin-top: 1rem;
  }
}

@media (max-width: 480px) {
  .calendly-section {
    padding: 0 12px;
  }
  
  .calendly-card {
    padding: 12px;
    margin-bottom: 0.8rem;
  }
  
  .calendly-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
  }
  
  .calendly-card p {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
  }
  
  .calendly-card ul {
    font-size: 0.8rem;
    margin: 0.8rem 0;
    padding-left: 0.8rem;
  }
  
  .calendly-card li {
    margin-bottom: 0.3rem;
  }
  
  .calendly-card a {
    padding: 10px 14px;
    font-size: 0.8rem;
    max-width: 160px;
    margin-top: 0.8rem;
  }
}



body.modal-open {
  overflow: hidden !important;
  position: fixed !important;
  width: 100vw !important;
  touch-action: none !important;
  overscroll-behavior: none !important;
}

body.modal-open-fixed {
  position: fixed !important;
  width: 100% !important;
  left: 0 !important;
  overflow-y: scroll !important;
  top: var(--scroll-y, 0) !important;
  /* Prevents background scroll and keeps visual position */
}

html.modal-open-fixed, body.modal-open-fixed {
  position: fixed !important;
  width: 100% !important;
  left: 0 !important;
  overflow-y: scroll !important;
  top: var(--scroll-y, 0) !important;
  overscroll-behavior: none !important;
  height: 100% !important;
}

body.modal-open {
  overflow: hidden !important;
}

body.modal-open-hack {
  position: fixed !important;
  width: 100% !important;
  top: var(--scroll-y, 0) !important;
  left: 0 !important;
  overflow-y: scroll !important;
}

.modal-overlay-trap {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 999;
  background: transparent;
  pointer-events: all;
  touch-action: none;
}

body.modal-open {
  overflow: hidden !important;
}
.modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal.show { display: flex; }
.modal-content {
  max-height: 90vh;
  overflow-y: auto;
}

/* Remove unused modal scroll lock classes */
body.modal-open-hack, body.modal-open-fixed, html.modal-open-fixed, .modal-overlay-trap {
  all: unset !important;
}

/* Modal fade/slide animation */
.modal {
  opacity: 0;
  transform: scale(0.98) translateY(40px);
  transition: opacity 0.32s cubic-bezier(.4,0,.2,1), transform 0.32s cubic-bezier(.4,0,.2,1);
}
.modal.show {
  display: flex;
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Standardize close button styles */
.close-modal, .close-btn, .close-privacy {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 2rem;
  min-width: 40px;
  min-height: 40px;
  width: 40px;
  height: 40px;
  color: #888;
  background: #f8f9fc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  border: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  outline: none;
}
.close-modal:hover, .close-btn:hover, .close-privacy:hover,
.close-modal:focus-visible, .close-btn:focus-visible, .close-privacy:focus-visible {
  background: #e9ecef;
  color: var(--primary-blue);
  transform: rotate(90deg) scale(1.08);
  outline: 2px solid var(--primary-blue);
}

/* Responsive modal content */
@media (max-width: 768px) {
  .modal-content, .consultancy-modal-content, .privacy-content {
    width: 98vw !important;
    max-width: 98vw !important;
    box-sizing: border-box !important;
    padding: 14px !important;
    border-radius: 12px !important;
    max-height: 90vh !important;
  }
}

/* Focus outlines for accessibility - using blue instead of orange */
button:focus-visible, .btn:focus-visible, .cta-button:focus-visible, a:focus-visible, .close-modal:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.15);
}

/* Standardize paddings, margins, font sizes */
.section-title {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  padding-top: 1rem;
  color: var(--primary-blue);
}
.service-card, .plan-card, .testimonial-card, .tool-card, .resource-card {
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}

/* Micro-interactions: active state */
.btn:active, .cta-button:active, .service-card:active, .plan-card:active {
  transform: scale(0.97);
  box-shadow: 0 2px 6px rgba(43,108,176,0.12);
}

/* Fix cursor behavior for all elements */
* {
  cursor: auto;
}

/* Clickable elements should have pointer cursor */
a, button, .btn, .cta-button, .submit-btn, .load-more-btn, .pay-now-btn, 
.view-details, .service-card, .plan-card, .tool-card, .resource-card,
.blog-card, .faq-question, .close-modal, .close-btn, .close-privacy,
#closeConsultancyModal, #acceptCookiesBtn, .mobile-menu-btn,
.nav-links a, .mobile-nav a, .back-button {
  cursor: pointer;
}

/* Text and static elements should have default cursor */
p, h1, h2, h3, h4, h5, h6, span, div, label, input, textarea, select {
  cursor: default;
}

/* Remove unwanted hover effects */
*:hover {
  cursor: inherit;
}

/* Global Image Optimization */
img {
  image-rendering: optimizeQuality;
  image-rendering: -webkit-optimize-contrast;
  max-width: 100%;
  height: auto;
}

/* Optimize consult photo loading */
.consult-photo {
  image-rendering: optimizeQuality;
  transform: translateZ(0);
  will-change: auto;
}

/* Consultation Cards Grid Fix */
.consultation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.consultation-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
}

/* Hover effects removed for main page cards */

/* Ensure cards load properly */
.consultation-cards {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
}

/* Fallback for older browsers */
@supports not (display: grid) {
    .consultation-cards {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .consultation-card {
        flex: 0 1 300px;
        margin: 1rem;
    }
}

/* Form Messages */
.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Form Loading State */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Form Validation */
.form-group input:invalid,
.form-group textarea:invalid,
.form-group select:invalid {
    border-color: #E2E8F0; /* Use neutral border color instead of red */
}

.form-group input:valid,
.form-group textarea:valid,
.form-group select:valid {
    border-color: #E2E8F0; /* Use neutral border color instead of green */
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-content {
    background: white;
    border-radius: 12px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

.popup-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
}

.popup-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.popup-close:hover {
    background-color: #e0e0e0;
    color: #333;
}

.popup-body {
    padding: 2rem;
}

.service-features {
    margin: 1.5rem 0;
}

.service-features h4 {
    color: #333;
    margin-bottom: 1rem;
}

.service-features ul {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.service-pricing {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.service-pricing h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.25rem;
    font-weight: bold;
    color: #28a745;
    margin: 0;
}

.popup-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Ensure popup is above everything */
.popup-overlay {
    z-index: 10000;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        margin: 1rem;
    }
    
    .popup-header,
    .popup-body,
    .popup-footer {
        padding: 1rem;
    }
}

/* Social Media Icons */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.social-link i {
    font-size: 1.2rem;
}

/* Specific icon colors */
.social-link[href*="facebook"] {
    background: #1877f2;
}

.social-link[href*="facebook"]:hover {
    background: #166fe5;
}

.social-link[href*="instagram"] {
    background: #e4405f;
}

.social-link[href*="instagram"]:hover {
    background: #d63384;
}

.social-link[href*="mailto"] {
    background: #ea4335;
}

.social-link[href*="mailto"]:hover {
    background: #d32f2f;
}

/* Text Icons Fallback */
.icon-text {
    font-weight: bold;
    font-size: 1rem;
}

/* Social Media Icons - Single Display */
.footer-social a i,
.whatsapp-button i,
.modal-btn i,
.wa-icon i {
    display: inline-block !important;
    font-style: normal !important;
}

/* Remove any duplicate icon content */
.footer-social a[href*="facebook"] i::before,
.footer-social a[href*="instagram"] i::before,
.footer-social a[href*="mailto"] i::before,
.fab.fa-whatsapp::before {
    content: "" !important;
}

@media (max-width: 768px) {
  .service-card, .plan-card, .tool-card, .resource-card {
    margin-bottom: 1.2rem !important;
  }
  section, .services-section, .resources, .plans, .testimonials, .tools, .contact {
    margin-bottom: 2rem !important;
    padding-bottom: 0 !important;
  }
  /* Remove extra bottom margin from last card in a section */
  .service-card:last-child, .plan-card:last-child, .tool-card:last-child, .resource-card:last-child {
    margin-bottom: 0 !important;
  }
  /* Remove extra bottom margin from last section */
  section:last-of-type, .contact:last-of-type {
    margin-bottom: 0 !important;
  }
}

/* --- Section Spacing Polish --- */
section, .services-section, .resources, .plans, .testimonials, .tools, .contact {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  margin-top: 0;
  margin-bottom: 0;
}
section + section, .services-section + .resources, .resources + .plans, .plans + .testimonials, .testimonials + .tools, .tools + .contact {
  margin-top: 2.5rem;
}

@media (max-width: 768px) {
  section, .services-section, .resources, .plans, .testimonials, .tools, .contact {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    margin-bottom: 0 !important;
  }
}

/* --- Card Spacing Polish --- */
.service-card, .plan-card, .tool-card, .resource-card {
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .service-card, .plan-card, .tool-card, .resource-card {
    margin-bottom: 1rem !important;
  }
  /* Remove extra margin from last card in a section */
  .service-card:last-child, .plan-card:last-child, .tool-card:last-child, .resource-card:last-child {
    margin-bottom: 0 !important;
  }
}

/* --- Remove Double Spacing Between Sections --- */
section + section, .services-section + .resources, .resources + .plans, .plans + .testimonials, .testimonials + .tools, .tools + .contact {
  margin-top: 0 !important;
}

/* --- Prevent Overflow and Tight Packing on Mobile --- */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
  .container, .services-container, .plans-grid, .testimonial-grid, .service-grid, .tools-grid, .blog-container, .contact-container, .footer-container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
  }
}

/* --- Standardize Load More Button Spacing --- */
.load-more-container {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 768px) {
  .load-more-container {
    margin-top: 1.2rem !important;
    margin-bottom: 1.2rem !important;
  }
}

/* --- Consultation Cards Grid Spacing --- */
.consultation-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
}
@media (max-width: 768px) {
  .consultation-cards {
    grid-template-columns: 1fr;
    gap: 1.2rem !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 500px !important;
  }
}

/* --- Section Gap Consistency --- */
section, .services-section, .resources, .plans, .testimonials, .tools, .contact {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
  margin-bottom: 0 !important;
}
@media (min-width: 769px) {
  section, .services-section, .resources, .plans, .testimonials, .tools, .contact {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
}

/* Reduce space below the consultation cards */
.calendly-section .services-container {
  margin-bottom: 1rem !important;
}

/* Reduce margin on the <ul> inside the cards */
.calendly-card ul {
  margin: 0.5rem 0 0.5rem 0 !important;
  padding-left: 1.2rem;
}

/* Reduce margin-bottom on the cards themselves */
.calendly-card {
  margin-bottom: 0.5rem !important;
}

/* --- Consistent Consultation Card Spacing --- */
.calendly-section .services-container {
  display: flex;
  flex-direction: column;
  gap: 1.2rem; /* Match the gap used in .services-container for service cards */
  margin-bottom: 2rem; /* Consistent with other sections */
}

/* Remove extra margin from consultation cards */
.calendly-card {
  margin-bottom: 0 !important;
}

/* --- Consistent Section Spacing --- */
.calendly-section,
.services-section,
.plans,
.resources,
.testimonials,
.tools,
.contact {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

/* --- Consistent spacing above Load More buttons --- */
.load-more-container {
  margin-top: 2rem !important;
}

/* --- Responsive adjustments for mobile --- */
@media (max-width: 768px) {
  .calendly-section .services-container,
  .services-section .services-container {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  .calendly-section,
  .services-section,
  .plans,
  .resources,
  .testimonials,
  .tools,
  .contact {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .load-more-container {
    margin-top: 1rem !important;
  }
}

@media (min-width: 769px) {
  .calendly-section .services-container {
    flex-direction: row;
    gap: 1.2rem;
  }
  .calendly-card {
    width: 50%;
    min-width: 320px;
    max-width: 100%;
  }
}

/* --- Make cards fully clickable and add smooth hover effect --- */
.clickable-card {
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  outline: none;
  text-decoration: none;
  color: inherit;
  display: block;
}
/* Hover effects removed for main page cards */

/* --- Accessibility: focus-visible for all interactive elements --- */
*:focus-visible {
  outline: 2px solid #2B6CB0 !important;
  outline-offset: 2px !important;
}

/* --- Cookie Consent Banner Accessibility --- */
#cookieConsent {
  font-size: 1rem;
  color: #fff;
  background: #2B6CB0;
  padding: 1rem;
  z-index: 1000;
}
#cookieConsent button {
  font-size: 1rem;
  background: #fff;
  color: #2B6CB0;
  border-radius: 4px;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  margin-left: 1rem;
}
#cookieConsent button:focus-visible {
  outline: 2px solid #fff;
}

/* --- 404 Page Accessibility --- */
.container .btn {
  font-size: 1rem;
  color: #fff;
  background: #2B6CB0;
  border-radius: 8px;
  border: none;
  padding: 0.8rem 1.5rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  margin-top: 0.5rem;
  transition: background 0.2s;
}
.container .btn:hover, .container .btn:focus-visible {
  background: #17406a;
  outline: 2px solid #fff;
}

/* --- Ensure readable font sizes and color contrast for all buttons, inputs, and links --- */
.btn, .submit-btn, .load-more-btn, .pay-now-btn, .view-details, .cta-button {
  font-size: 1rem;
  color: #fff;
  background: #2B6CB0;
  border-radius: 8px;
  border: none;
  padding: 0.7rem 1.5rem;
  font-weight: 600;
  margin: 0.5rem 0 0 0;
  box-shadow: none;
  transition: background 0.2s, color 0.2s;
}
.btn:hover, .submit-btn:hover, .load-more-btn:hover, .pay-now-btn:hover, .view-details:hover, .cta-button:hover,
.btn:focus-visible, .submit-btn:focus-visible, .load-more-btn:focus-visible, .pay-now-btn:focus-visible, .view-details:focus-visible, .cta-button:focus-visible {
  background: #17406a;
  color: #fff;
  outline: 2px solid #fff;
}
input, select, textarea {
  font-size: 1rem;
  color: #222;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0.6rem 1rem;
  margin-bottom: 0.7rem;
  width: 100%;
  box-sizing: border-box;
}
input:focus, select:focus, textarea:focus {
  border-color: #2B6CB0;
  outline: none;
}

/* Remove transform/scale/translateY from all button and card hover/focus/active states to prevent vibration/glitch */
.btn:hover, .btn:active, .btn:focus, .cta-button:hover, .cta-button:active, .cta-button:focus, .submit-btn:hover, .submit-btn:active, .submit-btn:focus, .pay-now-btn:hover, .pay-now-btn:active, .pay-now-btn:focus, .view-details:hover, .view-details:active, .view-details:focus, .load-more-btn:hover, .load-more-btn:active, .load-more-btn:focus, .modal-btn:hover, .modal-btn:active, .modal-btn:focus, .service-card:hover, .service-card:active, .service-card:focus, .plan-card:hover, .plan-card:active, .plan-card:focus, .resource-card:hover, .resource-card:active, .resource-card:focus, .blog-card:hover, .blog-card:active, .blog-card:focus, .faq-question:hover, .faq-question:active, .faq-question:focus, .back-button:hover, .back-button:active, .back-button:focus {
  transform: none !important;
  box-shadow: 0 6px 18px rgba(43, 108, 176, 0.15) !important;
}

/* Fix modal overlay selector syntax */
.modal-overlay, .consultancy-modal-overlay, .privacy-modal-overlay {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  justify-content: center;
}

.calendly-card > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  height: 100%;
}
.calendly-card h3 {
  text-align: left;
  width: 100%;
  margin: 0 0 0.5rem 0;
}

/* Consultation Cards Styles */
.consult-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(51,122,183,0.08);
  padding: 1.5rem 1.2rem 1.2rem 1.2rem;
  margin: 0.5rem 0.5rem 1.5rem 0.5rem;
  min-width: 270px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  border: 1.5px solid #e6eaf0;
}
.consult-badge {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.2em 0.8em;
  border-radius: 8px;
  letter-spacing: 0.02em;
  z-index: 2;
}
.badge-popular {
  background: #ffb84d;
  color: #fff;
}
.badge-recommended {
  background: #3bb77e;
  color: #fff;
}
.consult-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #337ab7;
  margin-top: 2.2rem;
  margin-bottom: 0.2rem;
}
.consult-desc {
  font-size: 0.98rem;
  color: #444;
  margin-bottom: 0.2rem;
}
.consult-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.1rem;
}
.consult-expert {
  font-size: 0.97rem;
  color: #337ab7;
  margin-bottom: 0.2rem;
}
.consult-footer {
  margin-top: 0.5rem;
  font-size: 0.93rem;
  color: #34c759;
  display: flex;
  align-items: center;
  gap: 0.4em;
}
.consult-profile {
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin-top: 0.5rem;
}
.consult-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #337ab7;
  box-shadow: 0 2px 8px rgba(51,122,183,0.10);
}
.consult-profile-details {
  display: flex;
  flex-direction: column;
  gap: 0.1em;
}
.consult-name {
  font-size: 1.01rem;
  font-weight: 700;
  color: #222;
}
.consult-flag {
  font-size: 0.95rem;
  color: #337ab7;
  display: flex;
  align-items: center;
  gap: 0.3em;
}
@media (max-width: 700px) {
  .consult-card {
    min-width: 90vw;
    max-width: 98vw;
    margin: 0.5rem auto 1.5rem auto;
  }
}

/* Consultation Cards Row Layout */
.consult-cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  padding: 0 16px;
  margin: 0 auto 40px auto;
  align-items: stretch;
  justify-content: center;
}
.consult-card, .consult-card-bordered {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  background: #fff;
  margin: 0;
}
@media (max-width: 900px) {
  .consult-cards-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 12px;
  }
}

.consult-card-bordered {
  border-left: 4px solid #337ab7 !important;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none !important;
  color: inherit !important;
  cursor: pointer;
}
.consult-card-bordered:hover, .consult-card-bordered:focus {
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transform: none;
  text-decoration: none !important;
  color: inherit !important;
}
.consult-card-bordered:active {
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transform: none;
}
@media (max-width: 900px) {
  .consult-cards-row {
    flex-direction: column;
    gap: 1.2rem;
    align-items: stretch;
  }
}

.why-book-section {
  display: flex;
  justify-content: center;
  margin: 0 auto 40px auto;
  padding: 0 16px;
  max-width: 1200px;
}
.why-book-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(51,122,183,0.08);
  padding: 28px 32px 20px 32px;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.why-book-flex-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr;
  gap: 0 32px;
  align-items: flex-start;
  width: 100%;
}
.why-book-heading-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  /* min-width: 180px; removed for better balance */
}
.why-book-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #337ab7;
  margin-bottom: 18px;
  text-align: left;
}
.why-book-feature-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.why-book-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.why-book-icon {
  font-size: 1.25em;
  min-width: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.why-book-feature-text {
  display: flex;
  flex-direction: column;
}
.why-book-main {
  font-size: 1.05rem;
  color: #222;
  font-weight: 600;
  line-height: 1.35;
}
@media (max-width: 900px) {
  .why-book-flex-grid {
    grid-template-columns: 1fr;
    gap: 18px 0;
  }
  .why-book-heading-col, .why-book-feature-col {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .why-book-title {
    font-size: 1.1rem;
    margin-bottom: 16px;
    text-align: center;
    width: 100%;
  }
  .why-book-feature-row {
    justify-content: center;
  }
}
/* Remove old grid styles */
.why-book-grid, .why-book-item, .why-book-feature, .why-book-text { display: unset !important; }

.why-book-section.minimal {
  background: #f6faff;
  box-shadow: none;
  border-radius: 0;
  padding: 32px 0 24px 0;
  margin: 0 auto 40px auto;
  max-width: 1200px;
}
.why-book-section.minimal .why-book-card {
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  max-width: 100%;
}

.why-book-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px;
  margin-top: 18px;
}
.why-book-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.why-book-icon img,
.why-book-icon i {
  font-size: 1.25em;
  min-width: 22px;
  display: inline-block;
  vertical-align: middle;
}
.why-book-main {
  font-size: 1.05rem;
  color: #222;
  font-weight: 600;
  line-height: 1.35;
}
@media (max-width: 700px) {
  .why-book-features-grid {
    grid-template-columns: 1fr;
    gap: 14px 0;
  }
  .why-book-title {
    text-align: center;
  }
}

.why-book-outer-section {
  margin: 40px auto 0 auto;
  padding: 0 16px;
  max-width: 1200px;
}
.why-book-outer-container {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(51,122,183,0.08);
  padding: 32px 28px 24px 28px;
  width: 100%;
}
.why-book-outer-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #337ab7;
  margin-bottom: 22px;
  font-family: 'Nunito', Arial, sans-serif;
}
.why-book-outer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px 32px;
}
.why-book-outer-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'Nunito', Arial, sans-serif;
}
.why-book-outer-icon img,
.why-book-outer-icon i {
  font-size: 1.25em;
  min-width: 22px;
  display: inline-block;
  vertical-align: middle;
}
.why-book-outer-text {
  font-size: 1.05rem;
  color: #222;
  font-weight: 600;
  line-height: 1.35;
}
@media (min-width: 600px) {
  .why-book-outer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .why-book-outer-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}
@media (max-width: 700px) {
  .why-book-outer-title {
    text-align: center;
  }
  .why-book-outer-container {
    padding: 18px 8px 12px 8px;
  }
}

.nav-dropdown.more-dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-toggle {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: #337ab7;
  background: none;
  border: none;
  outline: none;
  text-decoration: none;
  font-family: inherit;
  font-size: 1rem;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  min-width: 210px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(51,122,183,0.13);
  z-index: 1000;
  padding: 10px 0;
  margin-top: 4px;

}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  color: #222;
  font-size: 1rem;
  font-family: inherit;
  text-decoration: none;
  transition: background 0.15s;
}
.dropdown-menu a:hover, .dropdown-menu a:focus {
  background: #f3f8fd;
  color: #337ab7;
}
@media (max-width: 900px) {
  .dropdown-menu {
    position: static;
    min-width: 100%;
    box-shadow: none;
    border-radius: 0;
    margin-top: 0;
    padding: 0;
  }
  .dropdown-menu a {
    padding: 12px 18px;
  }
}

.dropdown-menu a.active,
.dropdown-menu a[aria-current="page"] {
  background: #f3f8fd;
  color: #337ab7 !important;
  font-weight: bold;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.testimonial-photo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 8px;
  border: 2px solid #337ab7;
  box-shadow: 0 2px 8px rgba(51, 122, 183, 0.08);
  vertical-align: middle;
}
.author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 0;
}

.testimonial-flag-img {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  margin-left: 8px;
  margin-bottom: 0;
  display: inline-block;
  vertical-align: middle;
}
.testimonial-name {
  font-weight: 700;
  font-size: 0.95rem;
  margin-left: 8px;
  margin-right: 0;
  display: inline-block;
  vertical-align: middle;
}
.author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}
.testimonial-photo {
  margin-bottom: 0;
}

.testimonial-card .video-testimonial-wrapper {
  width: 100%;
  height: 200px;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.testimonial-card .video-testimonial-wrapper iframe {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

/* Premium Consultation and Service Card Hover Effect */
.consult-card,
.service-card {
  transition: 
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 2px 12px rgba(51, 122, 183, 0.08);
  border: 1.5px solid #e3e8f0;
  background: #fff;
  will-change: transform, box-shadow, border-color, background;
  position: relative;
  z-index: 1;
}

/* Hover effects removed for main page cards */

/* Hover effects removed for main page cards */

/* Premium hover effect for all cards except student reviews (.testimonial-card) */
.plan-card, .tool-card, .resource-card, .calendly-card, .clickable-card {
  background: #fff !important;
  box-shadow: 0 2px 12px rgba(51, 122, 183, 0.08) !important;
  border-left: 4px solid #337ab7 !important;
  border-radius: 8px !important;
  padding: 1.5rem !important;
  transition: 
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.38s cubic-bezier(0.22, 1, 0.36, 1) !important;
  will-change: transform, box-shadow, border-color, background;
  position: relative;
  z-index: 1;
  overflow: visible;
}

/* Hover effects removed for main page cards */

/* Remove left border for .clickable-card if not desired, comment out if you want it on all */
/* .clickable-card { border-left: none !important; } */

body.modal-open {
  overflow: hidden !important;
  position: static !important;
  width: 100% !important;
  touch-action: none !important;
  overscroll-behavior: contain !important;
}

/* Remove blue background and blue text from payment modal bank details */
#paymentModal .bank-details-section {
  background: #fff !important;
  color: #222 !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 12px rgba(43,108,176,0.08) !important;
  padding: 1.2rem 1.5rem !important;
  margin-bottom: 1.2rem !important;
}
#paymentModal .bank-details-section h3,
#paymentModal .bank-details-section p,
#paymentModal .bank-details-section strong {
  background: none !important;
  color: #222 !important;
  font-weight: 500 !important;
  border: none !important;
  box-shadow: none !important;
}
#paymentModal .bank-details-section h3 {
  font-size: 1.2rem !important;
  margin-bottom: 0.7rem !important;
  color: #222 !important;
  display: flex;
  align-items: center;
  gap: 8px;
}
#paymentModal .bank-details-section i {
  color: #888 !important;
}
@media (max-width: 700px) {
  #paymentModal .bank-details-section {
    padding: 1rem 0.7rem !important;
    font-size: 0.98rem !important;
  }
}

body.modal-open,
html.modal-open {
  overflow: hidden !important;
}

body.mobile-nav-open #backToTop,
body.mobile-nav-open .floating-tools-btn {
  display: none !important;
}

/* Testimonial card author layout improvements */
.author {
  display: flex;
  align-items: center;
  margin-top: 1.2rem;
  gap: 0.9rem;
}
.author-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.testimonial-name {
  font-weight: 700;
  font-size: 1.08rem;
}
.testimonial-field {
  font-weight: 400;
  color: #e3e8f0;
  font-size: 0.98rem;
}
.testimonial-city {
  font-weight: 500;
  color: #222;
  font-size: 0.97rem;
  display: flex;
  align-items: center;
  gap: 0.3em;
}
.flag {
  font-size: 1.1em;
  margin-left: 0.2em;
}

/* Payment Section Styles - Reduce Inline Styles */
.payment-container {
  margin: 2rem 0;
  background: #fff8e1;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(255,152,0,0.10);
  padding: 2rem 1rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.payment-title {
  color: #ff9800;
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 1rem;
}

.payment-instructions {
  margin-bottom: 1em;
  background: #fffbe7;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(255,152,0,0.06);
  padding: 1.2rem 1rem;
}

.payment-qr-section {
  margin-bottom: 1em;
  text-align: center;
}

.payment-qr-title {
  font-weight: 600;
  color: #ff9800;
}

.payment-qr-image {
  max-width: 140px;
  display: block;
  margin: 10px auto;
  border: 2px solid #ff9800;
  border-radius: 8px;
  background: #fff;
}

.payment-qr-description {
  color: #888;
  font-size: 0.98em;
  display: block;
  margin-top: 0.5em;
}

.payment-button-container {
  text-align: center;
  margin: 1.5rem 0;
}

.payment-whatsapp-btn {
  font-size: 1.1rem;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(51,123,183,0.10);
  text-decoration: none;
  background: #ff9800;
  border: 2px solid #ff9800;
  display: inline-block;
  color: white;
  transition: all 0.3s ease;
}

.payment-whatsapp-btn:hover {
  background: #e68900;
  border-color: #e68900;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(51,123,183,0.20);
}

.payment-note {
  font-size: 0.95em;
  color: #666;
  background: #fffbe7;
  border-radius: 8px;
  padding: 1rem 1.2rem;
  text-align: center;
}

/* Loading States and Error Handling */
.loading {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #337ab7;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.error-message {
  background: #f8d7da;
  color: #721c24;
  padding: 1rem;
  border: 1px solid #f5c6cb;
  border-radius: 5px;
  margin: 1rem 0;
  text-align: center;
}

.success-message {
  background: #d4edda;
  color: #155724;
  padding: 1rem;
  border: 1px solid #c3e6cb;
  border-radius: 5px;
  margin: 1rem 0;
  text-align: center;
}

.form-error {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-success {
  color: #28a745;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Breadcrumb Navigation */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: #666;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
  content: '>';
  margin-left: 0.5rem;
  color: #999;
}

.breadcrumb-link {
  color: #337ab7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-link:hover {
  color: #23527c;
  text-decoration: underline;
}

.breadcrumb-current {
  color: #333;
  font-weight: 500;
}

/* Lazy Loading for Images */
.lazy-image {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lazy-image.loaded {
  opacity: 1;
}

.lazy-image-placeholder {
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.9rem;
}

/* Image Optimization */
img {
  max-width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Optimize testimonial photos */
.testimonial-photo {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  background: #f0f0f0;
  transition: transform 0.1s ease; /* Faster transition */
}

.testimonial-photo:hover {
  transform: scale(1.05);
}

/* Optimize consultation photo */
.consult-photo {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  background: #f0f0f0;
}

/* Optimize flag images */
.consult-flag img,
.why-book-outer-icon img {
  width: 20px;
  height: 14px;
  object-fit: contain;
}

/* Loading animation for images - Optimized for speed */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.15s ease; /* Faster transition */
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* QR Code Image Optimization - Optimized for speed */
img[src*="qr_code.png"] {
  max-width: 180px;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.1s ease; /* Faster hover effect */
  opacity: 1 !important; /* CRITICAL: Always show QR codes - override lazy loading */
}

img[src*="qr_code.png"]:hover {
  transform: scale(1.02);
}

/* Service Page Image Optimization */
.service-page img {
  max-width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Smooth Scrolling Behavior - Only when explicitly requested */
html {
scroll-behavior: auto; /* Default to instant for hash navigation */
  scroll-padding-top: 80px; /* Fixed navbar offset for anchor links */
}

/* Remove duplicate scroll-behavior from body */
body {
  /* scroll-behavior removed to prevent conflicts */
}

/* Ensure consultation section is properly positioned */
#consultation {
  scroll-margin-top: 80px; /* Adjust based on your navbar height */
}

/* Ensure responsiveness for all devices */
@media (max-width: 1200px) {
  .navbar, .hero, .section-title, .service-card, .plan-card, .testimonial-card, .tool-card, .resource-card {
    padding-left: 2vw;
    padding-right: 2vw;
  }
}
@media (max-width: 900px) {
  .navbar, .hero, .section-title, .service-card, .plan-card, .testimonial-card, .tool-card, .resource-card {
    padding-left: 1vw;
    padding-right: 1vw;
  }
  .hero h1 {
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 1px 2px rgba(0, 0, 0, 0.6);
  }
}
@media (max-width: 700px) {
  .navbar, .hero, .section-title, .service-card, .plan-card, .testimonial-card, .tool-card, .resource-card {
    padding-left: 0.5vw;
    padding-right: 0.5vw;
  }
  .hero h1 {
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 1px 2px rgba(0, 0, 0, 0.6);
  }
  .cta-button {
    width: 180px !important;
    height: 44px !important;
    font-size: 1rem !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 180px !important;
    min-height: 44px !important;
    box-sizing: border-box;
    margin: auto !important;
  }
}

/* Add extra top padding to testimonial card content for flag */
.testimonial-card {
  position: relative;
  padding-top: 40px; /* space for flag */
}

/* Make flag look like video cards - no white circle */
.testimonial-card .destination-flag {
  width: 20px;
  height: 14px;
  top: 10px;
  right: 10px;
  background: none;
  border-radius: 0;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  display: block;
  font-size: 0;
  color: transparent;
}

@media (max-width: 600px) {
  .testimonial-card .destination-flag {
    width: 20px;
    height: 20px;
    top: 6px;
    right: 6px;
    font-size: 0.85rem;
  }
  .testimonial-card {
    padding-top: 28px;
  }
}


