:root {
    --bg: #020617;
    --surface: #0f172a;
    --surface-soft: #17223b;
    --text: #e2e8f0;
    --muted: #94a3b8;
    --accent: #f59e0b;
    --accent-strong: #ffc174;
    --radius-lg: 20px;
    --radius-md: 14px;
    --max-width: 1200px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

main section {
    scroll-margin-top: 94px;
}

h1, h2, h3, h4 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

p {
    margin: 0;
    line-height: 1.7;
    color: var(--muted);
}

section {
    width: 100%;
    position: relative;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    min-height: 84px;
    display: flex;
    align-items: center;
    padding: 0 clamp(1rem, 4vw, 3rem);
    z-index: 1000;
    background: transparent;
    transition: background 0.35s ease, box-shadow 0.35s ease, min-height 0.35s ease;
}

.navbar.navbar-scrolled {
    background: rgba(2, 6, 23, 0.88);
    backdrop-filter: blur(14px);
    box-shadow: 0 16px 40px rgba(2, 6, 23, 0.5);
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -100px;
    z-index: 2000;
    background: var(--accent);
    color: #2f1d00;
    padding: 0.7rem 0.9rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus-visible {
    top: 12px;
}

.logo {
    text-decoration: none;
    font-size: 1.1rem;
    color: #f8fafc;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-weight: 700;
}

.nav-links {
    margin-left: auto;
    margin-right: 0.75rem;
    display: flex;
    gap: 1.2rem;
}

.nav-links a {
    text-decoration: none;
    color: #cbd5e1;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    padding: 0.5rem 0.65rem;
    transition: color 0.25s ease, background-color 0.25s ease;
    border-radius: 999px;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a.is-active {
    color: #fff;
    background: rgba(245, 158, 11, 0.16);
}

#home {
    min-height: 100vh;
    padding: 120px clamp(1rem, 4vw, 3rem) 100px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    background: linear-gradient(120deg, rgba(2, 6, 23, 0.86), rgba(2, 6, 23, 0.45)), url("../Images/back4.jpg") center/cover no-repeat;
}

#home h1 {
    max-width: 760px;
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    color: #fff;
    line-height: 1.08;
}

#home > p {
    max-width: 620px;
    margin-top: 1.3rem;
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: #cbd5e1;
}

#home h1,
#home p,
#home .home_buttons {
    animation: fadeUp 0.7s ease both;
}

#home p {
    animation-delay: 90ms;
}

#home .home_buttons {
    animation-delay: 180ms;
}

.home_buttons {
    margin-top: 2.4rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn_eservices,
.btn_qt,
.learn-more-button,
.btn_form,
.quote_btn {
    border: 0;
    border-radius: 999px;
    padding: 0.88rem 1.35rem;
    cursor: pointer;
    font-family: "Manrope", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.btn_eservices,
.btn_form,
.quote_btn {
    background: linear-gradient(120deg, var(--accent), var(--accent-strong));
    color: #3a2300;
}

.btn_qt,
.learn-more-button {
    background: transparent;
    color: #f8fafc;
    box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.4);
}

.btn_eservices i {
    margin-left: 0.2rem;
    font-size: 1.1rem;
}

.btn_eservices:hover,
.btn_qt:hover,
.learn-more-button:hover,
.btn_form:hover,
.quote_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.18);
}

.btn_eservices:active,
.btn_qt:active,
.learn-more-button:active,
.btn_form:active,
.quote_btn:active {
    transform: translateY(0);
}

.about-split-section {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: var(--bg);
}

.image-side {
    min-height: 100%;
    background: linear-gradient(160deg, rgba(2, 6, 23, 0.35), rgba(2, 6, 23, 0.72)), url("../Images/side2.jpg") center/cover no-repeat;
    filter: saturate(0.9) contrast(1.02);
}

.content-side {
    padding: clamp(2rem, 7vw, 5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
    text-align: left;
    background: var(--surface);
}

.content-side h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
}

.content-side p {
    max-width: 560px;
    font-size: 1.03rem;
}

.content-side .learn-more-button {
    width: fit-content;
    margin-top: 0.8rem;
}

.about-overlay-card {
    position: absolute;
    left: clamp(1rem, 3vw, 2.5rem);
    bottom: clamp(1rem, 3vw, 2.2rem);
    padding: 0.9rem 1.25rem;
    border-radius: 12px;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(10px);
}

.about-overlay-card p {
    color: #f8fafc;
    font-family: "Manrope", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

#services {
    padding: 100px clamp(1rem, 4vw, 3rem);
    background: var(--bg);
}

.header_title {
    text-align: center;
    margin: 0 auto 2.2rem;
}

