/*
Theme Name: Petit Refuge Aure
Theme URI: https://exponent.ch
Author: Expo dev
Author URI: https://exponent.ch
Description: Thème sur-mesure pour Petit Refuge Aure, conversion HTML/CSS complet, éditable via le Customizer WordPress, compatible Elementor et Yoast.
Version: 1.2
Text Domain: refugeaure
Tags: responsive, customizer, elementor, yoast
*/
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800;900&family=Playfair+Display:wght@700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0f172a;
    --accent: #f43f5e;
    --accent-light: #fb7185;
    --blue: #3b82f6;
    --purple: #8b5cf6;
    --orange: #f59e0b;
    --teal: #14b8a6;
    --bg: #ffffff;
    --text: #1e293b;
    --text-light: #64748b;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Header Navbar - Modern & Responsive */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.navbar-logo-img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(244, 63, 94, 0.4);
}

.navbar-logo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.navbar-logo-text {
    color: white;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
}

.navbar-logo-text span {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.navbar-menu li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.navbar-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transition: width 0.3s ease;
}

.navbar-menu li a:hover {
    color: white;
}

.navbar-menu li a:hover::after {
    width: 100%;
}

.navbar-cta {
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    border-radius: 50px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(244, 63, 94, 0.4);
    transition: all 0.3s ease;
}

.navbar-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(244, 63, 94, 0.6);
}

.navbar-cta svg {
    width: 20px;
    height: 20px;
}

/* Mobile Menu Toggle */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    position: relative;
    justify-content: center;
    align-items: center;
}

.navbar-toggle span {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
    transform-origin: center center;
    position: absolute;
}

.navbar-toggle span:nth-child(1) {
    top: 0;
}

.navbar-toggle span:nth-child(2) {
    top: 8px;
}

.navbar-toggle span:nth-child(3) {
    top: 16px;
}

.navbar-toggle.active span:nth-child(1) {
    top: 8px;
    transform: rotate(45deg);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.navbar-toggle.active span:nth-child(3) {
    top: 8px;
    transform: rotate(-45deg);
}

/* Mobile Menu */
@media (max-width: 968px) {
    .navbar-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        max-width: 400px;
        height: calc(100vh - 80px);
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 3rem 2rem;
        gap: 2rem;
        transition: right 0.4s ease;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
    }

    .navbar-menu.active {
        right: 0;
    }

    .navbar-menu li {
        width: 100%;
        text-align: center;
    }

    .navbar-menu li a {
        display: block;
        padding: 1rem;
        font-size: 1.2rem;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-cta {
        width: 100%;
        justify-content: center;
    }

    .adoption-images {
        height: auto !important;
    }
}

@media (max-width: 640px) {
    .navbar-container {
        padding: 1rem 1.5rem;
    }

    .navbar-logo-text {
        font-size: 1.1rem;
    }

    .navbar-logo-img {
        width: 45px;
        height: 45px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-logo {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Hero Section - Ultra Moderne */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 2rem;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/cover.jpeg') center/cover no-repeat;
    opacity: 0.12;
    animation: slowZoom 30s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(244, 63, 94, 0.15), transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(59, 130, 246, 0.15), transparent 50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    transform: none !important;
}

.hero-text {
    color: white;
}

.hero-logo {
    width: 100px;
    height: 100px;
    border-radius: 25px;
    margin-bottom: 2rem;
    box-shadow: 0 20px 60px rgba(244, 63, 94, 0.4);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #fb7185 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient 8s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #f43f5e, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 600px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    animation: float 8s ease-in-out infinite;
    animation-delay: 1s;
}

.hero-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Icon Styles */
.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.icon-wrapper svg {
    width: 30px;
    height: 30px;
    stroke: white;
    stroke-width: 2;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: linear-gradient(135deg, #f43f5e, #fb7185);
    color: white;
    text-decoration: none;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 20px 50px rgba(244, 63, 94, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
	margin-bottom: 20px;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.cta-primary:hover::before {
    left: 100%;
}

.cta-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 30px 70px rgba(244, 63, 94, 0.6);
}

/* Story Section - Magazine Style */
.story-section {
    padding: 8rem 2rem;
    background: #fafafa;
    position: relative;
    z-index: 0;
    margin-top: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, #f43f5e, #fb7185);
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-image-wrapper {
    position: relative;
}

.story-main-image {
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    position: relative;
    line-height: 0;
}

.story-main-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
    display: block;
}

.story-main-image:hover img {
    transform: scale(1.05);
}

.floating-card {
    position: absolute;
    background: white;
    padding: 2rem;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: float 6s ease-in-out infinite;
}

.floating-card-1 {
    top: -50px;
    right: -50px;
    width: 200px;
    text-align: center;
}

.floating-card-1 .number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #f43f5e, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.floating-card-1 .label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.story-content {
    padding: 2rem;
}

.story-content h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--primary);
}

.story-content p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.story-content strong {
    color: var(--accent);
    font-weight: 700;
}

/* Gallery Grid Modern */
.gallery-section {
    padding: 8rem 2rem;
    background: white;
    position: relative;
    z-index: 0;
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

.gallery-item-masonry {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    min-width: 280px;
    aspect-ratio: 1;
}

.gallery-item-masonry:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(244, 63, 94, 0.25);
}

.gallery-item-masonry a {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 0;
}

.gallery-item-masonry img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.gallery-lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2.5;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev svg,
.lightbox-next svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2.5;
}

.lightbox-content {
    max-width: 400px;
    width: 100%;
    position: relative;
    z-index: 10000;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    display: block;
}

@media (max-width: 640px) {
    .gallery-masonry {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 0.75rem;
    }

    .gallery-item-masonry {
        min-width: 180px;
        border-radius: 15px;
        aspect-ratio: 1;
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }

    .lightbox-close svg {
        width: 20px;
        height: 20px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
    }

    .lightbox-prev {
        left: 1rem;
    }

    .lightbox-next {
        right: 1rem;
    }

    .lightbox-prev svg,
    .lightbox-next svg {
        width: 20px;
        height: 20px;
    }

    .lightbox-content {
        max-width: 90%;
        padding: 0 1rem;
    }

    .gallery-lightbox {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-masonry {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.5rem;
    }

    .gallery-item-masonry {
        min-width: 150px;
        aspect-ratio: 1;
    }
}

@media (max-width: 360px) {
    .gallery-masonry {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.5rem;
    }

    .gallery-item-masonry {
        min-width: 140px;
        border-radius: 12px;
        aspect-ratio: 1;
    }
}

.gallery-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.gallery-item {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    height: 350px;
}

/* Services Section - Card Style */
.services-section {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, #fafafa 0%, white 100%);
    position: relative;
    z-index: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 5rem;
}

.service-card {
    background: white;
    padding: 3rem;
    border-radius: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--accent), var(--orange));
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 100px rgba(244, 63, 94, 0.2);
    border-color: var(--accent);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    animation: bounce 2s infinite;
}

