/* =========================================
   SECURITY & ACCESS SOLUTIONS
   PROFESSIONAL WEBSITE STYLES
========================================= */


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 78px;
}


body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0b0d10;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}


img {
    width: 100%;
    display: block;
}


a {
    text-decoration: none;
    color: inherit;
}


button,
input,
select,
textarea {
    font: inherit;
}


.container {
    width: min(90%, 1200px);
    margin: 0 auto;
}


.section {
    padding: 100px 0;
}



/* =========================================
   HEADER
========================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(8, 10, 13, 0.96);

    border-bottom: 1px solid #24282d;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


.nav-container {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


.logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;

    transition:
        color 0.25s ease,
        opacity 0.25s ease;
}


.logo span {
    color: #d6a84f;
}


.logo:hover {
    opacity: 0.85;
}

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

.logo img {
    width: 190px;
    height: auto;
    display: block;
    object-fit: contain;
}


.navbar {
    display: flex;
    align-items: center;
    gap: 32px;
}


.navbar a {
    position: relative;

    font-size: 15px;
    font-weight: 600;

    color: #e7e9eb;

    padding: 8px 0;

    transition:
        color 0.25s ease;
}


.navbar a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: #d6a84f;

    transition:
        width 0.25s ease;
}


.navbar a:hover {
    color: #d6a84f;
}


.navbar a:hover::after {
    width: 100%;
}


.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    background: transparent;

    border: 1px solid #30353b;

    border-radius: 6px;

    color: #ffffff;

    cursor: pointer;

    padding: 9px;

    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;

    transition:
        background 0.25s ease,
        border-color 0.25s ease;
}


.menu-toggle:hover {
    background: #181c21;
    border-color: #d6a84f;
}


.menu-toggle span {
    display: block;

    width: 22px;
    height: 2px;

    background: #ffffff;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}


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


.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}



/* =========================================
   HERO
========================================= */

.hero {
    min-height: 100vh;

    position: relative;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.70),
            rgba(0, 0, 0, 0.78)
        ),
        url("../images/security-project-01-bg.jpg")
        center / cover no-repeat;
}


.hero::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 140px;

    background:
        linear-gradient(
            transparent,
            #0b0d10
        );

    pointer-events: none;
}


.hero-content {
    position: relative;

    z-index: 2;

    padding-top: 78px;

    max-width: 780px;
}


.hero-subtitle {
    color: #d6a84f;

    font-size: 14px;

    font-weight: 800;

    letter-spacing: 3px;

    margin-bottom: 20px;
}


.hero h1 {
    font-size: clamp(44px, 7vw, 78px);

    line-height: 1.02;

    letter-spacing: -1.5px;

    margin-bottom: 26px;
}


.hero-text {
    max-width: 680px;

    color: #d4d7da;

    font-size: clamp(17px, 2vw, 19px);

    line-height: 1.7;

    margin-bottom: 38px;
}


.hero-buttons {
    display: flex;

    gap: 15px;

    flex-wrap: wrap;
}



/* =========================================
   BUTTONS
========================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 13px 27px;

    border-radius: 5px;

    font-weight: 700;

    cursor: pointer;

    border: 1px solid transparent;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


.btn-primary {
    background: #d6a84f;

    color: #111;
}


.btn-primary:hover {
    transform: translateY(-3px);

    background: #e4ba66;

    box-shadow:
        0 10px 25px rgba(214, 168, 79, 0.22);
}


.btn-secondary {
    border-color: rgba(255, 255, 255, 0.8);

    color: #ffffff;

    background: rgba(0, 0, 0, 0.15);
}


.btn-secondary:hover {
    transform: translateY(-3px);

    background: #ffffff;

    border-color: #ffffff;

    color: #111;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.25);
}



/* =========================================
   SECTION HEADINGS
========================================= */

.section-heading {
    text-align: center;

    max-width: 720px;

    margin: 0 auto 60px;
}


.section-label {
    color: #d6a84f;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 3px;

    margin-bottom: 12px;
}


.section-heading h2,
.about-content h2 {
    font-size: clamp(34px, 5vw, 52px);

    line-height: 1.12;

    letter-spacing: -0.5px;

    margin-bottom: 18px;
}


