﻿/* =========================================
   AVA AEC WEBSITE
========================================= */

:root {
    --navy: #06233d;
    --dark-navy: #03182b;
    --blue: #2196f3;
    --light-blue: #58b5ff;
    --text: #182a3d;
    --gray: #687586;
    --light: #f7f9fc;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: #fff;
}

a {
    text-decoration: none;
}


/* =========================================
   HERO
========================================= */

.hero-section {
    min-height: 575px;
    position: relative;
    background-image: url('../images/hero-building.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(2, 25, 45, .98) 0%, rgba(2, 25, 45, .90) 30%, rgba(2, 25, 45, .45) 55%, rgba(2, 25, 45, .05) 100% );
}

.min-vh-75 {
    min-height: 575px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
}

.hero-subtitle {
    display: block;
    color: var(--light-blue);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: .5px;
    margin-bottom: 18px;
}

    .hero-subtitle b {
        color: #fff;
        margin: 0 4px;
    }

.hero-content h1 {
    font-size: 54px;
    line-height: 1.08;
    font-weight: 700;
    color: white;
    margin: 0;
}

    .hero-content h1 span {
        display: block;
        color: var(--light-blue);
    }

.title-line,
.heading-line {
    height: 3px;
    width: 52px;
    background: var(--blue);
    margin: 22px 0;
}

.hero-content p {
    color: #f2f5f8;
    font-size: 17px;
    line-height: 1.7;
    max-width: 500px;
}

.hero-btn {
    margin-top: 12px;
    padding: 12px 21px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
}

    .hero-btn i,
    .primary-btn i,
    .contact-btn i {
        margin-left: 10px;
    }


/* =========================================
   COMMON SECTION
========================================= */

.section-padding {
    padding: 65px 0;
}

.section-heading {
    margin-bottom: 35px;
}

    .section-heading span,
    .section-label {
        color: var(--blue);
        font-size: 15px;
        font-weight: 600;
        letter-spacing: 1px;
    }

    .section-heading h2 {
        margin: 8px 0 0;
        font-size: 32px;
        color: var(--navy);
        font-weight: 700;
    }

    .section-heading .heading-line {
        margin: 12px auto 0;
    }


/* =========================================
   SERVICES
========================================= */

.services-section {
    background: #fff;
}

.service-card {
    height: 100%;
    background: #fff;
    padding: 27px 24px;
    border-radius: 5px;
    border: 1px solid #e9edf2;
    box-shadow: 0 5px 20px rgba(0, 30, 60, .07);
    transition: .3s ease;
}

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 14px 35px rgba(0, 50, 100, .14);
        border-color: #cce5fb;
    }

.service-icon {
    height: 75px;
    width: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 43px;
    margin-bottom: 17px;
}

.service-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--navy);
    min-height: 45px;
}

.small-line {
    height: 2px;
    width: 35px;
    background: var(--blue);
    margin: 12px 0;
}

.service-card p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
    min-height: 75px;
}

.service-card a,
.project-content a {
    color: #087dd8;
    font-weight: 600;
    font-size: 13px;
}

    .service-card a i,
    .project-content a i {
        margin-left: 7px;
    }


/* =========================================
   ABOUT
========================================= */

.about-section {
    background: var(--navy);
    padding: 70px 0;
    color: white;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

    .about-image img {
        width: 100%;
        height: 290px;
        object-fit: cover;
    }

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 65px;
    width: 65px;
    background: white;
    color: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,.25);
}

.about-title {
    color: white;
    font-size: 31px;
    line-height: 1.25;
    font-weight: 700;
    margin-top: 8px;
}

    .about-title span {
        display: block;
    }

.heading-line.left {
    margin-left: 0;
}

.about-section p {
    color: #d9e4ed;
    font-size: 15px;
    line-height: 1.8;
}

.primary-btn {
    border: 1px solid white;
    color: white;
    padding: 11px 20px;
    margin-top: 10px;
    font-weight: 600;
    font-size: 13px;
}

    .primary-btn:hover {
        background: white;
        color: var(--navy);
    }

.about-stat {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,.2);
}

    .about-stat i {
        color: var(--light-blue);
        font-size: 29px;
        width: 42px;
    }

    .about-stat strong {
        display: block;
        font-size: 24px;
        font-weight: 500;
    }

    .about-stat span {
        display: block;
        color: #d4e0eb;
        font-size: 12px;
    }