.service-icon svg {
    width: 35px;
    height: 35px;
    stroke: white;
    stroke-width: 2;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.service-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-card p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Adoption Section - Split Screen */
.adoption-section {
    padding: 8rem 2rem;
    background: var(--primary);
    color: white;
}

.adoption-content {
    text-align: center;
}

.adoption-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.adoption-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.adoption-img {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    height: 290px;
    line-height: 0;
}

.adoption-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
    display: block;
}

.adoption-img:hover img {
    transform: scale(1.05);
}

.adoption-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.adoption-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.adoption-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.adoption-requirements {
    display: grid;
    gap: 1.5rem;
    margin: 3rem 0;
}

.requirement-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.requirement-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.requirement-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.requirement-icon svg {
    width: 26px;
    height: 26px;
    stroke: white;
    stroke-width: 2;
}

.requirement-text h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* Adoption Procedure Timeline */
.procedure-timeline {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 30px;
    margin-top: 3rem;
    border: 2px solid rgba(255, 255, 255, 0.15);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.procedure-timeline h3 {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.procedure-timeline h3 svg {
    width: 32px;
    height: 32px;
}

.timeline-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    margin-bottom: 3rem;
}

.timeline-steps::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 12.5%;
    right: 12.5%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-light), var(--accent));
    z-index: 0;
}

.timeline-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(244, 63, 94, 0.4);
    border: 4px solid rgba(15, 23, 42, 1);
}

.step-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
    stroke-width: 2.5;
}

.step-label {
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.4;
    color: white;
}

.success-badge {
    text-align: center;
    padding: 2rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 25px;
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.success-badge p {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.success-badge svg {
    width: 28px;
    height: 28px;
    stroke: #60a5fa;
    stroke-width: 2.5;
}

/* Donation Section - Visual Impact */
.donation-section {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.donation-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.2), transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
}

.donation-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-top: 5rem;
    position: relative;
    z-index: 1;
}

