/* CSS variables */
:root {
    --primary-orange: #f05a28;
    --primary-blue: #00a0e3;
    --dark-gray: #2d2d2d;
    --light-gray: #f5f5f5;
    --text-dark: #333333;
    --text-light: #ffffff;
    --font-main: 'Montserrat', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--text-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Top Bar */
.top-bar {
    background-color: var(--primary-orange);
    color: var(--text-light);
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-icons a {
    color: var(--text-light);
    margin-right: 15px;
    font-size: 14px;
}

.social-icons a:hover {
    opacity: 0.8;
}

.contact-btn {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

.contact-btn:hover {
    opacity: 0.8;
}

/* Main Header */
.main-header {
    background-color: var(--text-light);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.main-header.scrolled {
    padding: 10px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    transition: var(--transition);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: 1px;
}

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-menu > ul > li {
    position: relative;
    padding: 10px 0;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

.text-xs {
    font-size: 10px;
    margin-left: 5px;
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--text-light);
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 10px 0;
    border-top: 3px solid var(--primary-orange);
    display: flex;
    flex-direction: column;
    gap: 0; /* Override the 30px gap from parent ul */
}

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

.dropdown li {
    padding: 8px 20px;
}

.dropdown a {
    font-weight: 400;
    font-size: 14px;
    display: block;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
}

/* Video Section */
.video-section {
    background-color: var(--light-gray);
    text-align: center;
}

.video-section.full-bleed {
    padding: 0;
    width: 100%;
    overflow: hidden;
}

.inline-video {
    width: 100%;
    height: auto;
    display: block;
}

/* Testimonials Section */
.testimonials-section.dark-theme {
    padding: 80px 0;
    background-color: #fff; /* White background */
    color: #333;
    overflow: hidden;
}

.testimonials-section .section-title {
    color: #333;
    font-size: 2.5rem;
    font-weight: 700;
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.section-subtitle {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.follow-link {
    color: var(--secondary-orange, #f39c12);
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.follow-link:hover {
    color: #fff;
}

.testimonials-carousel-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonials-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px 40px;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.testimonials-carousel::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 auto;
    width: 315px;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
}

.media-container {
    position: relative;
    width: 100%;
    height: 560px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.platform-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    color: #fff;
    font-size: 1.2rem;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

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

.card-content {
    text-align: left;
}

.card-content .caption {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #333;
}

.card-content .author {
    font-size: 0.85rem;
    color: #666;
}

.card-content .author strong {
    color: #333;
}



.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 32, 96, 0.6); /* Dark blue overlay */
    z-index: 1;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--text-light);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Badges Section */
.badges-section {
    padding: 60px 0;
    background-color: var(--text-light);
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    text-align: center;
}

.badge-item img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.badge-item:hover img {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.badge-item p {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    max-width: 180px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    background-color: var(--primary-blue);
    padding: 80px 0;
    text-align: center;
    color: var(--text-light);
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.about-content p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.btn-outline-white {
    background: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

.btn-outline-white:hover {
    background: var(--text-light);
    color: var(--primary-blue);
}

/* Partners Section */
.partners-section {
    padding: 80px 0;
    background-color: var(--light-gray);
    text-align: center;
}

.partners-title {
    font-size: 1.5rem;
    color: var(--primary-orange);
    margin-bottom: 30px;
    font-weight: 600;
}

.mt-4 {
    margin-top: 50px;
}

.schools-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.school-card {
    background: var(--text-light);
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.school-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    color: var(--primary-blue);
}

/* Footer Section */
.site-footer {
    background-color: var(--dark-gray);
    color: var(--text-light);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-orange);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #aaaaaa;
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--primary-orange);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 5px;
    font-size: 16px;
}

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

.footer-bottom p {
    font-size: 12px;
    color: #888;
}

.footer-bottom a {
    color: #aaa;
}

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

/* WhatsApp Widget */
.whatsapp-float-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-options {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.whatsapp-float-container:hover .whatsapp-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-option {
    background-color: #25d366;
    color: white;
    padding: 10px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.whatsapp-option:hover {
    background-color: #1ebe5d;
    color: white;
}

.whatsapp-float {
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: var(--transition);
    cursor: pointer;
    margin-left: auto;
}

.whatsapp-float-container:hover .whatsapp-float {
    transform: scale(1.1);
    background-color: #1ebe5d;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Internal Page Styles */
.page-section {
    padding: 60px 0 100px;
    background-color: var(--text-light);
}

.page-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-content h1 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-gray);
}

.page-content h2 {
    font-size: 1.8rem;
    color: var(--primary-orange);
    margin: 40px 0 20px;
}

.page-content h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
}

.page-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.page-content ul, .page-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.page-content li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.page-content a {
    color: var(--primary-orange);
    font-weight: 500;
}

.page-content a:hover {
    text-decoration: underline;
}

.page-content blockquote {
    border-left: 4px solid var(--primary-orange);
    padding: 20px;
    background-color: var(--light-gray);
    font-style: italic;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .badges-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .main-header .container {
        padding: 0 40px;
    }

    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    .section-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .badge-item:last-child {
        grid-column: 1 / -1;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .badges-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-text {
        display: none;
    }
}

/* Certification Section */
.certification-section {
    padding: 60px 0;
    background-color: var(--text-light); /* White background */
}
.certification-section .text-center {
    text-align: center;
}
.cert-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
}
.certification-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}
.cert-logo {
    max-height: 140px;
    object-fit: contain;
}

/* Zoom in on Instagram video with thick borders */
.instagram-video-zoomed {
    transform: scale(1.7);
}

/* Skills Section Marquee */
.skills-section {
    padding: 80px 0;
    background-color: #f9f9fc;
    overflow: hidden;
}

.skills-marquee-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%); /* Full width bleed */
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

/* Optional fade effects on edges */
.skills-marquee-container::before,
.skills-marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 10vw;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.skills-marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #f9f9fc, transparent);
}
.skills-marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #f9f9fc, transparent);
}

.skills-marquee-track {
    display: flex;
    width: max-content;
    animation: scroll-marquee 40s linear infinite;
}

.marquee-group {
    display: flex;
    gap: 30px;
    padding-right: 30px; /* same as gap to prevent jump */
}

.skills-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.skill-card {
    width: 250px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.skill-card:hover {
    transform: translateY(-5px);
}
.skill-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}
.skill-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.skill-card p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}
