/* Global Styles & Variables */
:root {
    --primary-blue: #2196F3;
    --dark-blue: #0D2339;
    --light-blue: #E3F2FD;
    --white: #ffffff;
    --text-dark: #333333;
    --text-muted: #666666;
    --pink-accent: #ad2e58;
    --font-main: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
    --max-width: 1400px;

    /* Font Sizes */
    --fs-xs: 0.75rem;
    --fs-sm: 0.85rem;
    --fs-base: 1rem;
    --fs-md: 1.1rem;
    --fs-lg: 1.25rem;
    --fs-xl: 1.5rem;
    --fs-xxl: 2rem;
    --fs-3xl: 2.5rem;
    --fs-4xl: 3.5rem;
    --fs-display: 5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    h2 {
        font-size: 32px;
    }
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

@media (max-width: 768px) {
    .about-image img {
        height: 100%;
        width: 100%;
    }

    .hero-img {
        height: 100%;
        width: 100%;
        position: absolute;
        top: 50%;
        left: 65%;
        z-index: -1;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.top-bar {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 10px 0;
    font-size: var(--fs-sm);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info span {
    margin-right: 20px;
}

.top-social {
    display: flex;
    align-items: center;
}

.top-social a {
    margin-left: 15px;
    font-size: var(--fs-md);
    transition: var(--transition);
}

/* Top Bar Social Dropdown */
.social-dropdown {
    position: relative;
    display: inline-block;
}

.social-dropdown-btn {
    color: var(--white);
    cursor: pointer;
    font-size: var(--fs-sm);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    font-weight: 500;
}

.social-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: var(--white);
    min-width: 180px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #eee;
}

.social-dropdown:hover .social-dropdown-content {
    display: block;
    animation: fadeInDown 0.3s ease;
}

.dropdown-group {
    margin-bottom: 15px;
}

.dropdown-group:last-child {
    margin-bottom: 0;
}

.dropdown-group h5 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 12px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 5px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.dropdown-group-icons {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

.dropdown-group-iconsgift {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

.dropdown-group-icons a {
    color: var(--dark-blue) !important;
    font-size: 18px !important;
    margin: 0 !important;
    transition: var(--transition);
}

.dropdown-group-iconsgift a {
    color: rgb(245, 128, 147);
    font-size: 18px !important;
    margin: 0 !important;
    transition: var(--transition);
}

.dropdown-group-icons a:hover {
    color: var(--primary-blue) !important;
    transform: translateY(-2px);
}

.dropdown-group-iconsgift a:hover {
    color: rgb(236, 128, 146) !important;
    transform: translateY(-2px);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    height: 80px;
    z-index: 1000;
}

header .container {
    max-width: var(--max-width);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 50px;
    width: 50px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 500;
    color: var(--dark-blue);
    text-transform: uppercase;
    font-size: var(--fs-sm);
    letter-spacing: 0.5px;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    position: relative;
    height: 835px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/658ed87df9335a34661d5acb53ce273337733063.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: left;
}



.hero h1 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: var(--fs-lg);
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 5px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #1976D2;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.4);
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin: 0 8px;
    cursor: pointer;
}

.dot.active {
    background: var(--white);
}

/* About Section */
.section-padding {
    padding: 50px 0;
    margin-left: 50px;
    margin-right: 50px;
}

.about-content {
    text-align: left;
}

.section-padding.container .about-content {
    margin-left: 25px;
    margin-right: 15px;

}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    align-items: center;
}

@media (max-width: 768px) {
    .section-padding.container .about-content {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
}

.about-tag {
    color: var(--primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    font-size: var(--fs-xs);
    margin-bottom: 10px;
    display: block;
}

.about-content h2 {
    font-size: 32px;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Stats Ribbon */
.stats-banner {
    background: linear-gradient(135deg, var(--primary-blue), #1565C0);
    color: var(--white);
    padding: 25px 0;

}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: var(--fs-base);
    text-transform: uppercase;
    opacity: 0.8;
}

.services-section {
    padding: 80px 0 100px;
    background-color: #f8f9fa;
    width: 100%;
}

.services-swiper {
    padding: 20px 20px 60px !important;
    width: 100%;
    
}

.swiper-slide {
    height: auto; /* Allow slides to match card height */
}

/* Pagination Styling */
.services-swiper .swiper-pagination {
    bottom: 0 !important;
}

.services-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: #007bff8f;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.services-swiper .swiper-pagination-bullet-active {
    width: 25px;
    border-radius: 5px;
    background-color: #007aff; /* Orange highlight as per reference */
    opacity: 1;
}

.service-card-new {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    min-height: 480px; /* Uniform height for slider */
    height: 480px; /* Fixed height requested */
    width: 100%; /* Take slide width */
    margin: 0 auto;
}

.service-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 1;
}

/* Specific background images for cards on hover */
.service-card-new.edu::before { background-image: url('../images/index1.jpg'); }
.service-card-new.net::before { background-image: url('../images/index2.jpg'); }
.service-card-new.it::before { background-image: url('../images/sarl.jpg'); }

.service-card-new::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #007bffbb, #007bff17);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 2;
}

.service-card-new:hover::before,
.service-card-new:hover::after {
    opacity: 1;
}

.service-card-new:hover {
    transform: translateY(-10px);
    color: var(--white);
}

.card-icon-new {
    font-size: 3rem;
    color: #007aff;
    margin-bottom: 25px;
    position: relative;
    z-index: 3;
    transition: all 0.5s ease;
}

.service-card-new:hover .card-icon-new {
    color: var(--white);
}

.service-card-new h3 {
    font-size: 24px;
    color: #007aff;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    z-index: 3;
    transition: all 0.5s ease;
}

.service-card-new:hover h3 {
    color: var(--white);
}

.service-card-new ul {
    margin-bottom: 30px;
    flex-grow: 1;
    position: relative;
    z-index: 3;
}

.service-card-new ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    transition: all 0.5s ease;
}

.service-card-new ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: #007aff;
    border-radius: 50%;
    transition: all 0.5s ease;
}

.service-card-new:hover ul li {
    color: rgba(255, 255, 255, 0.9);
}

.service-card-new:hover ul li::before {
    background-color: var(--white);
}

.read-details-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #007aff10;
    color: #007aff;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.5s ease;
    width: fit-content;
    position: relative;
    z-index: 3;
    margin-top: auto; /* Push to bottom of fixed-height card */
}

