/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* Logo Styles */
.header-logo {
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #20B2AA;
    transition: all 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 2rem;
    color: #20B2AA;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #20B2AA;
}


/* Navigation Container */
.nav-container {
    display: flex;
    align-items: center;
    gap: 128px;
}

/* Main Navigation */
.header-nav {
    display: flex;
    align-items: center;
    justify-content: center; /* Center the navigation */
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0; /* No gap between items */
    margin: 0;
    padding: 0;
    justify-content: center; /* Center the list items */
}

.nav-item {
    position: relative;
}

.nav-btn {
    background: none;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
}

.nav-btn:hover {
    background: rgba(32, 178, 170, 0.1);
    color: #20B2AA;
}

.nav-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.nav-item:hover .nav-btn i {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 8px 0;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.7rem;
}

.dropdown-menu a:hover {
    background: rgba(32, 178, 170, 0.1);
    color: #20B2AA;
    padding-left: 25px;
}

/* Social Icons */
.header-social {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: -100px; /* Move all social icons to the left to appear after navigation buttons */
    /* Additional positioning options for social icons */
    position: relative;
    transition: all 0.3s ease;
}

/* Social Icons - Left Side Positioning Options */
.header-social.left-side {
    margin-left: -100px; /* Move social icons to the left */
}

.header-social.far-left {
    margin-left: -200px; /* Move social icons further to the left */
}

.header-social.center-left {
    margin-left: -100px; /* Move social icons slightly to the left */
}

/* Social Icons - Right Side Positioning Options */
.header-social.right-side {
    margin-left: 50px; /* Move social icons to the right */
}

.header-social.far-right {
    margin-left: 100px; /* Move social icons further to the right */
}

/* Social Icons - Split Positioning (Twitter/WhatsApp left, Facebook/Instagram right) */
.header-social.split-position {
    position: relative;
}

.header-social.split-position .social-icon:nth-child(1),
.header-social.split-position .social-icon:nth-child(2) {
    /* Twitter and WhatsApp - move to left */
    margin-right: auto;
    margin-left: -80px; /* Adjust this value as needed */
}

.header-social.split-position .social-icon:nth-child(3),
.header-social.split-position .social-icon:nth-child(4) {
    /* Facebook and Instagram - keep in current position */
    margin-left: 0;
    margin-right: 0;
}

/* Alternative: Use flexbox order to rearrange icons */
.header-social.reorder-icons {
    display: flex;
    gap: 15px;
}

.header-social.reorder-icons .social-icon:nth-child(1) { order: 3; } /* Twitter */
.header-social.reorder-icons .social-icon:nth-child(2) { order: 4; } /* WhatsApp */
.header-social.reorder-icons .social-icon:nth-child(3) { order: 1; } /* Facebook */
.header-social.reorder-icons .social-icon:nth-child(4) { order: 2; } /* Instagram */

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(32, 178, 170, 0.1);
    color: #20B2AA;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-icon:hover {
    background: #20B2AA;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(32, 178, 170, 0.3);
}

