html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
}

/* NAVBAR */

.navbar {
    z-index: 1000;
}

.navbar-brand img {
    object-fit: contain;
}

.nav-link {
    font-weight: 500;
}

.nav-link:hover {
    color: #0d6efd;
}

/* HOME HERO */

.hero-section {
    position: relative;
}

.hero-img {
    height: 650px;
    object-fit: cover;
    filter: brightness(55%);
}

.hero-caption {
    bottom: 25%;
}

.hero-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

.hero-caption p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 20px auto;
}

/* SERVICES */

.service-card {
    height: 100%;
    border: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
}

.service-img {
    height: 220px;
    object-fit: cover;
}

.service-card .card-body {
    display: flex;
    flex-direction: column;
}

.service-card .btn {
    margin-top: auto;
}

/* ABOUT / PROJECTS SHARED */

.about-hero {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 80px 0;
}

.min-vh-75 {
    min-height: 75vh;
}

.section-label {
    display: inline-block;
    color: #0d6efd;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.info-card {
    height: 100%;
    padding: 35px 25px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

.about-story {
    background: #f8f9fa;
}

.cta-section {
    background: #d1d1d2;
    color: black;
    padding: 70px 0;
}

/* PROJECTS */

.gallery-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* FOOTER */

.site-footer {
    background: #111;
    color: white;
    padding: 60px 0 25px;
}

.footer-logo {
    max-width: 160px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin: 8px 0;
}

.footer-links a,
.back-to-top {
    display: inline-block;
    color: white;
    text-decoration: none;
    transition: transform 0.25s ease, color 0.25s ease;
}

.footer-links a:hover,
.back-to-top:hover {
    transform: translateY(-2px);
    color: #eeac05;
}

.footer-text,
.site-footer h5 {
    margin: 0 0 8px;
    font-weight: 600;
}

.footer-small,
.site-footer p {
    color: #bbb;
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.15);
    margin: 35px 0 25px;
}

.copyright {
    color: #999;
    font-size: 0.9rem;
}

/* MOBILE */

@media (max-width: 768px) {
    .hero-img {
        height: 500px;
    }

    .hero-caption {
        bottom: 18%;
    }

    .hero-caption h1 {
        font-size: 2rem;
    }

    .hero-caption p {
        font-size: 1rem;
    }

    .hero-caption .btn {
        margin-bottom: 10px;
    }

    .about-hero {
        padding: 60px 0;
    }

    .gallery-img {
        height: 260px;
    }

    .site-footer {
        text-align: center;
    }
}



.contact-hero {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
        url("../images/peter-thomas-ww_tiKkFGN4-unsplash.jpg");
    background-size: cover;
    background-position: center;
    color: white;
}

.contact-info-card,
.contact-form-card {
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background: white;
}

.contact-detail {
    margin-top: 25px;
}

.contact-detail h5 {
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-detail a {
    text-decoration: none;
}


.footer-social {
    display: flex;
    justify-content: center;
    gap: 18px;
}

@media (min-width: 992px) {
    .footer-social {
        justify-content: flex-end;
    }
}

.footer-social a {
    color: white;
    font-size: 1.5rem;
    transition: 0.3s ease;
}

.footer-social a:hover {
    color: #0d6efd;
    transform: translateY(-3px);
}