.service-card-new:hover .read-details-btn {
    background-color: var(--white);
    color: #007aff;
}

.read-details-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.read-details-btn:hover i {
    transform: translate(3px, -3px);
}

@media (max-width: 992px) {
    .services-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid-new {
        grid-template-columns: 1fr;
    }
    .service-card-new {
        min-height: auto;
    }
}

/* Partners */
.partners-ribbon {
    padding: 20px 0;
    background-color: var(--primary-blue);
    overflow-x: hidden;
}

.partners-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    opacity: 1;
    color: #f0eaeac7;

}

.partners-flex i,
.partners-flex span {
    font-size: clamp(2.2rem, 4vw, 4rem);
    margin: 0;
    font-weight: 700;
}

/* Footer */
footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    justify-content: center;
    align-items: center;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--primary-blue);
}

.footer-about p {
    opacity: 0.7;
    margin-bottom: 20px;
}



.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-blue);
}

.footer-links li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;

}

.footer-links a {
    opacity: 0.7;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    opacity: 0.7;
}

.contact-info i {
    color: var(--white);
    margin-right: 15px;
    font-size: var(--fs-md);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: var(--fs-xs);
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 40px;
    }

    .about-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .services-grid>* {
        min-width: 0;
        /* 🔥 évite les débordements */
    }

    .top-bar .container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .top-info {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .top-info span {
        margin: 5px 10px;
    }
}