/* Mobile Menu Button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
    transition: all 0.3s ease;
    z-index: 1002;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background: #20B2AA;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }
    
    /* Ensure mobile courses layout remains unchanged */
    .courses-grid,
    .short-courses-grid {
        display: grid !important; /* Force override */
        grid-template-columns: repeat(2, 1fr) !important; /* Keep 2 cards per row on mobile */
        gap: 15px;
        max-width: 500px; /* Mobile-appropriate width */
    }
    
    .services-grid {
        display: grid !important; /* Force override */
        grid-template-columns: repeat(2, 1fr) !important; /* Keep 2 cards per row on mobile */
        gap: 15px;
        max-width: 500px; /* Mobile-appropriate width */
    }
    
    .features-grid {
        display: grid !important; /* Force override */
        grid-template-columns: repeat(2, 1fr) !important; /* Keep 2 cards per row on mobile */
        gap: 15px;
        max-width: 500px; /* Mobile-appropriate width */
    }
    
    /* Ensure mobile sections have appropriate widths */
    .services-section,
    .courses-section,
    .short-courses-section,
    .why-choose-section {
        max-width: 500px !important; /* Mobile-appropriate width */
        margin-left: auto;
        margin-right: auto;
    }
    
    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 100px 20px 20px;
        gap: 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }
    
    .nav-container.active {
        right: 0;
    }
    
    .header-nav {
        width: 100%;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav-btn {
        width: 100%;
        justify-content: space-between;
        padding: 20px 0;
        font-size: 1.1rem;
        border-radius: 0;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(32, 178, 170, 0.05);
        border-radius: 0;
        margin-top: 10px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-item.active .dropdown-menu {
        max-height: 300px;
    }
    
    .dropdown-menu a {
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .header-social {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Mobile menu overlay effect */
    .nav-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(32, 178, 170, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
        z-index: -1;
    }
    
    /* Body scroll lock when menu is open */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Animated entrance for menu items */
    .nav-container.active .nav-item {
        animation: slideInFromRight 0.4s ease forwards;
        opacity: 0;
    }
    
    .nav-container.active .nav-item:nth-child(1) { animation-delay: 0.1s; }
    .nav-container.active .nav-item:nth-child(2) { animation-delay: 0.2s; }
    .nav-container.active .nav-item:nth-child(3) { animation-delay: 0.3s; }
    .nav-container.active .nav-item:nth-child(4) { animation-delay: 0.4s; }
    
    @keyframes slideInFromRight {
        from {
            opacity: 0;
            transform: translateX(50px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .header-container {
        padding: 0 15px;
    }
    
    .nav-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .logo-icon {
        font-size: 1.8rem;
    }
}

/* Desktop Header Adjustments */
@media (min-width: 1025px) {
    .nav-container {
        margin-left: 13px; /* Move navigation further toward center on larger screens */
    }
    
    .header-social {
        margin-left: inherit; /* Keep social icons right after buttons */
    }
}

/* Ensure header doesn't interfere with existing content */
.container {
    margin-top: 20px; /* Add some space below header */
}

/* Desktop Layout Adjustments - Only for screens larger than 768px */
@media (min-width: 769px) {
    .container {
        max-width: 1200px; /* Match header container width */
        padding: 20px 10px; /* Further reduced padding to minimize empty space */
        margin-top: 30px; /* More space below header for desktop */
    }
    
    /* Top Section - Adjust grid layout to align with header */
    .top-section {
        max-width: 1150px; /* Even wider to use more space */
        margin: 0 auto 30px auto;
        gap: 50px; /* Increase gap for better spacing */
    }
    
    /* Service Info - Adjust positioning */
    .service-info {
        padding-right: 30px; /* Increase right padding for better alignment */
    }
    
    /* Contact Form - Adjust positioning and alignment */
    .contact-form {
        margin-left: 0; /* Move form towards left */
        max-width: 460px; /* Slightly increased form width on desktop */
    }
    
    /* Services Section - Adjust width and positioning */
    .services-section {
        max-width: 1150px; /* Even wider to use more space */
        margin: 0 auto;
        padding: 0 5px; /* Minimal padding */
    }
    
    .services-grid {
        max-width: 1100px; /* Wider grid */
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* Keep 3 cards per row for services */
        gap: 25px; /* Consistent gap */
    }
    
    /* Courses Section - Adjust width and positioning */
    .courses-section {
        max-width: 1150px; /* Even wider to use more space */
        margin: 0 auto;
        padding: 0 5px; /* Minimal padding */
    }
    
    .courses-grid {
        max-width: 1100px; /* Wider grid */
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(4, 1fr); /* 4 cards per row on desktop */
        gap: 20px; /* Consistent gap */
    }
    
    /* Short Courses Section - Adjust width and positioning */
    .short-courses-section {
        max-width: 1150px; /* Even wider to use more space */
        margin: 0 auto;
        padding: 0 5px; /* Minimal padding */
    }
    
    .short-courses-grid {
        max-width: 1100px; /* Wider grid */
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(4, 1fr); /* 4 cards per row on desktop */
        gap: 20px; /* Consistent gap */
    }
    
    /* Why Choose Section - Adjust width and positioning */
    .why-choose-section {
        max-width: 1150px; /* Even wider to use more space */
        margin: 0 auto;
        padding: 0 5px; /* Minimal padding */
    }
    
    .features-grid {
        max-width: 1100px; /* Wider grid */
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(4, 1fr); /* 4 cards per row for features */
        gap: 25px; /* Consistent gap */
    }
    
    /* Testimonials Section - Adjust width and positioning */
    .testimonials-section {
        max-width: 1150px; /* Even wider to use more space */
        margin: 0 auto;
        padding: 0 5px; /* Minimal padding */
    }
    
    .testimonials-carousel {
        max-width: 1100px; /* Wider carousel */
        margin: 0 auto;
    }
    
    /* Benefits Section - Adjust width and positioning */
    .benefits-section {
        max-width: 1150px; /* Even wider to use more space */
        margin: 0 auto 30px auto;
        padding: 0 5px; /* Minimal padding */
    }

/* Additional Desktop Layout Improvements */
@media (min-width: 769px) {
    /* Adjust top section positioning for better header alignment */
    .top-section {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }
    
    /* Ensure contact form aligns properly with header */
    .contact-form {
        position: relative;
        right: 0;
    }
    
    /* Adjust service info positioning */
    .service-info {
        position: relative;
        left: 0;
    }
    
    /* Ensure all sections have consistent spacing */
    .services-section,
    .courses-section,
    .short-courses-section,
    .why-choose-section,
    .testimonials-section {
        margin-left: auto;
        margin-right: auto;
    }
}
}

/* Smooth transitions for all interactive elements */
.nav-btn, .social-icon, .logo-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced mobile dropdown animations */
@media (max-width: 768px) {
    .dropdown-menu {
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-item.active .dropdown-menu {
        max-height: 400px; /* Increased for better content visibility */
    }
    
    /* Enhanced mobile menu button animation */
    .hamburger-menu span {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* Mobile menu backdrop */
    .nav-container.active::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.3);
        z-index: -2;
        animation: fadeIn 0.3s ease;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    font-size: 0.5rem; /* Reduced base font size */
    min-height: 100vh;
    display: block; /* Stack sections vertically to preserve layout */
    padding-top: 70px; /* Add top padding for fixed header */
}
html, body { overflow-x: hidden; }

.container {
    max-width: 1200px; /* Increased to match header width */
    width: 100%;
    margin: 0 auto;
    padding: 20px 20px; /* Reduced horizontal padding to minimize empty space */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Top Section Layout */
.top-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px; /* Reduced gap */
    margin-bottom: 30px; /* Reduced margin */
    align-items: start;
    width: 93%;
    max-width: 1100px; /* Increased width to use more space */
}

/* Left Section - Service Information */
.service-info {
    padding-right: 20px; /* Reduced padding */
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}




.service-info h1 {
    font-size: 1.1rem; /* Reduced from 2.2rem */
    font-weight: 600;
    color: #000;
    margin-bottom: 20px; /* Reduced margin */
    line-height: 1.3;
    text-align: center;
    width: 81%;
    margin-left: 9%; /* Move heading to the right */
    padding-right: 20px; /* Add some space on the right */
    order: 1; /* H1 should appear above features */
}

.features {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Increased gap */
    width: 100%;
    align-items: center; /* Center the features */
    order: 2; /* Features (Contact Us) under H1 */
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 12px 0; /* Increased padding */
    border-bottom: 1px solid #e0e0e0;
    width: 80%; /* Reduce width to center content */
    justify-content: center; /* Center the items */
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-text {
    font-size: 0.55rem; /* Reduced from 1.1rem */
    color: #333;
    font-weight: 500;
    margin-left: 8px; /* Reduced margin */
}

.whatsapp-icon {
    color: #25D366;
    font-size: 0.65rem; /* Reduced from 1.3rem */
    margin-right: 8px; /* Reduced margin */
}

/* Right Section - Contact Form */
.contact-form {
    background: #f8f9fa;
    padding: 20px 25px; /* Reduced padding to make form smaller */
    border-radius: 8px; /* Reduced border radius */
    box-shadow: none; /* Remove shadow */
    width: 100%;
    max-width: 420px; /* Slightly increased form width */
    margin-left: 0; /* Move form towards left */
    margin-right: 0; /* Move form further left */
    height: fit-content; /* Allow form to size naturally */
    position: relative; /* Enable positioning */
}

/* Responsive background variants for main contact form */
@media (max-width: 768px) {
  .contact-form {
    /* Soft vertical gradient for mobile */
    background: linear-gradient(180deg, #ffffff 0%, #f0fffc 100%);
    /* Subtle definition so the form stands out on small screens */
    border: 1px solid rgba(20, 184, 166, 0.16);
    box-shadow: 0 6px 14px rgba(32, 178, 170, 0.12);
  }
}

@media (min-width: 769px) {
  .contact-form {
    /* Layered background for desktop: gentle radial tint + light gradient */
    background:
      radial-gradient(800px 400px at 100% 0%, rgba(32, 178, 170, 0.10), transparent 60%),
      linear-gradient(135deg, #ffffff 0%, #f6fffd 100%);
    border: 1px solid rgba(32, 178, 170, 0.12);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  }
}

.contact-form h2 {
    font-size: 1.2rem; /* Reduced from 1.8rem */
    font-weight: 600;
    color: #0d9393;
    margin-bottom: 15px; /* Reduced margin */
    text-align: center;
}

.form-group {
    position: relative;
    margin-bottom: 12px; /* Reduced margin */
    width: 100%;
}

.form-group i {
    position: absolute;
    left: 10px; /* Reduced left position */
    top: 50%;
    transform: translateY(-50%);
    color: #20B2AA;
    font-size: 0.55rem; /* Reduced from 1.1rem */
    z-index: 2;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px 8px 8px 30px; /* Reduced padding */
    border: 1px solid #e0e0e0; /* Reduced border */
    border-radius: 6px; /* Reduced border radius */
    font-size: 0.5rem; /* Reduced from 1rem */
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: #fff;
    height: 32px; /* Fixed height for inputs */
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #20B2AA;
    box-shadow: 0 0 0 2px rgba(32, 178, 170, 0.1); /* Reduced shadow */
}

.form-group textarea {
    resize: vertical;
    min-height: 60px; /* Reduced height */
    height: auto; /* Allow textarea to grow */
}

/* Phone Input Styling */
.phone-group {
    display: flex;
    gap: 6px; /* Reduced gap */
    width: 100%;
    margin-bottom: 12px; /* Reduced margin */
    position: relative; /* For dropdown positioning */
}

.country-code {
    display: flex;
    align-items: center;
    gap: 4px; /* Reduced gap */
    padding: 8px; /* Reduced padding */
    background: #fff;
    border: 1px solid #e0e0e0; /* Reduced border */
    border-radius: 6px; /* Reduced border radius */
    min-width: 70px; /* Reduced width */
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    height: 32px; /* Match input height */
    box-sizing: border-box;
    position: relative; /* For dropdown positioning */
}

.country-code .flag {
    width: 12px; /* Reduced from 20px */
    height: 9px; /* Reduced from 15px */
    border-radius: 1px; /* Reduced border radius */
    object-fit: cover;
    display: block;
}

.country-code span {
    font-weight: 500;
    color: #333;
    font-size: 0.5rem; /* Reduced font size */
}

.country-code i {
    color: #666;
    font-size: 0.45rem; /* Reduced from 0.9rem */
}

.phone-group input {
    padding-left: 8px; /* Reduced padding */
    flex: 1;
    height: 32px; /* Match other inputs */
    box-sizing: border-box;
}

.country-code:hover {
    border-color: #20B2AA;
}

.country-code.active {
    border-color: #20B2AA;
    box-shadow: 0 0 0 2px rgba(32, 178, 170, 0.1);
}

.country-code-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    margin-top: 2px;
}

.country-code-dropdown.show {
    display: block;
}

.country-code-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.country-code-item:last-child {
    border-bottom: none;
}

.country-code-item:hover {
    background-color: #f8f9fa;
}

.country-code-item.selected {
    background-color: #e3f2fd;
    color: #20B2AA;
}

.country-code-item .flag {
    width: 16px;
    height: 12px;
    border-radius: 1px;
    flex-shrink: 0;
    object-fit: cover;
    display: block;
}

.country-code-item .code {
    font-weight: 600;
    color: #333;
    font-size: 0.5rem;
    min-width: 40px;
}

.country-code-item .name {
    color: #666;
    font-size: 0.45rem;
    flex: 1;
}

/* Country Selection Dropdown */
.country-select {
    position: relative;
    width: 100%;
}

.country-select .form-group {
    margin-bottom: 12px;
}

.country-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    margin-top: 2px;
}

.country-dropdown.show {
    display: block;
}

.country-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.country-item:last-child {
    border-bottom: none;
}

.country-item:hover {
    background-color: #f8f9fa;
}

.country-item.selected {
    background-color: #e3f2fd;
    color: #20B2AA;
}

.country-item .flag {
    width: 16px;
    height: 12px;
    border-radius: 1px;
    flex-shrink: 0;
    object-fit: cover;
    display: block;
}

.country-item .name {
    color: #333;
    font-size: 0.5rem;
    flex: 1;
}

/* Dropdown Scrollbar Styling */
.country-code-dropdown::-webkit-scrollbar,
.country-dropdown::-webkit-scrollbar {
    width: 6px;
}

.country-code-dropdown::-webkit-scrollbar-track,
.country-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.country-code-dropdown::-webkit-scrollbar-thumb,
.country-dropdown::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.country-code-dropdown::-webkit-scrollbar-thumb:hover,
.country-dropdown::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Search functionality for dropdowns */
.dropdown-search {
    padding: 8px 12px;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}

.dropdown-search input {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 0.45rem;
    outline: none;
}

.dropdown-search input:focus {
    border-color: #20B2AA;
    box-shadow: 0 0 0 2px rgba(32, 178, 170, 0.1);
}

/* Send Button */
.send-btn {
    width: 100%;
    padding: 10px; /* Reduced padding */
    background: linear-gradient(135deg, #20B2AA 0%, #008B8B 100%);
    color: white;
    border: none;
    border-radius: 6px; /* Reduced border radius */
    font-size: 0.55rem; /* Reduced from 1.1rem */
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(32, 178, 170, 0.3); /* Reduced shadow */
    margin-top: 8px; /* Reduced top margin */
    height: 36px; /* Fixed height for button */
    box-sizing: border-box;
}

.send-btn:hover {
    transform: translateY(-1px); /* Reduced transform */
    box-shadow: 0 3px 10px rgba(32, 178, 170, 0.4); /* Reduced shadow */
}

.send-btn:active {
    transform: translateY(0);
}

/* Bottom Section - Service Benefits */
.benefits-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; /* Reduced gap */
    width: 100%;
    max-width: 800px; /* Match top section width */
    margin: 0 auto; /* Center the benefits section */
}

.benefit-card {
    background: #fff;
    padding: 20px 15px; /* Reduced padding */
    border-radius: 10px; /* Reduced border radius */
    text-align: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08); /* Reduced shadow */
    transition: all 0.3s ease;
    border-top: 2px solid; /* Reduced border */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.benefit-card:hover {
    transform: translateY(-2px); /* Reduced transform */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); /* Reduced shadow */
}

.benefit-card.green {
    border-top-color: #28a745;
}

.benefit-card.orange {
    border-top-color: #fd7e14;
}

.benefit-card.blue {
    border-top-color: #007bff;
}

.icon-container {
    width: 40px; /* Reduced from 70px */
    height: 40px; /* Reduced from 70px */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px; /* Reduced margin */
    font-size: 1rem; /* Reduced from 1.8rem */
}

.benefit-card.green .icon-container {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.benefit-card.orange .icon-container {
    background: linear-gradient(135deg, #fd7e14, #ffc107);
    color: white;
}

.benefit-card.blue .icon-container {
    background: linear-gradient(135deg, #007bff, #6610f2);
    color: white;
}

.benefit-card h3 {
    font-size: 0.65rem; /* Reduced from 1.3rem */
    font-weight: 600;
    color: #333;
    margin-bottom: 8px; /* Reduced margin */
}

.benefit-card p {
    font-size: 0.475rem; /* Reduced from 0.95rem */
    color: #666;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 20px 30px; /* Reduced horizontal padding */
    }
    
    .top-section {
        gap: 30px; /* Reduced gap */
        max-width: 700px; /* Reduced max width */
    }
    
    .contact-form {
        padding: 18px 22px; /* Reduced padding */
        max-width: 420px; /* Slightly larger on tablets for better input fit */
    }
    
    .benefits-section {
        max-width: 700px; /* Match top section */
        gap: 18px; /* Reduced gap */
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px 20px; /* Reduced horizontal padding */
    }
    
    .top-section {
        grid-template-columns: 1fr;
        gap: 25px; /* Reduced gap */
        max-width: 500px; /* Reduced max width */
    }
    
    .service-info {
        padding-right: 0;
        text-align: center;
        align-items: center; /* Center items on mobile */
    }
    
    .logo-text {
        font-size: 1.1rem; /* Reduced from 2.2rem */
    }
    
    .service-info h1 {
        font-size: 0.9rem; /* Reduced from 1.8rem */
        text-align: center; /* Center text on mobile */
    }
    
    .contact-form {
        padding: 15px 20px; /* Reduced padding */
        max-width: 100%; /* Full width on mobile */
    }
    
    .contact-form h2 {
        font-size: 1.23rem; /* Reduced from 1.5rem */
    }
    
    .benefits-section {
        grid-template-columns: 1fr;
        gap: 18px; /* Reduced gap */
        max-width: 500px; /* Match top section */
    }
    
    .feature-item {
        justify-content: center; /* Center items on mobile */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px 15px; /* Reduced horizontal padding */
    }
    
    .contact-form {
        padding: 12px 18px; /* Reduced padding */
    }
    
    .logo-text {
        font-size: 1.3rem; /* Reduced from 2rem */
    }
    
    .service-info h1 {
        font-size: 0.6rem; /* Reduced from 1.6rem */
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 6px 6px 6px 25px; /* Reduced padding */
        font-size: 0.475rem; /* Reduced from 0.95rem */
    }
    
    .form-group i {
        font-size: 0.5rem; /* Reduced from 1rem */
        left: 8px; /* Reduced left position */
    }
    
    .send-btn {
        padding: 8px; /* Reduced padding */
        font-size: 0.5rem; /* Reduced from 1rem */
    }
    
    .benefit-card {
        padding: 15px 12px; /* Reduced padding */
    }
    
    .icon-container {
        width: 35px; /* Reduced from 40px */
        height: 35px; /* Reduced from 40px */
        font-size: 0.9rem; /* Reduced from 1rem */
    }
    
    .top-section {
        max-width: 100%; /* Full width on very small screens */
    }
    
    .benefits-section {
        max-width: 100%; /* Full width on very small screens */
    }
    
    .country-code-dropdown,
    .country-dropdown {
        max-height: 150px;
    }
    
    .country-code-item,
    .country-item {
        padding: 6px 10px;
    }
    
    .dropdown-search {
        padding: 6px 10px;
    }
    
    .dropdown-search input {
        padding: 5px 6px;
        font-size: 0.4rem;
    }
}

/* Animation for form elements */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    animation: focusGlow 0.3s ease;
}

@keyframes focusGlow {
    0% { box-shadow: 0 0 0 0 rgba(32, 178, 170, 0.1); }
    100% { box-shadow: 0 0 0 2px rgba(32, 178, 170, 0.1); }
}

/* Hover effects for feature items */
.feature-item:hover {
    background: rgba(32, 178, 170, 0.05);
    border-radius: 4px; /* Reduced border radius */
    padding-left: 6px; /* Reduced padding */
    transition: all 0.3s ease;
}

/* Smooth transitions */
* {
    transition: all 0.3s ease;
}

/* Center alignment for the entire page */
body > * {
    text-align: center;
}

/* Ensure proper spacing and alignment */
.container > * {
    margin-left: auto;
    margin-right: auto;
}

/* Navigation Styles */
.main-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #20B2AA;
    background: rgba(32, 178, 170, 0.1);
}

.nav-link.active {
    color: #20B2AA;
    background: rgba(32, 178, 170, 0.1);
    font-weight: 600;
}

/* Services Section Styles */
.services-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    width: 100%;
    max-width: 1100px; /* Added max-width to align with other sections */
    margin-left: auto;
    margin-right: auto;
}

.services-header {
    text-align: center;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #20B2AA;
    margin-bottom: 12px;
}

.services-header p {
    font-size: 0.65rem;
    color: #666;
    line-height: 1.5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    width: 100%;
    max-width: 1000px; /* Increased width to use more space */
    margin: 0 auto 40px;
}

.service-card {
    background: #fff;
    padding: 18px 15px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    color: white;
}

.service-icon.green {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.service-icon.blue {
    background: linear-gradient(135deg, #007bff, #6610f2);
}

.service-icon.red {
    background: linear-gradient(135deg, #dc3545, #e83e8c);
}

.service-icon.orange {
    background: linear-gradient(135deg, #fd7e14, #ffc107);
}

.service-icon.purple {
    background: linear-gradient(135deg, #6f42c1, #e83e8c);
}

.service-icon.teal {
    background: linear-gradient(135deg, #20B2AA, #008B8B);
}

.service-content h3 {
    font-size: 0.7rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.service-content p {
    font-size: 0.55rem;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

.services-cta {
    text-align: center;
    margin-top: 20px;
}

.cta-button {
    background: linear-gradient(135deg, #20B2AA 0%, #008B8B 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(32, 178, 170, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(32, 178, 170, 0.4);
}

.cta-button i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

    .cta-button:hover i {
        transform: translateX(3px);
    }

    /* Regular Courses Section Styles */
    .courses-section {
        margin-top: 50px;
        padding-top: 40px;
        border-top: 1px solid #e0e0e0;
        width: 100%;
        max-width: 1100px; /* Added max-width to align with other sections */
        margin-left: auto;
        margin-right: auto;
    }

    .courses-header {
        text-align: center;
        margin-bottom: 40px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .courses-header h2 {
        font-size: 1.2rem;
        font-weight: 700;
        color: #20B2AA;
        margin-bottom: 12px;
    }

    .courses-header p {
        font-size: 0.65rem;
        color: #666;
        line-height: 1.5;
    }

    .courses-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
        gap: 16px; /* Reduced gap for tighter layout */
        width: 100%;
        max-width: 1100px; /* Adjusted width for better 4-column layout */
        margin: 0 auto;
    }

    .course-card {
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
        transition: all 0.3s ease;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        min-height: 174px;
    }

    .course-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    }

    .course-visual {
        position: relative;
        height: 163px;
        background: #f8f9fa;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        border-radius: 16px 16px 0 0;
    }

    .course-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .course-card:hover .course-image {
        transform: scale(1.05);
    }

    .course-content {
        padding: 20px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        background: #fff;
    }

    .course-content h3 {
        font-size: 0.85rem;
        font-weight: 700;
        color: #333;
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .course-content p {
        font-size: 0.65rem;
        color: #666;
        line-height: 1.5;
        margin-bottom: 20px;
        flex-grow: 1;
    }

    .course-actions {
        display: flex;
        gap: 10px;
        margin-top: auto;
    }

    .details-btn {
        background: #fff;
        color: #333;
        border: 2px solid #e0e0e0;
        padding: 8px 16px;
        border-radius: 8px;
        font-size: 0.6rem;
        font-weight: 600;
        font-family: 'Poppins', sans-serif;
        cursor: pointer;
        transition: all 0.3s ease;
        flex: 1;
    }

    .details-btn:hover {
        border-color: #20B2AA;
        color: #20B2AA;
    }

    .register-btn {
        background: linear-gradient(135deg, #20B2AA 0%, #008B8B 100%);
        color: white;
        border: none;
        padding: 8px 16px;
        border-radius: 8px;
        font-size: 0.6rem;
        font-weight: 600;
        font-family: 'Poppins', sans-serif;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(32, 178, 170, 0.3);
        flex: 1;
    }

    .register-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(32, 178, 170, 0.4);
    }

    /* Online Short Courses Section Styles */
    .short-courses-section {
        margin-top: 60px;
        padding-top: 50px;
        border-top: 1px solid #e0e0e0;
        width: 100%;
    }

    .short-courses-header {
        text-align: center;
        margin-bottom: 40px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .short-courses-header h2 {
        font-size: 1.2rem;
        font-weight: 700;
        color: #20B2AA;
        margin-bottom: 12px;
    }

    .short-courses-header p {
        font-size: 0.65rem;
        color: #666;
        line-height: 1.5;
    }

    .short-courses-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
        gap: 16px; /* Reduced gap for tighter layout */
        width: 100%;
        max-width: 1100px; /* Adjusted width for better 4-column layout */
        margin: 0 auto;
    }

    /* Why Choose Us Section Styles */
    .why-choose-section {
        margin-top: 60px;
        padding-top: 50px;
        border-top: 1px solid #e0e0e0;
        width: 100%;
    }

    .why-choose-header {
        text-align: center;
        margin-bottom: 50px;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .why-choose-header h2 {
        font-size: 1.4rem;
        font-weight: 700;
        color: #333;
        margin-bottom: 15px;
    }

    .underline {
        width: 60px;
        height: 3px;
        background: #333;
        margin: 0 auto 20px;
        border-radius: 2px;
    }

    .why-choose-header p {
        font-size: 0.7rem;
        color: #666;
        line-height: 1.6;
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
    }

    .feature-card {
        background: #fff;
        padding: 25px 20px;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        text-align: center;
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 15px;
        font-size: 1.5rem;
        color: white;
    }

    .feature-icon.teal {
        background: #20B2AA;
    }

    .feature-icon.blue {
        background: #3498db;
    }

    .feature-icon.orange {
        background: #f39c12;
    }

    .feature-icon.red {
        background: #e74c3c;
    }

    .feature-card h3 {
        font-size: 0.8rem;
        font-weight: 700;
        color: #333;
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .feature-line {
        width: 40px;
        height: 2px;
        margin-bottom: 10px;
        border-radius: 1px;
    }

    .feature-line.teal {
        background: #20B2AA;
    }

    .feature-line.blue {
        background: #3498db;
    }

    .feature-line.orange {
        background: #f39c12;
    }

    .feature-line.red {
        background: #e74c3c;
    }

    .feature-card p {
        font-size: 0.6rem;
        color: #666;
        line-height: 1.4;
        margin: 0;
    }

   
    /* Responsive Design for Services */
    @media (max-width: 768px) {
        .services-grid {
            grid-template-columns: 1fr;
            gap: 18px;
            max-width: 500px;
        }
        
        .service-card {
            padding: 15px 12px;
        }
        
        .services-header h2 {
            font-size: 1rem;
        }
        
        .services-header p {
            font-size: 0.6rem;
        }

        /* Courses responsive for tablet */
        .courses-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            max-width: 800px;
        }

        .courses-header h2 {
            font-size: 1rem;
        }

        .courses-header p {
            font-size: 0.6rem;
        }

        .course-visual {
            height: 120px;
        }

        .course-content {
            padding: 15px;
        }

        .course-content h3 {
            font-size: 0.75rem;
        }

        .course-content p {
            font-size: 0.55rem;
        }

        .details-btn, .register-btn {
            padding: 7px 12px;
            font-size: 0.55rem;
        }

        /* Short courses responsive for tablet */
        .short-courses-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            max-width: 800px;
        }

        .short-courses-header h2 {
            font-size: 1rem;
        }

        .short-courses-header p {
            font-size: 0.6rem;
        }

        /* Why Choose Us responsive for tablet */
        .features-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            max-width: 800px;
        }

        .why-choose-header h2 {
            font-size: 1.2rem;
        }

        .why-choose-header p {
            font-size: 0.65rem;
        }

        .feature-card {
            padding: 20px 15px;
        }

        .feature-icon {
            width: 50px;
            height: 50px;
            font-size: 1.3rem;
        }

        /* Testimonials responsive for tablet */
        .testimonial-slide {
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }

        .testimonials-header h2 {
            font-size: 1.2rem;
        }

        .testimonials-header p {
            font-size: 0.65rem;
        }

        .testimonial-card {
            padding: 20px 15px;
        }

        .testimonial-content p {
            font-size: 0.6rem;
        }

        .author-avatar {
            width: 35px;
            height: 35px;
            font-size: 0.9rem;
        }

        .author-info h4 {
            font-size: 0.65rem;
        }

        .author-info span {
            font-size: 0.5rem;
        }


    }

    @media (max-width: 480px) {
        .services-header h2 {
            font-size: 0.9rem;
        }
        
        .service-card {
            padding: 12px 10px;
        }
        
        .service-icon {
            width: 35px;
            height: 35px;
            font-size: 0.9rem;
        }
        
        .service-content h3 {
            font-size: 0.65rem;
        }
        
        .service-content p {
            font-size: 0.4rem;
        }
        
        .cta-button {
            padding: 10px 20px;
            font-size: 0.65rem;
        }

        /* Courses responsive for mobile */
        .courses-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            max-width: 100%;
        }

        .courses-header h2 {
            font-size: 0.9rem;
        }

        .courses-header p {
            font-size: 0.55rem;
        }

        .course-visual {
            height: 90px;
        }

        .course-content {
            padding: 6px;
        }

        .course-content h3 {
            font-size: 0.65rem;
            margin-bottom: 1px;
        }

        .course-content p {
            font-size: 0.5rem;
            margin-bottom: 2px;
        }

        .course-actions {
            gap: 6px;
            margin-top: 0;
            padding-top: 0;
        }

        .details-btn, .register-btn {
            padding: 3px 8px;
            font-size: 0.5rem;
        }

        /* Additional mobile spacing fixes */
        .course-content p {
            margin-bottom: 2px !important;
        }

        .course-actions {
            margin-top: 0 !important;
            padding-top: 0 !important;
        }

        /* Short courses responsive for mobile */
        .short-courses-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            max-width: 100%;
        }

        .short-courses-header h2 {
            font-size: 0.9rem;
        }

        .short-courses-header p {
            font-size: 0.55rem;
        }

        /* Why Choose Us responsive for mobile */
        .features-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            max-width: 100%;
        }

        .why-choose-header h2 {
            font-size: 1rem;
        }

        .why-choose-header p {
            font-size: 0.6rem;
        }

        .feature-card {
            padding: 15px 12px;
        }

        .feature-icon {
            width: 45px;
            height: 45px;
            font-size: 1.2rem;
            margin-bottom: 12px;
        }

        .feature-card h3 {
            font-size: 0.7rem;
            margin-bottom: 8px;
        }

        .feature-line {
            width: 35px;
            margin-bottom: 8px;
        }

        .feature-card p {
            font-size: 0.55rem;
        }

        /* Testimonials responsive for mobile */
        .testimonial-slide {
            grid-template-columns: 1fr;
            gap: 20px;
        }

        .testimonials-header h2 {
            font-size: 1rem;
        }

        .testimonials-header p {
            font-size: 0.6rem;
        }

        .testimonial-card {
            padding: 20px 15px;
        }

        .testimonial-content p {
            font-size: 0.6rem;
        }

        .author-avatar {
            width: 35px;
            height: 35px;
            font-size: 0.9rem;
        }

        .author-info h4 {
            font-size: 0.65rem;
        }

        .author-info span {
            font-size: 0.5rem;
        }
    }


/* Final Desktop Layout Refinements */
@media (min-width: 769px) {
    /* Ensure proper alignment with header */
    .site-header {
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    }
    
    /* Improve content flow and spacing */
    .container > * {
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Better grid alignment for top section */
    .top-section {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: start;
        justify-content: center;
    }
    
    /* Ensure form stays properly positioned */
    .contact-form {
        justify-self: start;
        align-self: start;
    }
    
    /* Ensure service info stays properly positioned */
    .service-info {
        justify-self: start;
        align-self: start;
    }
    
    /* Consistent section spacing */
    .services-section,
    .courses-section,
    .short-courses-section,
    .why-choose-section,
    .testimonials-section {
        margin-top: 40px;
        margin-bottom: 40px;
    }
    
    /* Better grid layouts for all sections */
    .services-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* Keep 3 cards per row for services */
        gap: 25px;
        justify-items: center;
    }
    
    .courses-grid,
    .short-courses-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr); /* 4 cards per row on desktop */
        gap: 16px; /* Reduced spacing between cards */
        justify-items: stretch; /* Make cards fill their grid cells */
    }
    
    .features-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr); /* 4 cards per row for features */
        gap: 25px;
        justify-items: center;
    }
    
    /* Ensure course cards display properly in 3-column layout */
    .course-card {
        width: 100%;
        max-width: none; /* Allow full grid cell width for 4-column layout */
    }
    
    .service-card {
        width: 100%;
        max-width: 350px; /* Optimal width for 3-column layout */
    }
    
    .feature-card {
        width: 100%;
        max-width: 280px; /* Optimal width for 4-column layout */
    }
    
    /* Ensure testimonials display properly */
    .testimonial-slide {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* Keep 3 testimonials per row */
        gap: 25px;
    }
    
    /* Force desktop layout for all grids */
    .courses-grid,
    .short-courses-grid {
        grid-template-columns: repeat(4, 1fr) !important; /* Force 4 columns on desktop */
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr) !important; /* Force 3 columns on desktop */
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr) !important; /* Force 4 columns on desktop */
    }
}

/* Testimonials Section */
.testimonials-section {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 1px solid #e0e0e0;
    width: 100%;
    max-width: 1100px;
}

.testimonials-container {
    width: 100%;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.testimonials-header p {
    font-size: 0.65rem;
    color: #666;
    line-height: 1.5;
}

/* underline already used in site; keep consistent */
.testimonials-header .underline {
    width: 60px;
    height: 3px;
    background: #20B2AA;
    margin: 0 auto 20px;
    border-radius: 2px;
}

.testimonials-carousel {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden; /* prevent horizontal overflow */
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}
/* Hide scrollbar for Chrome, Safari and Opera */
.carousel-viewport::-webkit-scrollbar {
    display: none;
    height: 0;
    background: transparent;
}

/* Mobile scroll-snap for testimonials */
@media (max-width: 768px) {
  .carousel-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .testimonials-track {
    gap: 0;
  }
  .testimonial-item {
    scroll-snap-align: center;
  }
  .carousel-nav { display: none; }
}

.testimonials-track {
    display: flex;
    will-change: transform;
    transition: transform 0.45s ease;
}

/* Card item and card */
.testimonial-item {
    flex: 0 0 33.333%;
    padding: 0; /* avoid affecting offset calculations */
    box-sizing: border-box;
}

.testimonial-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* scroll-into-view animation base state */
    opacity: 0;
    transform: translateY(16px) scale(0.98);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* animated state when in view */
.testimonial-card.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 1.2rem;
    color: #fff;
}

.avatar.male {
    background: #d9f5f2; /* teal tint */
    color: #20B2AA;
}

.avatar.female {
    background: #fde6f2; /* pink tint */
    color: #e83e8c;
}

.testimonial-card h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.testimonial-card .location {
    font-size: 0.6rem;
    color: #888;
    margin-bottom: 10px;
}

.testimonial-card .quote {
    font-size: 0.6rem;
    color: #666;
    line-height: 1.5;
    flex-grow: 1;
}

.testimonial-card .stars {
    margin-top: 10px;
    color: #f1c40f;
    font-size: 0.7rem;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    color: #333;
}

.carousel-nav.prev { left: -14px; }
.carousel-nav.next { right: -14px; }

/* Mobile adjustments */
@media (max-width: 768px) {
    .testimonials-section {
        max-width: 500px !important;
        margin-left: auto;
        margin-right: auto;
    }

    .testimonials-header h2 { font-size: 1rem; }
    .testimonials-header p { font-size: 0.6rem; }

    .testimonial-item {
        flex: 0 0 100%;
        padding: 0;
    }

    .testimonial-card {
        width: 85%; /* smaller than viewport to show edges and center properly */
        margin: 0 auto;
        padding: 15px;
    }

    .avatar { width: 50px; height: 50px; font-size: 1rem; }

    .carousel-nav.prev { left: 6px; }
    .carousel-nav.next { right: 6px; }
}
/* General Styles */
body {
    margin: 0; /* keep original font/background from earlier body rule */
}

/* Main Content Area For Demo */
.main-content {
    height: 24rem; /* h-96 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-content h1 {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 700; /* font-bold */
    color: #4b5563; /* text-gray-700 */
}

/* Footer Section */
.site-footer {
    background-color: #ffffff; /* bg-white */
    border-top: 4px solid #14b8a6; /* border-t-4 border-teal-500 */
}

.footer-container {
    max-width: 1280px; /* max-w-screen-xl */
    margin: 0 auto;
    padding: 3rem 1rem; /* py-12 px-4 */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr)); /* grid-cols-1 */
    gap: 2rem; /* gap-8 */
    color: #4b5563; /* text-gray-600 */
}

/* Column 1: Brand Info */
.brand-info .logo {
    height: 5rem; /* h-20 */
    margin-bottom: 1rem; /* mb-4 */
}

/* Footer logo responsive adjustments */
.site-footer .brand-info .logo {
    height: 8rem !important; /* slightly larger on desktop */
    margin-left: -40px; /* nudge slightly left */
}
@media (min-width: 769px) and (max-width: 1024px) {
  .site-footer .brand-info .logo {
    height: 5.75rem !important; /* iPad/tablet */
    margin-left: -6px;
  }
}
@media (max-width: 768px) {
  .site-footer .brand-info .logo {
    height: 8.25rem !important; /* mobile */
    margin-left: -260px;
  }
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem; /* space-y-3 */
}
.contact-item {
    display: flex;
    align-items: center;
    margin: 0;
}
.contact-item .icon {
    width: 1.25rem; /* w-5 */
    height: 1.25rem; /* h-5 */
    margin-right: 0.75rem; /* mr-3 */
    color: #14b8a6; /* text-teal-500 */
}

.social-links {
    display: flex;
    gap: 0.75rem; /* space-x-3 */
    margin-top: 1.5rem; /* mt-6 */
}
.social-icon {
    width: 2.25rem; /* w-9 */
    height: 2.25rem; /* h-9 */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f3f4f6; /* bg-gray-100 */
    border-radius: 9999px; /* rounded-full */
    color: #1ba186; /* text-gray-500 */
    transition: all 0.3s;
}
.social-icon svg {
    width: 1.25rem; /* w-5 */
    height: 1.25rem; /* h-5 */
}
.social-icon:hover {
    background-color: #14b8a6; /* hover:bg-teal-500 */
    color: #ffffff; /* hover:text-white */
}

/* Columns 2, 3, 4: Link Lists */
.footer-links h3 {
    font-size: 1.125rem; /* text-lg */
    font-weight: 600; /* font-semibold */
    color: #0d9488; /* text-teal-600 */
    margin-bottom: 1rem; /* mb-4 */
    margin-top: 0;
    padding-left: 0; /* remove left padding */
    margin-left: -5.5rem; /* nudge heading slightly left */
}
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* space-y-2 */
}
.footer-links li {
    display: flex;
    align-items: baseline;
}
.footer-links li::before {
    content: '•';
    color: #14b8a6; /* text-teal-500 */
    margin-right: 0.5rem; /* mr-2 */
    font-size: 1.125rem; /* text-lg */
}
.footer-links a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: #0d9488; /* hover:text-teal-600 */
}

/* Column 5: Contact Form */
.contact-form-wrapper h3 {
    font-size: 1.125rem; /* text-lg */
    font-weight: 600; /* font-semibold */
    color: #0d9488; /* text-teal-600 */
    margin-bottom: 1rem; /* mb-4 */
    margin-top: 0;
}
#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* space-y-4 */
}
.input-group {
    position: relative;
}
.input-group .input-icon {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    padding-left: 0.75rem; /* pl-3 */
}
.input-group .input-icon svg {
    width: 1.25rem; /* w-5 */
    height: 1.25rem; /* h-5 */
    color: #9ca3af; /* text-gray-400 */
}
.input-group .globe-icon {
    pointer-events: none;
}
.input-group .textarea-icon {
    top: 0.75rem; /* top-3 */
    align-items: flex-start;
}
#contact-form input, #contact-form select, #contact-form textarea {
    width: 100%;
    padding: 0.5rem 1rem 0.5rem 2.5rem; /* py-2 pr-4 pl-10 */
    border: 1px solid #d1d5db; /* border border-gray-300 */
    border-radius: 0.375rem; /* rounded-md */
    box-sizing: border-box;
}
#contact-form input:focus, #contact-form select:focus, #contact-form textarea:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    border-color: #14b8a6; /* focus:border-teal-500 */
    box-shadow: 0 0 0 2px #14b8a6; /* focus:ring-teal-500 */
}
.phone-group {
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
}
.phone-group:focus-within {
     border-color: #14b8a6;
    box-shadow: 0 0 0 2px #14b8a6;
}
.phone-group .country-code {
    padding-left: 0.75rem; /* pl-3 */
    padding-right: 0.5rem; /* pr-2 */
    border-right: 1px solid #d1d5db;
    color: #6b7280;
}
.phone-group input {
    width: 100%;
    padding: 0.5rem;
    border: none;
}
.phone-group input:focus {
    outline: none;
    box-shadow: none;
}
.custom-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%236B7280%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.65em auto;
}
#contact-form button {
    width: 100%;
    background-color: #000000; /* full black */
    color: #ffffff; /* text-white */
    font-weight: 700; /* font-bold */
    font-size: 0.9rem; /* make text larger */
    padding: 1rem 1.25rem; /* bigger hit area */
    border: none;
    border-radius: 0.5rem; /* slightly larger radius */
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
#contact-form button:hover {
    background-color: #000000; /* keep black on hover */
    transform: translateY(-1px);
}

