@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --dark-green: #19381f;
    --medium-green: #53A548;
    --light-green: #91CB3E;
    --white: #ffffff;
    --off-white: #f9f9f9;
    --gray-light: #f0f0f0;
    --gray: #e0e0e0;
    --text-dark: #333333;
    --text-light: #666666;
    --shadow: 0 4px 20px rgba(25, 56, 31, 0.1);
    --shadow-hover: 0 10px 30px rgba(25, 56, 31, 0.15);
    --border-radius: 15px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

@font-face {
    font-family: london;
    src: url(./London\ Bridge\ Font\ Family.otf);
}

@font-face {
    font-family: trap;
    src: url(./Trap_/Trap_V1.1/Trap-Black.otf);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-green);
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

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

ul {
    list-style: none;
}

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

.highlight {
    color: var(--light-green);
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.8rem 1rem;
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navlink {
    text-decoration: none;
    font-family: london;
    font-weight: 100;
    color: var(--light-green);
    border: 1px solid var(--light-green);
    border-radius: 15px;
    padding: 0.2rem 1rem;
    transition: var(--transition);
}

.navlink:hover,
.navlink.active {
    background-color: var(--light-green);
    color: white;
}

.logo {
    font-size: 1.8em;
    font-style: 800;
    font-family: trap;
    text-decoration: none;
    color: var(--dark-green);
}

.menu-icon {
    display: none;
    width: 40px;
    cursor: pointer;
}

/* Mobile Menu */
.slide-ctn {
    display: none;
    flex-direction: column;
    gap: 1.2rem;
    position: fixed;
    top: 0;
    right: 0;
    padding: 2rem;
    width: 50vw;
    height: 100vh;
    background-color: white;
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.slide-top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 2rem;
}

.logo-img {
    width: 40px;
}

.close-slide {
    width: 40px;
    cursor: pointer;
}

.slide-nav {
    text-decoration: none;
    color: var(--dark-green);
    font-family: london;
    font-size: 1.2em;
    transition: 0.3s ease-in-out;
    padding: 0.5rem 0;
}

.slide-nav:nth-child(2) {
    color: var(--light-green);
}

.slide-nav:hover {
    letter-spacing: 3px;
    color: var(--light-green);
}

/* Hero Section */
.hero-ctn {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 3rem 1rem;
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    min-height: 80vh;
}

.hero-img-ctn,
.hero-txt-ctn {
    width: 50%;
}

.hero-img-ctn {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.hero-img {
    width: 100%;
    transition: transform 0.5s ease;
}

.hero-img-ctn:hover .hero-img {
    transform: scale(1.05);
}

.shape-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(145, 203, 62, 0.3) 0%, rgba(25, 56, 31, 0.3) 100%);
    opacity: 0;
    transition: var(--transition);
}

.hero-img-ctn:hover .shape-overlay {
    opacity: 1;
}

.hero-txt-ctn {
    position: relative;
}

.hero-title {
    font-family: "Inter", serif;
    font-weight: 900;
    font-size: 3em;
    color: var(--dark-green);
    padding-inline: 1rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    padding-inline: 1rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    padding-inline: 1rem;
}

.cta-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.primary-btn {
    background-color: var(--light-green);
    color: white;
    border: 2px solid var(--light-green);
}

.primary-btn:hover {
    background-color: var(--medium-green);
    border-color: var(--medium-green);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

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

.secondary-btn:hover {
    background-color: var(--dark-green);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Section Styles */
section {
    padding: 80px 0;
}

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

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

/* About Section */
.about-section {
    background-color: var(--off-white);
}

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

.feature-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon svg {
    width: 35px;
    height: 35px;
    color: var(--light-green);
}

/* Learn Section */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.content-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.card-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.card-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--light-green);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.content-card:nth-child(2) .card-shape {
    background-color: var(--medium-green);
}

.content-card:nth-child(3) .card-shape {
    background-color: var(--dark-green);
}

.card-content {
    padding: 30px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--medium-green);
    margin-top: 10px;
}

.arrow {
    margin-left: 5px;
    transition: var(--transition);
}

.card-link:hover .arrow {
    transform: translateX(5px);
}

/* Practice Section */
.practice-section .section-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.practice-content {
    flex: 1;
}

.practice-features {
    margin: 30px 0;
}

.practice-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 500;
}

.practice-features li svg {
    width: 20px;
    height: 20px;
    color: var(--light-green);
    margin-right: 10px;
}

.practice-image {
    flex: 1;
    position: relative;
}

.practice-shape {
    width: 400px;
    height: 400px;
    background-color: var(--light-green);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.practice-shape:before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: var(--medium-green);
    border-radius: 50%;
    top: 50px;
    left: 50px;
}

.practice-shape:after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: var(--dark-green);
    border-radius: 50%;
    top: 100px;
    left: 100px;
}

/* Converter Section */
.converter-section {
    background-color: var(--off-white);
}

.converter-demo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.converter-input,
.converter-output {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.input-area,
.output-area {
    margin-top: 20px;
    min-height: 200px;
}

textarea {
    width: 100%;
    height: 150px;
    padding: 15px;
    border: 1px solid var(--gray);
    border-radius: 8px;
    resize: none;
    font-family: inherit;
    font-size: 1rem;
}

.upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--gray-light);
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 8px;
    margin-top: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.upload-btn:hover {
    background-color: var(--gray);
}

.output-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 150px;
    color: var(--text-light);
    text-align: center;
}

.output-placeholder svg {
    margin-bottom: 10px;
    color: var(--light-green);
}

.converter-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Testimonials Section */
.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.testimonial.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-content p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    margin: 0;
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}

.prev-btn,
.next-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.prev-btn:hover,
.next-btn:hover {
    background-color: var(--light-green);
    color: var(--white);
}

.testimonial-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--light-green);
    transform: scale(1.3);
}

/* CTA Section */
.cta-section {
    background-color: var(--dark-green);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    color: var(--white);
}

.cta-section .highlight {
    color: var(--light-green);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-section .secondary-btn {
    border-color: var(--white);
    color: var(--white);
}

.cta-section .secondary-btn:hover {
    background-color: var(--white);
    color: var(--dark-green);
}

/* Footer */
footer {
    background-color: var(--dark-green);
    color: var(--white);
    padding: 80px 0 30px;
}

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

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 20px;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-column {
    flex: 1;
    min-width: 150px;
}

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

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--light-green);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

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

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

.social-links a svg {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--light-green);
}

.social-links a:hover svg {
    color: var(--white);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .practice-section .section-container {
        flex-direction: column;
    }

    .practice-shape {
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }

    .practice-shape:before {
        width: 220px;
        height: 220px;
        top: 40px;
        left: 40px;
    }

    .practice-shape:after {
        width: 140px;
        height: 140px;
        top: 80px;
        left: 80px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }

    .converter-cta {
        flex-direction: column;
        align-items: center;
    }

    .converter-cta .cta-btn {
        width: 100%;
        max-width: 300px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 525px) {
    .hero-ctn {
        padding: 2rem 1rem;
        flex-direction: column-reverse;
        width: 100%;
        max-width: unset;
    }

    .hero-img-ctn,
    .hero-txt-ctn {
        width: 100%;
    }

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

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

    .cta-buttons .cta-btn {
        width: 100%;
    }

    .nav-right {
        display: none;
    }

    .menu-icon {
        display: flex;
        width: 40px;
        cursor: pointer;
    }

    .testimonial-content {
        padding: 30px 20px;
    }
}