/* About Page Specific Styles */
.page-header {
    height: 50vh;
    background: linear-gradient(#1E88E5, #0E2A47);
    /* url('../images/658ed87df9335a34661d5acb53ce273337733063.jpg') no-repeat center center/cover; */
    color: var(--white);
    padding: 100px 0;
    text-align: left;
}

.page-header h1 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.breadcrumb {
    font-size: var(--fs-lg);
    font-weight: 500;
}

.breadcrumb a {
    color: var(--white);
    opacity: 0.8;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb i {
    font-size: var(--fs-sm);
    margin: 0 10px;
    opacity: 0.6;
}

.vision-mission-section {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 50px 0;
}

.vm-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 60px;
}

.vm-row:nth-child(even) {
    flex-direction: row-reverse;
}

.vm-image {
    flex: 1;
}

.vm-image img {
    border-radius: 10px;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.vm-content {
    flex: 1.5;
}

.vm-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.divider {
    height: 4px;
    background-color: var(--primary-blue);
    width: 80%;
    margin: 60px auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
    margin-top: 50px;
}

.value-item h3 {
    font-size: 26px;
    color: var(--primary-blue);
    margin-top: 15px;
}

.value-icon i {
    font-size: var(--fs-4xl);
    color: var(--primary-blue);
}

.team-section {
    min-height: 494px;
    background-color: #e0e0e0;
    margin: 0 1px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.team-member {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.team-member img {
    width: 100%;
    border: 5px solid var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.team-member-overlay {
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    background: rgba(13, 35, 57, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.team-member span {
    color: var(--white);
    font-size: var(--fs-lg);
    font-weight: 700;
    text-transform: uppercase;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.1);
}

.team-member:hover .team-member-overlay {
    opacity: 1;
}

.team-member:hover span {
    transform: translateY(0);
}



@media (max-width: 992px) {
    .values-grid {
        grid-template-columns: 1fr 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
    }

    .vm-row {
        flex-direction: column;
        text-align: center;
    }

    .page-header h1 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
}

.page-header h1 {
    font-size: 40px;
}

/* EDAM Clean Page Specific Styles */
.clean-hero {
    position: relative;
    background: linear-gradient(135deg, #1976D2, #0D47A1);
    height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
    color: var(--white);
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-left {
    flex: 1.2;
    z-index: 2;
}

.hero-title {
    font-size: var(--fs-display);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: var(--fs-xl);
    font-weight: 400;
    opacity: 0.9;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    z-index: 2;
}

.hero-img {
    height: auto;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.2));

}

/* Bubble Animation */
.bubbles {
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.bubble {
    position: absolute;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(31, 55, 100, 0.253);
    border-radius: 50%;
    animation: rise var(--duration) infinite ease-in;
    opacity: 0;
}

.bubble:nth-child(1) {
    left: 10%;
    width: 40px;
    height: 40px;
    --duration: 8s;
    animation-delay: 1s;
}

.bubble:nth-child(2) {
    left: 25%;
    width: 20px;
    height: 20px;
    --duration: 5s;
    animation-delay: 3s;
}

.bubble:nth-child(3) {
    left: 40%;
    width: 50px;
    height: 50px;
    --duration: 12s;
    animation-delay: 0s;
}

.bubble:nth-child(4) {
    left: 55%;
    width: 30px;
    height: 30px;
    --duration: 7s;
    animation-delay: 5s;
}

.bubble:nth-child(5) {
    left: 70%;
    width: 45px;
    height: 45px;
    --duration: 10s;
    animation-delay: 2s;
}

.bubble:nth-child(6) {
    left: 85%;
    width: 25px;
    height: 25px;
    --duration: 6s;
    animation-delay: 4s;
}

.bubble:nth-child(7) {
    left: 15%;
    width: 35px;
    height: 35px;
    --duration: 9s;
    animation-delay: 1.5s;
}

.bubble:nth-child(8) {
    left: 65%;
    width: 20px;
    height: 20px;
    --duration: 4s;
    animation-delay: 2.5s;
}

@keyframes rise {
    0% {
        bottom: -50px;
        transform: translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.5;
    }

    50% {
        transform: translateX(40px);
    }

    100% {
        bottom: 110%;
        transform: translateX(-20px);
        opacity: 0;
    }
}

.service-overlay-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 50px;
}

.overlay-card {
    height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    transition: var(--transition);
}

.overlay-card:hover {
    transform: scale(1.02);
}


.card-overlay {
    width: 100%;
    height: 40%;
    padding: 10px;
    background: linear-gradient(to top, var(--primary-blue), transparent);
    color: var(--white);
}

.overlay-card:hover .card-overlay {
    transition: var(--transition);
    height: 70%;
}

.card-overlay h3 {
    font-size: 26px;
    font-weight: 600;
}

.accent-line {
    width: 80px;
    height: 4px;
    background-color: var(--white);
    margin-top: 10px;
    opacity: 0.8;
}

.methodology-section {
    background-color: #f5f5f5;
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.step-box {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 30px;
    position: relative;
    text-align: left;
    transition: var(--transition);
    border-radius: 40px 0 40px 0;
}

.step-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(33, 150, 243, 0.3);
    border-radius: 0 40px 0 40px;
}

.step-num {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 600;
    margin-bottom: 20px;
}

.step-icon {
    font-size: var(--fs-3xl);
    margin-bottom: 20px;
}

.step-box h4 {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.2;
}

.step-box p {
    font-size: var(--fs-sm);
    opacity: 0.9;
    line-height: 1.5;
}

.quote-form {
    max-width: 800px;
    margin: 50px auto 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: none;
    background-color: #f5f5f5;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background-color: #eeeeee;
    box-shadow: inset 0 0 0 2px var(--primary-blue);
}

.form-submit {
    text-align: center;
    margin-top: 40px;
}

.form-submit .btn {
    padding: 15px 50px;
}

@media (max-width: 992px) {
    .methodology-grid {
        grid-template-columns: 1fr 1fr;
    }

    .service-overlay-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .methodology-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .card-overlay h3 {
        font-size: 26px;
    }
}

/* EDAM Gift Page Specific Styles */
.gift-hero {
    height: 50vh;
    background: linear-gradient(to right, #ec407a, #f48fb1);
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.gift-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.gift-hero-content h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 2px;
    line-height: 1;
    color: var(--white);
}

.gift-hero-content p {
    font-size: var(--fs-xl);
    opacity: 0.9;
    color: var(--white);
}

.gift-hero-image img {
    width: 100%;
    transform: rotate(5deg);
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.2));
}

.gift-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.gift-card {
    background: var(--white);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition); 
    display: flex;
    flex-direction: column;
}

.gift-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(233, 30, 99, 0.1);
}

.gift-card-img {
    margin-bottom: 20px;
}

.gift-card-img img {
    height: 180px;
    margin: 0 auto;
}


.gift-card-info h3  {
    font-size: 20px;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.gift-card-info p  {
    font-size: 15px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #f48fb1;
   
}

.btn-gift {
    background: #f48fb1;
    color: var(--white);
    border-radius: 30px;
    padding: 10px 30px;
    font-size: var(--fs-sm);
    width: 100%;
    margin-top: auto; /* Push to bottom of fixed-height card */
}

.btn-gift:hover {
    background: #ec407a;
    transform: scale(1.05);
}

@media (max-width: 1200px) {
    .gift-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .gift-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .gift-hero {
        height: auto;
        padding: 100px 0;
    }

    .gift-hero-content h1 {
        font-size: 40px;
    }
}

@media (max-width: 576px) {
    .gift-products-grid {
        grid-template-columns: 1fr;
    }
}

/* Galerie Page Specific Styles */
.gallery-hero {
    height: 50vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(13, 35, 57, 0.7), rgba(13, 35, 57, 0.7)), url('../images/6fae210c200b41557e08526a547f092ff426249c.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    color: var(--white);
    text-align: left;
}

.gallery-hero .container {
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.gallery-hero h1 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.gallery-item {
    position: relative;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(68, 67, 67, 0.589);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(33, 150, 243, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay span {
    color: var(--white);
    font-size: var(--fs-xl);
    font-weight: 700;
    text-transform: uppercase;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

.gallery-controls {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.control-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: var(--dark-blue);
    color: var(--white);
    font-size: var(--fs-lg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.control-btn:hover:not(.disabled) {
    background: var(--primary-blue);
    transform: scale(1.1);
    color: var(--white);
}

.control-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: #ccc;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 15px;
}

.page-num {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f5f5;
    color: var(--dark-blue);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid #eee;
}

.page-num:hover {
    background: #e0e0e0;
}

.page-num.active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    box-shadow: 0 4px 10px rgba(33, 150, 243, 0.3);
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-hero h1 {
        font-size: 40px;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-hero {
        height: 300px;
    }
}

/* Contact Page Specific Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.contact-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
    border: 1px solid #eee;
    height: 100px;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-blue);
}

.card-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-lg);
    flex-shrink: 0;

}

.card-text h3 {
    font-size: 26px;
    margin-bottom: 5px;
    color: var(--dark-blue);
}

.card-text p {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    margin: 0;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.map-section {
    margin-bottom: 80px;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 25px;
    }
}

/* Admin Dashboard Specific Styles */
.admin-body {
    background-color: #f0f2f5;
    color: var(--text-dark);
}

.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Admin Sidebar */
.admin-sidebar {
    width: 260px;
    background-color: var(--dark-blue);
    color: var(--white);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
}

.sidebar-header {
    padding: 30px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header img {
    height: 40px;
}

.sidebar-header h3 {
    font-size: 26px;
    font-weight: 700;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
}

.sidebar-nav ul {
    display: flex;
    flex-direction: column;
}

.sidebar-nav ul li {
    margin-left: 0;
}

.sidebar-nav ul li a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-weight: 500;
}

.sidebar-nav ul li a:hover,
.sidebar-nav ul li a.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-left: 4px solid var(--primary-blue);
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-footer a {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Admin Main Content */
.admin-main {
    flex: 1;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
}

.admin-header {
    height: 80px;
    background: var(--white);
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 90;
}

.header-search {
    position: relative;
    width: 300px;
}

.header-search i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.header-search input {
    width: 100%;
    padding: 10px 15px 10px 45px;
    border: 1px solid #eee;
    border-radius: 20px;
    background: #f8f9fa;
}

.header-profile {
    display: flex;
    align-items: center;
    gap: 30px;
}

.notifications {
    position: relative;
    cursor: pointer;
    font-size: var(--fs-lg);
    color: var(--text-muted);
}

.notifications .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--pink-accent);
    color: var(--white);
    font-size: var(--fs-xs);
    padding: 2px 5px;
    border-radius: 10px;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

/* Admin Content Area */
.admin-content {
    padding: 40px;
}

.admin-container h1 {
    font-size: 40px;
    margin-bottom: 30px;
    color: var(--dark-blue);
}

/* Stats Cards */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-xl);
}

.stat-details h3 {
    font-size: 26px;
    font-weight: 700;
}

.stat-details p {
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

/* Admin Tables */
.admin-tables-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

.admin-table-card {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow-x: auto;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-header h2 {
    font-size: 32px;
}

.btn-link {
    color: var(--primary-blue);
    font-size: var(--fs-sm);
    font-weight: 600;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.admin-table th {
    text-align: left;
    padding: 15px;
    color: var(--text-muted);
    font-size: var(--fs-sm);
    text-transform: uppercase;
    font-weight: 600;
    border-bottom: 1px solid #eee;
}

.admin-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.status-badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: var(--fs-xs);
    font-weight: 600;
}

.status-badge.pending {
    background: rgba(255, 152, 0, 0.1);
    color: #FF9800;
}

.status-badge.approved {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.action-btn {
    background: #f8f9fa;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 5px;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.action-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.action-btn.delete:hover {
    background: var(--pink-accent);
}

@media (max-width: 1200px) {
    .admin-tables-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .admin-sidebar {
        width: 0;
        overflow: hidden;
    }

    .admin-main {
        margin-left: 0;
    }

    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .admin-header {
        padding: 12px 16px;
        height: auto;
        flex-wrap: wrap;
        gap: 12px;
    }

    .header-search {
        width: 100%;
        min-width: 0;
    }

    .header-profile {
        gap: 12px;
    }

    .admin-content {
        padding: 16px;
    }

    .admin-table th,
    .admin-table td {
        padding: 12px;
    }
}

/* Admin Detail Pages UI Elements */
.page-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.table-filters {
    padding: 15px;
    background: #fdfdfd;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
}

.table-pagination {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.pagination-btns {
    display: flex;
    gap: 5px;
}

.pagination-btns button {
    width: 35px;
    height: 35px;
    border: 1px solid #eee;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.pagination-btns button.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.pagination-btns button:hover:not(:disabled):not(.active) {
    background: #f1f1f1;
}

.pagination-btns button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

tr.unread {
    background-color: rgba(33, 150, 243, 0.03);
}

tr.unread td {
    font-weight: 500;
}

.header-actions {
    display: flex;
    gap: 10px;
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    height: 600px;
    min-height: 600px;
    overflow: hidden;
}


.hero-content .container {
    padding-left: 100px !important;
    padding-top: 120px !important;
    color: white;
    justify-content: center !important;
    align-items: center !important;
}

.hero-slider .slide {
    padding-left: 0;
    padding-right: 0;
    display: flex;
    align-items: center;
    height: 100%;
}

.slides-container {
    position: relative;
    width: 100%;
    height: 100%;

}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease-in-out, visibility 1.2s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.hero-slider .hero-content {
    text-align: left;
    width: 100%;
    max-width: 900px;

}

.hero-slider .hero-content h1 {
    color: rgba(255, 255, 255, 1);
    font-size: 20px;
    font-weight: 800;
    padding-top: 15px;
    padding-bottom: 15px;
    width: 100%;
}

@media (min-width: 1500px) {
    .hero-slider .slide>.container {
        margin-left: 600px !important;
        margin-right: 200px !important;
    }
}

@media (min-width: 1300px) {
    .hero-slider .slide>.container {
        margin-left: 400px !important;
        margin-right: 200px !important;
    }
}

@media (min-width: 1200px) {
    .hero-slider .slide>.container {
        margin-left: 350px !important;
        margin-right: 200px !important;
    }
}

@media (min-width: 1100px) {
    .hero-slider .slide>.container {
        margin-left: 50px !important;
        margin-right: 200px !important;
    }
}

@media (min-width: 1000px) {
    .hero-slider .slide>.container {
        margin-left: 70px !important;
        margin-right: 200px !important;
    }
}

@media (max-width: 992px) {
    .hero-slider .hero-content {
        max-width: 100%;
        padding-top: 0px;
        padding-left: 50px;
    }
}

@media (max-width: 576px) {
    .hero-slider .hero-content {
        padding-top: 0px;
        padding-left: 50px;
    }
}

@media (max-width: 425px) {
    .hero-slider .hero-content {
        padding-top: 0px;
        padding-left: 50px;
    }
}

@media (max-width: 375px) {
    .hero-slider .hero-content {
        padding-top: 0px;
        padding-left: 50px;
    }
}

@media (max-width: 320px) {
    .hero-slider .hero-content {
        padding-top: 0px;
        padding-left: 50px;
    }
}

@media (max-width: 280px) {
    .hero-slider .hero-content {
        padding-top: 0px;
        padding-left: 50px;
    }
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;


}

/* Ken Burns Effect */
.slide.active {
    animation: kenBurns 20s infinite alternate;
}

@keyframes kenBurns {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

/* Hero Content Animation */
.slide .hero-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out 0.5s;
}

.slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--white);
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .hero-slider {
        height: 600px;
    }

    .hero-slider h1 {
        font-size: 40px;
    }
}
@media (max-width: 450px) {
    .hero-slider h1 {
        font-size: 25px;


    }   
}
@media (max-width: 375px) {
    .hero-slider h1 {
        font-size: 20px;
    }
    .hero-slider .hero-content {
        padding-top: 0px;
        padding-left: 50px;
    }

}


/* Navigation fixes and slide logic adjustments */
.hero-slider .container {
    z-index: 15;
    position: relative;
}


/* --- Premium Scroll Reveal System --- */
/* --- Premium Scroll Reveal System --- */
[data-reveal] {
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

[data-reveal="fade-up"] {
    transform: translateY(40px);
}

[data-reveal="fade-down"] {
    transform: translateY(-40px);
}

[data-reveal="fade-left"] {
    transform: translateX(-40px);
}

[data-reveal="fade-right"] {
    transform: translateX(40px);
}

[data-reveal="zoom-in"] {
    transform: scale(0.95);
}

[data-reveal="rotate-in"] {
    transform: rotate(-3deg) scale(0.95);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0);
}

/* Staggered Delay Utilities */
[data-delay="100"] {
    transition-delay: 100ms;
}

[data-delay="200"] {
    transition-delay: 200ms;
}

[data-delay="300"] {
    transition-delay: 300ms;
}

[data-delay="400"] {
    transition-delay: 400ms;
}

[data-delay="500"] {
    transition-delay: 500ms;
}

[data-delay="600"] {
    transition-delay: 600ms;
}

[data-delay="700"] {
    transition-delay: 700ms;
}

[data-delay="800"] {
    transition-delay: 800ms;
}

/* Header Scrolled State */
header.header-scrolled {
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

header.header-scrolled .logo img {
    height: 50px;
}

/* Micro-interactions */
.btn:active {
    transform: scale(0.95);
}

.service-card:hover .card-img img {
    transform: scale(1.05);
}

.card-img img {
    transition: var(--transition);
}

/* Floating Animation for "Bougeant" feel */
@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

/* Enhanced Hover Effects */
.service-card:hover,
.gift-card:hover,
.overlay-card:hover {
    transform: translateY(-15px) scale(1.02) !important;
    box-shadow: 0 20px 40px rgba(33, 150, 243, 0.2) !important;
}

.about-image img:hover {
    transform: scale(1.03);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- Responsive & Mobile Menu Styles --- */

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--dark-blue);
    cursor: pointer;
    transition: var(--transition);
    z-index: 1001;
}

header.header-scrolled .mobile-menu-toggle {
    color: var(--primary-blue);
}

@media (max-width: 992px) {

    .mobile-menu-toggle {
        display: block;
    }

    nav#main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--white);
        transition: 0.4s cubic-bezier(0.5, 0, 0, 1);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        display: block;
        transform: translateX(100%);
    }

    nav#main-nav.mobile-active {
        transform: translateX(0);
    }

    nav#main-nav ul {
        flex-direction: column;
        padding: 100px 30px;
        gap: 10px;
        align-items: flex-start;
    }

    nav#main-nav ul li {
        width: 100%;
        margin-left: 0;
    }

    nav#main-nav ul li a {
        display: block;
        padding: 12px 0;
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--dark-blue);
        border-bottom: 1px solid #f5f5f5;
    }

    nav#main-nav ul li a.active {
        color: var(--primary-blue);
        border-bottom-color: var(--primary-blue);
    }
}

@media (max-width: 360px) {
    nav#main-nav {
        width: 100%;
    }

    nav#main-nav ul {
        padding: 90px 20px;
    }
}

