/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&family=Raleway:wght@300;400;500;600;700;800;900&display=swap');

/* CSS Variables */
:root {
    --color-primary: #2c4964;
    --color-secondary: #5777ba;
    --color-accent: #1ea4ce;
    --color-white: #ffffff;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --font-sans: 'Roboto', sans-serif;
    --font-heading: 'Raleway', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-gray-800);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gray-600);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

.section-description {
    color: var(--color-gray-600);
    font-size: 1.125rem;
    margin-top: 1rem;
}

/* Buttons */
.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    background: #1992b8;
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

.btn-outline .icon {
    width: 1.5rem;
    height: 1.5rem;
}

.btn-white {
    display: inline-block;
    background: var(--color-white);
    color: var(--color-primary);
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-xl);
}

.btn-white:hover {
    background: var(--color-gray-100);
    box-shadow: var(--shadow-2xl);
    transform: translateY(-4px);
}

.btn-course {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-course:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.logo {
    height: 4rem;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--color-gray-700);
    transition: color 0.3s ease;
    display: block;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent);
}

.nav-cta {
    display: none;
}

.mobile-menu-btn {
    color: var(--color-gray-700);
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
    color: var(--color-accent);
}

.menu-icon,
.close-icon {
    width: 1.5rem;
    height: 1.5rem;
    fill: none;
    stroke-width: 2;
}

.close-icon {
    display: none;
}

.mobile-menu-btn.active .menu-icon {
    display: none;
}

.mobile-menu-btn.active .close-icon {
    display: block;
}

.nav-mobile {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.nav-mobile.active {
    max-height: 24rem;
    padding-bottom: 1rem;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
}

/* Desktop Navbar */
@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
    }
    
    .nav-cta {
        display: inline-block;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .nav-mobile {
        display: none;
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding-top: 8rem;
    padding-bottom: 4rem;
    background: linear-gradient(to bottom right, #dbeafe, var(--color-white));
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    order: 2;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.accent-text {
    color: var(--color-accent);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-gray-600);
    margin-bottom: 1.5rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-image {
    order: 1;
}

.floating-image {
    width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.marquee-container {
    margin-top: 3rem;
    background: rgba(30, 164, 206, 0.1);
    border-radius: 0.5rem;
    padding: 1rem;
    overflow: hidden;
}

.marquee-content {
    overflow: hidden;
}

.marquee-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}

.marquee-link {
    color: var(--color-accent);
    margin-left: 0.5rem;
}

.marquee-link:hover {
    text-decoration: underline;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Responsive Hero */
@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-buttons {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-image {
        order: 2;
    }
    
    .hero-title {
        font-size: 3.75rem;
    }
}

/* ===== CALL TO ACTION SECTION ===== */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
}

.cta-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cta-block {
    text-align: center;
    margin-bottom: 3rem;
}

.cta-block-border {
    padding-top: 3rem;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-text-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cta-text-list p {
    font-size: 1.125rem;
    line-height: 1.75;
    text-align: left;
}

.cta-italic {
    font-size: 1.125rem;
    line-height: 1.75;
    font-style: italic;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 2.5rem;
    }
    
    .cta-text-list p {
        text-align: center;
    }
}

/* ===== WHY US SECTION ===== */
.whyus-section {
    padding: 5rem 0;
    background: var(--color-white);
}

.whyus-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 4rem;
}

.whyus-image-container {
    position: relative;
}

.whyus-image {
    width: 100%;
    border-radius: 1rem;
    box-shadow: var(--shadow-2xl);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-accent);
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-2xl);
    animation: pulse 2s infinite;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-icon {
    width: 2rem;
    height: 2rem;
    color: var(--color-white);
    margin-left: 0.25rem;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.whyus-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.whyus-heading {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--color-primary);
}

.whyus-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.whyus-item {
    display: flex;
    gap: 1rem;
}

.check-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    color: var(--color-accent);
}

.check-icon svg {
    width: 100%;
    height: 100%;
}

