:root {
--primary: #1455d9;
--primary-dark: #0f2f72;
--secondary: #dc2626;
--accent: #0ea5e9;
--dark: #101827;
--muted: #64748b;
--light: #f8fafc;
--white: #ffffff;
--border: rgba(15, 23, 42, 0.12);
--shadow: 0 20px 60px rgba(15, 23, 42, 0.14);
--radius: 24px;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Inter, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

html {
scroll-behavior: smooth;
}

body {
line-height: 1.6;
color: var(--dark);
background: var(--light);
overflow-x: hidden;
}

a {
color: inherit;
}

.top-alert {
background: linear-gradient(90deg, var(--secondary), #ef4444, #f97316);
color: white;
text-align: center;
padding: 0.55rem 1rem;
font-size: 0.92rem;
font-weight: 700;
}

nav {
width: min(1180px, calc(100% - 2rem));
margin: 1rem auto 0;
background: rgba(255, 255, 255, 0.88);
backdrop-filter: blur(18px);
padding: 0.85rem 1rem;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 12px 45px rgba(15, 23, 42, 0.08);
border: 1px solid rgba(255,255,255,0.7);
border-radius: 999px;
position: sticky;
top: 1rem;
z-index: 1000;
}

.logo-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  flex: none;
  box-shadow: 0 10px 30px rgba(20, 85, 217, 0.3);
  overflow: hidden;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-links {
display: flex;
gap: 0.3rem;
list-style: none;
align-items: center;
}

.nav-links a {
text-decoration: none;
color: var(--dark);
font-weight: 700;
font-size: 0.92rem;
padding: 0.7rem 0.85rem;
border-radius: 999px;
transition: 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
color: var(--primary);
background: rgba(20, 85, 217, 0.08);
}

.menu-toggle {
display: none;
border: none;
background: var(--primary);
color: white;
width: 42px;
height: 42px;
border-radius: 50%;
cursor: pointer;
}

.hero {
width: min(1180px, calc(100% - 2rem));
min-height: 82vh;
margin: 1.2rem auto 0;
border-radius: 36px;
position: relative;
overflow: hidden;
display: grid;
align-items: center;
padding: clamp(3rem, 7vw, 6rem);
color: white;
background:
linear-gradient(135deg, rgba(8, 20, 47, 0.86), rgba(20, 85, 217, 0.68)),
url('https://images.unsplash.com/photo-1584036561566-baf8f5f1b144?auto=format&fit=crop&w=1600&q=80') center/cover;
box-shadow: var(--shadow);
}

.hero::before,
.hero::after {
content: "";
position: absolute;
border-radius: 999px;
filter: blur(8px);
opacity: 0.5;
animation: float 7s ease-in-out infinite;
}

.hero::before {
width: 280px;
height: 280px;
background: rgba(14, 165, 233, 0.38);
right: -60px;
top: 70px;
}

.hero::after {
width: 200px;
height: 200px;
background: rgba(220, 38, 38, 0.34);
left: -40px;
bottom: 70px;
animation-delay: 1.2s;
}

@keyframes float {
0%, 100% { transform: translateY(0) scale(1); }
50% { transform: translateY(-18px) scale(1.04); }
}

.hero-content {
position: relative;
z-index: 2;
max-width: 820px;
}

.eyebrow {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.45rem 0.85rem;
border-radius: 999px;
background: rgba(255, 255, 255, 0.14);
border: 1px solid rgba(255,255,255,0.25);
font-weight: 800;
margin-bottom: 1.3rem;
}

.hero h1 {
font-size: clamp(2.4rem, 7vw, 5.6rem);
line-height: 0.96;
letter-spacing: -0.06em;
margin-bottom: 1.4rem;
}

.hero p {
font-size: clamp(1.05rem, 2vw, 1.35rem);
max-width: 760px;
color: rgba(255,255,255,0.88);
margin-bottom: 2rem;
}

.hero-actions {
display: flex;
gap: 1rem;
flex-wrap: wrap;
align-items: center;
}

.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.65rem;
text-decoration: none;
border-radius: 999px;
font-weight: 900;
padding: 1rem 1.35rem;
transition: 0.25s ease;
border: 1px solid transparent;
}

.btn-primary {
background: var(--secondary);
color: white;
box-shadow: 0 18px 40px rgba(220, 38, 38, 0.34);
animation: pulse 2.2s infinite;
}

.btn-secondary {
color: white;
border-color: rgba(255,255,255,0.35);
background: rgba(255,255,255,0.12);
}

.btn:hover {
transform: translateY(-3px);
}

@keyframes pulse {
0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.48); }
50% { box-shadow: 0 0 0 16px rgba(220, 38, 38, 0); }
}