/* Make main form (top section) country code input match footer layout */
.contact-form .phone-group {
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db; /* match footer group border */
    border-radius: 0.375rem;    /* same radius */
    gap: 0;                     /* no outer gap inside the group */
}
.contact-form .phone-group .country-code {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;                /* uniform space between flag and code */
    padding-left: 0.75rem;      /* pl-3 */
    padding-right: 0.5rem;      /* pr-2 */
    border-right: 1px solid #d1d5db; /* divider like footer */
    color: #6b7280;             /* text-gray-500 */
    height: 32px;               /* match input height */
    background: #fff;
}
.contact-form .phone-group .country-code i {
    margin-left: 1.25rem;       /* place chevron directly to the right of +1 */
    color: #6b7280;             /* match footer color */
    font-size: 0.65rem;         /* make icon visible and consistent */
    line-height: 1;             /* ensure proper vertical centering */
    display: inline-block;      /* ensure it renders */
}
.contact-form .phone-group input[type="tel"] {
    width: 100%;
    padding: 0.5rem;
    border: none;
    height: 32px;               /* align heights */
}
.contact-form .phone-group input[type="tel"]:focus {
    outline: none;
    box-shadow: none;
}

/* Trial form input sizing and visibility improvements */
.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
  border: 2px solid #e9e9e9; /* thicker border */
  height: 44px; /* slightly bigger fields */
  padding: 10px 12px 10px 34px; /* accommodate left icon */
  font-size: 0.65rem; /* increase input text size */
  color: #111827; /* darker input text */
}