.donation-visual {
    position: relative;
}

.donation-main-image {
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    line-height: 0;
}

.donation-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.donation-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 40px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.donation-info h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 800;
}

.impact-list {
    list-style: none;
    margin-bottom: 3rem;
}

.impact-list li {
    padding: 1rem 0;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.impact-list li:last-child {
    border: none;
}

.impact-list .icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.impact-list .icon svg {
    width: 20px;
    height: 20px;
    stroke: white;
    stroke-width: 2;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}

.payment-badge {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-badge:hover {
    background: rgba(244, 63, 94, 0.3);
    transform: scale(1.05);
}

.project-highlights {
    margin-top: 6rem;
    position: relative;
    z-index: 1;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(251, 191, 36, 0.5);
    box-shadow: 0 20px 60px rgba(251, 191, 36, 0.3);
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.project-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
    flex-shrink: 0;
}

.project-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
    stroke-width: 2.5;
}

.project-card h4 {
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
    margin: 0;
}

.project-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 2rem;
    min-height: 3.4rem;
}

.project-progress {
    margin-top: 2rem;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    border-radius: 10px;
    transition: width 0.6s ease;
    position: relative;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.project-countdown {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.countdown-amount {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fbbf24;
    line-height: 1.2;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

.countdown-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

/* Parrainage Section */
.parrainage-section {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.parrainage-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.15), transparent 70%);
    border-radius: 50%;
    top: -200px;
    left: -200px;
}

.parrainage-swiper {
    margin-top: 4rem;
    padding: 3rem 1rem 5rem !important;
    position: relative !important;
}

.parrainage-swiper .swiper-slide {
    height: auto;
}

.parrainage-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.parrainage-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(244, 63, 94, 0.5);
    box-shadow: 0 30px 80px rgba(244, 63, 94, 0.3);
}

.parrainage-image-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: #1e293b;
}

.parrainage-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

.parrainage-card:hover .parrainage-image-wrapper img {
    transform: scale(1.1);
}

.parrainage-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.2), rgba(245, 158, 11, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
}

.parrainage-placeholder svg {
    width: 80px;
    height: 80px;
    stroke: rgba(255, 255, 255, 0.5);
}

.parrainage-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.parrainage-card:hover .parrainage-overlay {
    opacity: 1;
}

.parrainage-info-hover {
    color: white;
    width: 100%;
}

.parrainage-info-hover h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.parrainage-code {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 0.8rem;
    padding: 0.3rem 0.8rem;
    background: rgba(251, 191, 36, 0.2);
    border-radius: 15px;
    display: inline-block;
}

.parrainage-info-hover p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.parrainage-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.parrainage-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.parrainage-meta span.montant {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(245, 158, 11, 0.3));
    color: #fbbf24;
    font-weight: 700;
}

.parrainage-meta svg {
    width: 16px;
    height: 16px;
}

.parrainage-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
}

.parrainage-card-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
}

.parrainage-code-display {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 1rem;
    padding: 0.4rem 1rem;
    background: rgba(251, 191, 36, 0.15);
    border-radius: 20px;
    display: inline-block;
    width: fit-content;
}

.parrainage-btn-small {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: auto;
}

.parrainage-btn-small svg {
    width: 18px;
    height: 18px;
}

.parrainage-btn-small:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

.parrainage-btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.parrainage-swiper .swiper-pagination {
    bottom: 1rem;
}

.parrainage-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    width: 12px;
    height: 12px;
}

.parrainage-swiper .swiper-pagination-bullet-active {
    background: var(--accent);
}

.parrainage-swiper .swiper-button-next,
.parrainage-swiper .swiper-button-prev {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.parrainage-swiper .swiper-button-next:hover,
.parrainage-swiper .swiper-button-prev:hover {
    background: rgba(244, 63, 94, 0.3);
    border-color: var(--accent);
}

.parrainage-swiper .swiper-button-next::after,
.parrainage-swiper .swiper-button-prev::after {
    font-size: 20px;
    font-weight: 700;
}

/* Partners Section - Logo Grid */
.partners-section {
    padding: 8rem 2rem;
    background: white;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-top: 5rem;
}

.partner-card {
    background: #fafafa;
    padding: 3rem;
    border-radius: 40px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.05), rgba(245, 158, 11, 0.05));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.partner-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 80px rgba(244, 63, 94, 0.15);
    border-color: var(--accent);
}

.partner-card:hover::before {
    opacity: 1;
}

