:root {
    --primary: #004A99;      /* Dark Blue from logo */
    --secondary: #0066CC;    /* Lighter blue complement */
    --accent: #FF9800;       /* Orange from logo lightbulb */
    --light: #f8f9fa;
    --dark: #212529;
    --success: #38b000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
}

header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1rem 0; /* Reduced header padding significantly */
    text-align: center;
}

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

/* Logo styling - Ensure consistency across all pages */
.logo {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-image {
    height: 120px !important; /* Added !important to override any conflicting styles */
    width: auto;
    margin-right: 15px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Dropdown Menu Styles */
.nav-links li {
    position: relative;
}

.nav-links .dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    /* padding (not margin) closes the visual gap so the mouse never leaves
       a hoverable element while moving from the trigger into the panel */
    padding: 1rem 0 0.5rem;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.dropdown-menu li {
    margin: 0;
    position: relative;
}

/* Scoped under .nav-links so these always win the cascade over legacy
   per-page ".nav-links a { color: white }" leftover styles (see about.html,
   founder.html), regardless of source order — without that, individual
   dropdown items rendered white-on-white and were readable only on hover. */
.nav-links .dropdown-menu a {
    color: var(--dark);
    padding: 0.75rem 1.25rem;
    display: block;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-weight: 500;
}

.nav-links .dropdown-menu a:hover {
    background-color: var(--primary);
    color: white;
}

/* Second-level dropdown */
.dropdown-menu .dropdown {
    position: relative;
}

.dropdown-menu .dropdown > a::after {
    content: '►';
    position: absolute;
    right: 1rem;
    font-size: 0.7rem;
}

.dropdown-menu .dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-top: 0;
    margin-left: 0.5rem;
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
}

/* Mobile Dropdown Styles */
.dropdown-menu.mobile-open {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0;
    padding-left: 1rem;
}

.dropdown-menu.mobile-open a {
    color: white;
    padding: 0.5rem 1rem;
}

.dropdown-menu.mobile-open a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* --- AY 26-27 shared nav (new structure injected by /js/nav-loader.js) --- */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo img {
    height: 120px;
    width: auto;
    margin-right: 15px;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
}

.dropdown-section-label {
    padding: 0.6rem 1.25rem 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    pointer-events: none;
}

/* Enhanced Glass-like Hero Section with Gradient */
.hero {
    background: linear-gradient(135deg, rgba(0, 61, 130, 0.25) 0%, rgba(0, 74, 153, 0.3) 33%, rgba(0, 102, 204, 0.35) 66%, rgba(255, 152, 0, 0.25) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.8rem 3rem; /* Further reduced vertical padding */
    border-radius: 20px;
    margin: 1.5rem auto; /* Reduced vertical margin more */
    max-width: 1200px; /* Increased width even more */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    border-radius: 20px 20px 0 0;
}

.hero h1 {
    font-size: 2.5rem; /* Slightly reduced font size */
    font-weight: 700;
    color: white;
    margin-bottom: 0.8rem; /* Further reduced margin */
    line-height: 1.1;
}

.hero p {
    font-size: 1.1rem; /* Slightly reduced font size */
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.2rem; /* Further reduced margin */
    max-width: 750px; /* Increased max width */
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

.hero .btn {
    background: linear-gradient(135deg, var(--accent), #F57C00);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.3);
}

.hero .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 152, 0, 0.4);
}

/* Hero Statistics */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 5rem; /* Increased gap for more horizontal spread */
    margin-top: 1.5rem; /* Further reduced top margin */
    padding-top: 1.2rem; /* Further reduced top padding */
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    display: block;
}

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

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn:hover {
    background-color: #F57C00;
}

section {
    padding: 4rem 0;
}

section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary); /* Fixed the syntax error */
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-content {
    padding: 1.5rem;
}

