/* ============================================================
   KINDERFIELD HIGHFIELD DEPOK — styles.min.css
   Versi bersih: responsive, no overflow, no CSS collision
   ============================================================ */

/* ────────────────────────────────────────────────────────────
   1. RESET & BASE
   ──────────────────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

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

/* ────────────────────────────────────────────────────────────
   2. TYPOGRAPHY — SEO HIERARCHY (H1 > H2 > H3 > H4)
   ──────────────────────────────────────────────────────────── */
h1 { font-size: 2em;   line-height: 1.2; }
h2 { font-size: 1.6em; line-height: 1.3; }
h3 { font-size: 1.3em; line-height: 1.4; }
h4 { font-size: 1em;   line-height: 1.5; font-style: italic; }

@media (max-width: 768px) {
    h1 { font-size: 1.5em; }
    h2 { font-size: 1.2em; }
    h3 { font-size: 1.1em; }
}

/* ────────────────────────────────────────────────────────────
   3. FONT CUSTOM
   ──────────────────────────────────────────────────────────── */
@font-face {
    font-family: 'CustomFont';
    src: url('fonts/customfont.woff2') format('woff2');
    font-display: swap;
}

/* ────────────────────────────────────────────────────────────
   4. HEADER & FOOTER
   ──────────────────────────────────────────────────────────── */
header {
    background-color: transparent;
    color: white;
    padding: 10px;
    text-align: center;
}

footer {
    background-color: #510000;
    color: white;
    text-align: center;
    padding: 30px 10px 10px;
    width: 100%;
}

/* ────────────────────────────────────────────────────────────
   5. SECTION BASE
   ──────────────────────────────────────────────────────────── */
section {
    width: 100%;
    padding: 40px 20px;
    text-align: center;
    color: #000;
    background-color: #f9f9f9;
    overflow: hidden; /* cegah child element meluber keluar */
}

/* ────────────────────────────────────────────────────────────
   6. SLIDER PROFILE (marquee 9 kata — PERBAIKAN UTAMA)
   Masalah lama: position:fixed + main position:absolute
   Solusi: gunakan position:absolute di dalam overflow:hidden
   ──────────────────────────────────────────────────────────── */
main {
    width: 100%;
    position: relative; /* DIPERBAIKI: dari absolute ke relative */
    z-index: 22;
    overflow: hidden;
}

