/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;700&family=Oswald:wght@300;400;600;700&family=Raleway:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

:root {
    /* Colors */
    --color-bg-primary: #0b0f19;
    --color-bg-secondary: #111726;
    --color-bg-tertiary: #172033;
    
    --color-primary: #194452; /* Original dark teal */
    --color-primary-light: #246377;
    --color-primary-dark: #0f2b34;
    
    --color-accent: #d97706; /* Gold/amber */
    --color-accent-light: #f59e0b;
    --color-accent-hover: #b45309;
    
    --color-text-main: #f8fafc;
    --color-text-muted: #94a3b8;
    --color-text-dark: #0f172a;
    
    /* Glassmorphism */
    --glass-bg: rgba(17, 23, 38, 0.7);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-shadow: rgba(0, 0, 0, 0.4);
    
    /* Fonts */
    --font-headings: 'Oswald', sans-serif;
    --font-body: 'Raleway', sans-serif;
    
    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;
    
    /* Transitions & Shadows */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 15px rgba(217, 119, 6, 0.3);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg-primary);
    color: var(--color-text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
    font-variant-numeric: lining-nums;
}

body.no-scroll {
    overflow: hidden;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    color: var(--color-text-main);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 { font-size: 3rem; font-weight: 700; }
h2 { font-size: 2.25rem; font-weight: 600; margin-bottom: 1.5rem; position: relative; }
h3 { font-size: 1.5rem; font-weight: 500; margin-bottom: 1rem; }

/* Paragraphs & Links */
p {
    margin-bottom: 1.25rem;
    color: var(--color-text-muted);
}

a {
    color: var(--color-accent-light);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-text-main);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-headings);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-text-main);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: var(--color-text-main);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-main);
    border: 1px solid var(--color-text-muted);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--color-text-main);
    transform: translateY(-2px);
}

.btn-teal {
    background-color: var(--color-primary);
    color: var(--color-text-main);
}

.btn-teal:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(25, 68, 82, 0.5);
    color: var(--color-text-main);
}

/* ==========================================================================
   HEADER & NAVIGATION (GLASSMORPHISM)
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
    height: 70px;
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.15));
    transition: var(--transition-smooth);
}

.logo-text {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-main);
    letter-spacing: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--color-text-muted);
    font-family: var(--font-headings);
    font-size: 1.05rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-item.active .nav-link {
    color: var(--color-text-main);
}

.nav-link:hover::after, .nav-item.active .nav-link::after {
    width: 100%;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--color-text-main);
    font-size: 1.75rem;
    cursor: pointer;
    z-index: 1001;
}

/* ==========================================================================
   HERO / BANNER SECTION
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    background-size: cover;
    background-position: center 10%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(11, 15, 25, 0.2) 0%, rgba(11, 15, 25, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-family: var(--font-headings);
    font-size: 1.75rem;
    color: var(--color-accent-light);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, var(--color-text-main) 0%, var(--color-text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--color-text-main);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section {
    padding: 7rem 0;
    position: relative;
}

.section-shaded {
    background-color: var(--color-bg-secondary);
}

.section-accent {
    background-color: var(--color-primary-dark);
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
    margin: 0.75rem auto 0;
}

.section-title.no-underline::after {
    display: none;
}

.accent-underline {
    position: relative;
    display: inline-block;
}

.accent-underline::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-accent);
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0.5rem auto 0;
}

/* ==========================================================================
   PARTNERS / LOGOS
   ========================================================================== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2.5rem;
    align-items: center;
    justify-items: center;
}

.partner-logo-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 2rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px; /* Doubled height for fallback */
    transition: var(--transition-smooth);
}

.partner-logo-container:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.partner-logo-img {
    max-height: 130px; /* Doubled image max-height */
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

/* ==========================================================================
   PRESENTATION GRID / SPLIT SECTION
   ========================================================================== */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-content h2 {
    text-align: left;
}

.split-content h2::after {
    margin: 0.75rem 0 0;
}

.split-content p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.split-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
    width: 100%;
}

.split-image-wrapper.contain-img {
    background-color: rgba(255, 255, 255, 0.01);
}

.split-image-wrapper.contain-img .split-image {
    padding: 2rem;
}

.split-image {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-smooth);
    filter: brightness(1.06) contrast(1.02);
}

.split-image-wrapper:hover .split-image {
    transform: scale(1.05);
}

/* ==========================================================================
   PRESTATIONS CARDS
   ========================================================================== */
.presta-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.presta-card {
    background: var(--color-bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.presta-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(217, 119, 6, 0.2);
}

.presta-image-wrapper {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.presta-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    filter: brightness(1.06) contrast(1.02);
}

.presta-card:hover .presta-image {
    transform: scale(1.05);
}

.presta-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--color-accent);
    color: var(--color-text-main);
    padding: 0.35rem 1rem;
    border-radius: 4px;
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.presta-content {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.presta-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

.presta-desc {
    color: var(--color-text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
    flex-grow: 1;
    line-height: 1.7;
}

.presta-bullets {
    list-style: none;
    margin-bottom: 2rem;
}

.presta-bullets li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-main);
    font-size: 0.95rem;
}

