/* Global Variables */
:root {
    --primary-color: #1a2a40; /* Navy Blue - Confiance & Professionnalisme */
    --secondary-color: #c5a059; /* Gold/Ocre - Prestige & Diwan */
    --accent-color: #e74c3c; /* Alert/Important */
    --text-color: #333333;
    --light-bg: #f8f9fa;
    --dark-bg: #111b29;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.accent {
    color: var(--secondary-color);
}

.section {
    padding: 80px 0;
}

.bg-light { background-color: var(--light-bg); }
.bg-dark { background-color: var(--primary-color); color: var(--white); }
.bg-dark h2 { color: var(--white); }
.bg-dark a { color: var(--secondary-color); }

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links .btn-primary {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px auto;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 42, 64, 0.8); /* Navy Blue Overlay */
    z-index: -1;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    opacity: 0.9;
}

/* Services Grid */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-top: 4px solid var(--secondary-color);
}

.service-icon img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
}

.service-list {
    margin-top: 15px;
    padding-left: 20px;
}

.service-list li {
    list-style-type: disc;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #666;
}

/* Protection / Split Layout */
.split-layout {
    display: flex;
    align-items: center;
    gap: 50px;
}

.split-layout.reverse {
    flex-direction: row-reverse;
}

.split-content {
    flex: 1;
}

.split-image {
    flex: 1;
}

.split-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.feature-item {
    margin-bottom: 25px;
}

.feature-item h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.feature-item .icon {
    font-size: 1.5rem;
}

.accent-quote {
    border-left: 4px solid var(--secondary-color);
    padding-left: 20px;
    font-style: italic;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 30px;
}

/* Cases Accordion (Visual Style) */
.cases-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.case-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.case-header {
    background: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.case-header h4 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.case-tag {
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 700;
}

.case-tag.danger { background: #fee2e2; color: #991b1b; }
.case-tag.warning { background: #fef3c7; color: #92400e; }
.case-tag.success { background: #d1fae5; color: #065f46; }

.case-body {
    padding: 20px;
    background-color: #fcfcfc;
}

.case-body p {
    margin-bottom: 10px;
}

/* Map */
.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 10px;
}

/* Footer */
.footer {
    background-color: #0f1724;
    color: #a0aec0;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer h3, .footer h4 {
    color: var(--white);
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        padding-top: 80px;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 16px 0;
    }

    .nav-links an {
        color: var(--white);
    }
    
    .nav-links .btn-primary {
         margin-top: 20px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .split-layout, .split-layout.reverse {
        flex-direction: column;
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   NEW SECTIONS STYLES
   ========================================= */

/* Presentation Section */
.presentation-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.presentation-text {
    flex: 1;
}

.presentation-image {
    flex: 1;
}

.presentation-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
    width: 100%;
    height: auto;
}

.presentation-list {
    margin-top: 25px;
}

.presentation-list li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.presentation-list .icon {
    font-size: 1.5rem;
    min-width: 30px;
}

@media (max-width: 768px) {
    .presentation-content {
        flex-direction: column;
    }
}

/* Contact Section & Form */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.text-white {
    color: rgba(255, 255, 255, 0.9);
}

.contact-form-container {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

.full-width {
    width: 100%;
}

.contact-info-container {
    color: var(--white);
}

.info-box {
    background: rgba(255, 255, 255, 0.05); /* slightly lighter dark */
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-box h3 {
    color: var(--white);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    display: inline-block;
    margin-bottom: 20px;
}

.info-box address {
    font-style: normal;
    line-height: 1.8;
}

.info-box a {
    color: var(--secondary-color);
}

.map-container-small iframe {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .map-container-small iframe {
        height: 350px;
    }
}