.contact-form .form-group textarea {
  min-height: 96px; /* larger message box */
  height: auto; /* allow growth */
}

/* Align textarea icon with placeholder text */
.contact-form .form-group:has(textarea) > i {
  top: 16px;            /* align to first text line inside textarea */
  transform: none;      /* remove vertical centering */
}

/* Phone group styling (country + phone) */
.contact-form .phone-group {
  border-width: 2px; /* thicker group border */
}

.contact-form .phone-group .country-code {
  height: 44px; /* match input height */
  border-right: 2px solid #d1d5db; /* thicker divider */
}

.contact-form .phone-group .country-code span {
  font-size: 0.65rem; /* larger code text */
  color: #111827; /* darker code text */
}

.contact-form .phone-group input[type="tel"] {
  height: 44px; /* match other inputs */
  padding: 12px 14px; /* comfortable typing space */
  font-size: 0.65rem;
  color: #111827;
}

/* Success Notification */
#notification {
    position: fixed;
    bottom: 1.25rem; /* bottom-5 */
    right: 1.25rem; /* right-5 */
    background-color: #14b8a6; /* bg-teal-500 */
    color: #ffffff; /* text-white */
    padding: 0.75rem 1.5rem; /* py-3 px-6 */
    border-radius: 0.5rem; /* rounded-lg */
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); /* shadow-lg */
    transform: translateX(200%); /* ensure fully hidden off-screen initially */
    transition: transform 0.5s ease-in-out;
}

