:root {
    --primary-color: #1a365d;
    --secondary-color: #e2b979;
    --text-color: #333;
    --light-text: #f8f9fa;
    --bg-color: #f8f9fa;
    --card-bg: #fff;
    --header-bg: #1a365d;
    --footer-bg: #0d1b2a;
    --nav-link: #fff;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

.dark-mode {
    --primary-color: #e2b979;
    --secondary-color: #1a365d;
    --text-color: #f0f0f0;
    --light-text: #e0e0e0;
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --header-bg: #0d0d0d;
    --footer-bg: #000;
    --nav-link: #e2b979;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.7;
    transition: var(--transition);
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

#mainNav {
    display: flex;
    justify-content: flex-end;
}

.header-container img {
    max-width: 10%;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    display: inline-block;
    position: relative;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 1rem auto;
}

/* Header */
header {
    display: grid;
    background-color: var(--header-bg);
    color: white;
    padding: 1.5rem 0;
    /* position: fixed; */
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logom img {
    height: 50px;
    width: auto;
}

/* Show l1 on desktop, hide l2 */
.l1 {
    display: block;
}

.l2 {
    display: none;
}

/* On mobile - hide l1, show l2 */
@media (max-width: 768px) {
    .l1 {
        display: none;
    }

    .l2 {
        display: block;
        /* max-width: 100%; */
    }

    nav ul {
        margin-top: 20px;
    }

    #mainNav {
        justify-content: flex-end;
        align-items: center;
    }

    .header-container img {
        max-width: 100%;
    }

    #mainNav {
        justify-content: flex-start;
    }
}


.logo-text h1 {
    color: var(--nav-link);
    font-size: 1.8rem;
    margin-bottom: 0;
}

.logo-text span {
    color: var(--secondary-color);
    font-size: 0.9rem;
    display: block;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav ul li a {
    color: var(--nav-link);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--nav-link);
    font-size: 1.5rem;
    cursor: pointer;
}

.mode-toggle {
    background: none;
    border: none;
    color: var(--nav-link);
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 54, 93, 0.85), rgba(26, 54, 93, 0.85)),
        url('https://images.unsplash.com/photo-1546410531-bb4caa6b424d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 6rem 0 8rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--secondary-color);
    cursor: pointer;
    font-size: 1.1rem;
    margin: 0.5rem;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Practice Section */
.practice-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.practice-box {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.practice-box:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.practice-box h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.practice-box h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

.practice-box .features-list li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.8rem;
}

.practice-box .features-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* About Section */
.about {
    background-color: rgba(226, 185, 121, 0.08);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-img img {
    border-radius: 15px;
    box-shadow: var(--box-shadow);
}

.about-content h2 {
    color: var(--primary-color);
    font-size: 2.3rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-box {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

/* Courses Section */
.courses-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.course-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.course-img {
    height: 200px;
    overflow: hidden;
}

.course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.course-card:hover .course-img img {
    transform: scale(1.1);
}

.course-content {
    padding: 1.8rem;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
}

/* Testimonials */
.testimonials {
    background: linear-gradient(rgba(26, 54, 93, 0.9), rgba(26, 54, 93, 0.9)),
        url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.testimonials .section-title h2 {
    color: white;
}

.testimonials .section-title h2::after {
    background: var(--secondary-color);
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
}

.testimonial-card .quote {
    padding: 10px;
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-card .quote::before,
.testimonial-card .quote::after {
    content: '"';
    font-size: 2rem;
    color: var(--secondary-color);
    opacity: 0.5;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-card .author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--secondary-color);
}

/* CTA Section */
.cta {
    text-align: center;
    background-color: var(--primary-color);
    color: white;
    padding: 5rem 0;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--light-text);
    padding: 5rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    opacity: 0.8;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    position: relative;
}

.floating-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.call-btn {
    background-color: #4CAF50;
    animation: pulse 2s infinite;
}

.whatsapp-btn {
    background-color: #25D366;
}

/* Tooltip */
.floating-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 70px;
    background: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    white-space: nowrap;
}

.floating-btn:hover::before {
    opacity: 1;
    right: 75px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(76, 175, 80, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .section {
        padding: 4rem 0;
    }

    .hero h2 {
        font-size: 2.8rem;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-img {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .testimonial-card {
        padding: 0rem;
    }

    .container {
        padding: 0px;
        width: 94%;
        margin: auto 10px;
    }

    .courses-container {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }

    .logo {
        display: flex;
    }

    nav {
        position: absolute;
        top: 90px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 90px);
        background-color: var(--header-bg);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
        z-index: 999;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .hero {
        padding: 8rem 0 5rem;
    }

    .hero h2 {
        font-size: 2.2rem;
    }

    .btn {
        text-align: center;
        padding: 0.5rem 0.7rem;
        display: block;
        width: 70%;
        max-width: 300px;
        margin: 0.8rem auto;
    }

    .stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 3rem 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .practice-container {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .floating-btn::before {
        font-size: 12px;
        right: 60px;
    }

    .floating-btn:hover::before {
        right: 65px;
    }
}