.slider-profile {
    width: 100%;
    --quantity: 9;
    height: var(--height);
    overflow: hidden;
    position: relative;
    
    background-image: linear-gradient(to right, #450000, #520000 10% 90%, #390000);
}

.slider-profile .list {
    display: flex;
    width: 100%;
    position: relative;
    height: var(--height);
}

.slider-profile .list .item {
    width: var(--width);
    height: var(--height);
    position: absolute; /* DIPERBAIKI: dari fixed ke absolute */
    left: 100%;
    animation: autoRun 10s linear infinite;
    transition: filter 0.5s;
    animation-delay: calc((10s / var(--quantity)) * (var(--position) - 1) - 10s) !important;
    color: white;
    font-weight: bold;
    background-color: maroon;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    border-radius: 10px;
}

.slider-profile .list .item img {
    width: 100%;
    display: flex;
    gap: 10px;
}

@keyframes autoRun {
    from { left: 100%; }
    to   { left: calc(var(--width) * -1); }
}

.slider-profile:hover .item {
    animation-play-state: paused !important;
    filter: grayscale(1);
}

.slider-profile .item:hover {
    filter: grayscale(0);
}

.slider-profile[reverse="true"] .item {
    animation: reversePlay 10s linear infinite;
}

@keyframes reversePlay {
    from { left: calc(var(--width) * -1); }
    to   { left: 100%; }
}

@media (max-width: 1200px) { .slider-profile { --quantity: 7; } }
@media (max-width: 900px)  { .slider-profile { --quantity: 5; } }
@media (max-width: 600px)  { .slider-profile { --quantity: 5; } }

/* ────────────────────────────────────────────────────────────
   7. INTRO SECTION (Hero)
   ──────────────────────────────────────────────────────────── */
.intro-section {
    position: relative;
    height: 100vh;
    background-image: linear-gradient(270deg, #370000, #530000, #430000);
    background-repeat: no-repeat;
    background-color: #04010D;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
    color: white;
    text-align: center;
    padding: 0;
    overflow: hidden; /* cegah overflow horizontal */
}

/* Navigasi */
.intro-section nav {
    position: absolute;
    top: 10px;
    right: 0;
    z-index: 9999;
}

.menu-icon {
    font-size: 30px;
    cursor: pointer;
    color: white;
    display: block;
    margin-left: auto;
    z-index: 10000;
    padding: 10px 15px;
}

.nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 50px;
    right: 0;
    width: 200px;
    border-radius: 0 0 10px 10px;
    z-index: 9999;
}

.nav-menu a {
    padding: 13px 20px;
    border-bottom: 3px solid #2f0000;
    color: white;
    text-decoration: none;
    opacity: 0;
    animation: slideInWithBackground 0.5s forwards;
    font-weight: bold;
}

.nav-menu a:nth-child(1) { animation-delay: 0.1s; }
.nav-menu a:nth-child(2) { animation-delay: 0.3s; }
.nav-menu a:nth-child(3) { animation-delay: 0.5s; }

@keyframes slideInWithBackground {
    0%   { opacity: 0; background-color: transparent; transform: translateX(100%); }
    50%  { background-color: #670101; }
    100% { opacity: 1; background-color: #1c1616; transform: translateX(0); }
}

.nav-menu a:hover { background-color: #800000; }

.nav-menu.active {
    display: flex;
    transform: translateX(0);
    opacity: 1;
}

/* Logo & Title di intro */
.intro-logo-title {
    position: absolute;
    top: 3%;
    left: 5%;
    text-align: left;
    z-index: 10;
    max-width: 45%; /* batasi lebar agar tidak overlap ke kanan */
}

.intro-logo-title .logo {
    max-width: 212px;
    height: auto;
    margin-bottom: -23px;
}

.intro-logo-title .intro-image {
    max-width: 300px;
    height: auto;
    margin-top: -40px;
    border-radius: 10px;
}

.intro-logo-title h2 {
    font-size: 2.5em;
    color: white;
    margin-bottom: 32px;
}

/* Gambar karakter kanan */
.intro-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.intro-side-image {
    max-width: 45%;
    height: auto;
    margin: 0 auto;
}

.intro-side-image-overlay {
    position: absolute;
    top: 30%;
    left: 75%;
    transform: translate(-35%, -71%);
    max-width: 21%;
    animation: float 3s ease-in-out infinite;
    z-index: 10;
}

@keyframes float {
    0%   { transform: translate(-50%, -50%) translateY(0); }
    50%  { transform: translate(-50%, -50%) translateY(-20px); }
    100% { transform: translate(-50%, -50%) translateY(0); }
}

/* Responsive Intro */
@media (max-width: 1024px) {
    .intro-section        { height: 93vh; }
    .intro-logo-title .logo       { max-width: 200px; }
    .intro-logo-title .intro-image { max-width: 250px; margin-top: -40px; }
}

@media (max-width: 768px) {
    .intro-section {
        height: 93vh;
        flex-direction: column;
        background-attachment: scroll;
    }
    .intro-logo-title {
        top: 4%;
        left: 5%;
        max-width: 55%;
    }
    .intro-logo-title .logo        { max-width: 200px; }
    .intro-logo-title .intro-image { margin-top: -40px; }
    .intro-image-container         { margin-top: 20px; }
    .intro-side-image              { max-width: 120%; }
    .intro-side-image-overlay {
        max-width: 45%;
        top: 21%;
        transform: translate(-20%, -31%);
    }
}

@media (max-width: 480px) {
    .intro-logo-title .logo        { max-width: 130px; }
    .intro-logo-title .intro-image { max-width: 150px; margin-top: 0; }
}

/* ────────────────────────────────────────────────────────────
   8. VIDEO POPUP BUTTON (Watch Video)
   ──────────────────────────────────────────────────────────── */
.bottom-link {
    position: absolute;
 
    left: 0%;
    display: inline-block;
    padding: 25px 30px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 4px;
    overflow: hidden;
    transition: 0.5s;
}

.bottom-link:hover {
    background: #fff;
    color: #7f0101;
    box-shadow: 0 0 5px #fff, 0 0 25px #fff, 0 0 50px #fff, 0 0 200px #fff;
    -webkit-box-reflect: below 1px linear-gradient(transparent, #0005);
}

.bottom-link span { position: absolute; display: block; }
.bottom-link span:nth-child(1) { top: 0; left: 0; width: 100%; height: 10px; background: linear-gradient(90deg, transparent, #fff); animation: animate1 1s linear infinite; }
.bottom-link span:nth-child(2) { top: -100%; right: 0; width: 10px; height: 100%; background: linear-gradient(180deg, transparent, #fff); animation: animate2 1s linear infinite; animation-delay: 0.25s; }
.bottom-link span:nth-child(3) { bottom: 0; right: 0; width: 100%; height: 10px; background: linear-gradient(270deg, transparent, #fff); animation: animate3 1s linear infinite; animation-delay: 0.5s; }
.bottom-link span:nth-child(4) { bottom: -100%; left: 0; width: 10px; height: 100%; background: linear-gradient(360deg, transparent, #fff); animation: animate4 1s linear infinite; animation-delay: 0.75s; }

@keyframes animate1 { 0% { left: -100%; } 50%, 100% { left: 100%; } }
@keyframes animate2 { 0% { top: -100%; } 50%, 100% { top: 100%; } }
@keyframes animate3 { 0% { right: -100%; } 50%, 100% { right: 100%; } }
@keyframes animate4 { 0% { bottom: -100%; } 50%, 100% { bottom: 100%; } }

@media (max-width: 1024px) { .bottom-link { font-size: 1rem;  padding: 20px 35px; } }
@media (max-width: 768px)  { .bottom-link { font-size: 0.9rem; padding: 16px 30px; } }
@media (max-width: 480px)  { .bottom-link { font-size: 0.8rem; padding: 10px 25px; } }

/* Video popup */
.video-popup {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.popup-content {
    position: relative;
    background-color: transparent;
    border-radius: 20px;
    max-width: 80%;
    max-height: 90%;
    overflow: hidden;
    width: 100%;
}

.popup-content iframe {
    width: 100%;
    height: 70vh;
    border: none;
}

.bottom-close {
    display: block;
    width: 100%;
    padding: 15px 0;
    background-color: #960606;
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
    border-radius: 0 0 10px 10px;
    transition: background-color 0.3s ease;
}
.bottom-close:hover { background-color: #d30000; }

@media (max-width: 1024px) { .popup-content { max-width: 90%; } .popup-content iframe { height: 60vh; } }
@media (max-width: 768px)  { .popup-content { max-width: 95%; } .popup-content iframe { height: 50vh; } }
@media (max-width: 480px)  { .popup-content { max-width: 100%; } .popup-content iframe { height: 40vh; } }

/* ────────────────────────────────────────────────────────────
   9. WHAT'S UP SECTION
   AKAR MASALAH: .intro-imageline-container ada DI DALAM .whats-up
   sehingga tertimpa intro-section di atasnya.
   SOLUSI: .whats-up diberi padding-top + position:relative,
   icon diangkat dengan position:absolute top negatif,
   .intro-section diberi overflow:visible agar tidak memotong icon.
   ──────────────────────────────────────────────────────────── */
.intro-section {
    overflow: visible;
}

.whats-up {
    width: 100%;
    text-align: center;
    background-image: linear-gradient(270deg, #370000, #530000, #430000);
    padding: 20px;
    padding-top: 80px;  /* ruang untuk icon whatsup.png */
    overflow: visible;
    color: white;
    position: relative;
    z-index: 2;
}

.whats-up h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: white;
}

.intro-imageline-container {
    position: absolute;
    top: -55px;         /* naik ke atas section */
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 30;
    padding-bottom: 0;
}

.intro-side-imageline {
    display: inline-block;
    width: auto;
    max-width: 220px;
    height: auto;
}

@media (max-width: 768px) {
    .whats-up              { padding-top: 65px; }
    .intro-imageline-container { top: -45px; }
    .intro-side-imageline  { max-width: 180px; }
}
@media (max-width: 480px) {
    .whats-up              { padding-top: 55px; }
    .intro-imageline-container { top: -38px; }
    .intro-side-imageline  { max-width: 150px; }
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
    padding: 0 10px;
}

.nav-button, .page-num {
    background-color: #800000;
    color: white;
    border: none;
    padding: 8px 14px;
    cursor: pointer;
    border-radius: 20px;
    font-size: 0.9rem;
    box-shadow: 0 4px 5px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.nav-button:hover, .page-num:hover { transform: scale(1.1); background-color: #660000; }
.page-num.active { background-color: #db0101; }

/* Slider What's Up */
.up-slider {
    position: relative;
    overflow: hidden;
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    color: #fff;
}

.up-slides {
    display: flex;
    width: 100%;
    transition: transform 0.6s ease-in-out;
}

.up-slide {
    min-width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 20px;
    color: white;
}

.up-slide img {
    width: 100%;
    height: auto;
    max-width: 500px;
    margin: 0 auto 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

@media (min-width: 1024px) { .up-slide img { max-width: 770px; } }

/* Event image */
.image-next-event { width: 100%; }
.image-event-whatsup { width: 100%; height: auto; max-width: 500px; margin: 0 auto; }

/* Google Form button */
.gform-link {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    animation: fadeInUp 1.2s ease;
}

.gform-link a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #b30000, #6b0000);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 12px 25px;
    border-radius: 50px;
    box-shadow: 0 0 10px rgba(255,0,0,0.4);
    transition: all 0.3s ease;
}
.gform-link a:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(255,80,80,0.8);
    background: linear-gradient(135deg, #ff2a2a, #7a0000);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Video in What's Up */
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 19px 21px rgba(0,0,0,0.2);
}
.video-wrapper video { width: 100%; height: auto; display: block; }

.custom-play-button {
    position: absolute;
    top: 50%; left: 50%;
    width: 60px; height: 60px;
    background: rgba(0,0,0,0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

@media (min-width: 1024px) { .video-wrapper { max-width: 600px; border-radius: 20px; } }

/* Career button */
.seq-button {
    display: inline-block;
    padding: 16px 30px;
    background-color: #960606;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}
.seq-button:hover { background-color: #d30000; transform: scale(1.05); box-shadow: 0 6px 12px rgba(0,0,0,0.3); }
.seq-button::after { content: " →"; transition: transform 0.3s ease; }
.seq-button:hover::after { transform: translateX(5px); }

/* ────────────────────────────────────────────────────────────
   10. TESTIMONIAL SECTION
   AKAR MASALAH: .intro-img-testimonial ada DI DALAM .my-slider
   sehingga tertimpa section .whats-up di atasnya.
   SOLUSI: .my-slider diberi padding-top + position:relative,
   icon diangkat dengan position:absolute top negatif,
   .whats-up diberi overflow:visible agar icon tidak terpotong.
   ──────────────────────────────────────────────────────────── */
.whats-up {
    overflow: visible;
    position: relative;
    z-index: 1;
}

.my-slider {
    position: relative;
    z-index: 2;
    padding-top: 60px;
    overflow: visible;
}

.intro-img-testimonial {
    position: absolute;
    top: -55px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 30;
}

.intro-size-testimonial {
    display: inline-block;
    width: auto;
    max-width: 350px;
    height: auto;
}

@media (max-width: 768px) {
    .my-slider              { padding-top: 50px; }
    .intro-img-testimonial  { top: -45px; }
    .intro-size-testimonial { max-width: 260px; }
}
@media (max-width: 480px) {
    .my-slider              { padding-top: 40px; }
    .intro-img-testimonial  { top: -35px; }
    .intro-size-testimonial { max-width: 200px; }
}

/* ────────────────────────────────────────────────────────────
   11. SECTION 1 — FILOSOFI, VISI, MISI
   ──────────────────────────────────────────────────────────── */
.one-section {
    padding: 20px 30px;
    background-color: #f9f9f9;
    overflow: hidden;
}

.one-section h3 { font-size: 1.8em; margin-bottom: 10px; }

.one-section p {
    list-style: none;
    position: relative;
    padding-left: 20px;
    font-size: 0.9em;
    text-align: left;
}
.one-section p::before {
    content: "•";
    color: black;
    font-size: 1.7em;
    position: absolute;
    left: 0; top: 0;
}

.section-title   { text-align: center; font-size: 2.5em; margin-bottom: 10px; }
.section-subtitle { text-align: center; font-size: 1.5em; margin-bottom: 40px; color: #666; }

/* Layout 2 kolom */
.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 10% 40px;
    gap: 20px;
}

.column       { flex: 1; padding: 20px; }
.column.left  { text-align: left; }
.column.right { text-align: right; }

.column.left h4,
.column.left p  { text-align: left; }
.column.right h4,
.column.right p { text-align: right; }

.column h4 { font-size: 0.8em; font-weight: bold; font-style: italic; }
.column p  { font-size: 0.9em; }

.responsive-img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 19px 21px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .row {
        flex-direction: column;
        text-align: center;
        margin: 20px;
    }
    .column { padding: 10px 0; }
    .column.left  { text-align: left; }
    .column.right { text-align: left; }
    .column.right h4,
    .column.right p { text-align: left; }
}

/* ────────────────────────────────────────────────────────────
   12. SECTION 2 — FEATURES & FACILITIES + GALLERY SLIDER
   ──────────────────────────────────────────────────────────── */
.gradient-section {
    transition: background 0.5s ease;
    overflow: hidden;
}

.gradient-section p  { text-align: center; }
.gradient-section h2 { text-align: center; font-size: 2em; }

#section-1, #section-2, #section-3, #section-4 {
    background: linear-gradient(#fbfbfd, #fbfbfd);
}

/* Photo Gallery Auto Scroll
   DIPERBAIKI: tambah height fixed pada .gallery-photo-item
   agar gambar tidak mengikuti tinggi asli foto (terlalu besar).
   Animasi dikembalikan ke -100% sesuai asli. */
.photo-gallery-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.photo-gallery-track {
    display: flex;
    animation: slideGallery 30s linear infinite;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.gallery-photo-item {
    min-width: 200px;   /* lebar asli */
    height: 150px;      /* TAMBAHAN: height fixed agar tidak raksasa */
    margin: 0 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.gallery-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* crop proporsional, tidak distorsi */
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .gallery-photo-item {
        min-width: 150px;
        height: 120px;
    }
}
@media (max-width: 480px) {
    .gallery-photo-item {
        min-width: 130px;
        height: 100px;
    }
}

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

/* Gallery nav button */
.gallery-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.gallery-nav-buttons .nav-button.view-full-gallery {
    background-color: #800000;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1rem;
    transition: transform 0.2s ease-out, background-color 0.3s ease-in;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    display: inline-block;
}
.gallery-nav-buttons .nav-button.view-full-gallery:hover {
    transform: scale(1.1);
    background-color: #d30000;
}

/* ────────────────────────────────────────────────────────────
   13. SECTION 3 — LEARNING PROGRAM (TAB)
   ──────────────────────────────────────────────────────────── */
.tab-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 11px 33px rgba(0,0,0,0.1);
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: space-between;
}

.tab-button {
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 10px 10px 0 0;
    flex: 1;
    text-align: center;
    background-color: #800000;
    font-weight: bold;
    color: white;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.tab-button.active { background-color: #fbfbfd; color: #800000; }
.tab-button:hover  { background-color: #660000; color: white; }
.tab-button.active:hover { background-color: #fbfbfd; color: #800000; }

.tab-content {
    display: none;
    padding: 20px;
    border-radius: 0 0 10px 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    text-align: center;
    background-color: #fbfbfd;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.tab-content h1 {
    font-size: 1.1em;
    text-align: center;
    margin: 15px 0 8px;
    color: #800000;
}

.tab-content p {
    font-size: 0.85em;
    text-align: center;
    line-height: 1.6;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.tab-content.active p { opacity: 1; }

@media (min-width: 768px)  { .tab-container { width: 80%; } }
@media (min-width: 1024px) { .tab-container { width: 90%; } }

/* ────────────────────────────────────────────────────────────
   14. SECTION 4 — FIND US (MAP)
   ──────────────────────────────────────────────────────────── */
.wide-map-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    text-align: center;
}

.wide-map-container h2 { font-size: 1.3em; margin-bottom: 6px; }
.wide-map-container h3 { font-size: 1.1em; margin-bottom: 10px; }

.custom-iframe,
.wide-map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 20px;
}

/* ────────────────────────────────────────────────────────────
   15. WHATSAPP BUTTON
   ──────────────────────────────────────────────────────────── */
.whatsapp-icon {
    position: fixed;
    bottom: 0;
    right: 13px;
    color: white;
    border-radius: 50%;
    padding: 0;
    text-align: center;
    z-index: 1000;
}
.whatsapp-icon img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
}
.whatsapp-icon:hover { cursor: pointer; }

.effect-container {
    position: fixed;
    bottom: 90px;
    right: 70px;
    display: none;
    z-index: 999;
}

.effect-container .effect-text {
    background-color: #25D366;
    color: white;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 19px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.5s forwards;
    display: block;
    text-decoration: none;
    max-width: 160px;
    text-align: center;
}
.effect-container .effect-text:hover { background-color: #20b358; }

@keyframes slideUp   { to { opacity: 1; transform: translateY(0); } }
@keyframes slideDown { to { opacity: 0; transform: translateY(20px); } }

/* ────────────────────────────────────────────────────────────
   16. SCROLL TO TOP BUTTON
   ──────────────────────────────────────────────────────────── */
#scrollTopBtn {
    position: fixed;
    bottom: 95px;
    right: 22px;
    z-index: 100;
    background-color: #800000;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 12px 15px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    font-size: 14px;
    display: none;
    transition: transform 0.3s ease, background-color 0.3s;
}
#scrollTopBtn:hover { background-color: #660000; transform: scale(1.1); }

/* ────────────────────────────────────────────────────────────
   17. CTA BUTTON
   ──────────────────────────────────────────────────────────── */
.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background-color: #960606;
    color: white;
    text-decoration: none;
    border-radius: 37px;
    margin-top: 20px;
    font-weight: bold;
    box-shadow: 0 4px 5px rgba(0,0,0,0.3);
}

/* ────────────────────────────────────────────────────────────
   18. HR CUSTOM
   ──────────────────────────────────────────────────────────── */
.custom-hr {
    border: 0;
    height: 5px;
    background-image: linear-gradient(to right, rgba(0,0,0,0), rgb(255,0,0), rgba(0,0,0,0));
    margin: 15px 0;
}

/* ────────────────────────────────────────────────────────────
   19. EMPLOYEE PHOTO GRID
   ──────────────────────────────────────────────────────────── */
.employee-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 15px;
    justify-items: center;
    margin-top: 20px;
}
.employee-photo-item img {
    width: 80px; height: 80px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}
.employee-photo-item img:hover { transform: scale(1.1); }
.employee-photo-item p { margin-top: 5px; font-size: 0.9rem; text-align: center; color: #333; }

@media (max-width: 768px) {
    .employee-photo-grid { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); }
    .employee-photo-item img { width: 60px; height: 60px; }
}

/* ────────────────────────────────────────────────────────────
   20. LOGO CAMBRIDGE & SOCIAL MEDIA (FOOTER)
   ──────────────────────────────────────────────────────────── */
.logo-cambridge {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 70px;
    width: 100%;
    padding: 10px 0;
}
.logo-cambridge img {
    max-width: 180%;
    height: auto;
    display: block;
    margin-bottom: 21px;
}

.social-media-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
}
.social-media-icons a { transition: transform 0.3s ease; }
.social-media-icons a:hover { transform: scale(1.2); }
.social-media-icons img { width: 32px; height: 32px; }

