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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #2c3e50;
    line-height: 1.6;
    overflow-x: hidden;
    text-align: justify;
}

#partners {
    background-color: #f8f9fa;
    padding: 4rem 5%;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.partners-grid img {
    height: 60px;
    max-width: 150px;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
}

.partners-grid img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

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

.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #2c3e50;
    transition: all 0.3s ease-in-out;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px;
}

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 95px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    height: 65px;
    transition: transform 0.3s ease;
}

/* Apply hover effect only on larger screens */
@media (min-width: 961px) {
    .logo a:hover .logo-icon {
        transform: scale(1.05);
    }
}

.logo-text {
    height: 65px;
    margin-top: 10px;
}

.logo-text-mobile {
    display: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

nav a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #6d126e 0%, #191c64 100%);
    transition: width 0.3s ease;
}

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

.nav-links ul li a:hover {
    color: #6d126e;
    transform: translateY(-2px);
}

main {
    margin-top: 95px;
}


section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(109, 18, 110, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

section > p:first-of-type,
.education-content > p:first-of-type,
.professionals-intro > p:first-of-type {
    margin-top: 0.5rem;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #5a6c7d;
    text-align: justify;
}

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

h1, h2, h3 {
    font-weight: 800;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 10px 40px rgba(0,0,0,0.1);
    text-align: center;
}

.rainbow-text {
    background: linear-gradient(90deg, #42a5f5, #66bb6a, #ffee58, #ff9800, #ff4081, #42a5f5);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbow-animation 4s linear infinite;
}

@keyframes rainbow-animation {
    to {
        background-position: 200% center;
    }
}

h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.8rem;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #6d126e 0%, #191c64 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

section {
    padding: 4rem 5%;
    position: relative;
    overflow: hidden;
    text-align: center;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #6d126e 0%, #191c64 100%);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
}

#hero {
    padding: 10rem 5% 8rem;
    background: linear-gradient(135deg, #191c64 0%, #6d126e 100%);
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, rgba(255,255,255,0.1) 0%, transparent 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
    padding: 0 2rem;
    text-align: left;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#hero p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-top: 0;
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 0.3px;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.education-content {
    max-width: 1200px;
    margin: 0 auto;
}

.education-content .education-offerings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.education-content .offering-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(109, 18, 110, 0.1);
    overflow: hidden;
}

.education-content .offering-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 20px 20px 0 0;
}

.offering-1::before {
    background: linear-gradient(90deg, #191c64 0%, #483D8B 100%);
}
.offering-2::before {
    background: linear-gradient(90deg, #483D8B 0%, #27ae60 100%);
}
.offering-3::before {
    background: linear-gradient(90deg, #27ae60 0%, #f37335 100%);
}

.education-content .offering-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(109, 18, 110, 0.2);
}

.education-content .offering-card h3 {
    color: #6d126e;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.education-content .offering-card p {
    text-align: left;
}

.professionals-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.objectives {
    max-width: 1200px;
    margin: 0 auto;
}

.objectives ul, .pedagogy ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.objectives li, .pedagogy li {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.objectives li {
    padding-right: 3rem;
}

.objectives li::before, .pedagogy li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6d126e 0%, #191c64 100%);
    border-radius: 20px 20px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.objectives li::after, .pedagogy li::after {
    content: '✓';
    position: absolute;
    right: 2rem;
    top: 2rem;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #6d126e 0%, #191c64 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Place the check badge bottom-right for objectives */
.objectives li::after {
    top: auto;
    bottom: 1.25rem;
}

/* Ensure pedagogy items have safe space and place badge bottom-right with slight inset */
.pedagogy li {
    padding-right: 3rem;
}

.pedagogy li::after {
    top: auto;
    bottom: 1.25rem;
    right: 1.25rem;
}

.objectives li h4 {
    color: #191c64;
    margin: 0 0 0.75rem 0;
}

.objectives li p {
    color: #5a6c7d;
    font-size: 0.95rem;
    text-align: left;
}

.pedagogy li span {
    display: block;
    font-size: 1rem;
    line-height: 1.6;
    color: #2c3e50;
    font-weight: 500;
}

.objectives li:hover, .pedagogy li:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(109, 18, 110, 0.15);
}

.objectives li:hover::before, .pedagogy li:hover::before {
    opacity: 1;
}

/* Responsive pour les objectifs */
@media (max-width: 768px) {
    .objectives ul, .pedagogy ul {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .objectives li, .pedagogy li {
        padding: 1.5rem;
    }
    
    .objectives li::after, .pedagogy li::after {
        right: 1.5rem;
        top: 1.5rem;
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }

    /* Mobile override for objectives bottom-right placement */
    .objectives li::after {
        top: auto;
        bottom: 1rem;
    }

    /* Mobile override for pedagogy bottom-right placement */
    .pedagogy li {
        padding-right: 2.5rem;
    }
    .pedagogy li::after {
        top: auto;
        bottom: 1rem;
        right: 1rem;
    }
}

/* Pedagogy highlights grid */
.pedagogy-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.pedagogy-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.pedagogy-card h4 {
    color: #191c64;
    margin: 0 0 0.75rem 0;
}

.pedagogy-card p, .pedagogy-card li {
    text-align: left;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.module-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.module-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #6d126e 0%, #191c64 100%);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.module-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(109, 18, 110, 0.15);
}

.module-card:hover::before {
    opacity: 0.1;
}

.module-card h4 {
    color: #191c64;
    margin-top: 0;
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
}

.module-card p {
    color: #5a6c7d;
    line-height: 1.7;
    text-align: left;
}

/* 3-column layout for modules on large screens */
@media (min-width: 1100px) {
    .modules-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Module card lists */
.module-card ul {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
    display: grid;
    gap: 0.5rem;
    text-align: left;
}

.module-card li {
    position: relative;
    padding-left: 1.5rem;
    color: #2c3e50;
    text-align: left;
}

.module-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0.05rem;
    color: #6d126e;
    font-weight: 800;
}

/* Pricing Cards */
.pricing {
    margin-top: 3rem;
}

.pricing h3 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(109, 18, 110, 0.15);
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #6d126e 0%, #191c64 100%);
    border-radius: 20px 20px 0 0;
}

.pricing-card h4 {
    color: #191c64;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6d126e 0%, #191c64 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1rem 0 0.5rem;
}

.pricing-card p {
    color: #5a6c7d;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
}

.pricing-card li {
    padding: 0.5rem 0;
    color: #5a6c7d;
    font-size: 0.95rem;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(109, 18, 110, 0.12);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

/* French Conversation Section */
.french-conversation-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.french-intro {
    margin-bottom: 3rem;
}

.french-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #5a6c7d;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    border-radius: 20px 20px 0 0;
}

.benefit-card.student::before {
    background: linear-gradient(90deg, #191c64 0%, #483D8B 100%);
}

.benefit-card.school::before {
    background: linear-gradient(90deg, #483D8B 0%, #27ae60 100%);
}

.benefit-card.teacher::before {
    background: linear-gradient(90deg, #27ae60 0%, #f37335 100%);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.benefit-card h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    text-align: center;
}

.benefit-card ul {
    list-style: none;
    padding: 0;
}

.benefit-card li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 2rem;
}

.benefit-card li:last-child {
    border-bottom: none;
}

.benefit-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #27ae60;
    font-weight: bold;
    font-size: 1.1rem;
}

.benefit-card li span {
    color: #5a6c7d;
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: left;
}

/* Language switching classes */
.lang-en {
    display: none;
}

.lang-fr {
    display: inline-block;
}

body[data-lang="en"] .lang-fr {
    display: none;
}

body[data-lang="en"] .lang-en {
    display: inline-block;
}

/* Justification spécifique pour les paragraphes */
p {
    text-align: left;
}

/* Exceptions pour les éléments centrés */
h2 {
    text-align: center;
}

.pricing-card p { text-align: center; }
footer p { text-align: center; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.team-member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #6d126e 0%, #191c64 100%);
}

.team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(109, 18, 110, 0.15);
}

.team-member-card h3 {
    color: #191c64;
    margin-top: 0;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.team-member-card p {
    color: #5a6c7d;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #6d126e 0%, #191c64 100%);
    color: #fff;
    padding: 1.2rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    margin-top: 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(109, 18, 110, 0.25);
    border: none;
    cursor: pointer;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(109, 18, 110, 0.35);
}

.cta-button:hover::before {
    left: 100%;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
    box-shadow: none;
}

.cta-button.secondary:hover {
    background: rgba(255,255,255,0.1);
    box-shadow: 0 8px 25px rgba(255,255,255,0.15);
}

footer {
    background: linear-gradient(135deg, #191c64 0%, #6d126e 100%);
    color: #fff;
    text-align: center;
    padding: 3rem 0;
    margin-top: 5rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

footer p {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

#contact .contact-intro {
    text-align: center;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-icon {
        height: 60px;
    }
    
    .logo-text {
        height: 50px;
    }
    
    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
        margin-top: 2rem;
        margin-bottom: 1.2rem;
    }
    
    #hero {
        padding: 8rem 5% 6rem;
        min-height: 80vh;
    }
    
    #hero p {
        margin-top: 0;
        margin-bottom: 2rem;
        font-size: 1.1rem;
    }
    
    .modules-grid,
    .education-content .education-offerings,
    .team-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-card {
        padding: 2rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 960px) {
    html {
        scroll-padding-top: 90px;
    }

    header {
        height: 90px;
    }

    main {
        margin-top: 90px;
    }

    .nav-links {
        position: fixed;
        left: 0;
        top: 90px; /* Position it just below the header */
        gap: 0;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: center;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 999;
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
    }

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

    .nav-links ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

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

    .nav-links ul li a {
        padding: 1.5rem 1rem;
        display: block;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        font-size: 1.1rem;
    }

    .nav-links ul li:last-child a {
        border-bottom: none;
    }
    
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .logo-text-desktop {
        display: none;
    }

    .logo-text-mobile {
        margin-top: 10px;
        display: block;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

}

@media (max-width: 480px) {
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    h1 {
        font-size: 2rem;
        margin-bottom: 1.2rem;
    }
    
    #hero p {
        font-size: 1rem;
        margin-bottom: 1.8rem;
    }
    
    section {
        padding: 3rem 5%;
    }
}

.back-arrow {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.back-arrow:hover {
    color: #6d126e;
    transform: translateX(-5px);
}
