/* ── Base ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --black: #111111;
    --white: #ffffff;
    --blue: #3B5BDB;
    --gray-text: #636363;
    --gray-light: #f4f4f2;
    --border: #e0e0e0;
    --font-reg: 'General Sans', sans-serif;
}

body {
    font-family: var(--font-reg);
    font-weight: 400;
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
}

/* ── Navbar ── */
.navbar {
    padding: 18px 40px;
    border-bottom: none;
    background: var(--white);
}

.navbar-brand img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.navbar-nav .nav-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--black) !important;
    padding: 0 14px;
    transition: opacity .2s;
}

.navbar-nav .nav-link:hover {
    opacity: .55;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ── Hero ── */
.hero {
    text-align: center;
    padding: 90px 20px 60px;
}

.hero h1 {
    font-size: clamp(36px, 6vw, 84px);
    font-weight: 500;
    color: var(--blue);
    line-height: 1.12;
    letter-spacing: -0.5px;
    max-width: 850px;
    margin: 0 auto 20px;
}

.hero p {
    font-size: 20px;
    color: var(--gray-text);
    max-width: 840px;
    margin: 0 auto;
    line-height: 1.65;
}


/* Animated Enquire Button */
.enquire-btn {
    background: #3B5BDB;
    color: #fff;
    border: none;
    width: 220px;
    height: 46px;
    font-size: 20px;
    letter-spacing: 0.6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.enquire-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}

.enquire-text {
    display: block;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    line-height: 1;
}

/* Shine effect */
.enquire-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left .4s ease;
}

.enquire-btn:hover::before {
    left: 100%;
}

/* Hover & Active states */
.enquire-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.enquire-btn:active {
    transform: translateY(0);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* ── Services ── */
.services-section {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.service-col {
    padding: 30px 28px 28px;
    border-right: 1px solid var(--border);
}

.service-col:last-child {
    border-right: none;
}

.service-num {
    font-size: 11px;
    font-weight: 500;
    color: var(--black);
    display: flex;
    align-items: end;
    gap: 10px;
    margin-bottom: 18px;
}

.service-num span.num {
    font-size: 46px;
    font-weight: 400;
    color: var(--black);
    line-height: 1;
}

.service-num span.label {
    font-size: 18px;
    font-weight: 500;
}

.service-img {
    width: 60%;
    height: 350px;
    object-fit: cover;
    margin-bottom: 18px;
    display: block;
}

.service-desc {
    font-size: 18px;
    color: var(--gray-text);
    line-height: 1.65;
}

.service-col {
    position: relative;
    overflow: hidden;
}

/* Overlay */
.service-hover {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1), transparent);
    transform: translateY(100%);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    align-items: flex-end;
    /* push text to bottom */
    padding: 25px;
}

/* Text inside overlay */
.hover-content {
    transform: translateY(40px);
    opacity: 0;
    transition: all 0.6s ease;
}

.hover-content p {
    color: #1d1d1d;
    font-size: 16px;
    line-height: 1.6;
}

/* Hover trigger */
.service-col:hover .service-hover {
    transform: translateY(0);
}

/* Text comes up AFTER overlay */
.service-col:hover .hover-content {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.2s;
}

/* ── About blurb ── */
.about-blurb {
    padding: 90px 20px;
    text-align: start;
}

