body {
    margin: 0;
    font-family: system-ui;
    background: #f6f7f9;
    color: #0f172a;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: auto;
}

.narrow {
    max-width: 780px;
}

.site-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #e5e7eb;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}

.nav a {
    margin-left: 18px;
    text-decoration: none;
    color: #0f172a;
}

.nav a.active {
    color: #1e40af;
}

.hero {
    margin-top: -40px;
    padding: 60px 0 30px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 26px;
    align-items: start;
    /* TOP-ALIGNS LEFT TEXT */
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.18),
        0 10px 18px rgba(0, 0, 0, 0.12);
    transform: translateY(-20px);
    /* FLOAT EFFECT */
    background: #fff;
}

.content {
    padding: 36px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.gallery-grid img {
    width: 100%;
    border-radius: 10px;
}

.contact-box form {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

.contact-box input,
textarea,
button {
    padding: 10px;
}

.qr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.site-footer {
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
}

.whatsapp-float {
    background-color: #ffffff00;
    background-image: url("/Whatsapp Logo.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 40px;
}

.social-float {
    position: fixed;
    left: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hero-emphasis h2 {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    /* BIGGER */
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 18px;
}

.hero-emphasis p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 640px;
}
.social-float a {
    width: 40px;
    height: 40px;
    background: #1e40af;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
}
@media (max-width: 900px) {
    .hero-emphasis h2 {
        font-size: 2rem;
    }

    .hero-image img {
        transform: translateY(0);
        /* no float on mobile */
    }
}

/* ================= PROFILE PAGE ================= */



/* HERO */
.profile-hero {
    background: linear-gradient(180deg, #ffffff, #f6f7f9);
}

.profile-hero h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.profile-lead {
    font-size: 1.15rem;
    line-height: 1.65;
    color: #475569;
}

/* STRENGTHS */
.profile-strengths {
    padding-top: 10px;
}

.strength-box {
    background: #ffffff;
    border-left: 4px solid #1e40af;
    padding: 24px 26px;
    border-radius: 10px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

.strength-box p {
    font-size: 1.05rem;
    line-height: 1.6;
}

/* CONTENT */
.profile-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.profile-content p {
    margin-bottom: 14px;
    color: #475569;
}

/* MOBILE */
@media (max-width: 900px) {
    .hero-image img {
        max-height: 300px;
    }
}

    .profile-lead {
        font-size: 1.05rem;
    }
}
/* ================= ACHIEVEMENTS PAGE ================= */



/* HERO */
.achievements-hero {
    background: linear-gradient(180deg, #ffffff, #f6f7f9);
}

.achievements-hero h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.achievements-lead {
    font-size: 1.1rem;
    color: #475569;
    max-width: 720px;
}

/* METRICS */
.achievement-metrics .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.metric-card {
    background: #ffffff;
    padding: 24px 18px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

.metric-card strong {
    display: block;
    font-size: 1.6rem;
    color: #1e40af;
    margin-bottom: 6px;
}

.metric-card span {
    font-size: 0.9rem;
    color: #475569;
}

/* DETAILS LIST */
.achievement-details {
    padding-top: 10px;
}

.achievement-list {
    list-style: none;
}

.achievement-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 18px;
    line-height: 1.6;
    color: #475569;
}

.achievement-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: #1e40af;
}

/* MOBILE */
@media (max-width: 900px) {
    .achievement-metrics .container {
        grid-template-columns: 1fr 1fr;
    }

    .achievements-hero h2 {
        font-size: 2rem;
    }
}
/* ================= GALLERY PAGE ================= */



/* HERO */
.gallery-hero {
    background: linear-gradient(180deg, #ffffff, #f6f7f9);
}

.gallery-hero h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.gallery-lead {
    font-size: 1.1rem;
    color: #475569;
    max-width: 720px;
}

/* SECTIONS */
.gallery-section h3 {
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.gallery-section.alt {
    background: #ffffff;
}

/* GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.gallery-grid img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: translateY(-4px);
}

/* MOBILE */
@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-hero h2 {
        font-size: 2rem;
    }
}
/* ================= CONTACT PAGE ================= */


/* HERO */
.contact-hero {
    background: linear-gradient(180deg, #ffffff, #f6f7f9);
}

.contact-hero h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-lead {
    font-size: 1.1rem;
    color: #475569;
    max-width: 720px;
}

/* DETAILS */
.contact-card {
    background: #ffffff;
    padding: 26px 28px;
    border-radius: 12px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

.contact-card p {
    margin-bottom: 10px;
    color: #475569;
}

/* FORM */
.contact-form-section h3 {
    margin-bottom: 14px;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    color: #475569;
}

.contact-form input,
.contact-form textarea {
    margin-top: 6px;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
}

.contact-form button {
    margin-top: 10px;
    padding: 12px;
    background: #1e40af;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    cursor: pointer;
}

/* QR */
.contact-qr h3 {
    margin-bottom: 18px;
}

.qr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    text-align: center;
}

.qr-grid img {
    width: 120px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.qr-grid span {
    display: block;
    margin-top: 8px;
    font-size: 0.9rem;
    color: #475569;
}

/* MOBILE */
@media (max-width: 900px) {
    .contact-hero h2 {
        font-size: 2rem;
    }

    .qr-grid {
        grid-template-columns: 1fr;
    }
}
/* CONTACT PAGE GAP CONTROL */
.contact-page section.compact {
    padding: 28px 0;
}

.contact-page p {
    margin-bottom: 10px;
}

.contact-lead {
    margin-bottom: 12px;
}

.contact-card p {
    margin-bottom: 12px;
}

.contact-form-section h3,
.contact-qr h3 {
    margin-bottom: 12px;
}
/* ================= QR ZOOM & MODAL ================= */

/* Hover zoom */
.qr-zoom {
    cursor: zoom-in;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.qr-zoom:hover {
    transform: scale(1.06);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

/* Modal overlay */
.qr-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Active state */
.qr-modal.active {
    display: flex;
}

/* Inner box */
.qr-modal-inner {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

/* Large QR image */
.qr-modal-inner img {
    max-width: 420px;
    width: 100%;
    background: #ffffff;
    padding: 14px;
    border-radius: 12px;
}

/* Close button */
.qr-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 36px;
    height: 36px;
    background: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
/* ================= IMAGE MODAL (GLOBAL) ================= */

/* Hover zoom (desktop) */
.zoomable {
    cursor: zoom-in;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.zoomable:hover {
    transform: scale(1.05);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

/* Modal base */
.image-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    z-index: 99999;
    transition: opacity 0.25s ease;
}

/* Active */
.image-modal.active {
    opacity: 1;
    pointer-events: auto;
}

/* Dark overlay */
.image-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
}

/* Modal box */
.image-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    z-index: 2;
    transform: scale(0.92);
    transition: transform 0.25s ease;
}

/* Scale in animation */
.image-modal.active .image-modal-content {
    transform: scale(1);
}

/* Image */
.image-modal-content img {
    width: 100%;
    max-width: 480px;
    max-height: 80vh;
    object-fit: contain;
    touch-action: pinch-zoom;
    /* MOBILE PINCH ZOOM */
}

/* Close button */
.image-modal-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 36px;
    height: 36px;
    background: #fff;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Mobile: disable hover zoom */
@media (max-width: 900px) {
    .zoomable:hover {
        transform: none;
        box-shadow: none;
    }
}
/* ===== FIX HEADER LINE GAP ===== */

.site-header h1,
.site-header h2,
.site-header p {
    margin: 0;
    line-height: 1.2;
}
/* iOS viewport height fix */

@media (hover: hover) {
    .zoomable:hover {
        transform: scale(1.05);
    }
}

@media (hover: none) {
    .zoomable {
        transform: none;
    }
}
/* Mobile */
@media (max-width: 600px) {}

/* Tablet */
@media (max-width: 900px) {}

/* Laptop */
@media (max-width: 1200px) {}
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero h1 {
        font-size: 2rem;
    }
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}
input,
textarea {
    font-size: 16px;
    /* Prevents iOS zoom */
}
a:focus,
button:focus,
input:focus {
    outline: 2px solid #94a3b8;
    outline-offset: 2px;
}

/* ===== GLOBAL GAP NORMALIZATION ===== */

section {
    padding-top: 32px;
    padding-bottom: 32px;
}

@media (max-width: 900px) {
    section {
        padding-top: 24px;
        padding-bottom: 24px;
    }
}
/* ===== TEXT GAP RESET ===== */

h1,
h2,
h3,
h4,
h5,
p {
    margin-top: 0;
}

p {
    margin-bottom: 14px;
}

h2 {
    margin-bottom: 16px;
}

h3 {
    margin-bottom: 12px;
}

.container {
    margin-top: 0;
    margin-bottom: 0;
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 720px;
    margin: auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    padding: 16px 20px;
    font-size: 0.9rem;
    display: none;
    z-index: 999999;
}

.cookie-banner p {
    margin-bottom: 12px;
    color: #475569;
}

.cookie-actions {
    display: flex;
    gap: 12px;
}

.cookie-actions button {
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
}

#acceptCookies {
    background: #1e40af;
    color: #fff;
}

#rejectCookies {
    background: #e5e7eb;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero-image img {
    width: auto;
    max-width: 100%;
    max-height: 440px;
    /* controls size */
    height: auto;
    background: transparent;
    transform: none;
    /* IMPORTANT */
    box-shadow: none;
    /* SHADOW */
        filter: drop-shadow(0 17px 8px #000000a8);
    /* IMPORTANT for transparent PNG */
}
/* ===== HERO IMAGE ANIMATION ===== */

.hero-image {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

/* Initial state */
.hero-image img {
    opacity: 0;
    transform: translateY(24px);
    animation: heroImageEnter 1s ease-out forwards;
    animation-delay: 0.2s;

    width: auto;
    max-width: 100%;
    max-height: 420px;
    height: auto;

    background: transparent;
    box-shadow: none;
}

/* Subtle ground shadow using pseudo element */
.hero-image::after {
    content: "";
    position: absolute;
    bottom: 8px;
    width: 220px;
    height: 24px;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 0, 0, 0.25),
        transparent 70%
    );
    filter: blur(10px);
    opacity: 0;
    animation: heroShadowEnter 1s ease-out forwards;
    animation-delay: 0.4s;
}

/* Keyframes */
@keyframes heroImageEnter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroShadowEnter {
    to {
        opacity: 1;
    }
}

/* Mobile adjustment */
@media (max-width: 900px) {
    .hero-image img {
        max-height: 300px;
            filter: drop-shadow(0 17px 8px #000000a8);
    }
}
.hero-image img {
    animation: fadeIn .8s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
