/* ------------------- Root Variables -------- */
:root {
    --primary: #0056b3;
    --secondary: #00a8a8;
    --accent: #ffb400;
    --dark: #222;
    --light: #f8f9fa;
    --white: #fff;
    --surface: rgba(255,255,255,0.9);
    --border: rgba(0,0,0,0.08);
}

/* ------------------- Global Styles --------- */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%; 
    overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    scroll-behavior: smooth;
}

/* ------------------- Typography ------------ */
h1 { font-size: clamp(24px, 8vw, 48px); }
h2 { font-size: clamp(20px, 7vw, 36px); }
p  { font-size: clamp(16px, 4vw, 18px); }
a {
    text-decoration: none;
    color: inherit;
}

/* ------------------- Navigation ------------ */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%; 
    background: var(--primary);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 70px;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.nav-links li a {
    color: var(--white) !important;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: var(--secondary) !important;
}

/* ------------------- Mobile Burger---------- */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1100;
}

.bar {
    width: 28px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        flex-direction: column;
        background: var(--primary);
        width: 70%;
        height: 100vh;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* ------------------- Hero Section ---------- */

.hero {
    background:
                url('images/background-mobile.png') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 15vh 5% 10vh;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

@media (min-width: 769px) {
    .hero {
        background:
                    url('images/background-desktop.png') no-repeat center center/cover;
        padding: 100px 5%;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    }
}

.cta-button {
    display: block;
    width: 80vw;
    max-width: 300px;
    margin: 15px auto;
    padding: 15px 0;
    font-size: 1.1rem;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    background: var(--accent);
    color: black;
    font-weight: bold;
    transition: 0.2s;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

/* ------------------- Sections -------------- */
section {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.about {
    background: var(--surface);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ------------------- Services -------------- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* ------------------- Why Us ---------------- */
.why-us {
    background: var(--primary) !important;
    color: white;
    border-radius: 15px;
    display: block !important;
    width: fit-content;
    margin: 40px auto;
    padding: 30px 50px !important;
}

.why-us h2 { color: white; border-bottom: 1px solid rgba(255,255,255,0.3); }
.why-us ul { text-align: left; padding: 0; list-style: none; }
.why-us li { margin: 10px 0; white-space: nowrap; }

/* ------------------- Footer ---------------- */

footer {
    background: var(--dark);
    color: var(--white);
    padding: 30px 5%;
    text-align: center;
    width: 100%;
}
footer a {
    color: var(--accent);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer p {
    margin: 5px 0;
    font-size: 0.9rem;
}

footer p a {
    color: var(--accent);
    font-weight: bold;
}

footer p a:hover {
    text-decoration: underline;
}

/* ------------------- Sticky Call ----------- */
.sticky-call {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 24px;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* ------------------- Desktop Adjustments ----*/
@media (min-width: 769px) {
    .hero { padding: 100px 5%; }
    .sticky-call { display: none; }
}

/* ------------------- Gallery --------------- */
.gallery { 
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.gallery figure {
    margin: 0;
    background: #f9f9f9;
    border: 2px solid #3498db;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.gallery img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery figcaption {
    padding: 1rem;
    font-size: 0.9rem;
    color: #555;
    border-top: 1px solid #3498db;
}

@media (min-width: 768px) {
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
}

/* ------------------- Logo -------------------*/
.logo-img {
    height: auto;
    max-height: 100px;
    display: block;
}

@media only screen and (max-width: 768px) {
    .logo-img {
        max-height: 100px;
        max-width: 300px;
    }
}

/*-------------------- KKK ------------------*/
.faq div {
    border-bottom: 1px solid var(--border);
    padding-bottom: 15px;
    transition: 0.3s;
}

.faq div:hover {
    padding-left: 10px;
    border-left: 4px solid var(--accent);
}

.faq strong {
    color: var(--primary);
    display: block;
    margin-bottom: 5px;
}

---Back to top---

.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: #0056b3;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 0.35;
    pointer-events: auto;
}

.back-to-top:hover {
    opacity: 0.85;
    transform: translateY(-3px);
}