/* =========================
   ROOT VARIABLES
========================= */
:root {
    --header-height: 72px;
    --brand-accent: #00e0ff;
    --dark-bg: #0f2027;
}

/* =========================
   RESET & BASE
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", system-ui, sans-serif;
}

body {
    background: #f6f8fb;
    color: #1e293b;
    line-height: 1.6;
}

/* Push content below sticky header */
.page-offset {
    margin-top: var(--header-height);
}

/* =========================
   HEADER
========================= */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.header-inner {
    max-width: 1200px;
    margin: auto;
    height: var(--header-height);
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.logo-area span {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
}

/* NAV */
.nav-menu {
    display: flex;
    gap: 22px;
}

.nav-menu a {
    color: #eaf6ff;
    text-decoration: none;
    font-size: 0.95rem;
    position: relative;
    padding: 6px 0;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--brand-accent);
    transition: width 0.3s ease;
}

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

.nav-menu a:hover,
.nav-menu .highlight {
    color: var(--brand-accent);
    font-weight: 600;
}

/* MOBILE TOGGLE */
.menu-toggle {
    display: none;
    font-size: 1.6rem;
    color: #fff;
    cursor: pointer;
}

/* =========================
   BANNER SLIDER
========================= */
.banner-slider {
    position: relative;
    width: 100%;
    height: calc(100vh - var(--header-height));
    overflow: hidden;
}

.slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

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

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

/* TEXT */
.slide-content {
    position: absolute;
    z-index: 2;
    left: 8%;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    max-width: 520px;
}

.slide-content h1 {
    font-size: 2.6rem;
    margin-bottom: 12px;
}

.slide-content p {
    font-size: 1.05rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* BUTTON */
.btn-primary {
    display: inline-block;
    padding: 12px 26px;
    background: var(--brand-accent);
    color: #002b36;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,224,255,0.45);
}

/* DOTS */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: var(--brand-accent);
    transform: scale(1.2);
}

/* =========================
   FEATURES
========================= */
.features {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature-card {
    background: #ffffff;
    padding: 22px;
    text-align: center;
    font-weight: 600;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0,0,0,0.18);
}