/* Responsive Styles */
@media (min-width: 640px) {
    .footer-container {
        padding-left: 1.5rem; /* sm:px-6 */
        padding-right: 1.5rem;
    }
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)); /* md:grid-cols-3 */
    }
    .brand-info, .contact-form-wrapper {
        grid-column: span 3 / span 3; /* md:col-span-3 */
    }
}

@media (min-width: 1024px) {
    .footer-container {
        padding-left: 2rem; /* lg:px-8 */
        padding-right: 2rem;
    }
    .footer-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr)); /* lg:grid-cols-5 */
    }
    .brand-info, .contact-form-wrapper {
        grid-column: span 1 / span 1; /* lg:col-span-1 */
    }
}

/* Mobile footer alignment for headings and lists */
@media (max-width: 768px) {
  /* Attach the three footer headings to the left edge on mobile */
  .footer-links h3 {
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-align: left;
  }
  /* Add a bit of left margin and tighten vertical rhythm for lists */
  .footer-links ul {
    margin-left: 0.75rem;
    gap: 0.35rem; /* tighter spacing between items */
  }
  /* Improve tap targets and readability for footer link text on mobile */
  .site-footer .footer-links li {
    padding: 4px 0; /* vertical breathing room */
    align-items: center;
  }
  .site-footer .footer-links li::before {
    font-size: 0.9rem; /* slightly smaller bullet on mobile */
    margin-right: 0.4rem;
    line-height: 1;
  }
  .site-footer .footer-links a {
    display: inline-block; /* create a touch-friendly area */
    padding: 4px 2px; /* expand hit area without layout shift */
    font-size: 0.8rem !important; /* bump size for legibility */
    line-height: 1.35;
    color: #374151; /* slightly darker for contrast */
  }
  .site-footer .footer-links a:focus,
  .site-footer .footer-links a:active {
    color: #0d9488;
    outline: none;
    text-decoration: underline;
    text-underline-offset: 2px;
  }
}

