/* Root Variables */
:root {
    --primary-color: #1a237e;
    --secondary-color: #283593;
    --accent-color: #c5cae9;
    --text-dark: #212121;
    --text-light: #757575;
    --background-light: #f5f5f5;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 16px rgba(0,0,0,0.2);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* White Navigation */
.nav-wrapper-white {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-wrapper-white .brand-logo {
    display: flex;
    align-items: center;
}

.nav-wrapper-white .logo-img {
    height: 60px;
    width: auto;
    margin-left: 20px;
    transition: transform 0.3s ease;
}

.nav-wrapper-white .logo-img:hover {
    transform: scale(1.05);
}

.nav-wrapper-white ul a {
    color: var(--text-dark) !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.nav-wrapper-white ul a:hover {
    color: var(--primary-color) !important;
    background-color: rgba(26, 35, 126, 0.05);
}

.nav-wrapper-white ul a.active {
    color: var(--primary-color) !important;
    background-color: var(--accent-color);
    font-weight: 600;
}

.nav-wrapper-white .sidenav-trigger i {
    color: var(--primary-color);
}

/* Old Navigation (for other pages) */
.nav-wrapper {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: var(--shadow);
    padding: 10px 0;
}

.brand-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    margin-left: 20px;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-wrapper ul a {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.nav-wrapper ul a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-wrapper ul a.active {
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

/* Hero Section with Background Image */
.hero-section-image {
    position: relative;
    min-height: 600px;
    background-image: url('../images/CABINET-VALERIE-DUBOIS-5.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.85) 0%, rgba(40, 53, 147, 0.85) 100%);
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-overlay .container {
    position: relative;
    z-index: 2;
}

.hero-title-main {
    color: white;
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
    color: white;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.cta-button-hero {
    background: white !important;
    color: var(--primary-color) !important;
    font-weight: 600;
    padding: 0 40px;
    border-radius: 50px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    animation: fadeInUp 1.2s ease-out;
}

.cta-button-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.4);
}

/* Quick Contact Section */
.quick-contact-section {
    padding: 60px 0;
    background: white;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.quick-contact-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.quick-contact-card h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 30px;
}

.quick-contact-form .input-field {
    margin-bottom: 25px;
}

.quick-contact-form .input-field .prefix {
    color: var(--primary-color);
}

.quick-contact-form input:focus,
.quick-contact-form textarea:focus {
    border-bottom: 2px solid var(--primary-color) !important;
    box-shadow: 0 1px 0 0 var(--primary-color) !important;
}

.quick-contact-form label.active {
    color: var(--primary-color) !important;
}

.quick-contact-form button {
    background: var(--primary-color);
    border-radius: 50px;
    padding: 0 40px;
}

.quick-contact-form button:hover {
    background: var(--secondary-color);
}

/* Old Hero Section (for other pages if needed) */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,197.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

.hero-title {
    color: white;
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
}

.cta-button {
    background: white !important;
    color: var(--primary-color) !important;
    font-weight: 600;
    padding: 0 40px;
    border-radius: 50px;
    box-shadow: var(--shadow-hover);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--primary-color);
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Defense Section */
.defense-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.priority-card {
    height: 100%;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.priority-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.priority-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    text-align: center;
    margin-bottom: 20px;
}

.card-icon i {
    font-size: 48px;
    color: var(--primary-color);
    background: var(--accent-color);
    padding: 20px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.priority-card:hover .card-icon i {
    transform: rotate(360deg);
}

.priority-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 500;
}

/* Expertise Section */
.expertise-section {
    padding: 80px 0;
    background: white;
}

.expertise-card {
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.expertise-card .card-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.expertise-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.expertise-card:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 35, 126, 0.9) 0%, transparent 100%);
    padding: 20px;
}

.card-overlay .card-title {
    color: white !important;
    font-size: 1.5rem;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.expertise-list {
    padding-left: 20px;
    margin-top: 15px;
}

.expertise-list li {
    margin-bottom: 8px;
    color: var(--text-light);
    position: relative;
}

.expertise-list li::before {
    content: '▸';
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--accent-color) 0%, white 100%);
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-section .btn {
    background: var(--primary-color);
    border-radius: 50px;
    padding: 0 30px;
    transition: all 0.3s ease;
}

.about-section .btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-form {
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-hover);
}

.contact-form .input-field {
    margin-bottom: 30px;
}

.contact-form .input-field .prefix {
    color: var(--primary-color);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-bottom: 2px solid var(--primary-color) !important;
    box-shadow: 0 1px 0 0 var(--primary-color) !important;
}

.contact-form label.active {
    color: var(--primary-color) !important;
}

.contact-form button {
    background: var(--primary-color);
    border-radius: 50px;
    padding: 0 40px;
}

.contact-form button:hover {
    background: var(--secondary-color);
}

/* Social Section */
.social-section {
    padding: 60px 0;
    background: var(--background-light);
}

.social-section h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 400;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons .btn-floating {
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.social-icons .btn-floating:hover {
    background: var(--secondary-color);
    transform: translateY(-5px) rotate(360deg);
}

/* Footer */
.page-footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 30px 0;
}

.page-footer p {
    margin: 10px 0;
}

.page-footer a {
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.page-footer a:hover {
    opacity: 0.8;
}

/* Cookie Notice */
.cookie-notice {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 35, 126, 0.95);
    color: white;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-content .btn {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.expertise-card,
.priority-card {
    animation: fadeInUp 0.6s ease-out;
}

.expertise-card:nth-child(1) { animation-delay: 0.1s; }
.expertise-card:nth-child(2) { animation-delay: 0.2s; }
.expertise-card:nth-child(3) { animation-delay: 0.3s; }
.expertise-card:nth-child(4) { animation-delay: 0.4s; }
.expertise-card:nth-child(5) { animation-delay: 0.5s; }
.expertise-card:nth-child(6) { animation-delay: 0.6s; }

/* Responsive Design */
@media only screen and (max-width: 992px) {
    .hero-title-main {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media only screen and (max-width: 600px) {
    .hero-section-image {
        min-height: 500px;
        background-attachment: scroll;
    }
    
    .hero-title-main {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .logo-img,
    .nav-wrapper-white .logo-img {
        height: 50px;
        margin-left: 10px;
    }
    
    .quick-contact-card {
        padding: 25px 20px;
    }
    
    .quick-contact-section {
        margin-top: -30px;
        padding: 40px 0;
    }
}

/* Page Header Section */
.page-header-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 60px 0 40px;
    margin-bottom: 40px;
}

.page-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    font-weight: 300;
}

/* Articles Section */
.articles-section {
    padding: 40px 0 80px;
    background-color: var(--background-light);
}

.article-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.article-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.article-image {
    border-radius: 8px;
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 250px;
}

.article-header {
    margin-bottom: 20px;
}

.article-header h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-meta i {
    vertical-align: middle;
}

.article-content {
    color: var(--text-dark);
    line-height: 1.8;
}

.article-content h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 500;
    margin-top: 25px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-color);
}

.article-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.article-content ul.browser-default {
    margin-left: 25px;
    margin-bottom: 15px;
}

.article-content ul.browser-default li {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.article-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive adjustments for articles */
@media only screen and (max-width: 992px) {
    .article-image {
        margin-bottom: 20px;
        max-height: 300px;
    }
    
    .article-card {
        padding: 20px;
    }
    
    .article-header h2 {
        font-size: 1.5rem;
    }
}

@media only screen and (max-width: 600px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .article-header h2 {
        font-size: 1.3rem;
    }
    
    .article-content h3 {
        font-size: 1.1rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 5px;
    }
}

/* Legal Content Section */
.legal-content-section {
    padding: 40px 0 60px;
    background-color: var(--background-light);
}

.legal-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.legal-card:hover {
    box-shadow: var(--shadow-hover);
}

.legal-section-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
}

.legal-section-title i {
    font-size: 1.8rem;
}

.legal-card p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.legal-card h3 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 12px;
}

.legal-card strong {
    color: var(--primary-color);
    font-weight: 600;
}

.legal-card a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.legal-card a:hover {
    color: var(--secondary-color);
}

.legal-info-list {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.legal-info-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-dark);
    line-height: 1.6;
}

.legal-info-list li::before {
    content: '▸';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.legal-card ul.browser-default {
    margin-left: 25px;
    margin-bottom: 15px;
}

.legal-card ul.browser-default li {
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.7;
}

/* Responsive adjustments for legal page */
@media only screen and (max-width: 992px) {
    .legal-card {
        padding: 25px 20px;
    }
    
    .legal-section-title {
        font-size: 1.3rem;
    }
}

@media only screen and (max-width: 600px) {
    .legal-card {
        padding: 20px 15px;
    }
    
    .legal-section-title {
        font-size: 1.2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .legal-section-title i {
        font-size: 1.5rem;
    }
}

/* Contact Page Section */
.contact-page-section {
    padding: 40px 0 80px;
    background-color: var(--background-light);
}

/* Contact Info Card */
.contact-info-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.contact-info-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.contact-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-info-item i {
    color: var(--primary-color);
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-info-text h3 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 0 8px 0;
}

.contact-info-text p {
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

.contact-info-text em {
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-info-text a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-text a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Map Card */
.map-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
}

.map-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 500;
    margin: 0 0 15px 0;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Contact Form Card */
.contact-form-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-form-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.contact-form-description {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-form-main .input-field {
    margin-bottom: 25px;
}

.contact-form-main .input-field .prefix {
    color: var(--primary-color);
    top: 10px;
}

.contact-form-main input:focus,
.contact-form-main textarea:focus,
.contact-form-main select:focus {
    border-bottom: 2px solid var(--primary-color) !important;
    box-shadow: 0 1px 0 0 var(--primary-color) !important;
}

.contact-form-main label.active {
    color: var(--primary-color) !important;
}

.contact-form-main input.valid,
.contact-form-main textarea.valid {
    border-bottom: 1px solid #4CAF50 !important;
}

.contact-form-main input.invalid,
.contact-form-main textarea.invalid {
    border-bottom: 1px solid #F44336 !important;
}

/* Select Dropdown Styling */
.dropdown-content li > a,
.dropdown-content li > span {
    color: var(--primary-color);
}

.dropdown-content li:hover,
.dropdown-content li.active {
    background-color: var(--accent-color);
}

/* GDPR Notice */
.gdpr-notice {
    background: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.gdpr-notice p {
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 10px;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.gdpr-notice p:last-child {
    margin-bottom: 0;
}

.gdpr-notice i {
    color: var(--primary-color);
    margin-top: 2px;
    flex-shrink: 0;
}

.gdpr-notice a {
    color: var(--primary-color);
    text-decoration: underline;
}

.gdpr-notice a:hover {
    color: var(--secondary-color);
}

/* Submit Button */
.submit-btn {
    background: var(--primary-color) !important;
    border-radius: 50px;
    padding: 0 50px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--secondary-color) !important;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Toast Notification Override */
.toast {
    border-radius: 8px;
    font-weight: 500;
}

/* Responsive Design for Contact Page */
@media only screen and (max-width: 992px) {
    .contact-info-card,
    .contact-form-card {
        margin-bottom: 30px;
    }
    
    .contact-form-card {
        padding: 30px 25px;
    }
}

@media only screen and (max-width: 600px) {
    .contact-info-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        align-items: center;
    }
    
    .contact-form-card {
        padding: 25px 20px;
    }
    
    .contact-form-title {
        font-size: 1.5rem;
    }
    
    .gdpr-notice {
        padding: 15px;
    }
    
    .gdpr-notice p {
        font-size: 0.85rem;
        flex-direction: column;
        text-align: left;
    }
    
    .submit-btn {
        width: 100%;
        padding: 0 30px;
    }
}

/* Animation for form elements */
.contact-form-main .input-field {
    animation: fadeInUp 0.5s ease-out;
}

.contact-form-main .input-field:nth-child(1) { animation-delay: 0.1s; }
.contact-form-main .input-field:nth-child(2) { animation-delay: 0.2s; }
.contact-form-main .input-field:nth-child(3) { animation-delay: 0.3s; }
.contact-form-main .input-field:nth-child(4) { animation-delay: 0.4s; }

/* Focus effect for form */
.contact-form-main .input-field input:focus + label,
.contact-form-main .input-field textarea:focus + label {
    transform: translateY(-14px) scale(0.8);
}


/* Root Variables */
:root {
    --primary-color: #1a237e;
    --secondary-color: #283593;
    --accent-color: #c5cae9;
    --text-dark: #212121;
    --text-light: #757575;
    --background-light: #f5f5f5;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 16px rgba(0,0,0,0.2);
    --nav-height: 80px;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    padding-top: 0 !important;
}

/* White Navigation - FIXED */
.nav-wrapper-white {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 0;
    height: var(--nav-height);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-wrapper-white .brand-logo {
    display: flex;
    align-items: center;
    margin: 0;
    position: relative;
    left: 0;
}

.nav-wrapper-white .logo-img {
    height: 55px;
    width: auto;
    margin: 0;
    transition: transform 0.3s ease;
}

.nav-wrapper-white .logo-img:hover {
    transform: scale(1.05);
}

.main-menu {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
}

.nav-wrapper-white ul.main-menu {
    position: relative;
    right: 0;
}

.nav-wrapper-white ul.main-menu li {
    height: var(--nav-height);
    display: flex;
    align-items: center;
}

.nav-wrapper-white ul a {
    color: var(--text-dark) !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.nav-wrapper-white ul a:hover {
    color: var(--primary-color) !important;
    background-color: rgba(26, 35, 126, 0.05);
}

.nav-wrapper-white ul a.active {
    color: var(--primary-color) !important;
    background-color: var(--accent-color);
    font-weight: 600;
}

.nav-wrapper-white .sidenav-trigger {
    color: var(--primary-color);
}

.nav-wrapper-white .sidenav-trigger i {
    color: var(--primary-color);
}

/* Hero Section with Background Image - FULL WIDTH */
.hero-section-image {
    position: relative;
    min-height: 650px;
    width: 100%;
    margin: 0;
    padding: 0;
    margin-top: var(--nav-height);
    background-image: url('../images/CABINET-VALERIE-DUBOIS-5.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.88) 0%, rgba(40, 53, 147, 0.88) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title-main {
    color: white;
    font-size: 3.8rem;
    font-weight: 300;
    margin-bottom: 25px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
    animation: fadeInDown 1s ease-out;
    line-height: 1.2;
}

.hero-subtitle {
    color: white;
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: 40px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
    animation: fadeInUp 1s ease-out;
}

.cta-button-hero {
    background: white !important;
    color: var(--primary-color) !important;
    font-weight: 600;
    padding: 0 50px !important;
    height: 56px;
    line-height: 56px;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    animation: fadeInUp 1.2s ease-out;
    font-size: 1.1rem;
}

.cta-button-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.4);
}

/* Quick Contact Section */
.quick-contact-section {
    padding: 70px 0 60px;
    background: white;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.quick-contact-card {
    background: white;
    border-radius: 16px;
    padding: 45px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

.quick-contact-card h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 35px;
    font-weight: 400;
}

/* Expertise Cards - FIXED ALIGNMENT */
.expertise-section {
    padding: 80px 0;
    background: white;
}

.expertise-card {
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.expertise-card .card-image {
    position: relative;
    overflow: hidden;
    height: 220px;
    flex-shrink: 0;
}

.expertise-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.expertise-card:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 35, 126, 0.92) 0%, transparent 100%);
    padding: 20px;
}

.card-overlay .card-title {
    color: white !important;
    font-size: 1.4rem;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin: 0;
}

.expertise-card .card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.expertise-card .card-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.expertise-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.expertise-list li {
    margin-bottom: 10px;
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.expertise-list li::before {
    content: '▸';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* Ensure equal height rows */
.expertise-section .row {
    display: flex;
    flex-wrap: wrap;
}

.expertise-section .row > .col {
    display: flex;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--primary-color);
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Defense Section */
.defense-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.priority-card {
    height: 100%;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.priority-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.priority-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    text-align: center;
    margin-bottom: 20px;
}

.card-icon i {
    font-size: 48px;
    color: var(--primary-color);
    background: var(--accent-color);
    padding: 20px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.priority-card:hover .card-icon i {
    transform: rotate(360deg);
}

.priority-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 500;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--accent-color) 0%, white 100%);
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-section .btn {
    background: var(--primary-color);
    border-radius: 50px;
    padding: 0 30px;
    transition: all 0.3s ease;
}

.about-section .btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Social Section */
.social-section {
    padding: 60px 0;
    background: var(--background-light);
}

.social-section h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 400;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons .btn-floating {
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.social-icons .btn-floating:hover {
    background: var(--secondary-color);
    transform: translateY(-5px) rotate(360deg);
}

/* Footer */
.page-footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 30px 0;
}

.page-footer p {
    margin: 10px 0;
}

.page-footer a {
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.page-footer a:hover {
    opacity: 0.8;
}

/* Cookie Notice */
.cookie-notice {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 35, 126, 0.96);
    color: white;
    padding: 20px;
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-content .btn {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media only screen and (max-width: 992px) {
    :root {
        --nav-height: 70px;
    }
    
    .hero-section-image {
        min-height: 550px;
    }
    
    .hero-title-main {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .expertise-card .card-image {
        height: 200px;
    }
}

@media only screen and (max-width: 600px) {
    :root {
        --nav-height: 60px;
    }
    
    .hero-section-image {
        min-height: 480px;
    }
    
    .hero-title-main {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-button-hero {
        padding: 0 35px !important;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .nav-wrapper-white .logo-img {
        height: 45px;
    }
    
    .quick-contact-card {
        padding: 30px 20px;
    }
    
    .quick-contact-section {
        margin-top: -40px;
        padding: 50px 0 40px;
    }
    
    .expertise-card .card-image {
        height: 180px;
    }
    
    .expertise-card .card-content {
        padding: 18px;
    }
    
    .card-overlay .card-title {
        font-size: 1.2rem;
    }
}