/* Global Grid Adjustments (tablet & mobile) */
@media (max-width: 992px) {

    .about-grid,
    .services-grid,
    .footer-grid,
    .contact-grid,
    .gift-products-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    header .container {
        padding: 10px 16px;
    }

    .hero-slider .hero-content {
        max-width: 70%;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 500px;
        min-height: 500px;
    }

    .hero-slider .hero-content {
        padding-right: 20px;
        max-width: 90%;
        text-align: left;
    }

    .hero-slider .hero-content h1 {
        font-size: 40px !important;
        line-height: 1.2;
    }


    @media (max-width: 450px) {
        .hero-slider .hero-content h1 {
            font-size: 25px !important;
            line-height: 1.2;
        }
        .hero-slider .hero-content p {
            font-size: 10px;
        }
    }

    .hero-slider .hero-content p {
        font-size: 0.95rem;
    }

    .section-padding {
        margin-left: 15px;
        margin-right: 15px;

    }

.about-content-flex {
    flex-direction: column;
}
@media (max-width: 450px) {
    .about-content-flex {
        flex-direction: row;
    }
}   

    .stats-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        order: -1;
    }
}

/* Page Specific Fixes */
@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .top-bar {
        display: none;
    }

    header {
        height: 70px;
    }

    header.header-scrolled {
        height: 70px;
    }
}