/* Extra-small phones: fine tune footer link sizing */
@media (max-width: 480px) {
  .site-footer .footer-links a {
    font-size: 0.75rem !important;
  }
}

/* Desktop/tablet fine-tune: nudge only About Us a bit further left */
@media (min-width: 769px) {
  .footer-grid > .footer-links:first-of-type h3 {
    transform: translateX(-0.25rem);
  }
}

/* Desktop: adjustable right indent for About Us list items */
@media (min-width: 1025px) {
  .footer-grid > .footer-links:first-of-type ul {
    /* Adjust these CSS variables to move list right/left as needed */
    margin-left: var(--about-us-list-margin-left, 0.75rem);
    padding-left: var(--about-us-list-padding-left, 0);
  }
}

/* iPad/tablet course grid refinement: 3 columns between 769px and 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Regular and Short Courses: use 3 columns on iPad for better readability */
  .courses-section .courses-grid,
  .short-courses-section .short-courses-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 18px !important;
    justify-items: stretch;
  }

  /* Ensure cards occupy full grid cell width without changing aspect ratios */
  .courses-section .course-card,
  .short-courses-section .course-card {
    width: 100%;
    max-width: none;
  }
}

/* Mobile typography adjustments for course page headings */
@media (max-width: 768px) {
  .tj-title h1 {
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
  }
}

