/* Variables */
:root {
    --primary: #a8544c;
    --primary-dark: #8f463f;
    --primary-hover: #4A2320;
    --primary-light: rgba(168, 84, 76, 0.15);
    --text-light: #F5E6E2;
    --nav-height: 4rem;
    --secondary: #2c5282;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --background: #f9f6e4;
    --background-alt: rgba(201, 198, 183, 0.4);
    --white: #ffffff;
}

/* Background Hero Section */
.bg {
    height: 100vh;
    width: 100%;
    background-image: url('assets/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: calc(-1 * var(--nav-height));
    padding-top: var(--nav-height);
}

.bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.bg-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.bg h1 {
    color: var(--white);
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 700;
    margin-bottom: clamp(2rem, 5vw, 3rem);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out forwards;
}

.contact-btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2.5rem);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--white);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1.2s ease-out forwards;
    cursor: pointer;
}

.contact-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive styles for background section */
@media (max-width: 768px) {
    .bg {
        height: 80vh;
    }
    
    .bg-content {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .bg {
        height: 70vh;
    }
    
    .contact-btn {
        padding: 0.75rem 1.5rem;
    }
}

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

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    padding-top: var(--nav-height);
    background-color: var(--background);
    font-size: clamp(16px, 2.5vw, 18px);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0.01em;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* General responsive styles */
img {
    max-width: 100%;
    height: auto;
}

section {
    width: 100%;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background-color: var(--primary);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
}

.navbar-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.navbar-logo a {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-light);
}

.navbar-logo img {
    height: 2.5rem;
    width: auto;
}

.navbar-logo div {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.875rem;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.navbar-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
    transition: all 0.3s ease;
}

.navbar-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--text-light);
    transition: width 0.3s ease;
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
    width: 100%;
}

/* Mobile menu */
@media (max-width: 768px) {
    .navbar-container {
        padding: 0.5rem 1rem;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-dark);
        padding: 1rem;
        flex-direction: column;
        gap: 0.5rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-menu a {
        padding: 0.75rem 1rem;
        display: block;
        border-radius: 4px;
    }

    .navbar-menu a::after {
        display: none;
    }

    .navbar-menu a:hover {
        background-color: var(--primary);
    }

    /* Hamburger animation */
    .navbar-toggle.active span:first-child {
        transform: translateY(9.5px) rotate(45deg);
    }

    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggle.active span:last-child {
        transform: translateY(-9.5px) rotate(-45deg);
    }

    .logo-title {
        font-size: 1.25rem;
    }

    .logo-subtitle {
        font-size: 0.75rem;
    }

    .navbar-logo img {
        height: 2rem;
    }
}

/* Welcome Text Section */
.welcome-text {
    padding: clamp(3rem, 5vw, 4rem) 0;
    background-color: var(--background);
}

.welcome-text-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 3vw, 2rem);
    text-align: center;
}

.welcome-text p {
    color: var(--text-secondary);
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.8;
}

/* Hero Section (About Me) */
.hero {
    display: flex;
    flex-direction: column;
    max-width: 1600px;
    margin: 0 auto;
    padding: clamp(3rem, 5vw, 4rem) clamp(1rem, 2vw, 2rem);
    background-color: var(--background-alt);
}

.about-header {
    text-align: center;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.about-header h2 {
    color: var(--secondary);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: normal;
    font-family: 'Georgia', serif;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.about-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary);
}

.hero-content {
    display: flex;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
    flex-wrap: wrap;
}