.section-heading p:not(.section-label) {
    color: #aeb4ba;

    font-size: 16px;
}



/* =========================================
   SERVICES
========================================= */

.services {
    background: #111419;
}


.services-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}


.service-card {
    background:
        linear-gradient(
            145deg,
            #1a1e23,
            #15181c
        );

    padding: 36px 30px;

    min-height: 245px;

    border: 1px solid #292e34;

    border-radius: 9px;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}


.service-card:hover {
    transform: translateY(-7px);

    border-color: #d6a84f;

    box-shadow:
        0 18px 35px rgba(0, 0, 0, 0.30);
}


.service-icon {
    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 7px;

    background: rgba(214, 168, 79, 0.10);

    border: 1px solid rgba(214, 168, 79, 0.25);

    font-size: 25px;

    color: #d6a84f;

    margin-bottom: 22px;
}


.service-card h3 {
    margin-bottom: 12px;

    font-size: 21px;
}


.service-card p {
    color: #aeb4ba;

    font-size: 15px;
}



/* =========================================
   PROJECTS
========================================= */

.projects {
    background: #0b0d10;
}


.projects-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}


.project-card {
    position: relative;

    overflow: hidden;

    border-radius: 9px;

    background: #171a1e;

    border: 1px solid #272b30;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}


.project-card:hover {
    transform: translateY(-6px);

    border-color: #d6a84f;

    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.38);
}


.project-card img {
    height: 300px;

    object-fit: cover;

    transition:
        transform 0.55s ease;
}


.project-card:hover img {
    transform: scale(1.06);
}


.project-info {
    padding: 21px 20px 23px;

    min-height: 105px;

    background: #171a1e;
}


.project-info span {
    color: #d6a84f;

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1.2px;
}


.project-info h3 {
    margin-top: 7px;

    font-size: 19px;

    line-height: 1.35;
}



/* =========================================
   ABOUT
========================================= */

.about {
    background: #111419;
}


.about-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 65px;

    align-items: center;
}


.about-image {
    overflow: hidden;

    border-radius: 9px;

    border: 1px solid #292e34;

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.25);
}


.about-image img {
    height: 520px;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}


.about-image:hover img {
    transform: scale(1.025);
}


.about-content p:not(.section-label) {
    color: #b7bcc1;

    margin-bottom: 20px;

    font-size: 16px;
}


.about-content .btn {
    margin-top: 10px;
}



/* =========================================
   CTA
========================================= */

.cta {
    position: relative;

    text-align: center;

    padding: 100px 20px;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.76),
            rgba(0, 0, 0, 0.82)
        ),
        url("../images/security-project-02-bg.jpg")
        center / cover no-repeat;
}


.cta::before {
    content: "";

    position: absolute;

    inset: 0;

    border-top: 1px solid rgba(214, 168, 79, 0.18);
    border-bottom: 1px solid rgba(214, 168, 79, 0.18);

    pointer-events: none;
}


.cta .container {
    position: relative;
    z-index: 2;
}


.cta h2 {
    font-size: clamp(34px, 5vw, 54px);

    line-height: 1.1;

    margin-bottom: 16px;
}


.cta p:not(.section-label) {
    color: #d0d4d7;

    margin-bottom: 30px;

    font-size: 17px;
}



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

.contact {
    background: #111419;
}


.contact-grid {
    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 65px;

    align-items: start;
}


.contact-info h3 {
    font-size: 30px;

    line-height: 1.2;

    margin-bottom: 18px;
}


.contact-info > p {
    color: #aeb4ba;

    margin-bottom: 30px;

    max-width: 500px;
}


.contact-item {
    padding: 18px 0;

    border-bottom: 1px solid #292e34;
}


.contact-item strong {
    display: block;

    margin-bottom: 5px;

    color: #d6a84f;
}


.contact-item span {
    color: #c3c7ca;
}
/* CONTACT LINKS */

.contact-item a {
    color: #c3c7ca;

    transition:
        color 0.25s ease;
}


.contact-item a:hover {
    color: #d6a84f;
}