/* =========================
   WHATSAPP FLOAT
========================= */
.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: #fff;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    text-decoration: none;
    z-index: 1000;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark-bg);
        flex-direction: column;
        text-align: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .nav-menu.active {
        max-height: 320px;
    }

    .nav-menu a {
        padding: 14px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .slide-content {
        left: 6%;
        right: 6%;
        text-align: center;
    }

    .slide-content h1 {
        font-size: 1.9rem;
    }

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

/* LOGO FIX */
.logo-area {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-link img {
    height: 48px;              /* 🔑 controls logo size */
    width: auto;               /* keeps aspect ratio */
    object-fit: contain;
    display: block;
}

/* FOOTER */
.main-footer {
    background: linear-gradient(135deg, #0f2027, #203a43);
    color: #dcecff;
    margin-top: 60px;
}

.footer-inner {
    max-width: 1200px;
    margin: auto;
    padding: 20px 20px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 20px;
    align-items: center;
}

/* BRAND */
.footer-brand h3 {
    font-size: 1.6rem;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 10px;

}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* LINKS */
/* FOOTER LINKS – HORIZONTAL WITH SEPARATORS */
.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* Link style */
.footer-links a {
    position: relative;
    padding: 5px 5px;
    color: #dcecff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

/* Separator */
.footer-links a:not(:last-child)::after {
    content: "||";
    position: absolute;
    right: -6px;
    color: rgba(255,255,255,0.4);
    font-weight: 400;
}

/* Hover */
.footer-links a:hover {
    color: #00e0ff;
}

/* SOCIAL */
.footer-social {
    display: flex;
    gap: 16px;
    justify-content: flex-end; /* ⬅ right align */
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.1rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    background: #00e0ff;
    transform: translateY(-4px);
}

@media (max-width: 768px) {
    .footer-social {
        justify-content: center;
    }
}


/* BOTTOM BAR */
.footer-bottom {
    text-align: center;
    padding: 14px 10px;
    font-size: 0.85rem;
    background: rgba(0,0,0,0.35);
    letter-spacing: 0.5px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .footer-links a {
        padding: 6px 10px;
    }
}

/* =========================
   PRODUCT GRID / SLIDER
========================= */
.widespace {
    margin: auto 10%;
}

.product-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.page-title {
    position: relative;
    text-align: center;
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: 0.5px;
    margin: 40px auto 30px;
    color: #0f2027;
    animation: fadeUp 0.6s ease both;
}

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

/* Accent underline */
.page-title::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    margin: 12px auto 0;
    background: linear-gradient(90deg, #00e0ff, #2c5364);
    border-radius: 4px;
}


/* CARD */
.product-card {
    background: #ffffff;
    border-radius: 16px;
    text-align: center;
    padding: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 12px;
}

.product-card p {
    font-weight: 600;
    font-size: 1rem;
}

/* =========================
   RESPONSIVE BREAKPOINTS
========================= */

/* Tablets */
@media (max-width: 1024px) {
    .product-slider {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Small tablets */
@media (max-width: 768px) {
    .product-slider {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile → Slider Mode */
@media (max-width: 560px) {

    .product-slider {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-behavior: smooth;
        padding-bottom: 10px;
    }

    .product-slider::-webkit-scrollbar {
        display: none;
    }

    .product-card {
        flex: 0 0 220px;
    }

    /* Hide arrows on mobile */
    .slider-btn {
        display: none;
    }
}

/* =========================
   GALLERY
========================= */
.gallery-section {
    padding: 40px 20px 70px;
}

.gallery-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

/* IMAGE CARD */
.gallery-grid img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 16px 35px rgba(0,0,0,0.18);
}

/* =========================
   LIGHTBOX
========================= */
#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 2000;
}

#lightbox.active {
    opacity: 1;
    visibility: visible;
}

#lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* CLOSE BUTTON */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 2.2rem;
    color: #ffffff;
    cursor: pointer;
    line-height: 1;
}

/* MOBILE */
@media (max-width: 600px) {
    .gallery-grid img {
        height: 200px;
    }
}


/* =========================
   ABOUT PAGE
========================= */
.about-section {
    max-width: 900px;
    margin: 0 auto;
    
}

.about-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #334155;
    text-align: center;
    margin-top: 20px;
}

/* Subtle emphasis */
.about-content strong {
    color: #0f2027;
}

/* Mobile refinement */
@media (max-width: 768px) {
    .about-content {
        font-size: 1rem;
        line-height: 1.8;
    }
}

/* =========================
   ABOUT – MISSION & VISION
========================= */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.mv-card {
    background: #ffffff;
    padding: 26px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.mv-card h3 {
    margin-bottom: 10px;
    color: #0f2027;
}

/* =========================
   SECTION TITLES
========================= */
.section-title {
    text-align: center;
    font-size: 1.6rem;
    margin: 50px 0 20px;
    color: #0f2027;
}

/* =========================
   WHY CHOOSE LIST
========================= */
.why-list {
    max-width: 700px;
    margin: auto;
    list-style: none;
    padding: 0;
}

.why-list li {
    padding: 10px 0;
    font-size: 1.05rem;
}

/* =========================
   TIMELINE
========================= */
.timeline {
    max-width: 700px;
    margin: 30px auto;
    border-left: 3px solid #00e0ff;
    padding-left: 20px;
}

.timeline-item {
    margin-bottom: 20px;
}

.timeline-item span {
    font-weight: 700;
    color: #00e0ff;
}

/* =========================
   CERTIFICATIONS
========================= */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 30px;
}

.cert-card {
    background: #ffffff;
    padding: 20px;
    text-align: center;
    font-weight: 600;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

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

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

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


/* =========================
   FRANCHISE PAGE
========================= */
.franchise-section {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.franchise-intro {
    margin: 15px 0 35px;
    color: #475569;
    font-size: 1.05rem;
}

/* =========================
   FORM
========================= */
.franchise-form {
    background: #ffffff;
    padding: 32px 28px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    text-align: left;
}

/* GROUP */
.form-group {
    position: relative;
    margin-bottom: 22px;
}

/* INPUTS */
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 14px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    font-size: 1rem;
    outline: none;
    background: transparent;
    transition: border 0.3s ease;
}

/* FOCUS */
.form-group input:focus,
.form-group textarea:focus {
    border-color: #00e0ff;
}

/* LABEL */
.form-group label {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    padding: 0 6px;
    font-size: 0.9rem;
    color: #64748b;
    pointer-events: none;
    transition: all 0.25s ease;
}

/* FLOAT EFFECT */
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -8px;
    font-size: 0.75rem;
    color: #00e0ff;
}

/* BUTTON */
.franchise-form .btn-primary {
    width: 100%;
    margin-top: 10px;
}

/* MOBILE */
@media (max-width: 480px) {
    .franchise-form {
        padding: 26px 20px;
    }
}

/* =========================
   CONTACT PAGE
========================= */

.contact-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    align-items: stretch;
}

/* INFO CARD */
.contact-info {
    background: #ffffff;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.contact-info h3 {
    margin-bottom: 15px;
    color: #0f2027;
}

.contact-info p {
    margin-bottom: 12px;
    font-size: 1rem;
    color: #334155;
}

.contact-info a {
    color: #00e0ff;
    text-decoration: none;
    font-weight: 600;
}

.contact-note {
    margin-top: 15px;
    font-size: 0.95rem;
    color: #64748b;
}

/* MAP */
.contact-map {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-map iframe {
        min-height: 260px;
    }
}
.form-success {
    background: #ecfeff;
    color: #065f46;
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.form-error {
    background: #fee2e2;
    color: #7f1d1d;
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}