/* Responsive hero layout */
@media (max-width: 767px) {
    .hero-content {
        flex-direction: column;
    }
    
    .profile-image-container {
        margin-top: 2rem;
        max-width: 100%;
        order: -1;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-content .text-container {
        flex: 1;
        max-width: 100%;
    }
    
    .profile-image-container {
        margin-top: 2rem;
        max-width: 80%;
        align-self: center;
    }
}

/* Profile image in hero section */
.hero .profile-image-container {
    flex: 1;
    max-width: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hero .profile-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.hero .about-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.hero .about-image:hover {
    transform: scale(1.02);
}

.hero .text-container {
    flex: 0.8;
    max-width: 70ch;
    padding: 0 clamp(0.5rem, 2vw, 1rem);
}

.text-container p {
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    max-width: 70ch;
    letter-spacing: 0.01em;
    line-height: 1.85;
    color: var(--text-secondary);
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
    position: relative;
    padding-left: 1rem;
    border-left: 3px solid var(--primary);
    transition: transform 0.3s ease, border-left 0.3s ease;
}

.text-container p:hover {
    transform: translateX(5px);
    border-left-color: var(--secondary);
}

.text-container p:first-child {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    font-weight: 500;
   
}

/* Tree Container */
.tree-container {
    flex: 1.2;
    max-height: calc(100vh - var(--nav-height) - 4rem);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.tree-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tree {
    display: block;
    width: 100%;
    max-height: calc(100vh - var(--nav-height) - 4rem);
    object-fit: contain;
    margin: 0;
}

/* Circle Styles */
.circle {
    position: absolute;
    width: clamp(85px, 15vw, 110px);
    height: clamp(85px, 15vw, 110px);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.25);
    border: 4px solid var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(12px, 2vw, 16px);
    color: var(--white);
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    font-weight: 600;
    line-height: 1.3;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    word-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* Circle Colors */
.circle1 {
    background: linear-gradient(135deg, rgba(66, 153, 225, 0.75) 20%, rgba(43, 108, 176, 0.75) 80%);
    border-color: var(--secondary);
    background-size: 200% 200%;
    top: 15%;
    left: 50%;
    transform: translate(-30%, -30%);
}

.circle2 {
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.75) 20%, rgba(47, 133, 90, 0.75) 80%);
    border-color: #276749;
    background-size: 200% 200%;
    bottom: 35%;
    left: 25%; /* Adjusted position to ensure it's on the tree */
    transform: translate(-30%, -30%);
}

/* Fix circle positions on different screen sizes */
@media (min-width: 1024px) {
    .circle2 {
        bottom: 35%;
        left: 25%;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .circle1 {
        top: 10%;
        left: 50%;
    }
    
    .circle2 {
        bottom: 40%;
        left: 25%;
    }
    
    .circle3 {
        bottom: 40%;
        right: 25%;
    }
}

.circle3 {
    background: linear-gradient(135deg, rgba(237, 137, 54, 0.75) 20%, rgba(192, 86, 33, 0.75) 80%);
    border-color: #9c4221;
    background-size: 200% 200%;
    bottom: 35%;
    right: 15%;
    transform: translate(-30%, -30%);
}

/* Circle Hover Effects */
.circle:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.35);
}

.circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.circle:hover::after {
    opacity: 1;
}

/* Approach Section */
.approach-section {
    position: relative;
    background: var(--background);
    box-shadow: 0 0 0 100vmax var(--background-alt);
    clip-path: inset(0 -100vmax);
    padding: clamp(2rem, 4vw, 3rem) 0;
}

.approach-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 3vw, 2.5rem);
}

.approach-section h2,
.tarifs h2 {
    color: var(--secondary);
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin: clamp(1rem, 2vw, 1.5rem) 0 clamp(2.5rem, 4vw, 3rem);
    text-align: center;
    font-weight: normal;
    font-family: 'Georgia', serif;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
}

.approach-section h3 {
    color: var(--secondary);
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    margin: clamp(3rem, 5vw, 4rem) 0 clamp(1.5rem, 3vw, 2rem);
    text-align: center;
    font-weight: normal;
    font-family: 'Georgia', serif;
    line-height: 1.1;
    position: relative;
    padding-left: 0;
    border-left: none;
}

.approach-section h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary);
}