/* Extra small screens tweaks */
@media (max-width: 576px) {
    .stats-banner {
        padding: 20px 0;
        margin-top: 15px;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        row-gap: 15px;
    }

    .about-grid,
    .services-grid {
        text-align: center;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .about-content a.btn,
    .services-section .btn {
        width: 100%;
        max-width: 260px;
    }

    /* Réduction des éléments qui débordent souvent sur très petits écrans */
    .stat-item h3 {
        font-size: 26px;
    }

    .partners-flex {
        flex-wrap: wrap;
        justify-content: center;
        gap: 50px;
    }

    .partners-flex i,
    .partners-flex span {
        font-size: 2.4rem;
        margin: 8px 10px;
    }

    .section-header h2,
    .about-content h2,
    .gallery-hero h1,
    .page-header h1 {
        font-size: 32px;
        word-break: break-word;
    }
}

/* Slider Animation Fix for Mobile */
@keyframes kenBurns {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1.2);
    }
}

/* ==========================================
   PAGINATION STYLES (Public Pages)
   ========================================== */

/* Conteneur principal de la pagination */
.gallery-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Le conteneur de pagination de Laravel */
.gallery-pagination nav {
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    box-shadow: none;
    width: auto;
    position: static;
    height: auto;
    padding: 0;
}