.stats {
width: min(1050px, calc(100% - 2rem));
margin: -3.6rem auto 0;
position: relative;
z-index: 5;
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 1rem;
}

.stat-card {
background: rgba(255,255,255,0.95);
backdrop-filter: blur(14px);
border: 1px solid rgba(255,255,255,0.8);
border-radius: 22px;
padding: 1.4rem;
box-shadow: 0 15px 40px rgba(15, 23, 42, 0.09);
text-align: center;
}

.stat-card strong {
color: var(--primary);
font-size: 2rem;
display: block;
line-height: 1;
}

.stat-card span {
color: var(--muted);
font-weight: 700;
font-size: 0.9rem;
}

.section {
padding: 6rem 1rem;
}

.section-inner {
width: min(1180px, 100%);
margin: auto;
}

.section-title {
max-width: 760px;
margin: 0 auto 3rem;
text-align: center;
}

.section-title .label {
display: inline-flex;
align-items: center;
gap: 0.45rem;
color: var(--primary);
font-weight: 900;
background: rgba(20, 85, 217, 0.08);
border-radius: 999px;
padding: 0.45rem 0.85rem;
margin-bottom: 0.85rem;
}

.section-title h2 {
font-size: clamp(2rem, 4vw, 3rem);
line-height: 1.08;
letter-spacing: -0.04em;
margin-bottom: 0.8rem;
}

.section-title p {
color: var(--muted);
font-size: 1.08rem;
}

.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 1.3rem;
}

.card {
position: relative;
padding: 1.6rem;
border-radius: var(--radius);
background: white;
border: 1px solid var(--border);
box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
transition: 0.3s ease;
overflow: hidden;
min-height: 250px;
}

.card::before {
content: "";
position: absolute;
inset: 0;
background: radial-gradient(circle at top right, rgba(14,165,233,0.16), transparent 38%);
opacity: 0;
transition: 0.3s ease;
}

.card:hover {
transform: translateY(-10px);
box-shadow: var(--shadow);
border-color: rgba(20, 85, 217, 0.26);
}

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

.card > * {
position: relative;
z-index: 2;
}

.icon-box {
width: 54px;
height: 54px;
border-radius: 18px;
display: grid;
place-items: center;
color: white;
background: linear-gradient(135deg, var(--primary), var(--accent));
margin-bottom: 1.2rem;
box-shadow: 0 12px 25px rgba(20, 85, 217, 0.24);
}

.card h3 {
font-size: 1.25rem;
line-height: 1.25;
margin-bottom: 0.7rem;
color: var(--primary-dark);
}

.card p,
.card li {
color: var(--muted);
}

.card ul {
padding-left: 1.1rem;
display: grid;
gap: 0.55rem;
}

.card a {
color: var(--primary);
font-weight: 800;
text-decoration: none;
}

.card a:hover {
text-decoration: underline;
}