.about-blurb p {
    font-size: 28px;
    color: var(--black);
    max-width: 820px;
    margin: 0 auto;
    line-height: 1.7;
}

    .works-section {
      padding: 60px 0;
    }

    .works-row {
      margin-bottom: 80px;
    }

    .work-img {
      width: 100%;
      height: 500px;
      object-fit: cover;
      border-radius: 6px;
      cursor: pointer;
    }

    .work-content {
      max-width: 420px;
    }

    .work-content p {
      font-size: 24px;
      color: var(--black);
    }

    .work-content span {
      font-size: 18px;
      color: #777;
    }

    .text-md-center .work-content {
      margin: auto;
    }

    .view-more-wrap {
      text-align: center;
      padding-bottom: 20px;
    }

    .view-more-wrap a {
      font-size: 14px;
      font-weight: 500;
      color: var(--black);
      text-decoration: none;
    }

    /* ===== MODAL ===== */
    .image-modal {
      display: none;
      position: fixed;
      z-index: 9999;
      padding-top: 60px;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.85);
      animation: fadeIn 0.3s ease;
    }

    .modal-content {
      display: block;
      margin: auto;
      max-width: 80%;
      max-height: 80%;
      border-radius: 10px;
    }

    .close-btn {
      position: absolute;
      top: 20px;
      right: 40px;
      color: #fff;
      font-size: 35px;
      cursor: pointer;
    }

    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

/* ── Contact ── */
.contact-section {
    background: var(--gray-light);
    padding: 70px 40px;
}

.contact-heading {
    font-size: clamp(22px, 3.5vw, 30px);
    font-weight: 500;
    color: var(--black);
    line-height: 1.2;
    margin-bottom: 14px;
}

.contact-sub {
    font-size: 18px;
    color: var(--gray-text);
    max-width: 240px;
    line-height: 1.65;
}

.contact-form input,
.contact-form textarea {
    border: none;
    border-bottom: 1px solid #c8c8c8;
    background: transparent;
    border-radius: 0;
    font-size: 13px;
    color: var(--black);
    width: 100%;
    padding: 10px 0;
    margin-bottom: 18px;
    outline: none;
    font-family: var(--font-reg);
    transition: border-color .2s;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
    border-bottom-color: var(--black);
}

.contact-form textarea {
    resize: none;
    height: 80px;
}

.upload-btn {
    border: 1px solid #c8c8c8;
    background: var(--white);
    padding: 10px 20px;
    font-size: 12px;
    color: var(--gray-text);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    margin-bottom: 14px;
    font-family: var(--font-reg);
    transition: background .2s;
}

.upload-btn:hover {
    background: #ebebeb;
}

.submit-btn {
    background: var(--blue);
    color: var(--white);
    border: none;
    padding: 10px 24px;
    font-size: 13px;
    font-family: var(--font-reg);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity .2s;
}

.submit-btn:hover {
    opacity: .85;
}

/* ── Footer ── */
footer {
    padding: 50px 40px 28px;
    background: var(--white);
}

.footer-brand {
    font-size: clamp(52px, 10vw, 100px);
    font-weight: 400;
    color: var(--black);
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 32px;
}

/* Single row of 4 columns below the brand */
.footer-links-row {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-col {
    min-width: 120px;
    padding-right: 48px;
}

.footer-col h6 {
    font-size: 16px;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 10px;
}

.footer-col a {
    display: block;
    font-size: 16px;
    color: var(--gray-text);
    text-decoration: none;
    margin-bottom: 6px;
    transition: color .2s;
}

.footer-col a:hover {
    color: var(--black);
}

/* Bottom bar: logo left, copyright right */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 0;
}

.footer-copy {
    font-size: 11px;
    color: #aaa;
}

@media (max-width: 767.98px) {
    footer {
        padding: 40px 20px 24px;
    }

    .footer-brand {
        font-size: 52px;
        letter-spacing: -1px;
    }

    .footer-links-row {
        gap: 24px 0;
    }

    .footer-col {
        min-width: 45%;
        padding-right: 0;
    }
}

@media (max-width: 400px) {
    .footer-brand {
        font-size: 40px;
    }

    .footer-col {
        min-width: 100%;
    }
}


/* ── Responsive tweaks ── */
@media (max-width: 991.98px) {
    .service-col {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .service-col:last-child {
        border-bottom: none;
    }

    .navbar {
        padding: 14px 20px;
    }

    .contact-section {
        padding: 50px 20px;
    }
}

@media (max-width: 575.98px) {
    .hero {
        padding: 60px 20px 40px;
    }

    .work-img-vec,
    .work-img-emb,
    .work-img-web {
        height: 220px;
    }
}