.header_title h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
}

.header_title h3 {
    margin-top: 0.5rem;
    color: var(--muted);
    font-size: 1rem;
    font-weight: 500;
}

.cards-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
}

.card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 440px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 38px rgba(2, 6, 23, 0.5);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: saturate(0.88) contrast(1.03);
}

.card h3 {
    margin: 1.2rem 1rem 0.7rem;
    color: #fff;
    font-size: 1.25rem;
    min-height: 2.8rem;
}

.card p {
    margin: 0 1rem;
    flex: 1;
    min-height: 6rem;
}

.card button {
    margin: 1.1rem 1rem 1.2rem;
}

#contact-us {
    padding: 100px clamp(1rem, 4vw, 3rem);
    background: var(--surface);
}

.contact-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.2rem;
    background: #111d35;
    border-radius: 24px;
    padding: 1.2rem;
}

.contact-copy,
.contact-form {
    background: var(--surface);
    border-radius: 16px;
    padding: clamp(1.2rem, 3vw, 2rem);
}

.contact-copy h2,
.contact-form h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    color: #fff;
}

.contact-copy p {
    margin-top: 0.9rem;
}

.contact-list {
    margin-top: 1.5rem;
    display: grid;
    gap: 0.8rem;
}

.contact-list p {
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.contact-form {
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.contact-form label {
    color: #e2e8f0;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: #0b1326;
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #f8fafc;
    border-radius: var(--radius-md);
    padding: 0.84rem 1rem;
    font-size: 0.95rem;
    font-family: "Inter", sans-serif;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(245, 158, 11, 0.6);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.btn_form {
    width: fit-content;
    margin-top: 0.7rem;
}

.btn_form:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.form-status {
    min-height: 1.5rem;
    margin-top: 0.2rem;
    font-size: 0.9rem;
}

.form-status.is-pending {
    color: #cbd5e1;
}

.form-status.is-success {
    color: #86efac;
}

.form-status.is-error {
    color: #fca5a5;
}

footer {
    padding: 1.1rem clamp(1rem, 4vw, 3rem);
    background: #01040f;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

footer p {
    color: #94a3b8;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.social-icons a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #f8fafc;
    background: #1e293b;
}

.social-icons a:hover {
    background: var(--accent);
    color: #2f1d00;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: 0.25s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 4px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -5px);
}

body.menu-open {
    overflow: hidden;
    touch-action: none;
}

.thank-you-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(2, 6, 23, 0.72);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.thank-you-modal-content {
    background: var(--surface);
    border-radius: 20px;
    width: min(100%, 520px);
    padding: 2rem;
    text-align: center;
    position: relative;
}

.thank-you-close {
    position: absolute;
    right: 1rem;
    top: 0.6rem;
    font-size: 2rem;
    cursor: pointer;
    color: #cbd5e1;
}

.thank-you-icon {
    color: var(--accent);
    font-size: 2.7rem;
}

.thank-you-modal-content h2 {
    margin-top: 0.85rem;
    color: #fff;
}

.thank-you-modal-content p {
    margin-top: 0.55rem;
}

.thank-you-btn {
    margin-top: 1rem;
    border: 0;
    border-radius: 999px;
    padding: 0.72rem 1.2rem;
    background: var(--accent);
    color: #2f1d00;
    font-weight: 700;
    cursor: pointer;
}

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

@media (max-width: 1024px) {
    .cards-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .about-split-section {
        grid-template-columns: 1fr;
    }

    .image-side {
        min-height: 340px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        margin-left: 0;
        position: fixed;
        top: max(14px, env(safe-area-inset-top));
        right: 16px;
        z-index: 1200;
        padding: 6px;
        border-radius: 10px;
        background: rgba(2, 6, 23, 0.72);
        backdrop-filter: blur(8px);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100vw;
        height: 100dvh;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 1.75rem;
        padding-top: calc(max(84px, env(safe-area-inset-top) + 64px));
        padding-bottom: 24px;
        background: rgba(2, 6, 23, 0.95);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 1100;
        transition: 0.25s ease;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-links a {
        font-size: 1rem;
        color: #fff;
        line-height: 1;
    }

    .logo {
        font-size: 0.95rem;
        z-index: 1001;
    }

    .navbar {
        padding-right: 64px;
    }

    .home_buttons {
        width: 100%;
    }

    .btn_eservices,
    .btn_qt,
    .btn_form {
        width: 100%;
        justify-content: center;
    }

    .cards-container {
        grid-template-columns: 1fr;
    }

    .card h3,
    .card p {
        min-height: auto;
    }

    footer {
        flex-direction: column;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
  