.whyus-item p {
    color: var(--color-gray-700);
    line-height: 1.75;
}

@media (min-width: 1024px) {
    .whyus-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===== STATS SECTION ===== */
.stats-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom right, var(--color-gray-50), #dbeafe);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.stat-card {
    background: var(--color-white);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.stat-card:hover {
    box-shadow: var(--shadow-2xl);
    transform: translateY(-8px);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--color-gray-600);
    font-weight: 500;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===== VIDEO SECTION ===== */
.video-section {
    padding: 5rem 0;
    background: var(--color-white);
}

.video-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.video-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 2rem;
}

.video-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Make the iframe responsive */
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (min-width: 768px) {
    .video-title {
        font-size: 2.5rem;
    }
}

/* ===== COURSES SECTION ===== */
.courses-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom right, #dbeafe, var(--color-white));
}

.courses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

.course-card {
    background: var(--color-white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.course-card:hover {
    box-shadow: var(--shadow-2xl);
    transform: translateY(-8px);
}

.course-image-container {
    position: relative;
    overflow: hidden;
    height: 12rem;
}

.course-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-image {
    transform: scale(1.1);
}

.course-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.course-card:hover .course-overlay {
    opacity: 1;
}

.course-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.course-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    transition: color 0.3s ease;
}

.course-card:hover .course-title {
    color: var(--color-accent);
}

.course-description {
    color: var(--color-gray-600);
    font-size: 0.875rem;
    line-height: 1.75;
}

@media (min-width: 640px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .courses-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===== INSTRUCTOR SECTION ===== */
.instructor-section {
    padding: 5rem 0;
    background: var(--color-white);
}

.instructor-card-container {
    max-width: 42rem;
    margin: 4rem auto 0;
}

.instructor-card {
    background: linear-gradient(to bottom right, #dbeafe, var(--color-white));
    border-radius: 1.5rem;
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    transition: all 0.3s ease;
}

.instructor-card:hover {
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3);
    transform: translateY(-8px);
}

.instructor-image-container {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(to bottom right, rgba(44, 73, 100, 0.1), rgba(30, 164, 206, 0.1));
}

.instructor-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.instructor-info {
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.instructor-name {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--color-primary);
}

.instructor-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.instructor-text {
    font-size: 1.125rem;
    color: var(--color-gray-700);
    font-weight: 500;
}

.instructor-highlight {
    font-size: 1.125rem;
    color: var(--color-accent);
    font-weight: 700;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding-top: 1rem;
}

.social-link {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--color-gray-200);
    color: var(--color-gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: scale(1.1);
}

.social-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom right, var(--color-gray-50), #dbeafe);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.contact-item:hover {
    box-shadow: var(--shadow-xl);
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(30, 164, 206, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-accent);
}

.contact-item-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.contact-item-text {
    color: var(--color-gray-600);
}

.contact-item-link {
    color: var(--color-gray-600);
    transition: color 0.3s ease;
}

.contact-item-link:hover {
    color: var(--color-accent);
}

.map-container {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 16rem;
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-form-container {
    background: var(--color-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    padding: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    display: block;
    color: var(--color-gray-700);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-gray-300);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(30, 164, 206, 0.1);
}

.form-textarea {
    resize: none;
}

.form-submit {
    width: 100%;
    text-align: center;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(to bottom right, var(--color-primary), rgba(44, 73, 100, 0.9));
    color: var(--color-white);
}

.footer-container {
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--color-gray-200);
}

.footer-contact {
    margin-top: 0.75rem;
}

.footer-contact strong {
    color: var(--color-white);
}

.footer-link {
    color: var(--color-gray-200);
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color-accent);
}

.footer-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-social-text {
    color: var(--color-gray-200);
    margin-bottom: 1rem;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: var(--color-accent);
    transform: scale(1.1);
}

.footer-social-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-copyright {
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    color: var(--color-gray-200);
}

.footer-copyright strong {
    color: var(--color-white);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: #1992b8;
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.scroll-top-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* ===== ANIMATIONS ===== */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}