.partner-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(244, 63, 94, 0.2);
    position: relative;
    z-index: 1;
}

.partner-logo svg {
    width: 60px;
    height: 60px;
    stroke: white;
    stroke-width: 2;
}

.partner-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.partner-card p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Contact Section - Compact & Modern */
.contact-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.15), transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
}

.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
    color: white;
}

.contact-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.contact-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-card-vertical {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 2.5rem 2rem;
    border-radius: 30px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card-vertical:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
    transform: translateY(-10px);
}

.contact-card-vertical .icon-circle {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-card-vertical .icon-circle svg {
    width: 32px;
    height: 32px;
    stroke: white;
    stroke-width: 2;
}

.contact-card-vertical h4 {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-card-vertical p,
.contact-card-vertical a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.6;
    transition: color 0.3s;
}

.contact-card-vertical a:hover {
    color: var(--accent-light);
}

.whatsapp-cta {
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 40px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.whatsapp-cta h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    width: 100%;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    text-decoration: none;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 20px 50px rgba(37, 211, 102, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: auto;
    margin: 0 auto;
}

.whatsapp-btn svg {
    width: 24px;
    height: 24px;
}

.whatsapp-btn:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 30px 70px rgba(37, 211, 102, 0.6);
}

.social-footer {
    text-align: center;
}

.social-footer h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.social-btn svg {
    width: 26px;
    height: 26px;
    stroke: white;
    fill: none;
    stroke-width: 2;
}

.social-btn:hover {
    transform: translateY(-8px);
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 15px 40px rgba(244, 63, 94, 0.5);
}

/* Footer - Modern & Clean */
footer {
    background: #0a0d14;
    color: rgba(255, 255, 255, 0.6);
    padding: 3rem 2rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(244, 63, 94, 0.3);
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-text strong {
    color: white;
    font-weight: 700;
}

.footer-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    margin: 2rem auto;
    border-radius: 2px;
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive - Enhanced */
@media (max-width: 1200px) {
    .gallery-masonry {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.25rem;
    }
    
    .gallery-item-masonry {
        min-width: 250px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 968px) {
    .hero {
        min-height: 100vh;
        padding-bottom: 2rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }

    .hero-image {
        height: auto;
        max-height: 400px;
        width: 100%;
        max-width: 100%;
    }

    .hero-image img {
        object-position: center center;
    }

    .hero-stats {
        margin: 2rem 0;
        gap: 2rem;
    }

    .hero-logo {
        width: 80px;
        height: 80px;
        margin-bottom: 1.5rem;
    }

    .story-grid,
    .donation-grid,
    .adoption-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .adoption-images {
        height: auto;
    }

    .adoption-img {
        height: 250px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .gallery-masonry {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1rem;
    }
    
    .gallery-item-masonry {
        min-width: 220px;
    }

    .adoption-content {
        padding: 3rem 2rem;
    }

    .adoption-wrapper {
        padding: 0 1rem;
    }

    .adoption-images {
        height: 400px;
    }

    .contact-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline-steps::before {
        display: none;
    }

    .donation-info {
        padding: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .parrainage-section {
        padding: 4rem 0.75rem;
    }

    .parrainage-image-wrapper {
        height: 300px;
    }

    .parrainage-card-content {
        padding: 1.5rem;
    }

    .parrainage-card-content h3 {
        font-size: 1.3rem;
    }

    .parrainage-swiper {
        padding: 2rem 0.75rem 4rem !important;
        position: relative !important;
    }

    .parrainage-btn-small {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }

    .parrainage-code-display {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }

    .parrainage-swiper .swiper-button-next,
    .parrainage-swiper .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .parrainage-swiper .swiper-button-next::after,
    .parrainage-swiper .swiper-button-prev::after {
        font-size: 16px;
    }

    .section-header {
        margin-bottom: 3rem;
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: 100vh;
        padding-top: 80px;
        padding-bottom: 2rem;
    }

    .hero-content {
        padding: 1.5rem 1rem;
        gap: 1.5rem;
    }

    .hero-logo {
        width: 70px;
        height: 70px;
        margin-bottom: 1rem;
    }

    h1 {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.2rem);
        margin-bottom: 1.5rem;
    }

    .hero-stats {
        flex-direction: row;
        gap: 1.5rem;
        margin: 1.5rem 0;
        justify-content: center;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .hero-image {
        height: auto;
        max-height: 320px;
        width: 100%;
        max-width: 100%;
    }

    .hero-image img {
        object-fit: cover;
        object-position: center center;
        width: 100%;
        height: 100%;
    }

    .cta-primary {
        padding: 1.2rem 2rem;
        font-size: 1rem;
    }

    .container {
        padding: 0 0.75rem;
        max-width: 100%;
    }

    .section-header {
        text-align: center;
        padding: 0 0.75rem;
    }

    .section-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .story-content h3 {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 1.2rem;
    }

    .story-content p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .story-section,
    .gallery-section,
    .services-section,
    .donation-section {
        padding: 4rem 0.75rem;
    }

    .adoption-requirements {
        padding-top: 2rem;
        gap: 1.5rem;
        margin: 0 0.5rem;
    }

    .requirement-item {
        padding: 1.2rem;
        margin: 0;
    }

    .requirement-text h4 {
        font-size: 1.1rem;
    }

    .requirement-text p {
        font-size: 0.95rem;
    }

    .contact-grid-4 {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .timeline-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .timeline-steps::before {
        display: none;
    }

    .timeline-step {
        display: flex;
        align-items: center;
        gap: 1.5rem;
        text-align: left;
    }

    .step-icon {
        width: 60px;
        height: 60px;
        margin: 0;
        flex-shrink: 0;
    }

    .step-icon svg {
        width: 28px;
        height: 28px;
    }

    .step-label {
        font-size: 1rem;
        flex: 1;
    }

    .success-badge svg {
        width: 36px;
        height: 36px;
    }

    .success-badge p {
        font-size: 1.1rem;
    }

    .whatsapp-cta {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .whatsapp-cta h3 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }

    .whatsapp-btn {
        font-size: 1rem;
        padding: 1rem 2rem;
        gap: 0.7rem;
    }

    .whatsapp-btn svg {
        width: 22px;
        height: 22px;
    }

    .stat {
        text-align: center;
    }

    .gallery-masonry {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .gallery-item-masonry {
        min-width: 200px;
        aspect-ratio: 1;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .project-card {
        padding: 2rem;
    }

    .countdown-amount {
        font-size: 1.5rem;
    }

    .floating-card-1 {
        display: none;
    }

    .partners-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .contact-content h2 {
        font-size: 2rem;
    }

    .social-links {
        gap: 1.5rem;
    }

    .social-btn {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-card,
    .partner-card {
        padding: 2rem;
    }

    .services-grid,
    .story-content,
    .donation-info {
        padding: 0 1rem;
    }

    .adoption-content {
        padding: 2rem 1rem;
    }

    .adoption-content h2 {
        margin-bottom: 1.5rem;
    }

    .procedure-timeline {
        margin: 2rem 1rem;
        padding: 2rem 1.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .procedure-timeline h3 {
        text-align: center;
    }

    .step-icon {
        width: 55px;
        height: 55px;
    }

    .step-icon svg {
        width: 26px;
        height: 26px;
    }

    .step-label {
        font-size: 0.95rem;
    }

    .success-badge svg {
        width: 32px;
        height: 32px;
    }

    .success-badge p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
        padding-top: 70px;
        padding-bottom: 1.5rem;
    }

    .hero-content {
        padding: 1rem 0.75rem;
        gap: 1rem;
    }

    .hero-logo {
        width: 60px;
        height: 60px;
        margin-bottom: 0.75rem;
    }

    h1 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .hero-stats {
        gap: 1rem;
        margin: 1rem 0;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .hero-image {
        height: auto;
        max-height: 280px;
        width: 100%;
        max-width: 100%;
    }

    .hero-image img {
        object-position: center center;
    }

    .cta-primary {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }

    .adoption-images {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        height: 600px;
    }

    .requirement-item {
        padding: 1rem;
        margin: 0;
    }

    .story-section,
    .gallery-section,
    .services-section,
    .donation-section {
        padding: 3rem 0.5rem;
    }

    .adoption-requirements {
        padding-top: 2rem;
        margin: 0 0.5rem;
    }

    .container {
        padding: 0 0.5rem;
        max-width: 100%;
    }

    .section-header {
        padding: 0 0.5rem;
    }

    .section-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .story-content h3 {
        font-size: 1.3rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .story-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .service-card h3 {
        font-size: 1.5rem;
    }

    .service-card p {
        font-size: 0.95rem;
    }

    .requirement-text h4 {
        font-size: 1rem;
    }

    .requirement-text p {
        font-size: 0.9rem;
    }

    .contact-grid-4 {
        padding: 0 0.5rem;
    }

    .contact-card-vertical h4 {
        font-size: 1.1rem;
    }

    .contact-card-vertical p,
    .contact-card-vertical a {
        font-size: 0.9rem;
    }

    .whatsapp-cta {
        padding: 2rem 1rem;
        margin: 0 0.5rem;
    }

    .whatsapp-cta h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .whatsapp-btn {
        font-size: 0.95rem;
        padding: 0.9rem 1.8rem;
        gap: 0.6rem;
    }

    .whatsapp-btn svg {
        width: 20px;
        height: 20px;
    }

    .parrainage-section {
        padding: 3rem 0.5rem;
    }

    .parrainage-image-wrapper {
        height: 280px;
    }

    .parrainage-card-content {
        padding: 1.2rem;
    }

    .parrainage-card-content h3 {
        font-size: 1.2rem;
    }

    .parrainage-info-hover h3 {
        font-size: 1.3rem;
    }

    .parrainage-info-hover p {
        font-size: 0.95rem;
    }

    .parrainage-code {
        font-size: 0.85rem;
        padding: 0.25rem 0.7rem;
    }

    .parrainage-meta {
        gap: 0.5rem;
    }

    .parrainage-swiper {
        padding: 2rem 0.5rem 4rem !important;
        position: relative !important;
    }

    .parrainage-btn-small {
        font-size: 0.8rem;
        padding: 0.55rem 1rem;
    }

    .parrainage-code-display {
        font-size: 0.75rem;
        padding: 0.3rem 0.7rem;
    }

    .parrainage-meta span {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 360px) {
    .hero-content {
        padding: 1rem 0.5rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .container {
        padding: 0 0.5rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .section-tag {
        font-size: 0.8rem;
        padding: 0.4rem 1.2rem;
    }

    .story-content h3 {
        font-size: 1.2rem;
    }

    .story-content p {
        font-size: 0.9rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .requirement-item {
        padding: 1rem;
        margin: 0 0.5rem;
    }

    .requirement-text h4 {
        font-size: 0.95rem;
    }

    .requirement-text p {
        font-size: 0.85rem;
    }

    .step-label {
        font-size: 0.9rem;
    }

    .success-badge p {
        font-size: 0.95rem;
    }

    .contact-card-vertical {
        padding: 1.5rem 1rem;
    }

    .contact-card-vertical h4 {
        font-size: 1rem;
    }

    .contact-card-vertical p,
    .contact-card-vertical a {
        font-size: 0.85rem;
    }

    .whatsapp-cta {
        padding: 1.5rem 0.75rem;
    }

    .whatsapp-cta h3 {
        font-size: 1.1rem;
        margin-bottom: 0.9rem;
    }

    .whatsapp-btn {
        font-size: 0.9rem;
        padding: 0.85rem 1.5rem;
        gap: 0.5rem;
    }

    .whatsapp-btn svg {
        width: 18px;
        height: 18px;
    }

    .project-card {
        padding: 1.5rem;
    }

    .project-card h4 {
        font-size: 1.3rem;
    }

    .project-description {
        font-size: 0.95rem;
    }

    .countdown-amount {
        font-size: 1.3rem;
    }

    .countdown-label {
        font-size: 0.85rem;
    }

    .story-section,
    .gallery-section,
    .services-section,
    .donation-section,
    .parrainage-section {
        padding: 2.5rem 0.5rem;
    }

    .parrainage-image-wrapper {
        height: 250px;
    }

    .parrainage-card-content {
        padding: 1rem;
    }

    .parrainage-card-content h3 {
        font-size: 1.1rem;
    }

    .parrainage-info-hover {
        padding: 1.5rem;
    }

    .parrainage-info-hover h3 {
        font-size: 1.2rem;
    }

    .parrainage-info-hover p {
        font-size: 0.9rem;
    }

    .parrainage-swiper .swiper-button-next,
    .parrainage-swiper .swiper-button-prev {
        width: 35px;
        height: 35px;
    }

    .parrainage-swiper .swiper-button-next::after,
    .parrainage-swiper .swiper-button-prev::after {
        font-size: 14px;
    }

    .parrainage-swiper {
        padding: 1.5rem 0.5rem 3.5rem !important;
        position: relative !important;
    }

    .parrainage-btn-small {
        font-size: 0.75rem;
        padding: 0.5rem 0.9rem;
    }

    .parrainage-btn-small svg {
        width: 16px;
        height: 16px;
    }

    .parrainage-code-display {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }
}

/* Smooth Animations */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