/* Approach Layout */
.approach-layout {
    display: flex;
    gap: clamp(2.5rem, 4vw, 4rem);
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* Responsive approach layout */
@media (max-width: 767px) {
    .approach-layout {
        flex-direction: column;
    }
    
    .tree-container {
        margin-top: 2rem;
    }
}

.approach-text-container {
    flex: 1;
}

.approach-text {
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.approach-text p {
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    line-height: 1.85;
    letter-spacing: 0.01em;
    color: var(--text-secondary);
    text-align: justify;
}

/* Psychotherapie Section */
.psychotherapie-section {
    margin-top: clamp(3rem, 5vw, 4rem);
}

/* Text links with icon */
.text-link {
    color: var(--secondary);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
    border-bottom: 1px dotted var(--secondary);
    padding-bottom: 2px;
}

.text-link:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.link-icon {
    font-style: normal;
    font-size: 0.8em;
    margin-left: 3px;
    display: inline-block;
}

/* Methodologies Container */
.methodologies-container {
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 3vw, 2rem);
    padding: 0 clamp(1rem, 3vw, 2rem);
}

@media (max-width: 480px) {
    .methodologies-container {
        padding: 0 0.5rem;
    }
    
    .approach-section h3 {
        text-align: center;
        margin-bottom: 1.5rem;
        padding-left: 0;
        border-left: none;
    }
    
    .approach-section h3::after {
        content: '';
        position: absolute;
        bottom: -0.5rem;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background-color: var(--primary);
    }
}

.methodology-tabs {
    display: flex;
    gap: clamp(2rem, 3vw, 3.5rem);
    background: #f8f9fa;
    padding: clamp(2rem, 3vw, 2.5rem);
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
}

/* Responsive methodology tabs */
@media (max-width: 767px) {
    .methodology-tabs {
        flex-direction: column;
        padding: clamp(1.5rem, 2vw, 2rem);
    }
    
    .tab-list {
        min-width: 100%;
        width: 100%;
    }
    
    .methodology-description {
        margin-top: 1.5rem;
        padding: clamp(1.5rem, 3vw, 2rem);
        max-height: none;
    }
}

@media (max-width: 480px) {
    .methodology-tabs {
        padding: 1rem;
        margin: 0 auto;
        width: 100%;
    }
    
    .tab-item {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .methodology-description {
        padding: 1rem;
    }
    
    .methodology-content {
        font-size: 0.9rem;
    }
    
    .methodology-content h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
}

.tab-list {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 1.5vw, 1.25rem);
    min-width: clamp(280px, 30vw, 320px);
    background: var(--white);
    padding: clamp(1rem, 2vw, 1.25rem);
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.tab-item {
    width: 100%;
    padding: clamp(1.25rem, 2.5vw, 1.5rem) clamp(1.5rem, 3vw, 1.75rem);
    text-align: left;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: var(--text-secondary);
    background: #f8f9fa;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.tab-item:hover {
    background: #f1f3f5;
    transform: translateX(8px);
}

.tab-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: transparent;
    transition: all 0.3s ease;
}

.tab-item[data-tab="1"]::before {
    background: var(--secondary);
}

.tab-item[data-tab="2"]::before {
    background: #48bb78;
}

.tab-item[data-tab="3"]::before {
    background: #ed8936;
}

.tab-item.active {
    background: var(--white);
    color: var(--text-primary);
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateX(8px);
}

.tab-item[data-tab="1"].active {
    background: linear-gradient(to right, rgba(44, 82, 130, 0.15), white);
}

.tab-item[data-tab="2"].active {
    background: linear-gradient(to right, rgba(72, 187, 120, 0.15), white);
}

.tab-item[data-tab="3"].active {
    background: linear-gradient(to right, rgba(237, 137, 54, 0.15), white);
}

.tab-item.active::before {
    width: 8px;
}

.methodology-description {
    flex: 1;
    background: var(--white);
    padding: clamp(2rem, 4vw, 2.75rem);
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    min-height: clamp(150px, 30vh, 250px);
    overflow-y: auto;
    max-height: 70vh;
}

.methodology-content {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    line-height: 1.8;
    color: var(--text-primary);
    letter-spacing: 0.01em;
}

.methodology-content h3 {
    color: var(--secondary);
    font-size: clamp(1.5rem, 3vw, 1.75rem);
    margin-bottom: clamp(1.5rem, 2vw, 2rem);
    font-weight: normal;
    font-family: 'Georgia', serif;
}

.methodology-content h4 {
    color: var(--text-primary);
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    margin: clamp(1.5rem, 2vw, 2rem) 0 clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 600;
}

.methodology-content p {
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.methodology-content .more-info {
    margin-top: clamp(2rem, 3vw, 2.5rem);
    padding-top: clamp(1rem, 1.5vw, 1.5rem);
    border-top: 1px solid #e2e8f0;
    font-style: italic;
    color: var(--text-secondary);
}

/* Tarifs Section */
.tarifs {
    max-width: 1400px;
    margin: clamp(4rem, 6vw, 5rem) auto;
    background: var(--background-alt);
    box-shadow: 0 0 0 100vmax var(--background-alt);
    clip-path: inset(0 -100vmax);
    padding: clamp(3.5rem, 6vw, 4.5rem) 0;
}

.tarifs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: clamp(2.5rem, 4vw, 3.5rem);
    padding: 0 clamp(1.5rem, 3vw, 2.5rem);
    max-width: 1200px;
    margin: 0 auto;
}

.tarifs-contact h2 {
    color: var(--secondary);
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin: clamp(1rem, 2vw, 1.5rem) 0 clamp(2.5rem, 4vw, 3rem);
    text-align: center;
    font-weight: normal;
    font-family: 'Georgia', serif;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
}

@media (max-width: 767px) {
    .tarifs h2 {
        padding-left: 0;
        margin-left: 0;
    }
    
    .tarifs-container {
        gap: clamp(1.5rem, 3vw, 2.5rem);
        padding: 0 1rem;
    }
    
    .price-box {
        transform: scale(1.03);
    }
    
    .tarif-box {
        padding: clamp(1.5rem, 2.5vw, 2rem);
    }
}

.tarif-box {
    background: var(--white);
    padding: clamp(2rem, 3vw, 2.5rem);
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2vw, 1.25rem);
}