.presta-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 12px;
    height: 12px;
    background-color: var(--color-accent);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 16v-2l-8-5V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L14 19v-5.5l8 2.5z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 16v-2l-8-5V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L14 19v-5.5l8 2.5z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
    -webkit-mask-size: contain;
}

/* ==========================================================================
   GALERIE GRID (PHOTOS & VIDEOS)
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    gap: 2rem;
}

.gallery-item {
    background: var(--color-bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.1);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.gallery-image-wrapper {
    height: 280px;
    overflow: hidden;
}

.gallery-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    filter: brightness(1.06) contrast(1.02);
}

.gallery-item:hover .gallery-image-wrapper img {
    transform: scale(1.05);
}

.gallery-info {
    padding: 1.5rem;
}

.gallery-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   BLOG / ARTICLE STYLES
   ========================================================================== */
.blog-post-card {
    background: var(--color-bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    margin-bottom: 3rem;
}

.blog-post-hero {
    height: 450px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.blog-post-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, var(--color-bg-secondary) 0%, rgba(11, 15, 25, 0.3) 100%);
}

.blog-post-body {
    padding: 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.blog-post-title {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.blog-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    font-family: var(--font-headings);
    letter-spacing: 1px;
}

.blog-post-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--color-text-muted);
}

.blog-post-content p {
    margin-bottom: 2rem;
}

.blog-post-content h3 {
    color: var(--color-text-main);
    font-size: 1.75rem;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
}

.blog-post-content strong {
    color: var(--color-text-main);
}

.blog-post-content hr {
    border: 0;
    height: 1px;
    background: var(--glass-border);
    margin: 3rem 0;
}

/* ==========================================================================
   CONTACT FORM & INFO
   ========================================================================== */
.contact-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-footer-grid .map-container {
    margin-top: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
}

.contact-card {
    background: var(--color-bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    font-family: var(--font-headings);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    color: var(--color-text-main);
}

.form-control {
    width: 100%;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    padding: 1rem;
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 10px rgba(217, 119, 6, 0.2);
}

textarea.form-control {
    min-height: 180px;
    resize: vertical;
}

.contact-glass-card {
    background: var(--color-bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
    min-height: 320px;
    box-shadow: var(--shadow-md);
}

.contact-glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-glow);
    background: var(--color-bg-tertiary);
}

.contact-card-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(217, 119, 6, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.contact-glass-card:hover .contact-card-icon-wrapper {
    background: rgba(217, 119, 6, 0.18);
    transform: scale(1.1);
}

.contact-card-svg {
    width: 26px;
    height: 26px;
    fill: var(--color-accent-light);
    transition: var(--transition-smooth);
}

.contact-glass-card:hover .contact-card-svg {
    fill: var(--color-accent);
}

.contact-card-heading {
    font-family: var(--font-headings);
    font-size: 1.35rem;
    color: var(--color-text-main);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-card-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.contact-card-action {
    font-family: var(--font-headings);
    font-size: 0.95rem;
    color: var(--color-accent-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
    transition: var(--transition-smooth);
    word-break: break-all;
}

.contact-glass-card:hover .contact-card-action {
    color: var(--color-text-main);
    border-color: var(--color-accent-light);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 1.25rem;
    transition: var(--transition-smooth);
}

.social-link:hover {
    color: var(--color-text-main);
    background: var(--color-primary);
    border-color: var(--color-primary-light);
    transform: translateY(-3px);
}

/* Map placeholder / stylized */
.map-container {
    background: var(--color-bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    height: 300px;
    margin-top: 2rem;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.map-link {
    text-decoration: none;
    display: block;
}

.map-link:hover .map-container {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.map-placeholder-overlay {
    text-align: center;
    padding: 2rem;
    z-index: 2;
}

.map-icon {
    font-size: 3rem;
    color: var(--color-accent-light);
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--color-bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-headings);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text-main);
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
    list-style: none;
    flex-wrap: wrap; /* Allows wrapping on small screens */
}

.footer-link {
    color: var(--color-text-muted);
    font-family: var(--font-headings);
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.footer-link:hover {
    color: var(--color-text-main);
}

.footer-credits {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 2rem;
    margin-top: 2rem;
}

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-7px);
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media screen and (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.75rem; }
    
    .section {
        padding: 5rem 0;
    }
    
    .split-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .presta-cards-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-cards-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media screen and (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--color-bg-secondary);
        border-left: 1px solid var(--glass-border);
        box-shadow: var(--shadow-lg);
        z-index: 999;
        transition: var(--transition-smooth);
        padding: 6rem 2rem 2rem;
    }
    
    .main-nav.open {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    .hero-content {
        padding: 2rem 1rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
        letter-spacing: 2px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.05rem;
    }
    
    .blog-post-hero {
        height: 300px;
    }
    
    .blog-post-body {
        padding: 2rem 1.5rem;
    }
    
    .blog-post-title {
        font-size: 2rem;
    }
    
    .footer-nav {
        gap: 1.25rem; /* Smaller gap on mobile to prevent clipping */
    }
}

/* ==========================================================================
   CUSTOM IMAGE ALIGNMENT OVERRIDES (TO PREVENT FACES CUTOFF)
   ========================================================================== */

/* 1. Prestations / Services Cards (Home & Prestations Pages) */
/* "Formule Déambulation" card image (img_2674.jpg is vertical, face is at the top) */
.presta-card img[src*="img_2674.jpg"] {
    object-position: center 12%; /* Shifts down to keep head & face fully visible */
}

/* "Conférence interactive" card image (stage photo, shows stage but needs lower body) */
.presta-card img[src*="conference-stage.jpg"] {
    object-position: center 85%; /* Shows more of the bottom part of the photo (body/stage) */
}

/* 2. Gallery Page Grid (galerie.html) */
/* "Magie mentale de proximité" image (olivier-cards1.jpg) - Shift down to keep face in frame */
.gallery-item img[src*="olivier-cards1.jpg"] {
    object-position: center 10%;
}

/* Image above "Lecture du comportement humain" (olivier-cards2.jpg) - Shift down to keep face in frame */
.gallery-item img[src*="olivier-cards2.jpg"] {
    object-position: center 10%;
}

/* ==========================================================================
   NEW FEATURES & STYLING IMPROVEMENTS (DE-AI THE UI)
   ========================================================================== */

/* Secret Airplane link */
.btn-airplane-secret {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted); /* Slate grey */
    opacity: 0.35; /* Faintly visible */
    transition: var(--transition-smooth);
    padding: 6px;
    cursor: pointer;
}

.btn-airplane-secret:hover {
    color: var(--color-accent-light);
    opacity: 0.9;
    transform: rotate(15deg);
}

.airplane-secret-icon {
    width: 15px; /* Discreet size */
    height: 15px;
    fill: currentColor;
}

.airplane-svg-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: var(--transition-smooth);
}

/* SVG Contact Icons instead of low-quality system emojis */
.contact-svg-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    display: inline-block;
    vertical-align: middle;
}

