/* CSS Variables */
:root {
    --primary-orange: #ff6b35;
    --secondary-orange: #f7931e;
    --light-orange: #ffa751;
    --dark-orange: #e55a2b;
    --navy-dark: #1a1a2e;
    --navy-medium: #16213e;
    --navy-light: #0f3460;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --light-gray: #f1f5f9;
    --medium-gray: #e2e8f0;
    --dark-gray: #0f172a;
    --success: #10b981;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background-color: var(--white);
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.orange-text {
    color: var(--primary-orange);
}

.text-center {
    text-align: center;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--navy-dark);
    line-height: 1.2;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    gap: 8px;
}

.btn-primary {
    background: var(--primary-orange);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--dark-orange);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-orange);
    border-color: var(--primary-orange);
}

.btn-secondary:hover {
    background: var(--primary-orange);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy-dark);
}

.btn-white {
    background: var(--white);
    color: var(--primary-orange);
}

.btn-white:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
    padding: 15px 0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: var(--shadow);
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    transition: var(--transition);
}

.header.scrolled .logo img {
    height: 40px !important;
    filter: brightness(0.1); /* This makes the white text black/dark while keeping the shape visible */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.9375rem;
}

.header.scrolled .nav-links a {
    color: var(--navy-dark);
}

.nav-links a:hover {
    color: var(--primary-orange);
}

.menu-toggle {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.header.scrolled .menu-toggle {
    color: var(--navy-dark);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--navy-dark);
    position: relative;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(26, 26, 46, 0.8), rgba(26, 26, 46, 0.9)), url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 1000px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 107, 53, 0.2);
    color: var(--primary-orange);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--white);
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 48px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 72px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-item i {
    font-size: 2rem;
    color: var(--primary-orange);
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Features Grid */
.features {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--light-gray);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--primary-orange);
    font-size: 1.75rem;
}

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Category Sections */
.section {
    padding: 100px 0;
}

.bg-light {
    background: var(--light-gray);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.course-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.course-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.course-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-orange);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.course-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-content h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.course-content p {
    font-size: 0.9375rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

.course-info {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--medium-gray);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--navy-dark);
}

.info-item i {
    color: var(--primary-orange);
}

.course-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-dark);
}

.course-price span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light);
}

/* Locations Section */
.locations {
    padding: 100px 0;
    background: var(--navy-dark);
    color: var(--white);
}

.locations h2 {
    color: var(--white);
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.location-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 32px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.location-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-orange);
}

.location-card i {
    font-size: 2rem;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.location-card h4 {
    color: var(--white);
    margin-bottom: 12px;
}

.location-card p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Why Us - Redesigned */
.why-us-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-image {
    position: relative;
}

.why-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.floating-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--white);
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 240px;
}

.floating-card i {
    font-size: 2.5rem;
    color: var(--success);
}

.why-list {
    list-style: none;
    margin-top: 32px;
}

.why-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.why-list i {
    color: var(--success);
    font-size: 1.25rem;
    margin-top: 4px;
}

.why-list h4 {
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.why-list p {
    font-size: 0.9375rem;
    color: var(--text-light);
}

/* CTA Section */
.cta {
    background: var(--primary-orange);
    padding: 80px 0;
    color: var(--white);
    text-align: center;
}

.cta h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Contact Form */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-info-panel {
    background: var(--navy-dark);
    color: var(--white);
    padding: 60px;
}

.contact-info-panel h2 {
    color: var(--white);
    margin-bottom: 32px;
}

.info-details {
    margin-top: 48px;
}

.detail-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.detail-item i {
    color: var(--primary-orange);
    font-size: 1.5rem;
}

.contact-form-panel {
    padding: 60px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--navy-dark);
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--medium-gray);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: 24px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary-orange);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 1.125rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 16px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .why-us-new {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section {
        padding: 60px 0;
    }

    .course-card {
        min-width: unset;
    }

    .course-content {
        padding: 20px;
    }

    .contact-info-panel, 
    .contact-form-panel {
        padding: 30px 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .floating-card {
        right: 0;
        bottom: -20px;
        padding: 16px;
    }

    .hero-stats {
        gap: 16px;
    }

    .stat-item {
        gap: 12px;
    }

    .stat-number {
        font-size: 1.25rem;
    }
}
