/* ===== CSS Variables ===== */
:root {
    --primary-color: #FFA500;
    --secondary-color: #2d7a4a;
    --dark-color: #1a1a1a;
    --light-color: #f5f5f5;
    --text-color: #333;
    --border-color: #ddd;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

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

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark-color);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #ff8c00);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: white;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ===== Navigation Bar ===== */
.navbar {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

.nav-buttons {
    display: flex;
    gap: 15px;
}

.menu-toggle {
    display: none; /* Hidden by default on desktop */
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
    transition: var(--transition);
    order: 1; /* For mobile layout */
}

.menu-toggle:hover {
    color: var(--primary-color);
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, #f5f5f5 0%, #fff 100%);
    padding: 80px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

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

.hero-icon {
    font-size: 200px;
    color: var(--primary-color);
    text-align: center;
    opacity: 0.1;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ===== About Section ===== */
.about {
    padding: 80px 0;
    background: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* ===== Audience Section ===== */
.audience {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #fff 100%);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.audience-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

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

.audience-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.audience-card h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.audience-card p {
    color: #999;
    font-size: 0.9rem;
}

/* ===== Why Different Section ===== */
.why-different {
    padding: 80px 0;
    background: white;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-card {
    background: linear-gradient(135deg, #f5f5f5 0%, #fff 100%);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.why-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.why-card:hover .why-icon {
    color: white;
}

.why-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.why-card:hover h3 {
    color: white;
}

.why-card p {
    color: #666;
    line-height: 1.6;
}

.why-card:hover p {
    color: white;
}

/* ===== Features Section ===== */
.features {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #fff 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--secondary-color);
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-item h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.feature-item p {
    color: #666;
    font-size: 0.95rem;
}

/* ===== Course Content Section ===== */
.course-content {
    padding: 80px 0;
    background: white;
}

.sections-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.section-block {
    background: linear-gradient(135deg, #f5f5f5 0%, #fff 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.section-block:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.section-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a5a3a 100%);
    color: white;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.section-number {
    background: var(--primary-color);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
}

.section-header h3 {
    color: white;
    flex: 1;
    font-size: 1.5rem;
}

.lecture-count {
    background: rgba(255, 165, 0, 0.2);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.section-content {
    padding: 30px;
}

.lecture {
    margin-bottom: 30px;
}

.lecture:last-child {
    margin-bottom: 0;
}

.lecture h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lecture i {
    color: var(--primary-color);
}

.lecture ul {
    list-style: none;
    padding-right: 30px;
}

.lecture li {
    color: #666;
    padding: 8px 0;
    position: relative;
    padding-right: 15px;
}

.lecture li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ===== Pricing Section ===== */
.pricing {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #fff 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a5a3a 100%);
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
}

.pricing-header h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-body {
    padding: 40px 30px;
    text-align: center;
}

.price {
    margin-bottom: 20px;
}

.currency {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
}

.amount {
    font-size: 3rem;
    color: var(--secondary-color);
    font-weight: 700;
    display: block;
    margin: 10px 0;
}

.period {
    color: #999;
    font-size: 0.9rem;
}

.price-description {
    color: #666;
    margin-bottom: 30px;
    font-size: 1rem;
}

.pricing-card .btn {
    width: 100%;
}

/* ===== Contact Section ===== */
.contact {
    padding: 80px 0;
    background: white;
}

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

.contact-card {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a5a3a 100%);
    color: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.contact-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.contact-card h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.contact-link {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
    transition: var(--transition);
    font-weight: 500;
}

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

.contact-form-section {
    background: linear-gradient(135deg, #f5f5f5 0%, #fff 100%);
    padding: 40px;
    border-radius: 15px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.contact-form-section h3 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.contact-form {
    display: grid;
    gap: 20px;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.2);
}

.contact-form .btn {
    width: 100%;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 40px 0 20px;
    margin-top: 80px;
}

.footer-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* Info, Location, Copyright */
    gap: 40px;
    text-align: right;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info h3, .footer-location h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-info p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-info i {
    color: var(--secondary-color);
    margin-top: 4px;
}

.footer a {
    color: white;
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition);
}

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

.footer-copyright {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 20px;
    font-size: 0.9rem;
}

.footer-copyright a {
    color: var(--primary-color);
    font-weight: 600;
}

.location-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    font-size: 1rem;
}

/* ===== Scroll to Top Button ===== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #ff8c00);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 999;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.scroll-to-top.show {
    display: flex;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .navbar-content {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .nav-links {
        display: none; /* Hide by default on mobile */
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        gap: 10px;
        order: 3; /* Move below logo and toggle button */
    }

    .nav-links.active {
        display: flex; /* Show when active */
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-buttons {
        order: 2;
    }

    .menu-toggle {
        display: block; /* Show toggle button on mobile */
        order: 1;
    }

    .logo {
        order: 0;
    }

    .footer-content-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-info p {
        justify-content: center;
    }

    .footer-copyright {
        grid-column: 1;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }
    .hero-content {
        grid-template-columns: 1fr;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }

    .nav-links {
        gap: 15px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-header {
        flex-direction: column;
        text-align: center;
    }

    .section-header h3 {
        font-size: 1.2rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

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

    .scroll-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    /* Mobile styles already handled in 768px media query, only adjust font sizes if necessary */
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

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

    .contact-form-section {
        padding: 20px;
    }
}

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

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

    .contact-form-section {
        padding: 20px;
    }
}