.urgence {
background: linear-gradient(135deg, #111827, #172554);
color: white;
border-radius: 36px;
padding: clamp(2rem, 5vw, 4rem);
display: grid;
grid-template-columns: 1.2fr 0.8fr;
gap: 2rem;
align-items: center;
box-shadow: var(--shadow);
overflow: hidden;
position: relative;
}

.urgence::after {
content: "";
position: absolute;
right: -100px;
top: -100px;
width: 280px;
height: 280px;
border-radius: 50%;
background: rgba(220, 38, 38, 0.28);
filter: blur(6px);
}

.urgence h2 {
color: white;
font-size: clamp(2rem, 4vw, 3.2rem);
line-height: 1.06;
margin-bottom: 1rem;
}

.urgence p {
color: rgba(255,255,255,0.78);
font-size: 1.1rem;
}

.chips {
display: flex;
gap: 0.8rem;
flex-wrap: wrap;
margin-top: 1.5rem;
}

.chip {
background: rgba(255,255,255,0.12);
border: 1px solid rgba(255,255,255,0.2);
padding: 0.75rem 1rem;
border-radius: 999px;
font-weight: 800;
}

.countdown-box {
position: relative;
z-index: 2;
background: rgba(255,255,255,0.1);
border: 1px solid rgba(255,255,255,0.18);
border-radius: 26px;
padding: 1.5rem;
text-align: center;
}

.countdown-box strong {
display: block;
color: #fecaca;
font-size: clamp(3rem, 7vw, 5rem);
line-height: 1;
}

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

.photo-card {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    background: #dbeafe;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);

    /* Important */
    aspect-ratio: 4 / 3;

    display: flex;
    align-items: center;
    justify-content: center;

    grid-column: span 2;
}

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

.photo-card:hover img {
transform: scale(1.03);
}

/* For small images add contain in the tag*/
.photo-card.contain img{
    object-fit: contain;
    padding: 12px;
    background: white;
}

.photo-caption {
position: absolute;
left: 1rem;
right: 1rem;
bottom: 1rem;
color: white;
padding: 1rem;
border-radius: 18px;
background: linear-gradient(180deg, rgba(15,23,42,0.3), rgba(15,23,42,0.82));
font-weight: 900;
}

.contact-container {
display: grid;
grid-template-columns: 0.9fr 1.1fr;
gap: 2rem;
background: white;
border-radius: 36px;
padding: clamp(1.3rem, 4vw, 3rem);
box-shadow: var(--shadow);
border: 1px solid var(--border);
}

.contact-info {
background: linear-gradient(135deg, var(--primary-dark), var(--primary));
color: white;
border-radius: 28px;
padding: 2rem;
}

.contact-info h2 {
font-size: 2rem;
line-height: 1.1;
margin-bottom: 1rem;
}

.contact-info p {
color: rgba(255,255,255,0.82);
margin-bottom: 0.8rem;
}

form {
display: grid;
gap: 1rem;
}

input, textarea, select {
width: 100%;
padding: 1rem 1.05rem;
border-radius: 16px;
border: 1px solid var(--border);
background: #f8fafc;
outline: none;
transition: 0.2s ease;
font-size: 1rem;
}

input:focus,
textarea:focus,
select:focus {
border-color: var(--primary);
box-shadow: 0 0 0 4px rgba(20, 85, 217, 0.12);
background: white;
}

.submit-btn {
background: linear-gradient(135deg, var(--primary), var(--accent));
color: white;
border: none;
padding: 1rem 1.2rem;
cursor: pointer;
border-radius: 999px;
width: 100%;
font-weight: 900;
font-size: 1rem;
transition: 0.25s ease;
}

.submit-btn:hover {
transform: translateY(-3px);
box-shadow: 0 15px 35px rgba(20, 85, 217, 0.25);
}

footer {
background: #0b1120;
color: rgba(255,255,255,0.75);
text-align: center;
padding: 2.5rem 1rem;
margin-top: 3rem;
}

.reveal {
opacity: 0;
transform: translateY(28px);
transition: 0.75s ease;
}

.reveal.visible {
opacity: 1;
transform: translateY(0);
}

.toast {
position: fixed;
right: 1rem;
bottom: 1rem;
background: #0f172a;
color: white;
padding: 1rem 1.1rem;
border-radius: 18px;
box-shadow: var(--shadow);
transform: translateY(130%);
transition: 0.3s ease;
z-index: 2000;
max-width: 360px;
font-weight: 700;
}

.toast.show {
transform: translateY(0);
}

@media (max-width: 980px) {
    nav {
    border-radius: 24px;
    align-items: flex-start;
    }

    .menu-toggle {
    display: grid;
    place-items: center;
    flex: none;
    }

    .nav-links {
    position: absolute;
    top: calc(100% + 0.8rem);
    left: 0;
    right: 0;
    background: white;
    border-radius: 24px;
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
    display: none;
    }

    .nav-links.open {
    display: flex;
    }

    .nav-links a {
    display: block;
    }

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

    .urgence,
    .contact-container {
    grid-template-columns: 1fr;
    }

    .gallery {
    grid-template-columns: 1fr 1fr;
    }

    .photo-card:nth-child(1),
    .photo-card:nth-child(4) {
    grid-column: span 1;
    }
    }

    @media (max-width: 620px) {
    .logo span {
    display: none;
    }

    .hero {
    min-height: 72vh;
    padding: 2rem;
    }

    .stats,
    .gallery {
    grid-template-columns: 1fr;
    }

    .section {
    padding: 4rem 1rem;
    }
}