/* Style des liens de pagination */
.gallery-pagination a,
.gallery-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 4px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-blue);
}

/* Hover effect */
.gallery-pagination a:hover {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
    transform: translateY(-2px);
}

/* Active page */
.gallery-pagination .active span {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
    cursor: default;
}

/* Disabled links (previous/next when not available) */
.gallery-pagination .disabled span {
    background: #e0e0e0;
    border-color: #e0e0e0;
    color: #9e9e9e;
    cursor: not-allowed;
    transform: none;
}

/* SVG icons (arrows) */
.gallery-pagination svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .gallery-pagination a,
    .gallery-pagination span {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .gallery-pagination {
        margin-top: 30px;
    }

    .gallery-pagination a,
    .gallery-pagination span {
        width: 32px;
        height: 32px;
        margin: 0 2px;
    }
}

/* ==========================================
   EDAM GIFT PAGE STYLES
   ========================================== */

.gift-intro {
    text-align: center;
    margin-bottom: 60px;
}

.gift-intro h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--dark-blue);
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
}

.intro-text p {
    margin-bottom: 20px;
    color: var(--text-dark);
    font-size: var(--fs-md);
    line-height: 1.8;
}

.why-choose-us {
    margin-top: 80px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 60px;
    margin-top: 50px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.feature-number {
    background-color: #f48fb1;
    color: var(--white);
    width: 45px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--fs-lg);
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--dark-blue);
    line-height: 1.4;
}