/* =========================================
   PROJECTS
========================================= */

.projects-section {
    background: #f8fafc;
}

.project-card {
    background: white;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #e8edf2;
    box-shadow: 0 5px 18px rgba(0,0,0,.06);
    transition: .3s ease;
}

    .project-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 30px rgba(0,0,0,.12);
    }

.project-image {
    height: 185px;
    position: relative;
    overflow: hidden;
}

    .project-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: .5s;
    }

.project-card:hover .project-image img {
    transform: scale(1.06);
}

.project-image span {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--navy);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 11px;
}

.project-content {
    padding: 17px;
}

    .project-content h4 {
        color: var(--navy);
        font-size: 16px;
        margin-bottom: 8px;
        font-weight: 700;
    }

    .project-content p {
        font-size: 11px;
        color: #7b8794;
        margin-bottom: 14px;
    }


/* =========================================
   STATS
========================================= */

.stats-section {
    background: var(--navy);
    padding: 30px 0;
}

.stat-box {
    border-right: 1px solid rgba(255,255,255,.2);
}

    .stat-box:last-child {
        border-right: 0;
    }

    .stat-box i {
        color: var(--light-blue);
        font-size: 28px;
        margin-bottom: 7px;
    }

    .stat-box h3 {
        color: white;
        margin: 0;
        font-size: 29px;
        font-weight: 500;
    }

    .stat-box p {
        color: #d3e0eb;
        margin: 2px 0 0;
        font-size: 11px;
        letter-spacing: .5px;
    }


/* =========================================
   CONTACT
========================================= */

.contact-section {
    padding: 65px 20px;
    background: linear-gradient(rgba(3,29,52,.96), rgba(3,29,52,.96)), url('../images/blueprint-bg.jpg');
    background-size: cover;
    color: white;
}

    .contact-section span {
        color: var(--light-blue);
        font-size: 14px;
        font-weight: 600;
    }

    .contact-section h2 {
        font-size: 34px;
        margin: 7px 0;
    }

    .contact-section p {
        color: #d8e3ec;
    }

.contact-btn {
    margin-top: 12px;
    background: var(--light-blue);
    color: white;
    padding: 12px 25px;
    font-weight: 600;
    font-size: 13px;
}

    .contact-btn:hover {
        background: white;
        color: var(--navy);
    }


/* =========================================
   FOOTER
========================================= */

.footer-section {
    background: #021525;
    color: white;
    padding: 35px 0 15px;
}

.footer-logo span {
    display: block;
    font-size: 30px;
    font-weight: 800;
}

.footer-logo strong {
    display: block;
    font-size: 18px;
}

.footer-logo small {
    font-size: 8px;
    letter-spacing: 1px;
    color: #aebdca;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

    .footer-menu a {
        color: #dce5ec;
        font-size: 12px;
    }

        .footer-menu a:hover {
            color: var(--light-blue);
        }

.social-links {
    text-align: right;
}

    .social-links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 35px;
        width: 35px;
        border: 1px solid #8294a5;
        color: white;
        border-radius: 50%;
        margin-left: 5px;
        transition: .3s;
    }

        .social-links a:hover {
            background: var(--blue);
            border-color: var(--blue);
        }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    margin-top: 25px;
    padding-top: 15px;
    text-align: center;
    color: #95a7b7;
    font-size: 11px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px) {

    .hero-section {
        min-height: 600px;
    }

    .min-vh-75 {
        min-height: 600px;
    }

    .hero-content h1 {
        font-size: 45px;
    }

    .about-stat {
        margin-top: 15px;
    }

    .social-links {
        text-align: center;
        margin-top: 20px;
    }
}


@media (max-width: 767px) {

    .hero-section {
        min-height: 650px;
        background-position: 65% center;
    }

    .min-vh-75 {
        min-height: 650px;
    }

    .hero-overlay {
        background: rgba(2, 25, 45, .88);
    }

    .hero-content h1 {
        font-size: 39px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .section-heading h2 {
        font-size: 27px;
    }

    .about-section {
        padding: 50px 0;
    }

    .about-title {
        font-size: 27px;
    }

    .stat-box {
        border-right: 0;
        margin-bottom: 25px;
    }

    .footer-menu {
        margin-top: 25px;
    }

    .footer-logo {
        text-align: center;
    }
}
