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

:root {
    /* Colors */
    --primary-blue: #196cff;
    --primary-blue-dark: #124db5;
    --primary-blue-darker: #0e3b8c;
    --blue-50: #e8f0ff;
    --blue-700: #124db5;
    --blue-800: #0e3b8c;
    --blue-900: #0b2d6b;
    --st-tropaz-50: #f3f6fc;
    --st-tropaz-500: #3471c3;
    --grey-400: #787878;
    --grey-50: #eeeeee;
    --grey-900: #242424;
    --white: #ffffff;
    --black: #000000;
    
    /* Typography */
    --font-dm-sans: 'DM Sans', sans-serif;
    --font-plus-jakarta: 'Plus Jakarta Sans', sans-serif;
    --font-geist: 'Geist', sans-serif;
    --font-montserrat: 'Montserrat Alternates', sans-serif;
    
    /* Spacing */
    --container-max-width: 1440px;
    --section-padding: 100px 0;
    --mobile-padding: 60px 0;
}

body {
    font-family: var(--font-plus-jakarta);
    line-height: 1.6;
    color: var(--blue-700);
    background-color: var(--white);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-plus-jakarta);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 600;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

img {
    border-radius: 6px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 40px;
    font-family: var(--font-geist);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1.2;
}

.btn-primary {
    background: linear-gradient(135deg, var(--st-tropaz-500), var(--primary-blue-dark));
    color: var(--st-tropaz-50);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--blue-800));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(18, 77, 181, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--st-tropaz-500);
    border: 1px solid var(--st-tropaz-500);
}

.btn-outline:hover {
    background: var(--st-tropaz-500);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

/* Header */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    width: 100%;
}

.logo {
    width: 106px;
    height: 74px;
    object-fit: contain;
    border-radius: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
}

.nav-link {
    color: var(--st-tropaz-500);
    text-decoration: none;
    font-weight: 400;
    transition: all 0.5s ease;
    padding: 0.5rem;
    outline: none;
}

.nav-link:hover {
    color: var(--primary-blue-dark);
    border-bottom: 1px solid #124DB5;
    background-color: #E8F0FF;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--st-tropaz-500);
    margin: 4px 0;
    transition: 0.3s;
}

/* Main Content */
.main-content {
    padding-top: 100px;
    margin: 0;
}

/* Video Hero Section */

.video-hero-wrapper {
    background: url('./assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    margin: 20px 0;
}

.video-hero {
    background-color: rgba(0, 0, 0, 0.3);
    height: 749px;
    display: flex;
    align-items: end;
    justify-content: flex-start;
    padding: 50px 80px;
    position: relative;
  
}

.video-hero-content {
    max-width: 600px;
    color: var(--white);
}

.video-hero h1 {
    font-family: var(--font-dm-sans);
    font-size: clamp(2.5rem, 5vw, 3rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.video-hero p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* Partners Section */

.partners {
    padding: 2rem 0;
    margin-top: 3.5rem;
    overflow: hidden;
}

.logo-slider {
    width: 100%;
    overflow: hidden;
    background: white;
  }
  
  .partners-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 200vw;
    animation: scroll 30s linear infinite;

    &:hover {
        animation-play-state: paused;
    }
  }
  
  .partners-grid img {
    height: 60px;
    margin: 0 40px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;

    &:hover {
        opacity: 1;
    }
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-50%);
    }
  }





.partner-small {
    height: 30px !important;
}

/* Services Section */
.services {
    padding: var(--section-padding);
    background: #f9f9f9;
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-block;
    color: var(--st-tropaz-500);
    font-family: var(--font-geist);
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.section-header h2 {
    max-width: 756px;
    color: var(--blue-800);
    font-size: clamp(2rem, 4vw, 2.25rem);
    line-height: 1.4;
}

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

.service-card {
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--grey-50);
    padding: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: 331px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 2rem;
}