/* Responsive Gift Page */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .gift-intro h2 {
        font-size: 32px;
    }
}

/* ==========================================
   EDAM CLEAN ABOUT SECTION
   ========================================== */

.about-clean-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-clean-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-clean-content .about-tag {
    color: var(--primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    font-size: var(--fs-xs);
    margin-bottom: 15px;
    display: block;
}

.about-clean-content h2 {
    font-size: 32px;
    color: var(--dark-blue);
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-clean-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
    line-height: 1.8;
}

@media (max-width: 992px) {
    .about-clean-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-clean-content h2 {
        font-size: 32px;
    }
}

/* ==========================================
   GALLERY LIGHTBOX STYLES
   ========================================== */

.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    backdrop-filter: blur(5px);
    cursor: zoom-out;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease-out;
    cursor: default;
    object-fit: contain;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

#lightbox-caption {
    margin-top: 20px;
    color: var(--white);
    font-size: var(--fs-lg);
    font-weight: 600;
    text-align: center;
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--white);
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.close-lightbox:hover {
    color: var(--pink-accent);
    transform: rotate(90deg);
}

.gallery-item {
    cursor: zoom-in;
}

@media (max-width: 768px) {
    .close-lightbox {
        top: 20px;
        right: 20px;
        font-size: 40px;
    }
}

/* Auth Pages Styles */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(13, 35, 57, 0.9), rgba(0, 122, 255, 0.8)), url('../images/gall.jpg');
    background-size: cover;
    background-position: center;
    padding: 20px;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 500px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo img {
    height: 80px;
    width: auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    font-size: 1.8rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.auth-header p {
    color: #666;
    font-size: 0.9rem;
}

.auth-form-group {
    margin-bottom: 20px;
}

.auth-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-blue);
    font-size: 0.9rem;
}

.auth-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.auth-input:focus {
    border-color: #007aff;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
    outline: none;
}

.auth-footer-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    font-size: 0.85rem;
}

.auth-link {
    color: #007aff;
    text-decoration: none;
    font-weight: 500;
}

.auth-link:hover {
    text-decoration: underline;
}

.btn-auth {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: var(--dark-blue);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-auth:hover {
    background: #007aff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 122, 255, 0.3);
}

.auth-error {
    color: #ff3b30;
    font-size: 0.8rem;
    margin-top: 5px;
}

.auth-status {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-align: center;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #666;
}

@media (max-width: 480px) {
    .auth-card {
        padding: 30px 20px;
    }
}