/* Base Styles - Inherited from contact page */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.legal-content {
    display: none;
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.legal-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.5s ease-in-out;
}

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

/* Ensure buttons have proper data attributes styling */
.nav-btn {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 20px 30px;
    cursor: pointer;
    font-weight: 500;
    color: #2c5530;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    font-size: 16px;
    min-width: 280px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6b8974 0%, #5a7a63 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.nav-btn:hover::before,
.nav-btn.active::before {
    left: 0;
}

.nav-btn:hover,
.nav-btn.active {
    color: white;
    border-color: #6b8974;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(107, 137, 116, 0.3);
}
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #2c5530;
}

h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #fff;
}

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

/* Header Styles - Same as contact page */
header {
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
}

.desktop-menu {
    display: flex;
    list-style: none;
    margin-right: 30px;
}

.desktop-menu li {
    margin: 0 15px;
}

.desktop-menu a {
    text-decoration: none;
    color: #2c5530;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.desktop-menu a:hover,
.desktop-menu a.active {
    color: #6b8974;
}

.desktop-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #6b8974;
    transition: width 0.3s ease;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Dropdown Styles */
.dropdown-container {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 10px 16px;
    cursor: pointer;
    font-weight: 500;
    color: #2c5530;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    min-width: 80px;
    justify-content: space-between;
    font-size: 14px;
}

.dropdown-btn:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-color: #6b8974;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.dropdown-btn.active {
    background: linear-gradient(135deg, #6b8974 0%, #5a7a63 100%);
    color: white;
    border-color: #6b8974;
}

.dropdown-icon {
    transition: transform 0.3s ease;
    font-size: 12px;
}

.dropdown-btn.active .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 1px solid #e9ecef;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

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

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f8f9fa;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #6b8974;
    transform: translateX(4px);
}