.contact-form {
    display: flex;

    flex-direction: column;

    gap: 16px;

    padding: 30px;

    background: #181c21;

    border: 1px solid #292e34;

    border-radius: 9px;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.20);
}


.form-group {
    display: flex;

    flex-direction: column;

    gap: 7px;
}


.form-group label {
    color: #d9dcdf;

    font-size: 13px;

    font-weight: 700;
}


.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;

    padding: 14px 15px;

    border: 1px solid #30353b;

    background: #111419;

    color: #ffffff;

    border-radius: 5px;

    font-family: inherit;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #777e85;
}


.contact-form textarea {
    resize: vertical;

    min-height: 145px;
}


.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;

    border-color: #d6a84f;

    box-shadow:
        0 0 0 3px rgba(214, 168, 79, 0.10);
}


.contact-form .btn {
    width: 100%;

    margin-top: 5px;
}



/* =========================================
   FOOTER
========================================= */

.footer {
    background: #08090b;

    padding-top: 55px;
}


.footer-content {
    display: flex;

    justify-content: space-between;

    gap: 40px;

    padding-bottom: 38px;
}


.footer-brand h3 {
    margin-bottom: 8px;

    font-size: 19px;
}


.footer p {
    color: #888f96;

    font-size: 14px;
}


.footer-links {
    display: flex;

    align-items: center;

    gap: 25px;

    flex-wrap: wrap;
}


.footer-links a {
    color: #b9bec3;

    font-size: 14px;

    transition:
        color 0.25s ease;
}


.footer-links a:hover {
    color: #d6a84f;
}


.copyright {
    text-align: center;

    padding: 21px;

    border-top: 1px solid #1e2227;

    color: #70767c;

    font-size: 13px;
}



/* =========================================
   ACCESSIBILITY
========================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #d6a84f;

    outline-offset: 4px;
}



/* =========================================
   SCROLL REVEAL
========================================= */

.reveal {
    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}


.reveal-visible {
    opacity: 1;

    transform: translateY(0);
}



/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .container {
        width: min(92%, 900px);
    }


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


    .about-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .about-image img {
        height: 480px;
    }


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

        gap: 45px;
    }

}



/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {
.logo img {
    width: 155px;
}

    .section {
        padding: 75px 0;
    }


    .nav-container {
        min-height: 72px;
    }


    .menu-toggle {
        display: flex;
    }


    .navbar {
        position: absolute;

        top: 72px;

        left: 0;

        width: 100%;

        background: rgba(11, 13, 16, 0.98);

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        display: none;

        border-bottom: 1px solid #24282d;

        box-shadow:
            0 15px 30px rgba(0, 0, 0, 0.35);
    }


    .navbar.active {
        display: flex;
    }


    .navbar a {
        padding: 16px 5%;

        border-top: 1px solid #22272c;
    }


    .navbar a::after {
        display: none;
    }


    .navbar a:hover {
        background: #15191e;
    }


    .hero {
        min-height: 760px;
    }


    .hero-content {
        padding-top: 90px;
    }


    .hero-subtitle {
        font-size: 11px;

        letter-spacing: 2px;
    }


    .hero h1 {
        font-size: clamp(40px, 12vw, 58px);

        letter-spacing: -1px;
    }


    .hero-text {
        font-size: 16px;
    }


    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }


    .hero-buttons .btn {
        width: 100%;
    }


    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }


    .service-card {
        min-height: auto;
    }


    .project-card img {
        height: 280px;
    }


    .about-image img {
        height: 360px;
    }


    .contact-form {
        padding: 22px;
    }


    .footer-content {
        flex-direction: column;

        gap: 25px;
    }


    .footer-links {
        flex-direction: column;

        align-items: flex-start;

        gap: 12px;
    }

}



/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 400px) {

.logo img {
    width: 135px;
}
    .container {
        width: 90%;
    }


    .logo {
        font-size: 17px;
    }


    .hero {
        min-height: 720px;
    }


    .hero h1 {
        font-size: 39px;
    }


    .section-heading h2,
    .about-content h2 {
        font-size: 32px;
    }


    .project-card img {
        height: 250px;
    }

}



/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;

        scroll-behavior: auto !important;
    }


    .reveal {
        opacity: 1;

        transform: none;
    }

}