.tarif-box h4 {
    color: var(--text-primary);
    font-size: clamp(1.15rem, 2.5vw, 1.3rem);
    margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
    font-weight: 600;
}

.price-box {
    background: #fcfbf9;
    border: 2px solid var(--primary);
    text-align: center;
    transform: scale(1.05);
    z-index: 1;
    margin: -0.5rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.price {
    font-size: clamp(2.75rem, 6vw, 3.25rem);
    color: var(--primary);
    font-weight: bold;
    margin: clamp(1.25rem, 2vw, 1.75rem) 0;
}

.duration {
    color: var(--text-secondary);
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    margin-bottom: clamp(1.25rem, 2vw, 1.75rem);
}

.consultation-types {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: clamp(1rem, 2vw, 1.25rem);
    flex-wrap: wrap;
}

.tag {
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.625rem 1.25rem;
    border-radius: 999px;
    font-size: clamp(0.85rem, 2vw, 0.9rem);
    font-weight: 500;
}

.important {
    color: var(--secondary);
    font-weight: 500;
    font-size: clamp(0.95rem, 2.5vw, 1rem);
}

/* Contact Section */
.contact {
    padding: clamp(3.5rem, 5vw, 4.5rem) 0;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: clamp(2.5rem, 4vw, 4.5rem);
    padding: 0 clamp(1.5rem, 3vw, 2.5rem);
    align-items: stretch;
    flex-wrap: wrap;
}

/* Responsive contact layout */
@media (max-width: 1023px) {
    .contact-container {
        flex-direction: column;
    }
    
    .contact-info {
        width: 100%;
    }
    
    .contact-form {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: clamp(1.25rem, 2vw, 1.75rem);
    }
    
    .icon-circle {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: clamp(0.625rem, 1.5vw, 0.75rem) clamp(0.875rem, 1.5vw, 1rem);
    }
    
    .submit-btn {
        width: 100%;
    }
}

.contact-info {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 3vw, 2rem);
}

.info-item {
    background: var(--white);
    padding: clamp(1.75rem, 3vw, 2.25rem);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: clamp(1.25rem, 2vw, 1.75rem);
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.icon-circle {
    background: var(--primary-light);
    padding: clamp(0.875rem, 1.5vw, 1.125rem);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon {
    width: clamp(1.5rem, 3vw, 2rem);
    height: clamp(1.5rem, 3vw, 2rem);
    color: var(--primary);
}

.info-content {
    flex: 1;
}

.info-content h3 {
    color: var(--secondary);
    font-size: clamp(1.35rem, 2.5vw, 1.6rem);
    margin-bottom: clamp(0.75rem, 1vw, 1rem);
    font-weight: normal;
    font-family: 'Georgia', serif;
}

.info-content p {
    color: var(--text-secondary);
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    margin-bottom: clamp(0.5rem, 0.75vw, 0.75rem);
    line-height: 1.7;
}

.info-content p:last-child {
    margin-bottom: 0;
}

.info-content a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.transport-info {
    margin-top: clamp(1rem, 1.5vw, 1.25rem);
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    color: #718096;
    line-height: 1.6;
}

.contact-form {
    flex: 1;
    background: var(--white);
    padding: clamp(2rem, 3vw, 2.75rem);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    color: var(--secondary);
    font-size: clamp(1.6rem, 3.5vw, 1.85rem);
    margin-bottom: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: normal;
    font-family: 'Georgia', serif;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: clamp(0.5rem, 1vw, 0.75rem);
    margin-bottom: clamp(1.25rem, 2vw, 1.5rem);
}

.form-group label {
    color: var(--text-secondary);
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: clamp(0.75rem, 2vw, 0.875rem) clamp(1rem, 2vw, 1.25rem);
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    color: var(--text-secondary);
    transition: all 0.3s ease;
    background-color: #f8fafc;
    outline: none;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: #cbd5e0;
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
    background-color: var(--white);
}

.form-group textarea {
    min-height: clamp(120px, 20vh, 150px);
    resize: vertical;
}

.submit-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: clamp(0.875rem, 2vw, 1rem) clamp(2.25rem, 4vw, 2.75rem);
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.05em;
    width: fit-content;
    margin-top: clamp(1.75rem, 2.5vw, 2.25rem);
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 84, 76, 0.2);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-light);
}