@media (max-width: 480px) {
  .tj-title h1 {
    font-size: 1.05rem !important;
    line-height: 1.25 !important;
  }
}
/* Desktop hero description line control */
@media (min-width: 1025px) {
  /* Give more width to the text column than the form column */
  .top-section {
    grid-template-columns: 1.35fr 0.95fr;
  }
  /* Make the description wide enough to form two lines before the last word */
  .service-info .welcome-desc {
    max-width: 860px !important;
    width: 100% !important;
    margin: 8px auto 12px !important;
    line-height: 1.5 !important;
    text-align: center !important;
  }
  /* Keep the last phrase inline on desktop to prevent forced line break */
  .service-info .welcome-desc-last {
    display: inline;
    white-space: nowrap;
    margin-top: 0;
  }
}

@media (min-width: 1025px) {
  /* Slight desktop-only font size bump for welcome text */
  .service-info .welcome-title { font-size: 1.5rem !important; }
  .service-info .welcome-subtitle { font-size: 1.05rem !important; }
  .service-info .welcome-desc { font-size: 1rem !important; }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: radial-gradient(120% 120% at 30% 20%, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 58%),
                linear-gradient(135deg, #5eea99 0%, #19b563 100%); /* gradient WhatsApp green */
    border: 1px solid rgba(255,255,255,0.16);
    color: white;
    width: 56px; /* smaller minimal FAB */
    height: 56px; /* smaller minimal FAB */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.9rem; /* icon size tuned for 56px */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 2147483647;
    transition: all 0.3s ease;
    text-decoration: none;
    overflow: visible; /* Allow icon glow to show */
}

/* decorative soft bubble */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #c9f7df; /* soft mint */
    right: -8px;
    bottom: -6px;
    z-index: -1;
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0.06);
}
/* hover */
.whatsapp-float:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Soft glow ring (replaces tooltip) */
.whatsapp-float::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 56px; /* match button size */
    height: 56px; /* match button size */
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.35);
    animation: whatsapp-soft-glow 3.2s ease-out infinite;
    z-index: -2; /* behind button and bubble */
}