.service-content h3 {
    color: var(--blue-900);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.service-content p {
    color: var(--blue-700);
    font-size: 1rem;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 5rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text h2 {
    font-size: clamp(2rem, 4vw, 2.25rem);
    color: var(--blue-700);
    letter-spacing: 1.8px;
    line-height: 1.3;
}

.about-description p {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    color: var(--blue-700);
    line-height: 1.8;
}

/* Hero CTA Section */
.hero-cta {
    position: relative;
    height: 840px;
    background: var(--blue-50);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-decorative img {
    position: absolute;
    object-fit: cover;
}

.deco-top-left {
    width: 333px;
    height: 302px;
    top: 0;
    left: 0;
}

.deco-top-right {
    width: 333px;
    height: 302px;
    top: 0;
    right: 0;
}

.deco-bottom-right {
    width: 333px;
    height: 319px;
    bottom: 31px;
    right: 40px;
}

.hero-main-content {
    text-align: center;
    z-index: 10;
    max-width: 974px;
    padding: 0 2rem;
}

.hero-main-content h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    color: var(--blue-700);
    letter-spacing: 2.65px;
    line-height: 1.1;
    margin-bottom: 2.5rem;
    margin-top: 1.5rem;
}

.hero-bottom-info {
    position: absolute;
    bottom: 50px;
    left: 83px;
    right: 2rem;
    z-index: 10;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    max-width: 650px;
}

.hero-separator {
    width: 3px;
    height: 140px;
    background: var(--blue-800);
    flex-shrink: 0;
}

.hero-info-text p {
    color: var(--blue-800);
    font-size: 1.06rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.hero-info-text p:last-child {
    margin-bottom: 0;
    line-height: 1.4;
}

/* Signature Courses Section */
.signature-courses {
    padding: var(--section-padding);
}

.courses-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

.courses-content .section-header h2 {
    font-size: clamp(2.5rem, 4vw, 3rem);
    color: var(--blue-800);
    margin-bottom: 1.2rem;
}

.courses-content .section-header p {
    color: var(--blue-700);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 3.5rem;
}

.courses-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.course-item h3 {
    color: var(--blue-800);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.course-item p {
    color: var(--blue-700);
    font-size: 1rem;
    line-height: 1.6;
}

.courses-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-padding);
    background: var(--blue-50);
}

.testimonials .section-header {
    margin-bottom: 5.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.testimonials .section-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.7rem);
    color: var(--primary-blue-dark);
    font-weight: 700;
    margin-bottom: 1.25rem;
    width: 100%;
    text-align: center;
}

.testimonials .section-header h3 {
    color: var(--blue-700);
    font-family: var(--font-montserrat);
    font-size: 1.4rem;
    font-weight: 500;
}

.testimonials-carousel {
    overflow: hidden;
    position: relative;
    max-width: 100%;
    padding-bottom: 10px;
  }
  
  .testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
    gap: 1.5rem;
  }
  
  .testimonial-card {
    flex: 0 0 calc((100% - 3rem) / 3); /* 3 cards, 1.5rem gap = 3rem total */
    max-width: calc((100% - 3rem) / 3);
    background: white;
    padding: 2rem;
    border-radius: 8px;
  }

.quote-icon {
    width: 48px;
    height: 48px;
}

.testimonial-card p {
    color: var(--black);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 0;
}

.testimonial-author {
    color: var(--grey-400);
    font-size: 0.875rem;
    font-weight: 500;
}

.carousel-controls {
    display: flex;
    justify-content: left;
    gap: 1.25rem;
    margin: 0 10px;
    margin-top: 4rem;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border: none;
    background: var(--white);
    border: 1px solid var(--st-tropaz-500);
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: var(--st-tropaz-500);
    color: var(--white);
    transform: scale(1.1);
}

/* Training Methodology Section */
.training-methodology {
    padding: 3.75rem 0 6.25rem;
    background: var(--white);
}

.methodology-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.methodology-image img {
    width: 100%;
    height: auto;
}

.methodology-content h2 {
    font-size: clamp(2.5rem, 4vw, 3rem);
    color: var(--blue-800);
    margin-bottom: 1.2rem;
}

.methodology-intro {
    color: var(--blue-700);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.methodology-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item h3 {
    color: var(--blue-800);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--blue-700);
    font-size: 1rem;
    line-height: 1.6;
}

/* About Principal Section */
.about-principal {
    padding: var(--section-padding);
}

.principal-layout {
    display: grid;
    grid-template-columns: 505px 1fr;
    gap: 4rem;
    align-items: center;
}

.principal-image img {
    width: 100%;
    height: 543px;
    object-fit: cover;
}

.principal-content h2 {
    font-size: clamp(2.5rem, 4vw, 3rem);
    color: var(--blue-800);
    margin-bottom: 2.25rem;
}