.dropdown-item.selected {
    background: linear-gradient(135deg, #6b8974 0%, #5a7a63 100%);
    color: white;
}

.dropdown-item.selected:hover {
    background: linear-gradient(135deg, #5a7a63 0%, #4a6a53 100%);
    transform: translateX(0);
}

.flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    background-size: cover;
    background-position: center;
}

.flag-us { background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAyMCAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjIwIiBoZWlnaHQ9IjE1IiBmaWxsPSIjQjIyMjM0Ii8+CjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIxLjE1IiBmaWxsPSJ3aGl0ZSIvPgo8cmVjdCB5PSIyLjMiIHdpZHRoPSIyMCIgaGVpZ2h0PSIxLjE1IiBmaWxsPSJ3aGl0ZSIvPgo8cmVjdCB5PSI0LjYiIHdpZHRoPSIyMCIgaGVpZ2h0PSIxLjE1IiBmaWxsPSJ3aGl0ZSIvPgo8cmVjdCB5PSI2LjkiIHdpZHRoPSIyMCIgaGVpZ2h0PSIxLjE1IiBmaWxsPSJ3aGl0ZSIvPgo8cmVjdCB5PSI5LjIiIHdpZHRoPSIyMCIgaGVpZ2h0PSIxLjE1IiBmaWxsPSJ3aGl0ZSIvPgo8cmVjdCB5PSIxMS41IiB3aWR0aD0iMjAiIGhlaWdodD0iMS4xNSIgZmlsbD0id2hpdGUiLz4KPHJlY3QgeT0iMTMuOCIgd2lkdGg9IjIwIiBoZWlnaHQ9IjEuMTUiIGZpbGw9IndoaXRlIi8+CjxyZWN0IHdpZHRoPSI4IiBoZWlnaHQ9IjguMDUiIGZpbGw9IiMzQzNDNkQiLz4KPC9zdmc+'); }
.flag-fr { background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAyMCAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjYuNjciIGhlaWdodD0iMTUiIGZpbGw9IiMwMDIzOTUiLz4KPHJlY3QgeD0iNi42NyIgd2lkdGg9IjYuNjciIGhlaWdodD0iMTUiIGZpbGw9IndoaXRlIi8+CjxyZWN0IHg9IjEzLjMzIiB3aWR0aD0iNi42NyIgaGVpZ2h0PSIxNSIgZmlsbD0iI0VEMjkzOSIvPgo8L3N2Zz4='); }

/* Mobile Navigation */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #2c5530;
    cursor: pointer;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 85, 48, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu {
    list-style: none;
    text-align: center;
    margin-bottom: 40px;
}

.mobile-menu li {
    margin: 20px 0;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
}

.mobile-dropdowns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.mobile-dropdowns .dropdown-btn {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: white;
}

.mobile-dropdowns .dropdown-btn:hover {
    background: rgba(255,255,255,0.2);
}

.mobile-dropdowns .dropdown-menu {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
}

/* Legal Hero Section */
.legal-hero {
    background: linear-gradient(135deg, #6b8974 0%, #5a7a63 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.legal-hero-title {
    font-size: 48px;
    color: white;
    margin-bottom: 20px;
}

.legal-hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Legal Content Section */
.legal-content-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.legal-navigation {
    margin-bottom: 60px;
}

.nav-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-btn {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 20px 30px;
    cursor: pointer;
    font-weight: 500;
    color: #2c5530;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    font-size: 16px;
    min-width: 280px;
    justify-content: center;
}

.nav-btn:hover {
    border-color: #6b8974;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.nav-btn.active {
    background: linear-gradient(135deg, #6b8974 0%, #5a7a63 100%);
    color: white;
    border-color: #6b8974;
    box-shadow: 0 5px 15px rgba(107, 137, 116, 0.3);
}

.nav-btn i {
    font-size: 18px;
}

.legal-content {
    display: none;
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 0 auto;
}

.legal-content.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

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

.content-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid #6b8974;
}

.content-header h2 {
    font-size: 32px;
    color: #2c5530;
}

.legal-section {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e9ecef;
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.legal-section h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c5530;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-section h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #6b8974 0%, #5a7a63 100%);
    border-radius: 2px;
}

.legal-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

.contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
    border-left: 4px solid #6b8974;
}

.contact-info p {
    margin-bottom: 8px;
    color: #333;
}

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

/* Footer - Same as contact page with new section */
footer {
    background: #2c5530;
    color: white;
    padding: 60px 0 30px;
}

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

.footer-logo img {
    max-height: 60px;
    margin-bottom: 20px;
}

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

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact .icon {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.footer-contact a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: #97ae76;
}

.newsletter-title,
.footer-title {
    font-size: 20px;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 25px 0 0 25px;
    outline: none;
}

.newsletter-btn {
    background: #6b8974;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-btn:hover {
    background: #5a7a63;
}

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

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

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #97ae76;
}

.footer-links a::before {
    content: '→';
    font-weight: bold;
    transition: transform 0.3s ease;
}

.footer-links a:hover::before {
    transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 991px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .legal-hero-title {
        font-size: 36px;
    }
    
    .nav-btn {
        min-width: 250px;
        padding: 15px 25px;
        font-size: 15px;
    }
    
    .legal-content {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .legal-hero {
        padding: 60px 0;
    }
    
    .legal-hero-title {
        font-size: 28px;
    }
    
    .legal-hero-subtitle {
        font-size: 16px;
    }
    
    .legal-content-section {
        padding: 60px 0;
    }
    
    .nav-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-btn {
        min-width: 100%;
        max-width: 400px;
    }
    
    .legal-content {
        padding: 30px 20px;
    }
    
    .content-header h2 {
        font-size: 26px;
    }
    
    .legal-section h3 {
        font-size: 18px;
    }
    
    .legal-section p {
        font-size: 15px;
        text-align: left;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-input {
        border-radius: 25px;
        margin-bottom: 10px;
    }
    
    .newsletter-btn {
        border-radius: 25px;
    }
}

@media (max-width: 480px) {
    .legal-hero {
        padding: 50px 0;
    }
    
    .legal-hero-title {
        font-size: 24px;
    }
    
    .legal-content-section {
        padding: 50px 0;
    }
    
    .legal-content {
        padding: 25px 15px;
    }
    
    .content-header h2 {
        font-size: 22px;
    }
    
    .legal-section {
        margin-bottom: 25px;
        padding-bottom: 20px;
    }
    
    .legal-section h3 {
        font-size: 16px;
    }
    
    .legal-section p {
        font-size: 14px;
    }
    
    .nav-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .nav-btn i {
        font-size: 16px;
    }
}