.card h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.course-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.features {
    background-color: #f0f4ff;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.cta {
    background-color: var(--secondary);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.cta h2 {
    color: white;
}

.cta-btn {
    background-color: white;
    color: var(--secondary);
    margin-top: 1.5rem;
    min-height: 44px;
}

.cta-btn:hover {
    background-color: #f0f0f0;
}

/* FIND THESE LINES IN YOUR STYLES.CSS (around lines 269-290) AND DELETE THEM: */

footer {
    background-color: var(--dark);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 1rem 0;
}

.footer-links li {
    margin: 0 1rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

/* REPLACE THE ABOVE WITH THIS ENHANCED FOOTER CSS: */

/* Enhanced Footer Styles */
footer {
    background-color: var(--dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
    border-color: var(--primary);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-cta-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-top: 1rem;
    min-height: 44px;
}

.footer-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 74, 153, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0.5rem 0;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-section {
        margin-bottom: 2rem;
    }
}

.checkbox-item input[type="checkbox"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer; /* Add this */
}

.radio-item input[type="radio"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer; /* Add this */
}

.service-icon, .user-icon, .form-label {
    pointer-events: none; /* Add this to prevent interference */
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        position: relative;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        z-index: 1000;
    }

    .nav-links.mobile-open {
        display: flex;
    }

    .nav-links li {
        margin: 0;
        width: 100%;
    }

    .nav-links li a {
        padding: 0.75rem 1rem;
        display: block;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        box-shadow: none;
        margin-top: 0;
        background: rgba(255, 255, 255, 0.1);
    }

    .dropdown-menu.mobile-open {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
    }

    .dropdown-toggle::after {
        margin-left: auto;
    }

    .hero {
        padding: 1.5rem 1.5rem; /* Reduced mobile padding */
        margin: 1rem auto;
    }

    .hero h1 {
        font-size: 1.8rem; /* Reduced for mobile */
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .logo-image {
        height: 60px !important; /* Ensure mobile logo size is consistent */
    }

    /* --- AY 26-27 shared nav (mobile) --- */
    .hamburger {
        display: block;
    }

    .nav-logo img {
        height: 60px;
    }

    /* New nav has no per-dropdown JS toggle, so reveal submenu contents
       inline whenever the mobile menu is open. */
    .nav-links.mobile-open .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        max-height: none;
        overflow: visible;
        box-shadow: none;
        transform: none;
        margin-top: 0;
        padding-left: 1rem;
        background: rgba(255, 255, 255, 0.08);
    }

    .nav-links.mobile-open .dropdown-section-label {
        color: rgba(255, 255, 255, 0.7);
    }
}

/* WhatsApp Floating Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    z-index: 9999;
    animation: whatsappSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.5s both;
}

/* Scoped under .whatsapp-widget so the circular button, ripple and hover
   styles apply ONLY to the floating widget — never to the CTA "Message on
   WhatsApp" button (.contact-btn.whatsapp-btn), which would otherwise be
   forced into a 62px circle with an overflowing label and a pulsing ripple
   that collides with surrounding CTA text. */
.whatsapp-widget .whatsapp-btn {
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    text-decoration: none;
}

.whatsapp-widget .whatsapp-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    animation: whatsappPulse 2s ease-out infinite;
}

.whatsapp-widget .whatsapp-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.7);
}

.whatsapp-tooltip {
    background: rgba(20, 20, 20, 0.85);
    color: white;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    margin-right: 12px;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    letter-spacing: 0.3px;
}

@keyframes whatsappPulse {
    0% { transform: scale(1); opacity: 0.7; }
    70% { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(1.6); opacity: 0; }
}

@keyframes whatsappSlideIn {
    from { transform: translateY(80px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
    .whatsapp-tooltip { display: none; }
    .whatsapp-widget .whatsapp-btn { width: 55px; height: 55px; }
    .whatsapp-widget { bottom: 20px; right: 20px; }
}

/* Contact for Pricing Section */
.contact-for-pricing {
  background: linear-gradient(135deg, rgba(58, 134, 255, 0.05), rgba(76, 175, 80, 0.05));
  border-top: 2px solid var(--primary-light);
  padding: 60px 20px;
  margin: 40px 0;
  text-align: center;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-for-pricing h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 15px;
}

.contact-for-pricing p {
  color: #666;
  font-size: 1.05rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin: 30px 0;
}

.contact-btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

/* Scoped under .contact-for-pricing so they don't override the global
   floating WhatsApp widget, which also uses the .whatsapp-btn class. */
.contact-for-pricing .whatsapp-btn {
  background-color: #25D366;
  color: white;
}

.contact-for-pricing .whatsapp-btn:hover {
  background-color: #1f973b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.contact-for-pricing .email-btn {
  background-color: var(--primary);
  color: white;
}

.contact-for-pricing .email-btn:hover {
  background-color: #0052a3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(58, 134, 255, 0.3);
}

.contact-for-pricing .form-btn {
  background-color: var(--secondary);
  color: white;
}

.contact-for-pricing .form-btn:hover {
  background-color: #388e3c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.contact-note {
  font-size: 0.9rem;
  color: #777;
  margin-top: 20px;
  font-style: italic;
}

@media (max-width: 768px) {
  .contact-for-pricing {
    padding: 40px 15px;
  }

  .contact-for-pricing h2 {
    font-size: 1.6rem;
  }

  .contact-methods {
    flex-direction: column;
  }

  .contact-btn {
    width: 100%;
  }
}