/* Signature block */
.signature-text {
    font-family: 'Caveat', cursive;
    font-size: 3.5rem;
    color: var(--color-accent-light);
    transform: rotate(-3deg);
    display: inline-block;
    letter-spacing: 0px;
    text-transform: none;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

/* FAQ Accordion on Prestations page */
.faq-accordion {
    margin-top: 3rem;
    border-top: 1px solid var(--glass-border);
}

.faq-item {
    border-bottom: 1px solid var(--glass-border);
}

.faq-trigger {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-main);
    font-family: var(--font-headings);
    font-size: 1.25rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-smooth);
}

.faq-trigger:hover {
    color: var(--color-accent-light);
}

.faq-icon {
    font-size: 1.5rem;
    transition: var(--transition-smooth);
    color: var(--color-accent-light);
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-panel-content {
    padding-bottom: 1.5rem;
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.faq-panel-content ul {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
}

.faq-panel-content li {
    margin-bottom: 0.5rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* ==========================================================================
   LOGO MARQUEE SLIDER
   ========================================================================== */
.logo-marquee-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 1.5rem 0;
}

/* Fade-out overlays at the edges */
.logo-marquee-container::before,
.logo-marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 220px; /* Increased to fade out larger logos beautifully */
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logo-marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--color-bg-secondary) 0%, transparent 100%);
}

.logo-marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--color-bg-secondary) 0%, transparent 100%);
}

.logo-marquee-track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: marquee-scroll 36s linear infinite;
    align-items: center;
}

.logo-marquee-group {
    display: flex;
    gap: 4rem;
    padding-right: 4rem;
}

.logo-marquee-track .partner-logo-container {
    width: 480px; /* Doubled from 240px */
    height: 220px; /* Doubled from 110px */
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem; /* More internal margin */
    transition: var(--transition-smooth);
}

.logo-marquee-track .partner-logo-container:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.logo-marquee-track .partner-logo-img {
    max-height: 130px; /* Doubled from 65px */
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

/* Pause scroll on hover */
.logo-marquee-container:hover .logo-marquee-track {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive adjustments for Mobile & Tablets */
@media screen and (max-width: 768px) {
    .logo-marquee-container::before,
    .logo-marquee-container::after {
        width: 100px; /* Proportional fade overlays for mobile screens */
    }
    
    .logo-marquee-track {
        gap: 0;
        animation: marquee-scroll 24s linear infinite;
    }
    
    .logo-marquee-group {
        gap: 2rem;
        padding-right: 2rem;
    }
    
    .logo-marquee-track .partner-logo-container {
        width: 260px; /* Doubled from 130px */
        height: 140px; /* Doubled from 70px */
        padding: 1rem;
    }
    
    .logo-marquee-track .partner-logo-img {
        max-height: 84px; /* Doubled from 42px */
    }
}

/* ==========================================================================
   HIDDEN WIDGET BRANDING (ELFSIGHT WATERMARK BYPASS)
   ========================================================================== */
[class*="BrandingContainer"],
[class*="Branding__Component"],
[class*="Branding__Container"],
[class*="eapps-link"],
a[href*="elfsight.com"] {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}