.submit-btn:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    transform: none;
}

/* Footer Section */
.footer {
    background: var(--primary);
    padding: clamp(2.5rem, 4vw, 3.5rem) 0 clamp(1.5rem, 2vw, 2rem);
    margin-top: clamp(3.5rem, 5vw, 4.5rem);
    color: var(--white);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 3vw, 2.5rem);
    display: flex;
    flex-wrap: wrap;
    gap: clamp(2rem, 4vw, 4rem);
}

.footer-logo-section {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo-img {
    height: 3.5rem;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo div {
    display: flex;
    flex-direction: column;
}

.footer-logo-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
}

.footer-logo-subtitle {
    font-size: 0.875rem;
    opacity: 0.9;
}

.footer-rpps {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

.footer-links-section {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: clamp(2rem, 4vw, 3rem);
    justify-content: space-between;
}

.footer-quick-links, 
.footer-contact, 
.footer-legal {
    min-width: 180px;
}

.footer h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--text-light);
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    opacity: 0.9;
    position: relative;
    padding-left: 0;
}

.footer ul li a:hover {
    color: var(--white);
    opacity: 1;
    padding-left: 5px;
}

.footer ul li a::before {
    content: '›';
    position: absolute;
    left: -10px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer ul li a:hover::before {
    opacity: 1;
    left: -5px;
}

.footer-bottom {
    max-width: 1400px;
    margin: 2.5rem auto 0;
    padding: 1.5rem clamp(1.5rem, 3vw, 2.5rem) 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .footer-logo-section {
        align-items: center;
        text-align: center;
    }
    
    .footer-links-section {
        justify-content: space-around;
    }
    
    .footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-quick-links, 
    .footer-contact, 
    .footer-legal {
        text-align: center;
        min-width: 160px;
    }
    
    .footer ul li a::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .footer-links-section {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
}

/* Legal Modal Styles */
.legal-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.legal-modal-content {
    background-color: var(--background);
    margin: 5vh auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: var(--text-secondary);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.close-modal:hover {
    color: var(--primary);
}

#legal-modal-content {
    padding: 1rem 0;
}

#legal-modal-content h2 {
    color: var(--secondary);
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    margin-bottom: 1.5rem;
    font-weight: normal;
    font-family: 'Georgia', serif;
    text-align: center;
}

#legal-modal-content h3 {
    color: var(--primary);
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    margin: 2rem 0 1rem;
    font-weight: 600;
}

#legal-modal-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

#legal-modal-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

#legal-modal-content li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

#legal-modal-content a {
    color: var(--secondary);
    text-decoration: none;
    border-bottom: 1px dotted var(--secondary);
    transition: all 0.3s ease;
}

#legal-modal-content a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .legal-modal-content {
        padding: 1.5rem;
        margin: 3vh auto;
        width: 95%;
    }
    
    #legal-modal-content h2 {
        font-size: 1.5rem;
    }
    
    #legal-modal-content h3 {
        font-size: 1.2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Initial load animations for hero section */
.text-container p {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.text-container p:nth-child(1) {
    animation-delay: 0.1s;
}

.text-container p:nth-child(2) {
    animation-delay: 0.3s;
}

.text-container p:nth-child(3) {
    animation-delay: 0.5s;
}

.text-container p:nth-child(4) {
    animation-delay: 0.7s;
}