@keyframes whatsapp-soft-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.35);
  }
  60% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0.10);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-float .contact-text {
    display: none !important; /* Always hidden for minimal FAB */
    font-size: 1rem;
    font-weight: 500;
    margin-left: 10px; /* Space between icon and text */
    white-space: nowrap; /* Prevent text wrapping */
}

.whatsapp-float:hover .contact-text {
    display: none !important; /* Keep hidden in minimal FAB design */
}

.whatsapp-float i, .whatsapp-float .contact-text {
    position: relative;
    z-index: 2;
}

.whatsapp-float i {
  animation: none; /* static icon for this design */
  transition: box-shadow 0.2s;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.06); /* slight lift for white icon */
}
@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.35);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(37, 211, 102, 0.12);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (min-width: 601px) {
  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-text .stats {
    align-self: flex-start;
    margin-left: 2.5rem;
    margin-top: 1.2rem;
    margin-bottom: 0;
    justify-content: flex-start;
  }
  .hero-text a.btn {
    align-self: flex-start;
  }
}

/* Overrides: remove underline and background hover; slow hover transitions */
.underline { display: none !important; }

/* Remove background hover effects */
.nav-btn:hover { background: transparent !important; }
.dropdown-menu a:hover { background: transparent !important; }
.social-icon:hover { background: inherit !important; color: inherit !important; box-shadow: none !important; transform: none !important; }
.feature-item:hover { background: transparent !important; }

/* Slow down hover effects site-wide */
*, *::before, *::after { transition: all 0.6s ease !important; }

/* Disable animation for Contact Us button */
.cta-button, .cta-button i { transition: none !important; }
.cta-button:hover { transform: none !important; box-shadow: 0 4px 15px rgba(32, 178, 170, 0.3) !important; }
.cta-button:hover i { transform: none !important; }

/* Make Contact Us button in features section slightly smaller */
.features .cta-button { padding: 8px 16px !important; font-size: 0.65rem !important; }

/* Mobile-only header refinements (no desktop impact) */
@media (max-width: 768px) {
  .site-header {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(13, 148, 136, 0.15);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    padding-top: env(safe-area-inset-top);
  }
  .header-container {
    height: 60px; /* shorter mobile header */
    padding: 0 12px; /* tighter left/right padding */
    gap: 8px;
  }
  .logo-icon { font-size: 1.6rem; }
  .logo-text { font-size: 1.1rem; }
  .header-logo { display: flex; align-items: center; }
  .hamburger-menu { margin-left: auto; padding: 10px; }
  .hamburger-menu span { height: 2px; width: 22px; }

  /* Prevent content being obscured by fixed header */
  body { padding-top: 60px; }

  /* Match overlay top padding to new header height and safe areas */
  .nav-container { padding-top: calc(60px + 16px + env(safe-area-inset-top)); }

  /* Hide social icons in the top bar; show inside overlay only */
  .site-header .header-social { display: none; }
  .nav-container .header-social { display: flex; }
}