.principal-content p {
    color: var(--blue-700);
    font-size: 1.06rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--blue-700);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    color: var(--white);
    font-size: clamp(2.5rem, 4vw, 3rem);
    font-weight: 600;
    letter-spacing: 2.4px;
    margin-bottom: 1.2rem;
}

.contact-info p {
    color: var(--white);
    font-size: 1rem;
    line-height: 1.9;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 24px rgba(0, 30, 211, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-form .btn-primary {
    border-radius: 10px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.form-group label {
    font-family: var(--font-dm-sans);
    font-weight: 500;
    color: #383838;
    font-size: 1.125rem;
}

.form-group input,
.form-group textarea {
    padding: 1.125rem 1.25rem;
    border: 0.5px solid #c3c3c3;
    border-radius: 8px;
    font-family: var(--font-dm-sans);
    font-size: 1rem;
    color: #8b8f8f;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--st-tropaz-500);
}

.form-group textarea {
    min-height: 160px;
    resize: vertical;
}

.contact-form .btn-primary {
    background: #0e3e93;
    font-family: var(--font-dm-sans);
    font-weight: 500;
    font-size: 1.125rem;
    padding: 1rem 1.5rem;
}

/* Footer */
.footer {
    background: #03031f;
    padding: 4rem 0;
    color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.footer-logo {
    width: 150px;
    height: 94.27px;
    object-fit: cover;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8125rem;
    line-height: 1.9;
}

.footer-links h3,
.footer-contact h3 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 1.875rem;
}

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

.footer-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.125rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--st-tropaz-500);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
}

.contact-details a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
    font-size: 1.125rem;
}

.phone-numbers {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(234, 234, 234, 0.2);
}

.footer-bottom p {
    color: var(--white);
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1.5625rem;
}

.social-links a {
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease;
    color: var(--white);
}

.social-links a:hover {
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
    
    .courses-layout,
    .methodology-layout,
    .principal-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-bottom-info {
        left: 40px;
        right: 40px;
    }
    
    .video-hero {
        padding: 20px 40px;
    }

    .deco-bottom-right {
        display: none;
    }
}

@media (max-width: 810px) {
    .hero-decorative {
        display: none;
    }
    
    :root {
        --section-padding: var(--mobile-padding);
    }
    
    .container {
        padding: 0 20px;
    }
    
    .nav-menu {
        position: fixed;
        top: 100px;
        left: 0;
        background: var(--white);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        /* transform: translateY(-100%); */
        /* opacity: 0; */
        height: calc(100vh - 100px);
        transform: scaleY(0);
        transform-origin: top;
        transition: height 0.5s ease;
        /* visibility: hidden; */
        transition: all 0.5s ease;
        overflow: hidden;
        z-index: 90;
        width: 100%;
        display: block;
        pointer-events: none;
    }

    .nav-menu.open {
        /* height: calc(100vh - 70px); */
        transform: scaleY(1);
        pointer-events: auto;
    }
    
    .nav-list {
        list-style: none;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        margin: 0 auto;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .nav-menu.open .nav-list {
        opacity: 1;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-7.5px, 7.5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-7.5px, -7.5px);
    }
    
    .video-hero {
        height: 500px;
        padding: 20px;
        text-align: left;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        justify-content: center;
        gap: 1rem;
    }
    
    .partners-grid img {
        width: 48px;
        height: 48px;
    }
    
    .hero-cta {
        height: max-content;
        flex-direction: column;
        padding: 20px;
    }
   
    
    .hero-bottom-info {
        position: static;
        margin-top: 3rem;
        max-width: none;
    }
    
    .hero-separator {
        display: none;
    }
    
    .testimonials-track {
        gap: 1rem;
    }
    
    .testimonial-card {
        flex: 0 0 100%;
        max-width: 100%;
      }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: left;
        align-items: flex-start;
    }
    
    .footer-nav {
        justify-content: center;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-main-content {
        padding: 0 1rem;
        padding-top: 200px;
    }
    
    .hero-bottom-info {
        left: 20px;
        right: 20px;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .testimonial-card {
        flex: 0 0 280px;
    }
    
    .deco-top-left,
    .deco-top-right,
    .deco-bottom-right {
        width: 200px;
        height: 180px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--st-tropaz-500);
    outline-offset: 2px;
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover effects */
.service-card,
.testimonial-card,
.course-item {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}