@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");
:root {
    --bg: #f4f7fb;
    --bg-alt: #eef3ff;
    --text: #0f172a;
    --text-soft: #475569;
    --primary: #2563eb;
    --secondary: #14b8a6;
    --glass: rgba(255, 255, 255, 0.55);
    --glass-border: rgba(255, 255, 255, 0.35);
    --shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
    --radius: 22px;
    --transition: 0.3s ease;
}

body.theme-dark {
    --bg: #0b1120;
    --bg-alt: #0f172a;
    --text: #e2e8f0;
    --text-soft: #94a3b8;
    --primary: #60a5fa;
    --secondary: #22d3ee;
    --glass: rgba(15, 23, 42, 0.55);
    --glass-border: rgba(148, 163, 184, 0.2);
    --shadow: 0 20px 60px rgba(2, 6, 23, 0.6);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    background: radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.15), transparent 50%),
        radial-gradient(circle at 80% 0%, rgba(20, 184, 166, 0.2), transparent 45%),
        linear-gradient(180deg, var(--bg), var(--bg-alt));
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    scroll-behavior: smooth;
}

a {
    color: inherit;
    text-decoration: none;
}

.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.35), transparent 60%);
    filter: blur(10px);
    pointer-events: none;
    transform: translate(calc(var(--mx, 0px) - 50%), calc(var(--my, 0px) - 50%));
    transition: transform 0.08s ease-out;
    z-index: 1;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid var(--glass-border);
}

body.theme-dark .site-header {
    background: rgba(15, 23, 42, 0.7);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 7vw;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo img {
    height: 80px;        /* Control logo size */
    width: auto;
    object-fit: contain;
    display: block;
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text span {
    font-size: 1rem;
}

.logo-text small {
    font-size: 0.7rem;
    color: var(--text-soft);
    letter-spacing: 2px;
}

/* Optional: Make logo slightly smaller on mobile */
@media (max-width: 600px) {
    .logo img {
        height: 34px;
    }
}

.logo small {
    font-size: 0.7rem;
    color: var(--text-soft);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-soft);
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 26px;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.toggle-track {
    position: relative;
    width: 54px;
    height: 28px;
    border-radius: 999px;
    background: linear-gradient(120deg, rgba(255, 236, 179, 0.9), rgba(255, 255, 255, 0.6));
    border: 1px solid var(--glass-border);
    box-shadow: inset 0 0 10px rgba(15, 23, 42, 0.08);
    transition: background 0.4s ease, border-color 0.4s ease;
}

.toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: #f59e0b;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2);
    transition: transform 0.4s ease, background 0.4s ease, color 0.4s ease;
}

.toggle-thumb .moon {
    position: absolute;
    opacity: 0;
    transform: scale(0.6) rotate(90deg);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.toggle-thumb .sun {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

body.theme-dark .toggle-track {
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.9), rgba(30, 64, 175, 0.7));
}

body.theme-dark .toggle-thumb {
    transform: translateX(26px);
    background: #0f172a;
    color: #38bdf8;
}

body.theme-dark .toggle-thumb .sun {
    opacity: 0;
    transform: scale(0.6) rotate(-90deg);
}

body.theme-dark .toggle-thumb .moon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.theme-toggle:hover {
    transform: translateY(-1px);
}

.hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding: 70px 7vw 40px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(2rem, 3vw, 3.4rem);
    margin: 16px 0;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
    color: var(--secondary);
    font-weight: 700;
}

.lead {
    color: var(--text-soft);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0;
}

.btn {
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.btn.primary {
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: var(--shadow);
}

.btn.ghost {
    background: var(--glass);
    border-color: var(--glass-border);
}

.btn.outline {
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn:hover {
    transform: translateY(-2px);
}

.trust-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.trust-card {
    padding: 12px 16px;
    border-radius: 16px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    font-weight: 600;
    text-align: center;
}

.hero-visual .glass-panel {
    padding: 28px;
    border-radius: var(--radius);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    animation: floaty 6s ease-in-out infinite;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-top: 22px;
    text-align: center;
}

.section {
    padding: 70px 7vw;
}

.section-header {
    max-width: 680px;
    margin-bottom: 40px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.service-card {
    padding: 24px;
    border-radius: var(--radius);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
}

.service-card .icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(20, 184, 166, 0.9));
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 12px;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover .icon {
    transform: translateY(-4px) rotate(-4deg) scale(1.04);
    box-shadow: 0 16px 38px rgba(20, 184, 166, 0.35);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    padding: 0;
    border: none;
    cursor: pointer;
    border-radius: var(--radius);
    min-height: 200px;
    overflow: hidden;
    color: #fff;
    font-weight: 600;
    background: var(--glass);
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.4), transparent 55%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item span {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 2;
}

.gallery-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gallery-bg, linear-gradient(135deg, rgba(37, 99, 235, 0.6), rgba(14, 116, 144, 0.6)));
    transition: transform var(--transition);
    z-index: 0;
}

.gallery-item:hover::before {
    transform: scale(1.05);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.contact-info,
.contact-form {
    padding: 24px;
    border-radius: var(--radius);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
}

.contact-info p {
    margin: 12px 0;
}

.map-placeholder {
    margin-top: 18px;
    height: 180px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(14, 116, 144, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 600;
    margin-bottom: 14px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.6);
    color: var(--text);
}

body.theme-dark .contact-form input,
body.theme-dark .contact-form textarea {
    background: rgba(15, 23, 42, 0.6);
}

.form-note {
    margin-top: 10px;
    color: var(--secondary);
    font-weight: 600;
}

.site-footer {
    text-align: center;
    padding: 30px 7vw 60px;
    color: var(--text-soft);
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
    z-index: 20;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 20px;
    max-width: 720px;
    width: 90%;
    text-align: center;
}

.lightbox-image {
    height: 320px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.6), rgba(14, 116, 144, 0.6));
    margin-bottom: 16px;
}

.lightbox-close {
    background: transparent;
    border: none;
    font-size: 2rem;
    float: right;
    cursor: pointer;
    color: var(--text);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

@keyframes floaty {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-visual .glass-panel {
        animation: none;
    }
}

@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        right: 20px;
        top: 78px;
        flex-direction: column;
        background: var(--glass);
        border: 1px solid var(--glass-border);
        padding: 20px;
        border-radius: 16px;
        transform: translateX(120%);
        transition: transform var(--transition);
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-toggle {
        display: flex;
    }
}

@media (max-width: 600px) {
    .hero {
        padding-top: 40px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .navbar {
        padding: 16px 6vw;
    }
}
