/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
   :root {
    --primary: #1e40af; /* Deep Blue */
    --primary-light: #3b82f6;
    --secondary: #f59e0b; /* Amber / Orange */
    --secondary-hover: #d97706;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f3f4f6;
    --white: #ffffff;
    --transition: all 0.3s ease-in-out;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Layout & Utilities
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

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

.mt-4 {
    margin-top: 2rem;
}

/* Typography Utilities */
.section-header {
    margin-bottom: 3rem;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-desc {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(30, 64, 175, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(245, 158, 11, 0.39);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

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

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

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary);
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: url('https://images.unsplash.com/photo-1517694712202-14dd9538aa97?q=80&w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    padding-top: 80px; /* Offset for header */
}

.hero .subtitle {
    display: block;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero .title {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.1;
}

.hero .description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #e2e8f0;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.about-features {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.about-features i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* ==========================================================================
   Courses Section
   ========================================================================== */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.course-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.course-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.course-card:hover .course-img {
    transform: scale(1.05);
}

.course-content {
    padding: 25px;
    background: var(--white);
    position: relative;
    z-index: 2;
}

.course-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.course-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary);
    padding-left: 15px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow);
}

.gallery-img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}


/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.info-card i {
    font-size: 1.5rem;
    color: var(--primary);
    background: rgba(30, 64, 175, 0.1);
    padding: 15px;
    border-radius: 50%;
}

.info-card h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-card p, .info-card a {
    color: var(--text-light);
    font-size: 0.95rem;
}

.info-card a:hover {
    color: var(--primary);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #0f172a;
    color: #e2e8f0;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 85px;
    margin-bottom: 20px;
    background: white;
    padding: 5px;
    border-radius: 8px;
}

.footer-brand p {
    margin-bottom: 20px;
    max-width: 300px;
    color: #94a3b8;
}

.social-links {
    display: flex;
    gap: 15px;
}

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

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

.footer-links h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #94a3b8;
}

.footer-links ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-bottom {
    background-color: #0b1120;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: #64748b;
    font-size: 0.9rem;
}

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

/* ==========================================================================
   Floating Action Buttons
   ========================================================================== */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.btn-float {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    text-decoration: none;
}

.btn-float:hover {
    transform: scale(1.1);
}

.btn-whatsapp {
    background-color: #25D366;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: var(--white);
}

.btn-call {
    background-color: var(--primary);
}

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

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .hero .title {
        font-size: 3rem;
    }
    
    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .d-none-mobile {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: var(--transition);
        opacity: 0;
        visibility: hidden;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        padding: 20px 0;
        gap: 0;
    }

    .nav-link {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #f3f4f6;
    }

    .hero .title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .floating-actions {
        bottom: 20px;
        right: 20px;
    }
    
    .btn-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}
