/* mainpage.css - COMPLETE FIXED VERSION */
/* FIXES: Footer overlap on mobile, section background coverage, contact positioning */

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
html { scroll-behavior: smooth; }
body { background-color: #111; color: #333; overflow-x: hidden; font-size: 16px; }

/* --- HEADER & NAVIGATION --- */
header { background: #ffffff; padding: 10px 0; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); position: fixed; width: 100%; top: 0; z-index: 1000; }
nav { display: flex; justify-content: space-between; align-items: center; max-width: 1300px; margin: 0 auto; padding: 0 30px; }

.logo-container { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 50px; width: auto; }
.logo-text-group { display: flex; flex-direction: column; justify-content: center; }
.logo-main-text { font-size: 1.6em; font-weight: 800; color: #111; line-height: 1; letter-spacing: 1px; }
.logo-tagline { font-size: 0.6em; font-weight: 700; color: #111; margin-top: 2px; letter-spacing: 0.5px; }

.header-service-ticker-container { height: 1.2em; overflow: hidden; width: 200px; border-left: 1px solid #ddd; padding-left: 20px; margin: 0 20px; }

nav ul { list-style: none; display: flex; gap: 25px; align-items: center; }
nav ul li a { text-decoration: none; color: #333; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; transition: 0.3s; }
nav ul li a:hover { color: #8B1A1A; }

.menu-icons { display: flex; gap: 15px; padding-left: 15px; border-left: 1px solid #ddd; color: #555; cursor: pointer; }

/* --- RESPONSIVE MENU --- */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    #main-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.4s ease-in-out;
        display: flex;
        z-index: 1000;
        padding-top: 50px;
    }

    #main-menu.active {
        right: 0;
    }

    nav {
        padding: 0 20px;
    }
}

/* ============================================================
   FIX #1: pinContainer MUST have a solid background so it
   fully covers the fixed footer behind it. Without this,
   the footer bleeds through on mobile.
   ============================================================ */
#pinContainer {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-bottom: 100vh;
    z-index: 10;
    background: #ffffff; /* CHANGED from #c32020 — solid bg to cover footer */
}

.section-3d { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform-origin: center center; will-change: transform, opacity; }

/* --- HOME SECTION --- */
#home { opacity: 1; }
#home .banner { height: 100vh; display: flex; justify-content: center; align-items: center; position: relative; overflow: hidden; }
#home .banner::before { content: ''; position: absolute; inset: 0; background-image: url('images/Free-hd-building-wallpaper.jpg'); background-size: cover; background-position: center; animation: bgZoomIn 4s ease-in-out 1 forwards; z-index: -1; }
#home .banner::after { content: ''; position: absolute; inset: 0; background-image: url('images/after.png'); background-size: cover; background-position: top; transform: scale(2); animation: bgZoomOut 4s ease-in-out 1 forwards; z-index: -1; }
@keyframes bgZoomIn {
    from { transform: scale(1.2); }
    to { transform: scale(1); }
}
@keyframes bgZoomOut {
    from { transform: scale(1); }
    to { transform: scale(2); }
}

#home .title {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding-top: 80px;
}
.animated-text-container h1, .animated-text-container h2, .staggered-text {
    color: #ffffff !important;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
}
.animated-text-container h1 { font-size: 4em; font-weight: 700; margin-bottom: 20px; }
.animated-text-container h2 { font-size: 1.8em; font-weight: 400; margin-bottom: 40px; }

.home-main-button {
    position: relative;
    z-index: 999;
    background: #ff6b6b;
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
    pointer-events: auto !important;
}

.home-main-button:hover {
    background: #ee5253;
    transform: translateY(-3px);
}

/* --- ABOUT SECTION --- */
#about {
    background: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow-y: auto !important;
    overflow-x: hidden;
    width: 100%;
    height: 100vh !important;
    padding: 20px 0;
}

.about-flex-wrapper {
    width: 100%;
    max-width: 1240px;
    padding: 0 20px;
    margin: 0 auto;
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
}

.about-grid-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
    width: 100%;
}

.about-text-column { width: 100%; }

.about-label-badge { color: #8B1A1A; font-weight: 800; font-size: 14px; letter-spacing: 2px; margin-bottom: 20px; display: block; }
.about-paragraph { font-size: 1rem; line-height: 1.8; color: #555; margin-bottom: 25px; }
.about-paragraph strong { color: #8B1A1A; }

.about-checklist { list-style: none; margin-bottom: 30px; }
.about-checklist li { margin-bottom: 10px; font-weight: 500; color: #333; display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; }
.about-checklist li i { color: #8B1A1A; font-size: 0.85rem; margin-top: 3px; flex-shrink: 0; }

.about-cta-link { display: inline-block; text-decoration: none; color: #111; border: 2px solid #222; padding: 12px 28px; font-weight: 700; font-size: 13px; transition: 0.3s ease; }
.about-cta-link:hover { background: #222; color: #fff; }

.about-visual-column { width: 100%; }

.about-main-title { font-family: 'Lexend', sans-serif; font-size: 2.8rem; line-height: 1.2 !important; margin-bottom: 30px; color: #111; font-weight: 800; word-wrap: break-word; text-align: left; }

#about-staggered-heading { letter-spacing: normal !important; word-spacing: 0.2rem !important; margin: 0; }
#about-staggered-heading span { display: inline-block; margin-right: 0.2em; }

.about-stats-flex { display: flex; gap: 40px; }
.stat-number-large { color: #8B1A1A; font-weight: 800; font-size: 2.8rem; font-family: 'Lexend', sans-serif; margin-bottom: 5px; }
.stat-label-small { font-size: 11px; font-weight: 700; color: #777; letter-spacing: 1px; }

/* --- POP UP MESSAGE --- */
.appointment-popup { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); display: flex; justify-content: center; align-items: center; z-index: 9999; opacity: 0; visibility: hidden; transition: all 0.3s ease; backdrop-filter: blur(5px); }
.appointment-popup.show { opacity: 1; visibility: visible; }
.appointment-popup .popup-content { background: white; border-radius: 15px; padding: 40px; max-width: 400px; width: 90%; position: relative; transform: translateY(20px); transition: transform 0.3s ease; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); text-align: center; }
.appointment-popup.show .popup-content { transform: translateY(0); }
.appointment-popup .popup-close { position: absolute; top: 15px; right: 20px; background: none; border: none; font-size: 28px; cursor: pointer; color: #999; transition: color 0.3s ease; line-height: 1; }
.appointment-popup .popup-close:hover { color: #333; }
.appointment-popup .popup-icon { font-size: 60px; color: #8B1A1A; margin-bottom: 20px; }
.appointment-popup .popup-icon i { animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } }
.appointment-popup h3 { font-size: 24px; margin-bottom: 15px; color: #333; font-weight: 700; }
.appointment-popup p { color: #666; margin-bottom: 25px; line-height: 1.6; font-size: 16px; }
.appointment-popup .popup-buttons { display: flex; gap: 15px; justify-content: center; }
.appointment-popup .popup-btn { padding: 12px 30px; border: none; border-radius: 5px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; flex: 1; }
.appointment-popup .popup-btn.book-now { background: #8B1A1A; color: white; }
.appointment-popup .popup-btn.book-now:hover { background: #6b1414; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(139, 26, 26, 0.3); }
.appointment-popup .popup-btn.later { background: #f0f0f0; color: #666; }
.appointment-popup .popup-btn.later:hover { background: #e0e0e0; transform: translateY(-2px); }

/* --- SERVICES SECTION --- */
#services { opacity: 0; }

.carousel { height: 100vh; width: 100%; overflow: hidden; position: relative; margin: 0; padding: 0; }
.carousel .list .item { width: 100%; height: 100%; position: absolute; inset: 0; }
.carousel .list .item img { width: 100%; height: 100%; object-fit: cover; }
.carousel .list .item .content {
    position: absolute; top: 20%; width: 1140px; max-width: 80%; left: 50%;
    transform: translateX(-50%); padding-right: 30%; box-sizing: border-box;
    color: #fff; text-shadow: 0 5px 10px #0004;
}
.carousel .list .item .author { font-weight: bold; letter-spacing: 10px; font-size: 1rem; }
.carousel .list .item .title, .carousel .list .item .topic { font-size: 70px; font-weight: bold; line-height: 1.3em; }
.carousel .list .item .topic { color: #f1683a; }
.carousel .list .item .des { font-size: 1rem; line-height: 1.5em; }

.thumbnail {
    position: absolute; bottom: 50px; left: 50%; width: max-content; z-index: 100;
    display: flex; gap: 20px; transform: translateX(-50%);
    max-width: 90vw;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 20px;
    scrollbar-width: thin;
    scrollbar-color: #8B1A1A #333;
    -webkit-overflow-scrolling: touch;
    justify-content: center;
    margin: 0 auto;
}

.thumbnail::-webkit-scrollbar { height: 5px; }
.thumbnail::-webkit-scrollbar-track { background: #333; border-radius: 10px; }
.thumbnail::-webkit-scrollbar-thumb { background: #8B1A1A; border-radius: 10px; }

.thumbnail .item {
    width: 150px; height: 220px; flex-shrink: 0; position: relative;
    cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.thumbnail .item:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(139, 26, 26, 0.4); }
.thumbnail .item img { width: 100%; height: 100%; object-fit: cover; border-radius: 15px; }
.thumbnail .item .content { color: #fff; position: absolute; bottom: 10px; left: 10px; right: 10px; text-shadow: 0 2px 5px rgba(0,0,0,0.5); background: linear-gradient(transparent, rgba(0,0,0,0.7)); padding: 15px 10px 10px; border-radius: 0 0 15px 15px; }
.thumbnail .item .content .title { font-weight: 700; font-size: 1rem; color: #fff; }
.thumbnail .item .content .description { font-weight: 400; font-size: 0.9rem; color: #ddd; }
.thumbnail .item.active { border: 2px solid #8B1A1A; transform: scale(1.05); }

.arrows { position: absolute; top: 80%; right: 52%; z-index: 100; width: 300px; max-width: 30%; display: flex; gap: 10px; align-items: center; }
.arrows button { width: 40px; height: 40px; border-radius: 50%; background-color: #eee4; border: none; color: #fff; font-family: monospace; font-weight: bold; transition: .5s; cursor: pointer; font-size: 1rem; }
.arrows button:hover { background-color: #fff; color: #000; }

/* Carousel Animations */
.carousel .list .item:nth-child(1) { z-index: 1; }
.carousel .list .item:nth-child(1) .content .author,
.carousel .list .item:nth-child(1) .content .title,
.carousel .list .item:nth-child(1) .content .topic,
.carousel .list .item:nth-child(1) .content .des,
.carousel .list .item:nth-child(1) .content .buttons {
    transform: translateY(50px); filter: blur(20px); opacity: 0;
    animation: showContent 0.8s 0.3s ease-in-out 1 forwards;
}
@keyframes showContent { to { transform: translateY(0px); filter: blur(0px); opacity: 1; } }

.carousel.next .list .item:nth-child(1) img {
    width: 150px; height: 220px; position: absolute; bottom: 50px; left: 50%;
    border-radius: 20px; animation: showImage 0.4s linear 1 forwards;
}
@keyframes showImage { to { width: 100%; height: 100%; left: 0; bottom: 0; border-radius: 0; } }

.carousel.next .thumbnail .item:nth-child(1) { overflow: hidden; opacity: 0; animation: showThumbnail 0.3s linear 1 forwards; }
.carousel.prev .list .item img { z-index: 1; }
@keyframes showThumbnail { from { opacity: 0; } to { opacity: 1; } }

.carousel.next .time { width: 0%; }
.carousel .time { position: absolute; z-index: 1000; width: 0%; height: 3px; background-color: #f1683a; left: 0; top: 0; }
.carousel.next .time, .carousel.prev .time { animation: runningTime 2s linear 1 forwards; }
@keyframes runningTime { from { width: 100% } to { width: 0 } }

.carousel.prev .list .item:nth-child(2) { z-index: 2; }
.carousel.prev .list .item:nth-child(2) img { animation: outFrame 0.4s linear 1 forwards; position: absolute; bottom: 0; left: 0; }
@keyframes outFrame { to { width: 150px; height: 220px; bottom: 50px; left: 50%; border-radius: 20px; } }

.carousel.prev .thumbnail .item:nth-child(1) { overflow: hidden; opacity: 0; animation: showThumbnail 0.3s linear 1 forwards; }
.carousel.next .arrows button, .carousel.prev .arrows button { pointer-events: none; }

.carousel.prev .list .item:nth-child(2) .content .author,
.carousel.prev .list .item:nth-child(2) .content .title,
.carousel.prev .list .item:nth-child(2) .content .topic,
.carousel.prev .list .item:nth-child(2) .content .des,
.carousel.prev .list .item:nth-child(2) .content .buttons {
    animation: contentOut 0.8s linear 1 forwards!important;
}
@keyframes contentOut { to { transform: translateY(-150px); filter: blur(20px); opacity: 0; } }

/* ============================================================
   CONTACT SECTION - FIXED POSITIONING & BUTTON
   ============================================================ */
#contact {
    opacity: 0;
    background: url('images/photocp.jpg') center/cover no-repeat;
    z-index: 5;
    pointer-events: all !important;
    position: relative;
    width: 100%;
    min-height: 100vh;
}

#contact::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.6); }

.contact-wrapper {
    position: relative;
    top: 150px;
    left: 120px;
    z-index: 2;
    width: 80%;
    max-width: 1200px;
    color: white;
}

.contact-header-small h1 { text-align: center; margin-bottom: 40px; font-size: 3em; }
.contact-container-inner { display: flex; flex-wrap: wrap; gap: 50px; justify-content: center; }

.contact-info-panel { display: flex; flex-direction: column; gap: 30px; }
.info-box { display: flex; gap: 20px; align-items: center; }
.info-box i { color: dodgerblue; width: 40px; text-align: center; font-size: 1.5rem; }
.info-box h3 { font-size: 1.2rem; margin-bottom: 5px; }
.info-box p { font-size: 1rem; }

.social-media-icons { display: flex; gap: 20px; font-size: 1.5rem; margin-top: 20px; }
.social-media-icons i { color: white; cursor: pointer; transition: 0.3s; font-size: 1.5rem; }
.social-media-icons i:hover { color: dodgerblue; }

.contact-form-panel form { display: flex; flex-direction: column; width: 350px; }
.input-group { position: relative; margin-bottom: 30px; }
.input-group input,
.input-group textarea { width: 100%; background: transparent; border: none; border-bottom: 2px solid #fff; color: #fff; padding: 10px 0; font-size: 16px; outline: none; }
.input-group input::placeholder,
.input-group textarea::placeholder { color: rgba(255,255,255,0.7); font-size: 14px; }
.input-group button[type="submit"] { background: dodgerblue; border: none; padding: 10px; cursor: pointer; border-radius: 5px; margin-top: 10px; width: 350px; font-size: 1rem; }
.input-group button[type="submit"]:hover { background: transparent; border: 1px solid dodgerblue; }

#standalone-content {
    position: relative;
    z-index: 2;
    background-color: #ffffff;
    margin-bottom: 100vh;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ============================================================
   FIX #2: FOOTER — properly hidden behind pinContainer.
   Reduced height on mobile so it doesn't peek through.
   ============================================================ */
#site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: black;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 60px 40px 20px 40px;
    z-index: 1; /* CHANGED from -1 to 1 — footer is behind pinContainer (z:10) but visible */
}

.footer-top-bar { display: flex; justify-content: space-around; padding-bottom: 20px; border-bottom: 1px solid #eee; font-size: 0.9rem; font-weight: 700; }
.huge-logo { font-size: 7vw; font-weight: 900; letter-spacing: 1vw; text-align: center; line-height: 0.8; margin-top: 5vh; }

.footer-bottom-bar { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-top: 1px solid #8B1A1A; }
.footer-bottom-bar .footer-socials { display: flex; gap: 20px; font-size: 1.5rem; margin-top: 20px; }
.footer-bottom-bar .footer-socials i { color: #fff; cursor: pointer; transition: 0.3s; }
.footer-bottom-bar .footer-socials i:hover { color: #e27b7b; }
.footer-links a { margin: 0 15px; text-decoration: none; color: #fff; font-weight: 600; font-size: 0.8rem; text-transform: uppercase; }

/* ============================================================
   MOBILE RESPONSIVENESS — COMPREHENSIVE FIXES
   ============================================================ */

/* Tablet Landscape */
@media (max-width: 1024px) {
    .about-main-title { font-size: 2.5rem; }
    .about-grid-container { gap: 30px; }
    .stat-number-large { font-size: 2.5rem; }
}

/* Mobile Portrait */
@media (max-width: 768px) {
    /* Header */
    .logo-main-text { font-size: 1.2rem; }
    .logo-tagline { font-size: 0.5rem; }
    .header-service-ticker-container { display: none; }

    /* Home */
    .animated-text-container h1 { font-size: 2.2rem; padding: 0 15px; }
    .animated-text-container h2 { font-size: 1.1rem; padding: 0 15px; }

    /* FIX: pinContainer solid bg ensures no footer bleed */
    #pinContainer {
        background: #ffffff;
        z-index: 10;
    }

    /* About */
    #about {
        padding: 15px 0;
        overflow-y: auto !important;
        position: relative;
        z-index: 10;
        background: #ffffff !important;
    }

    .about-flex-wrapper {
        padding: 0 15px;
        max-height: 100vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .about-grid-container { grid-template-columns: 1fr; gap: 15px; }
    .about-label-badge { margin-bottom: 10px; font-size: 12px; }
    .about-paragraph { font-size: 0.9rem; line-height: 1.5; margin-bottom: 15px; }
    .about-paragraph br { display: none; }
    .about-checklist li { font-size: 0.85rem; margin-bottom: 6px; }
    .about-cta-link { padding: 8px 18px; font-size: 11px; margin-bottom: 15px; }
    .about-main-title { font-size: 1.8rem !important; margin-bottom: 10px !important; word-break: break-word; line-height: 1.2 !important; }
    #about-staggered-heading { word-spacing: 0.1rem !important; }
    #about-staggered-heading span { margin-right: 0.1em; }
    .about-stats-flex { flex-direction: row; gap: 20px; justify-content: flex-start; margin-top: 5px; }
    .stat-number-large { font-size: 1.8rem; }
    .stat-label-small { font-size: 9px; }

    /* Services Carousel */
    .carousel .list .item .content { top: 15%; left: 5%; transform: translateX(0); width: 90%; padding-right: 0; max-height: 70vh; overflow-y: auto; }
    .carousel .list .item .title { font-size: 1.5rem; }
    .carousel .list .item .topic { font-size: 1.3rem; }
    .carousel .list .item .des { font-size: 0.85rem; max-height: 120px; overflow-y: auto; padding-right: 5px; }
    .thumbnail { bottom: 10px; gap: 8px; padding: 5px 10px; justify-content: flex-start; }
    .thumbnail .item { width: 70px; height: 100px; }
    .thumbnail .item .content .title { font-size: 0.55rem; }
    .arrows { top: 75%; right: 5%; width: auto; }
    .arrows button { width: 32px; height: 32px; font-size: 0.85rem; }

    /* FIX: Contact — centered, no left offset, scrollable */
    .contact-wrapper {
        top: 80px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        margin: 0 auto;
        padding: 0 15px;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .contact-header-small h1 { font-size: 2rem; margin-bottom: 15px; }
    .contact-container-inner { flex-direction: column; gap: 20px; }
    .contact-info-panel { width: 100%; gap: 15px; }
    .info-box { gap: 10px; }
    .info-box i { font-size: 1.2rem; width: 30px; }
    .info-box h3 { font-size: 1rem; }
    .info-box p { font-size: 0.9rem; }
    .social-media-icons { justify-content: center; gap: 15px; margin-top: 10px; }
    .contact-form-panel form { width: 100%; }
    .input-group { margin-bottom: 15px; }
    .input-group input, .input-group textarea { font-size: 0.95rem; padding: 6px 0; }
    .input-group button[type="submit"] { width: 100%; padding: 10px; font-size: 0.95rem; margin-top: 5px; position: relative; bottom: auto; }

    /* FIX: Footer — reduced height on mobile, no overlap */
    #site-footer {
        padding: 30px 20px 15px;
        height: auto;           /* CHANGED from 100vh — auto height prevents overflow */
        min-height: 100vh;      /* Still fills viewport when revealed */
        position: fixed;
        z-index: 1;
    }

    .huge-logo { font-size: 2rem; letter-spacing: 3px; margin-top: 2vh; }
    .footer-bottom-bar { flex-direction: column; gap: 15px; text-align: center; padding: 15px 0; }
    .footer-socials { justify-content: center; gap: 15px; }
    .footer-links { flex-wrap: wrap; justify-content: center; gap: 10px; }
    .footer-links a { margin: 0; font-size: 0.75rem; }
}

/* Small Mobile */
@media (max-width: 480px) {
    .about-main-title { font-size: 1.5rem !important; }
    .about-stats-flex { gap: 15px; }
    .stat-number-large { font-size: 1.5rem; }
    .carousel .list .item .title { font-size: 1.2rem; }
    .carousel .list .item .topic { font-size: 1rem; }
    .carousel .list .item .des { font-size: 0.75rem; max-height: 80px; }
    .thumbnail .item { width: 60px; height: 85px; }
    .contact-wrapper { top: 40px; max-height: calc(100vh - 50px); }
    .contact-header-small h1 { font-size: 1.5rem; }
    .info-box { flex-direction: column; text-align: center; align-items: center; gap: 5px; }
    .info-box i { margin-bottom: 5px; }
    .input-group button[type="submit"] { padding: 8px; font-size: 0.9rem; }
    .huge-logo { font-size: 1.5rem; letter-spacing: 2px; }
}

/* Very Small Mobile */
@media (max-width: 360px) {
    .about-main-title { font-size: 1.2rem !important; }
    .about-paragraph { font-size: 0.8rem; }
    .about-checklist li { font-size: 0.75rem; }
    .carousel .list .item .title { font-size: 1rem; }
    .thumbnail .item { width: 50px; height: 70px; }
    .contact-header-small h1 { font-size: 1.2rem; }
    .input-group input, .input-group textarea { font-size: 0.8rem; }
    .input-group button[type="submit"] { font-size: 0.8rem; padding: 6px; }
    .huge-logo { font-size: 1.2rem; }
}

/* Landscape Mode */
@media (max-height: 600px) and (orientation: landscape) {
    #about { overflow-y: auto !important; }
    .about-flex-wrapper { padding: 10px 20px; max-height: 100vh; }
    .about-grid-container { gap: 15px; }
    .about-main-title { font-size: 1.5rem !important; margin-bottom: 5px !important; }
    .about-paragraph { margin-bottom: 8px; font-size: 0.8rem; }
    .about-checklist li { margin-bottom: 3px; }
    .about-stats-flex { margin-top: 0; }
    .carousel .list .item .content { top: 10%; }
    .carousel .list .item .title { font-size: 1.3rem; }
    .carousel .list .item .des { max-height: 60px; font-size: 0.8rem; }
    .thumbnail { bottom: 5px; }
    .thumbnail .item { width: 55px; height: 75px; }
    .arrows { top: 70%; }
    .contact-wrapper { top: 30px; max-height: calc(100vh - 50px); }
    .input-group { margin-bottom: 8px; }
    .input-group button[type="submit"] { padding: 6px; }
}
