/* =========================================================
   R.K. ENTERPRISES
   PREMIUM CORPORATE CONSTRUCTION WEBSITE
   CLEAN FINAL CSS
   ========================================================= */


/* =========================================================
   01. GLOBAL / RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    background: #f7f7f5;
    color: #171717;
    line-height: 1.6;
}

body.gallery-open {
    overflow: hidden !important;
}

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

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

.container {
    width: 88%;
    max-width: 1280px;
    margin: auto;
}

.center {
    text-align: center;
}


/* =========================================================
   02. NAVBAR
   ========================================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(12, 12, 12, 0.97);
    border-bottom: 1px solid #292929;
    backdrop-filter: blur(10px);
}

.nav-container {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}


/* LOGO */

.navbar .logo {
    width: auto;
    height: 60px;
    display: flex;
    align-items: center;
    gap: 20px;
    overflow: visible;
}

.navbar .logo img {
    width: 58px !important;
    height: 58px !important;
    max-width: 58px !important;
    max-height: 58px !important;
    object-fit: contain;
    display: block;

    filter:
        drop-shadow(0 3px 6px rgba(0, 0, 0, 0.55))
        drop-shadow(0 0 5px rgba(255, 255, 255, 0.14));

    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}

.navbar .logo img:hover {
    transform: scale(1.035);

    filter:
        drop-shadow(0 4px 9px rgba(0, 0, 0, 0.6))
        drop-shadow(0 0 8px rgba(255, 255, 255, 0.18));
}

.logo-name {
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1.2px;
    white-space: nowrap;
}

.logo-name strong {
    color: #d9a441;
    font-weight: 900;
}


/* NAVIGATION LINKS */

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-links a {
    position: relative;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 30px 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 22px;
    width: 0;
    height: 2px;
    background: #d9a441;
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #d9a441;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}


/* CONTACT NAV BUTTON */

.nav-links a[href="contact.html"] {
    position: relative;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 108px !important;
    height: 46px !important;

    padding: 0 !important;
    margin: 0 !important;

    background: #d9a441 !important;
    color: #111111 !important;

    border: 1px solid #d9a441 !important;
    border-radius: 5px !important;

    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;

    box-shadow: none !important;

    transition: all 0.3s ease !important;
}

.nav-links a[href="contact.html"]::after {
    display: none !important;
}

.nav-links a[href="contact.html"]:hover {
    background: transparent !important;
    color: #d9a441 !important;
    border-color: #d9a441 !important;
    transform: translateY(-2px) !important;
    box-shadow: none !important;
}

.nav-links a[href="contact.html"].active {
    background: #d9a441 !important;
    color: #111111 !important;
    border-color: #d9a441 !important;
    transform: none !important;
}

.nav-links a[href="contact.html"]:active {
    transform: translateY(0) !important;
}


/* OLD NAV BUTTON SUPPORT */

.nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 22px;

    background: #d9a441;
    color: #111111;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.4px;

    border: 1px solid #d9a441;

    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: transparent;
    color: #d9a441;
    transform: translateY(-2px);
}


/* =========================================================
   03. HERO
   ========================================================= */

.hero {
    min-height: 78vh;
    position: relative;
    display: flex;
    align-items: flex-start;
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(8, 8, 8, 0.78) 0%,
            rgba(8, 8, 8, 0.50) 48%,
            rgba(8, 8, 8, 0.20) 100%
        ),
        url("../IMAGES/backgrounds/home.jpg")
        center / cover no-repeat;
}

body.about-page .hero {
    background:
        linear-gradient(
            90deg,
            rgba(8, 8, 8, 0.72) 0%,
            rgba(8, 8, 8, 0.45) 48%,
            rgba(8, 8, 8, 0.18) 100%
        ),
        url("../IMAGES/backgrounds/about.jpg")
        center / cover no-repeat;
}

body.services-page .hero {
    background:
        linear-gradient(
            90deg,
            rgba(8, 8, 8, 0.72) 0%,
            rgba(8, 8, 8, 0.45) 48%,
            rgba(8, 8, 8, 0.18) 100%
        ),
        url("../IMAGES/backgrounds/services.jpg")
        center / cover no-repeat;

    padding-bottom: 40px;
}

body.projects-page .hero {
    background:
        linear-gradient(
            90deg,
            rgba(8, 8, 8, 0.72) 0%,
            rgba(8, 8, 8, 0.45) 48%,
            rgba(8, 8, 8, 0.18) 100%
        ),
        url("../IMAGES/backgrounds/projects.jpg")
        center / cover no-repeat;

    padding-bottom: 40px;
}

body.contact-page .hero {
    background:
        linear-gradient(
            90deg,
            rgba(8, 8, 8, 0.72) 0%,
            rgba(8, 8, 8, 0.45) 48%,
            rgba(8, 8, 8, 0.18) 100%
        ),
        url("../IMAGES/backgrounds/contact.jpg")
        center / cover no-repeat;

    padding-bottom: 40px;
}

body.about-page .hero {
    padding-bottom: 40px;
}


.hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;

    width: 35%;
    height: 3px;

    background: #d9a441;
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 820px;

    color: #ffffff;

    animation: heroEnter 0.9s ease both;
}

.hero > .container.hero-content {
    margin-left: 6%;
    margin-right: 0;
    margin-top: 25px;
}

body.services-page .hero .hero-content,
body.projects-page .hero .hero-content,
body.contact-page .hero .hero-content,
body.about-page .hero .hero-content {
    padding-bottom: 20px;
}

.hero-tag,
.small-title {
    color: #d9a441;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;

    text-transform: uppercase;
}

.hero-content h1 {
    margin: 18px 0;

    font-size: clamp(52px, 7vw, 92px);
    line-height: 0.98;

    font-weight: 900;
    letter-spacing: -2px;
}

.hero-content h1 span,
.section-title h2 span,
.section-heading h2 span,
.why-grid h2 span,
.locations h2 span,
.cta h2 span {
    color: #d9a441;
}

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

    margin-bottom: 35px;

    color: #d2d2d2;

    font-size: 18px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}


/* =========================================================
   04. BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;
    padding: 0 25px;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.4px;

    transition: all 0.3s ease;
}

.primary-btn {
    background: #d9a441;
    color: #111111;
    border: 1px solid #d9a441;
}

.primary-btn:hover {
    background: #ffffff;
    border-color: #ffffff;
    transform: translateY(-3px);
}

.secondary-btn {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.secondary-btn:hover {
    background: #ffffff;
    color: #111111;
    transform: translateY(-3px);
}

.dark-btn {
    background: #111111;
    color: #ffffff;
    border: 1px solid #111111;
}

.dark-btn:hover {
    background: #d9a441;
    color: #111111;
    border-color: #d9a441;
    transform: translateY(-3px);
}


/* =========================================================
   05. GENERAL SECTIONS
   ========================================================= */

.section {
    padding: 105px 0;
}


/* =========================================================
   06. INTRO
   ========================================================= */

.intro {
    background: #ffffff;
}

.intro-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;

    gap: 90px;

    align-items: center;
}

.section-heading h2,
.why-grid h2,
.cta h2 {
    margin-top: 15px;

    font-size: clamp(36px, 4vw, 55px);
    line-height: 1.08;

    font-weight: 850;
    letter-spacing: -1px;
}

.intro-text {
    max-width: 700px;
}

.intro-text p {
    margin-bottom: 22px;

    color: #626262;

    font-size: 16px;
    line-height: 1.9;
}

.text-link {
    display: inline-block;

    margin-top: 5px;

    color: #9b6d12;

    font-size: 14px;
    font-weight: 800;

    transition: all 0.3s ease;
}

.text-link:hover {
    color: #d9a441;
    transform: translateX(5px);
}


/* =========================================================
   07. SECTION TITLES
   ========================================================= */

.section-title {
    max-width: 780px;
    margin: 0 auto 55px;
}

.section-title h2 {
    margin: 14px 0 16px;

    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.1;

    font-weight: 850;
    letter-spacing: -1px;
}

.section-title > p:last-child {
    color: #6b6b6b;
    font-size: 16px;
}


/* =========================================================
   08. SERVICES
   ========================================================= */

.services {
    background: #f2f2ef;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    position: relative;

    min-height: 245px;
    padding: 34px 28px;

    background: #ffffff;
    border: 1px solid #e3e3df;

    overflow: hidden;

    transition: all 0.35s ease;
}

.service-card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 0;
    height: 4px;

    background: #d9a441;

    transition: width 0.35s ease;
}

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

    border-color: #d9a441;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.09);
}

.service-card:hover::before {
    width: 100%;
}

.service-number {
    margin-bottom: 22px;

    color: #d9a441;

    font-size: 30px;
    line-height: 1;

    font-weight: 900;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 19px;
}

.service-card p {
    color: #707070;

    font-size: 14px;
    line-height: 1.75;
}

.service-more {
    margin-top: 45px;
}


/* =========================================================
   09. WHY US
   ========================================================= */

.why-us {
    background: #111111;
    color: #ffffff;
}

.why-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    gap: 85px;

    align-items: center;
}

.why-grid h2 {
    margin-bottom: 25px;
}

.why-text {
    max-width: 560px;

    color: #bdbdbd;

    line-height: 1.9;
}

.features {
    display: grid;
    gap: 14px;
}

.feature {
    display: flex;
    gap: 22px;

    padding: 24px;

    background: #181818;
    border: 1px solid #2b2b2b;

    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateX(7px);
    border-color: #d9a441;
}

.feature strong {
    flex-shrink: 0;

    color: #d9a441;

    font-size: 18px;
}

.feature h3 {
    margin-bottom: 5px;
    font-size: 17px;
}

.feature p {
    color: #9f9f9f;
    font-size: 14px;
}


/* =========================================================
   10. PROCESS
   ========================================================= */

.process {
    background: #ffffff;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.process-step {
    padding: 32px 27px;

    border: 1px solid #dededb;
    background: #ffffff;

    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-7px);

    border-color: #d9a441;

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

.process-step span {
    color: #d9a441;

    font-size: 38px;
    line-height: 1;

    font-weight: 900;
}

.process-step h3 {
    margin: 18px 0 10px;
    font-size: 18px;
}

.process-step p {
    color: #6d6d6d;

    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   11. LOCATIONS
   ========================================================= */

.locations {
    position: relative;

    background:
        linear-gradient(
            rgba(12, 12, 12, 0.91),
            rgba(12, 12, 12, 0.91)
        ),
        url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=2200&q=90")
        center / cover no-repeat;

    color: #ffffff;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 90px;

    align-items: center;
}

.locations h2 {
    margin-top: 15px;

    font-size: clamp(38px, 4vw, 55px);
    line-height: 1.08;
}

.location-content > p {
    color: #c6c6c6;

    font-size: 17px;
    line-height: 1.9;
}


/* =========================================================
   12. CTA
   ========================================================= */

.cta {
    background: #d9a441;
}

.cta .small-title {
    color: #111111;
}

.cta h2 {
    color: #111111;
}

.cta h2 span {
    color: #ffffff;
}

.cta p {
    max-width: 700px;

    margin: 20px 0 28px;

    color: #292929;
}

.cta .primary-btn {
    background: #111111;
    color: #ffffff;
    border-color: #111111;
}

.cta .primary-btn:hover {
    background: #ffffff;
    color: #111111;
    border-color: #ffffff;
}


/* =========================================================
   13. COMPANY STATS
   ========================================================= */

.company-stats {
    background: #111111;

    border-top: 1px solid #292929;
    border-bottom: 1px solid #292929;

    padding: 38px 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    align-items: center;
}

.stat-item {
    text-align: center;

    padding: 8px 45px;

    border-right: 1px solid #2b2b2b;
}

.stat-item:first-child {
    padding-left: 0;
}

.stat-item:last-child {
    border-right: none;
    padding-right: 0;
}

.stat-item h3 {
    margin: 0 0 6px;

    color: #d9a441;

    font-size: 38px;
    line-height: 1;

    font-weight: 900;
    letter-spacing: -1px;
}

.stat-item p {
    margin: 0;

    color: #bdbdbd;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.8px;
    line-height: 1.5;
}


/* =========================================================
   14. FEATURED PROJECTS - HOME
   ========================================================= */

.featured-projects {
    position: relative;

    padding: 85px 0;

    background: #f5f5f3;
}

.featured-projects .section-heading {
    max-width: 760px;
    margin-bottom: 48px;
}

.featured-projects .small-title {
    margin: 0 0 14px;
    color: #d9a441;
}

.featured-projects .section-heading h2 {
    margin: 0 0 18px;

    color: #111111;

    font-size: clamp(38px, 5vw, 62px);
    line-height: 1;

    font-weight: 900;
    letter-spacing: -1.5px;
}

.featured-projects .section-heading h2 span {
    color: #d9a441;
}

.featured-projects .section-heading > p:last-child {
    max-width: 650px;

    margin: 0;

    color: #666666;

    font-size: 16px;
    line-height: 1.7;
}

.featured-project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.featured-project-card {
    background: #ffffff;

    border: 1px solid #e5e5e5;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

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

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

.featured-project-image {
    position: relative;

    height: 310px;

    overflow: hidden;
}

.featured-project-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.featured-project-card:hover .featured-project-image img {
    transform: scale(1.03);
}

.featured-project-image span {
    position: absolute;
    top: 18px;
    left: 18px;

    padding: 7px 12px;

    background: #d9a441;
    color: #111111;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.featured-project-content {
    padding: 28px 30px 30px;
}

.featured-project-content .project-location {
    margin: 0 0 9px;

    color: #d9a441;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.featured-project-content h3 {
    margin: 0 0 13px;

    color: #111111;

    font-size: 27px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.featured-project-content > p:not(.project-location) {
    margin: 0 0 22px;

    color: #666666;

    font-size: 15px;
    line-height: 1.7;
}

.project-link {
    color: #111111;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;

    transition: color 0.3s ease;
}

.project-link:hover {
    color: #d9a441;
}

.featured-project-button {
    margin-top: 42px;
    text-align: center;
}


/* =========================================================
   15. CONTACT
   ========================================================= */

.contact {
    background: #f7f7f5;
}

.contact .section-title {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;

    gap: 80px;

    align-items: start;
}

.contact-info {
    padding: 35px;

    background: #111111;
    color: #ffffff;

    border-left: 4px solid #d9a441;
}

.contact-info h3 {
    margin-bottom: 30px;
    font-size: 26px;
}

.contact-info p {
    margin-bottom: 25px;

    color: #bdbdbd;

    font-size: 14px;
    line-height: 1.8;
}

.contact-info strong {
    color: #d9a441;

    font-size: 12px;
    letter-spacing: 1px;

    text-transform: uppercase;
}

.contact-info a {
    color: #ffffff;

    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #d9a441;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

    background: #ffffff;
    color: #222222;

    border: 1px solid #dcdcd8;
    border-radius: 0;

    outline: none;

    font-family: inherit;
    font-size: 14px;

    transition: all 0.3s ease;
}

.contact-form input {
    height: 54px;
    padding: 17px 18px;
}

.contact-form textarea {
    min-height: 170px;

    padding: 17px 18px;

    resize: vertical;
    display: block;
}

.contact-form select {
    padding: 18px 16px;

    cursor: pointer;
}

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

.contact-form select option {
    color: #333333;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: #d9a441;

    box-shadow:
        0 0 0 3px rgba(217, 164, 65, 0.12);
}

.contact-form button {
    align-self: flex-start;

    border: none;

    cursor: pointer;
}


/* =========================================================
   16. GOOGLE MAP LOCATION
   ========================================================= */

.map-section {
    padding: 105px 0;
    background: #ffffff;
}

.map-box {
    width: 100%;

    overflow: hidden;

    border: 1px solid #dededb;
}

.map-link {
    display: block;
}

.map-placeholder {
    min-height: 320px;

    display: flex;
    flex-direction: column;

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

    text-align: center;

    padding: 30px;

    background:
        linear-gradient(
            rgba(17, 17, 17, 0.92),
            rgba(17, 17, 17, 0.92)
        ),
        url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=1800&q=85")
        center / cover no-repeat;

    transition: transform 0.3s ease;
}

.map-placeholder:hover {
    transform: scale(1.01);
}

.map-placeholder span {
    margin-bottom: 12px;
    font-size: 40px;
}

.map-placeholder h3 {
    margin-bottom: 8px;

    color: #d9a441;

    font-size: 25px;
}

.map-placeholder p {
    display: block;

    color: #d6d6d6;

    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;

    margin-bottom: 20px;
}

.map-placeholder strong {
    color: #d9a441;
    font-size: 14px;
}


/* =========================================================
   17. FOOTER
   ========================================================= */

.footer {
    padding: 70px 0 25px;

    background: #080808;
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr;

    gap: 60px;

    margin-bottom: 50px;
}

.footer-logo {
    display: inline-block;
}

.footer-grid > div > p {
    max-width: 350px;

    margin-top: 18px;

    color: #929292;

    font-size: 14px;
    line-height: 1.8;
}

.footer-contact-item {
    margin-bottom: 18px !important;
}

.footer-contact-label {
    display: block;

    margin-bottom: 6px;

    color: #d9a441;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.4;

    text-transform: uppercase;
}

.footer-contact-item a {
    display: inline !important;

    margin-bottom: 0 !important;

    color: #bdbdbd;

    font-size: 14px;
}

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

.footer-grid h4 {
    margin-bottom: 18px;

    color: #d9a441;

    font-size: 14px;
    letter-spacing: 1px;

    text-transform: uppercase;
}

.footer-grid a:not(.logo) {
    display: block;
    width: fit-content;

    margin-bottom: 9px;

    color: #9b9b9b;

    font-size: 14px;

    transition: color 0.3s ease;
}

.footer-grid a:hover {
    color: #d9a441;
}

.footer-bottom {
    padding-top: 22px;

    border-top: 1px solid #292929;

    text-align: center;
}

.footer-bottom p {
    color: #666666;
    font-size: 12px;
}


/* =========================================================
   18. PROJECTS PAGE
   ========================================================= */

.projects-hero {
    position: relative;

    min-height: 525px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background-image:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.88) 0%,
            rgba(0, 0, 0, 0.70) 45%,
            rgba(0, 0, 0, 0.35) 100%
        ),
        url("../IMAGES/services-bg.jpg");

    background-size: cover;
    background-position: center;

    padding: 70px 0 55px;
}

.projects-hero .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.projects-hero .small-title {
    margin-bottom: 22px;

    color: #d9a12f;

    font-size: 17px;
    font-weight: 700;
    letter-spacing: 4px;
}

.projects-hero h1 {
    max-width: 900px;

    margin: 0 0 25px;

    color: #ffffff;

    font-size: clamp(60px, 7vw, 105px);
    line-height: 0.98;

    font-weight: 900;
    letter-spacing: -3px;

    text-transform: uppercase;
}

.projects-hero h1 span {
    display: block;
    color: #d9a12f;
}

.projects-hero p:not(.small-title) {
    max-width: 850px;

    margin: 0;

    color: #e4e4e4;

    font-size: 21px;
    line-height: 1.7;
}


/* PROJECTS SECTION */

.projects-section {
    padding: 35px 0 80px;
}

.section-title.center {
    text-align: center;
    margin-bottom: 40px;
}

.section-title.center h2 {
    margin: 8px 0 14px;
    font-size: 40px;
}

.section-title.center h2 span {
    color: #c99a3d;
}

.section-title.center > p:last-child {
    max-width: 650px;

    margin: 0 auto;

    line-height: 1.7;
}


/* PROJECT CARD */

.project-card {
    position: relative;

    margin-bottom: 55px;
    padding: 42px;

    background: #111111;

    border: 1px solid #292929;

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

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

    border-color: rgba(217, 164, 65, 0.55);

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


/* PROJECT HEADER */

.project-card .project-heading {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 0;
}

.project-number {
    display: block;

    margin-bottom: 10px;

    color: #d9a441;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;

    opacity: 0.9;
}

.project-card .project-heading h3 {
    margin: 0;

    color: #ffffff;

    font-size: 32px;
    font-weight: 900;
    letter-spacing: 0.5px;

    text-transform: uppercase;
}


/* PROJECT STATUS */

.project-status {
    display: inline-flex;

    align-items: center;

    padding: 8px 13px;

    background: rgba(217, 164, 65, 0.08);

    border: 1px solid rgba(217, 164, 65, 0.35);

    color: #d9a441;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.8px;

    text-transform: uppercase;
}


/* PROJECT INFO */

.project-card .project-info {
    margin-top: 0;
}

.project-location {
    margin-top: 24px;

    padding-top: 20px;

    border-top: 1px solid #292929;
}

.project-location span {
    display: block;

    margin-bottom: 7px;

    color: #777777;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;

    text-transform: uppercase;
}

.project-location strong {
    color: #d9a441;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;

    text-transform: uppercase;
}


/* PROJECT DESCRIPTION */

.project-card .project-description {
    max-width: 850px;
    margin-top: 25px;
}

.project-description p {
    margin: 0;

    color: #bdbdbd;

    font-size: 14px;
    line-height: 1.8;
}


/* PROJECT IMAGE GALLERY */

.project-card .project-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 12px;

    margin-top: 32px;

    padding-top: 28px;

    border-top: 1px solid #292929;
}

.project-gallery-item {
    overflow: hidden;

    aspect-ratio: 16 / 10;

    background: #f2f2f2;
}

.project-gallery-item img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.project-card:hover .project-gallery-item img {
    transform: scale(1.035);
}


/* PROJECT GALLERY BUTTON */

.project-gallery-action {
    display: flex;

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

    margin-top: 24px;
}

.gallery-btn {
    position: relative;

    display: inline-flex;

    align-items: center;

    gap: 14px;

    padding: 13px 19px;

    background: #ffffff;
    color: #111111;

    border: 1px solid #111111;

    font-family: inherit;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;

    text-transform: uppercase;

    cursor: pointer;
    overflow: hidden;

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

.gallery-btn::before {
    content: "";

    position: absolute;
    inset: 0;

    background: #d9a441;

    transform: translateX(-101%);

    transition: transform 0.35s ease;

    z-index: 0;
}

.gallery-btn span {
    position: relative;
    z-index: 1;
}

.gallery-btn-arrow {
    font-size: 15px;
    line-height: 1;

    transition: transform 0.35s ease;
}

.gallery-btn:hover::before {
    transform: translateX(0);
}

.gallery-btn:hover {
    color: #111111;

    border-color: #d9a441;

    transform: translateY(-2px);
}

.gallery-btn:hover .gallery-btn-arrow {
    transform: translateX(4px);
}


/* =========================================================
   19. PROJECTS CTA
   ========================================================= */

.projects-cta {
    padding: 65px 0;
}

.projects-cta .container {
    display: flex;

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

    gap: 30px;
}

.projects-cta h2 {
    margin: 8px 0 0;
    font-size: 34px;
}

.projects-cta h2 span {
    color: #c99a3d;
}


/* =========================================================
   20. GALLERY VIEWER
   ========================================================= */

#project-gallery-viewer {
    position: fixed !important;

    inset: 0 !important;

    width: 100vw !important;
    height: 100vh !important;

    z-index: 999999 !important;

    display: grid !important;

    grid-template-rows: auto 1fr auto !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #111111 !important;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    overflow: hidden !important;
}

#project-gallery-viewer.active {
    display: grid !important;

    opacity: 1;
    visibility: visible;

    pointer-events: auto;
}

#project-gallery-viewer,
#project-gallery-viewer * {
    box-sizing: border-box;
}


/* GALLERY HEADER */

#project-gallery-viewer .gallery-viewer-header {
    position: relative;

    width: 100%;

    display: flex;

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

    padding: 22px 6% !important;

    background: #111111;

    border-bottom: 1px solid #292929;

    z-index: 20;
}

#project-gallery-viewer .gallery-viewer-header > div:first-child {
    position: relative;
    z-index: 25;
}

#project-gallery-viewer .gallery-viewer-label {
    position: relative;

    display: block;

    color: #d9a441;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.5px;

    visibility: visible;
    opacity: 1;

    z-index: 21;
}

#project-gallery-viewer .gallery-viewer-header h3 {
    position: relative;

    display: block;

    margin: 0;

    color: #ffffff;

    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0.5px;

    visibility: visible;
    opacity: 1;

    z-index: 21;
}

#project-gallery-viewer .gallery-viewer-header p {
    position: relative;

    display: block;

    margin: 0;

    color: #bdbdbd;

    font-size: 14px;
    letter-spacing: 1.5px;

    visibility: visible;
    opacity: 1;

    z-index: 21;
}


/* CLOSE BUTTON */

#project-gallery-viewer .gallery-close {
    position: relative;

    width: 46px;
    height: 46px;

    display: flex !important;

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

    flex-shrink: 0;

    background: #111111;

    border: 1px solid #555555;

    cursor: pointer;

    z-index: 30;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

#project-gallery-viewer .gallery-close span {
    position: absolute;

    width: 20px;
    height: 2px;

    display: block;

    background: #ffffff;
}

#project-gallery-viewer .gallery-close span:first-child {
    transform: rotate(45deg);
}

#project-gallery-viewer .gallery-close span:last-child {
    transform: rotate(-45deg);
}

#project-gallery-viewer .gallery-close:hover {
    background: #d9a441;
    border-color: #d9a441;
}

#project-gallery-viewer .gallery-close:hover span {
    background: #111111;
}


/* GALLERY MAIN */

#project-gallery-viewer .gallery-viewer-main {
    position: relative;

    width: 100%;

    min-height: 0;

    display: flex;

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

    gap: 25px;

    padding: 15px 5%;

    overflow: hidden;

    z-index: 5;
}

#project-gallery-viewer .gallery-viewer-image {
    position: relative;

    width: 92vw;
    height: 75vh;

    flex: 0 1 auto;

    display: flex;

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

    margin: 0;
    padding: 0;

    background: #0b0b0b;

    border: 1px solid #292929;

    overflow: hidden;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.45);

    z-index: 5;
}

#project-gallery-viewer .gallery-viewer-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
}


/* GALLERY ARROWS */

#project-gallery-viewer .gallery-nav {
    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    margin: 0;

    background: #111111;

    border: 1px solid #444444;

    color: #ffffff;

    cursor: pointer;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

#project-gallery-viewer .gallery-nav:hover {
    background: #d9a441;

    border-color: #d9a441;

    color: #111111;
}

#project-gallery-viewer .gallery-prev:hover {
    transform: translateX(-5px);
}

#project-gallery-viewer .gallery-next:hover {
    transform: translateX(5px);
}


/* GALLERY FOOTER */

#project-gallery-viewer .gallery-viewer-footer {
    position: relative;

    width: 100%;

    display: flex;

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

    gap: 20px;

    margin: 0;

    padding: 14px 6% 20px;

    background: #111111;

    border-top: none;

    z-index: 20;
}


/* COUNTER */

#project-gallery-viewer .gallery-counter {
    flex-shrink: 0;
}

#project-gallery-viewer .gallery-counter strong {
    color: #d9a441;

    font-size: 22px;
    font-weight: 900;
}

#project-gallery-viewer .gallery-counter span {
    color: #666666;
}


/* THUMBNAILS */

#project-gallery-viewer .gallery-thumbnails {
    display: flex;

    flex-direction: row;
    flex-wrap: nowrap;

    width: auto;
    max-width: 75vw;

    overflow-x: auto;
    overflow-y: hidden;

    gap: 8px;

    margin: 0;
    padding: 0 0 4px;

    border-top: none;
    box-shadow: none;

    scrollbar-width: thin;
    scrollbar-color: #d9a441 #151515;
}

#project-gallery-viewer .gallery-thumb {
    position: relative;

    flex: 0 0 65px;

    width: 65px;
    height: 44px;

    margin: 0;

    padding: 0;

    background: transparent;

    border: 1px solid #333333;

    opacity: 0.55;

    cursor: pointer;

    overflow: hidden;

    box-shadow: none;

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

#project-gallery-viewer .gallery-thumb img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

#project-gallery-viewer .gallery-thumb:hover {
    opacity: 0.9;

    transform: translateY(-2px);
}

#project-gallery-viewer .gallery-thumb.active {
    opacity: 1;

    border: 1px solid #d9a441;

    box-shadow:
        0 0 0 1px #d9a441;
}


/* =========================================================
   21. SCROLL REVEAL
   ========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(25px);

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

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   22. HERO ANIMATION
   ========================================================= */

@keyframes heroEnter {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   23. TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .nav-container {
        gap: 20px;
    }

    .nav-links {
        gap: 20px;
    }

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

    .intro-grid,
    .why-grid,
    .location-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .intro-grid,
    .why-grid {
        gap: 50px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================================
   24. TABLET - PROJECTS
   ========================================================= */

@media (max-width: 900px) {

    .projects-hero h1 {
        font-size: 44px;
    }

    .project-card .project-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   25. MOBILE
   ========================================================= */

@media (max-width: 650px) {

    body {
        overflow-x: hidden;
    }

    .container {
        width: 90%;
    }


    /* NAVBAR */

    .navbar {
        position: sticky;
        top: 0;
    }

    .nav-container {
        min-height: auto;

        padding: 12px 0 14px;

        flex-direction: column;

        gap: 12px;
    }

    .nav-links {
        width: 100%;

        justify-content: center;
        flex-wrap: wrap;

        gap: 6px 16px;
    }

    .nav-links a {
        padding: 4px 0;
        font-size: 13px;
    }

    .nav-links a::after {
        bottom: -3px;
    }


    /* LOGO */

    .navbar .logo {
        height: 52px;
    }

    .navbar .logo img {
        width: 52px !important;
        height: 52px !important;
        max-width: 52px !important;
        max-height: 52px !important;
    }

    .logo-name {
        font-size: 17px;
    }


    /* CONTACT NAV BUTTON */

    .nav-links a[href="contact.html"] {
        width: 98px !important;
        height: 40px !important;

        font-size: 13px !important;
        border-radius: 5px !important;
    }


    /* HERO */

    .hero {
        min-height: 62vh;
    }

    .hero-content {
        width: 100%;
    }

    .hero-content h1 {
        font-size: clamp(40px, 13vw, 52px);

        letter-spacing: -1px;

        overflow-wrap: anywhere;
    }

    .hero-text {
        width: 100%;
        max-width: 100%;

        font-size: 15px;
        line-height: 1.7;

        overflow-wrap: break-word;
        word-break: normal;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;

        width: 100%;
    }

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

    .btn {
        min-height: 48px;
    }


    /* GENERAL */

    .section {
        padding: 70px 0;
    }

    .section-heading h2,
    .why-grid h2,
    .cta h2 {
        font-size: 36px;
        line-height: 1.08;
    }

    .section-title h2 {
        font-size: 36px;
        line-height: 1.08;
    }


    /* INTRO / WHY */

    .intro-grid,
    .why-grid {
        gap: 32px;
    }

    .intro-text p,
    .why-text,
    .section-title > p:not(.small-title) {
        font-size: 15px;
        line-height: 1.75;
    }


    /* SERVICES */

    .service-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        min-height: auto;

        width: 100%;

        padding: 24px 20px;

        box-sizing: border-box;
    }

    .service-card h3 {
        font-size: 20px;
        line-height: 1.25;
    }

    .service-card p {
        font-size: 14px;
        line-height: 1.7;

        overflow-wrap: anywhere;
    }


    /* FEATURES */

    .features {
        gap: 12px;
    }

    .feature {
        display: grid;

        grid-template-columns: 42px minmax(0, 1fr);

        gap: 14px;

        align-items: start;

        padding: 18px;
    }

    .feature h3 {
        margin-bottom: 5px;
        font-size: 18px;
    }

    .feature p {
        font-size: 14px;
        line-height: 1.6;

        overflow-wrap: anywhere;
    }


    /* PROCESS */

    .process-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .process-step {
        padding: 22px 18px;
    }

    .process-step h3 {
        font-size: 19px;
    }

    .process-step p {
        font-size: 14px;
        line-height: 1.65;
    }


    /* LOCATIONS */

    .location-content {
        gap: 35px;
    }

    .locations h2 {
        font-size: 38px;
    }

    .location-content > p {
        font-size: 15px;
    }


    /* CONTACT */

    .contact-grid {
        gap: 35px;
    }

    .contact-info {
        padding: 28px;
    }


    /* MAP */

    .map-placeholder p {
        max-width: 100%;
        overflow-wrap: anywhere;
    }


    /* FOOTER */

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

        gap: 35px;
    }


    /* COMPANY STATS */

    .company-stats {
        padding: 30px 0;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .stat-item {
        padding: 0 10px 25px;

        border-right: none;
        border-bottom: 1px solid #333333;
    }

    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .stat-item h3 {
        font-size: 36px;
    }


    /* FEATURED PROJECTS */

    .featured-projects {
        padding: 65px 0;
    }

    .featured-project-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .featured-project-image {
        height: 250px;
    }

    .featured-project-content {
        padding: 24px;
    }

    .featured-project-content h3 {
        font-size: 24px;
    }

    .featured-project-button {
        margin-top: 32px;
    }


    /* PROJECTS */

    .projects-hero {
        min-height: 480px;

        padding: 70px 0;
    }

    .projects-hero h1 {
        font-size: 55px;
        letter-spacing: -2px;
    }

    .projects-hero .small-title {
        font-size: 14px;
        letter-spacing: 3px;
    }

    .projects-hero p:not(.small-title) {
        font-size: 17px;
    }

    .projects-section {
        padding: 20px 0 60px;
    }

    .section-title.center {
        margin-bottom: 35px;
    }

    .section-title.center h2 {
        font-size: 30px;
    }

    .project-card {
        padding: 28px 22px;
        margin-bottom: 30px;
    }

    .project-card .project-heading {
        flex-direction: column;
        gap: 18px;
    }

    .project-card .project-heading h3 {
        font-size: 26px;
    }

    .project-card .project-gallery {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .project-gallery-action {
        justify-content: flex-start;
        margin-top: 20px;
    }

    .gallery-btn {
        padding: 12px 17px;
    }

    .projects-cta .container {
        align-items: flex-start;
        flex-direction: column;
    }

    .projects-cta h2 {
        font-size: 28px;
    }


    /* PROJECT GALLERY */

    #project-gallery-viewer .gallery-viewer-main {
        gap: 8px;
        padding: 10px 12px;
    }

    #project-gallery-viewer .gallery-viewer-image {
        width: 75vw;
        height: 50vh;
    }

    #project-gallery-viewer .gallery-nav {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

    #project-gallery-viewer .gallery-thumbnails {
        max-width: 70vw;
    }

    #project-gallery-viewer .gallery-viewer-header {
        padding: 18px 5% !important;
    }

    #project-gallery-viewer .gallery-viewer-header h3 {
        font-size: 20px !important;
    }

    #project-gallery-viewer .gallery-viewer-header p {
        font-size: 11px !important;
    }

    #project-gallery-viewer .gallery-close {
        width: 40px;
        height: 40px;
    }

    #project-gallery-viewer .gallery-close span {
        width: 18px;
    }

    #project-gallery-viewer .gallery-viewer-footer {
        padding: 12px 5% 16px;
    }
}


/* =========================================================
   26. EXTRA SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .hero-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        padding-inline: 6px;

        box-sizing: border-box;
    }

    .hero-tag {
        font-size: 11px;
        letter-spacing: 2.5px;
    }

    .hero-text {
        width: 100%;
        max-width: 100%;

        font-size: 15px;
        line-height: 1.65;

        overflow-wrap: break-word;
        word-break: normal;
    }
}




/* =========================================
   MOBILE HERO BUTTON FIX
   ========================================= */

@media (max-width: 650px) {

    .hero .hero-content a,
    .hero .hero-content button {
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero .hero-content {
        width: 100%;
        box-sizing: border-box;
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero .hero-content a,
    .hero .hero-content button {
        margin-left: 0;
        margin-right: 0;
    }
}





/* =========================================
   TABLET HERO HEIGHT FIX
   ========================================= */

@media (min-width: 651px) and (max-width: 1024px) {
    .hero {
        height: 400px !important;
        min-height: 400px !important;
    }
}


/* =========================================================
   MOBILE HAMBURGER MENU
   SAME AS CONTACT PAGE
   ========================================================= */

.menu-toggle {
    display: none;
}


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

@media (max-width: 650px) {

    /* Navbar */
    .navbar {
        position: relative !important;
    }

    /* Logo + Hamburger SAME LINE */
    .nav-container {
        min-height: 76px !important;
        padding: 10px 0 !important;

        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;

        gap: 0 !important;
        position: relative !important;
    }


    /* Logo */
    .navbar .logo {
        height: 52px !important;
        display: flex !important;
        align-items: center !important;

        flex-shrink: 1 !important;
        min-width: 0 !important;

        padding-right: 55px !important;
    }

    .navbar .logo img {
        width: 52px !important;
        height: 52px !important;
        max-width: 52px !important;
        max-height: 52px !important;
    }

    .logo-name {
        font-size: 17px !important;
        white-space: nowrap !important;
    }


    /* Hamburger */
    .menu-toggle {
        display: block !important;

        flex: 0 0 42px !important;

        width: 42px !important;
        height: 42px !important;

        margin-left: auto !important;
        padding: 0 !important;

        position: absolute !important;
        right: -5px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;

        background: transparent !important;
        border: none !important;

        color: #fff !important;

        font-size: 28px !important;
        line-height: 42px !important;
        text-align: center !important;

        cursor: pointer !important;
        z-index: 10001 !important;
    }


    /* Dropdown closed */
    .nav-links {
        position: absolute !important;

        top: 100% !important;
        right: 0 !important;
        left: auto !important;

        width: 180px !important;

        display: none !important;

        flex-direction: column !important;
        align-items: stretch !important;

        gap: 0 !important;

        margin: 0 !important;
        padding: 12px 0 !important;

        background: #111 !important;

        z-index: 9999 !important;

        box-shadow: 0 8px 20px rgba(0,0,0,.35) !important;
    }


    /* Dropdown open */
    .nav-links.mobile-open {
        display: flex !important;
    }


    /* Menu items */
    .nav-links a {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;

        display: block !important;

        box-sizing: border-box !important;

        margin: 0 !important;
        padding: 12px 18px !important;

        background: transparent !important;

        color: #fff !important;

        border: none !important;
        border-radius: 0 !important;

        text-align: left !important;

        line-height: normal !important;
    }


    /* Remove desktop underline */
    .nav-links a::after {
        display: none !important;
    }


    /* Hover */
    .nav-links a:hover {
        background: #222 !important;
        color: #d9a441 !important;
    }


    /* Contact - SAME STYLE AS CONTACT PAGE */
    .nav-links a[href="contact.html"] {
        position: relative !important;

        display: block !important;

        width: auto !important;
        height: 29px !important;
        min-height: 29px !important;

        margin: 0 0 0 5px !important;

        padding: 4px 12px !important;

        box-sizing: border-box !important;

        background: #d9a441 !important;

        color: #fff !important;

        border: 0 !important;
        border-radius: 0 !important;

        text-align: left !important;

        line-height: 21px !important;

        transform: none !important;
    }


    .nav-links a[href="contact.html"]::after {
        display: none !important;
    }


    /* Contact hover */
    .nav-links a[href="contact.html"]:hover {
        background: #d9a441 !important;
        color: #fff !important;

        transform: none !important;
        box-shadow: none !important;
    }


    /* Contact active */
    .nav-links a[href="contact.html"].active {
        width: auto !important;
        height: 29px !important;
        min-height: 29px !important;

        margin: 0 0 0 5px !important;

        padding: 4px 12px !important;

        background: #d9a441 !important;

        color: #fff !important;

        border: 0 !important;
        border-radius: 0 !important;

        text-align: left !important;

        line-height: 21px !important;

        transform: none !important;
    }

}


/* MOBILE CONTACT BUTTON - COMPACT WIDTH */

@media (max-width: 650px) {

    .nav-links.mobile-open a[href="contact.html"],
    .nav-links.mobile-open a[href="contact.html"].active {
        display: inline-block !important;

        width: fit-content !important;
        min-width: 0 !important;
        max-width: fit-content !important;

        height: 25px !important;
        min-height: 25px !important;

        margin: 0 0 0 14px !important;
        padding: 2px 5px !important;

        box-sizing: border-box !important;

        background: #d9a441 !important;
        color: #fff !important;

        border: 0 !important;
        border-radius: 0 !important;

        text-align: left !important;
        line-height: 21px !important;

        transform: none !important;
    }

    .nav-links.mobile-open a[href="contact.html"]::after,
    .nav-links.mobile-open a[href="contact.html"].active::after {
        display: none !important;
    }

}





@media (max-width: 650px) {
    body.about-page .hero {
        min-height: 0 !important;
        padding-bottom: 12px !important;
    }
}


/* MOBILE HERO - SAME HEIGHT FOR OTHER PAGES */

@media (max-width: 650px) {

    body.services-page .hero,
    body.projects-page .hero,
    body.contact-page .hero {
        min-height: 0 !important;
        padding-bottom: 12px !important;
    }

}





/* PREMIUM MOBILE MENU */
@media (max-width: 650px) {

    .nav-links.mobile-open {
        width: 150px !important;
        padding: 10px 0 !important;
        background: rgba(15, 15, 15, 0.98) !important;
        border: 1px solid rgba(217, 164, 65, 0.35) !important;
        border-radius: 8px !important;
        box-shadow:
            0 12px 30px rgba(0, 0, 0, 0.55),
            0 0 0 1px rgba(255, 255, 255, 0.03) inset !important;
        overflow: hidden !important;
    }

    /* Contact text black */
    .nav-links.mobile-open a[href="contact.html"],
    .nav-links.mobile-open a[href="contact.html"].active {
        color: #111 !important;
    }
}





/* FOOTER LOGO SIZE */
.footer .footer-logo img {
    width: 55px !important;
    height: 55px !important;
    max-width: 55px !important;
    max-height: 55px !important;
    object-fit: contain !important;
}




/* FOOTER BRAND LOGO */
.footer .footer-logo {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    height: 55px !important;
    width: fit-content !important;
}

.footer .footer-logo img {
    width: 55px !important;
    height: 55px !important;
    max-width: 55px !important;
    max-height: 55px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
}

.footer .footer-logo .logo-name {
    font-size: 20px !important;
    white-space: nowrap !important;
}








/* PROJECT GALLERY - 2 x 2 IMAGE GRID */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

/* Project card par sirf pehli 4 images show hongi */
.project-gallery[data-project="phoenix"] .project-gallery-item:nth-child(n + 5),
.project-gallery[data-project="millennium"] .project-gallery-item:nth-child(n + 5) {
    display: none !important;
}

/* Images ka same size aur clean look */
.project-gallery .project-gallery-item {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 6px;
}

.project-gallery .project-gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}



/* PROJECT GALLERY: EXACTLY 2 IMAGES PER ROW */
.project-gallery {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
}

.project-gallery .project-gallery-item {
    width: 100%;
    min-width: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 6px;
}

.project-gallery .project-gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Card mein sirf pehli 4 images */
.project-gallery[data-project="phoenix"] .project-gallery-item:nth-child(n+5),
.project-gallery[data-project="millennium"] .project-gallery-item:nth-child(n+5) {
    display: none !important;
}






/* PROJECT GALLERY - COMPACT 2x2 GRID */
.project-gallery {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
}

.project-gallery .project-gallery-item {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
}

.project-gallery .project-gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Project card mein sirf 4 images */
.project-gallery[data-project="phoenix"] .project-gallery-item:nth-child(n+5),
.project-gallery[data-project="millennium"] .project-gallery-item:nth-child(n+5) {
    display: none !important;
}

/* Mobile par bhi 2 images per row */
@media (max-width: 600px) {
    .project-gallery {
        gap: 8px;
    }
}


/* PROJECT IMAGES - EVEN SPACING */
.project-gallery {
    column-gap: 40px !important;
    row-gap: 40px !important;
}



/* =========================================
   R.K. ENTERPRISES - OFFICE GALLERY
   ========================================= */

.office-gallery {
    position: relative;
    overflow: hidden;
    padding: 90px 0;
    background: #ffffff;
}

.office-gallery > .container {
    position: relative;
    padding: 45px 35px;
    background: #101010;
    border: 1px solid rgba(217, 164, 65, 0.45);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.office-gallery .section-title {
    margin-bottom: 45px;
}

.office-gallery .section-title h2 {
    color: #ffffff;
}

.office-gallery .section-title h2 span {
    color: #d9a441;
}

.office-gallery .section-title > p:last-child {
    max-width: 650px;
    margin: 15px auto 0;
    color: #bdbdbd;
    line-height: 1.8;
}

.office-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.office-gallery-item {
    position: relative;
    min-width: 0;
    height: 340px;
    overflow: hidden;
    border: 1px solid rgba(217, 164, 65, 0.22);
    border-radius: 12px;
    background: #1a1a1a;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
    isolation: isolate;
    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.office-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.office-gallery-item::after {
    content: "";
    position: absolute;
    inset: 35% 0 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(0, 0, 0, 0.82)
    );
    pointer-events: none;
}

.office-image-caption {
    position: absolute;
    right: 22px;
    bottom: 20px;
    left: 22px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
}

.office-image-caption span {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #d9a441;
    border-radius: 50%;
    color: #d9a441;
    font-size: 13px;
    font-weight: 700;
}

.office-image-caption h3 {
    margin: 0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.office-gallery-item:hover {
    transform: translateY(-5px);
    border-color: #d9a441;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.4);
}

.office-gallery-item:hover img {
    transform: scale(1.045);
}

/* TABLET */

@media (max-width: 768px) {
    .office-gallery {
        padding: 65px 0;
    }

    .office-gallery-grid {
        gap: 18px;
    }

    .office-gallery-item {
        height: 260px;
    }

    .office-image-caption {
        right: 14px;
        bottom: 15px;
        left: 14px;
        gap: 10px;
    }

    .office-image-caption span {
        width: 34px;
        height: 34px;
        font-size: 11px;
    }

    .office-image-caption h3 {
        font-size: 16px;
    }
}

/* MOBILE */

@media (max-width: 520px) {
    .office-gallery {
        padding: 55px 0;
    }

    .office-gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .office-gallery-item {
        height: 280px;
        border-radius: 10px;
    }

    .office-gallery .section-title {
        margin-bottom: 30px;
    }
}

/* REDUCE ANIMATION FOR ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .office-gallery-item,
    .office-gallery-item img {
        transition: none;
    }
}






/* =========================================
   OFFICE PHOTO FULL-SIZE VIEWER
   ========================================= */

#office-image-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.94);
    align-items: center;
    justify-content: center;
    padding: 60px 70px;
    box-sizing: border-box;
}

#office-image-lightbox.active {
    display: flex;
}

#office-image-lightbox img {
    display: block;
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border: 1px solid rgba(217, 164, 65, 0.5);
    border-radius: 8px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

#office-image-lightbox button {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(20, 20, 20, 0.85);
    border: 1px solid #d9a441;
    cursor: pointer;
    transition: 0.25s ease;
}

#office-image-lightbox button:hover {
    color: #111111;
    background: #d9a441;
}

#office-image-lightbox .office-lightbox-close {
    top: 20px;
    right: 25px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 30px;
}

#office-image-lightbox .office-lightbox-prev,
#office-image-lightbox .office-lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 55px;
    border-radius: 8px;
    font-size: 24px;
}

#office-image-lightbox .office-lightbox-prev {
    left: 18px;
}

#office-image-lightbox .office-lightbox-next {
    right: 18px;
}

#office-image-lightbox .office-lightbox-counter {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 2px;
}

@media (max-width: 600px) {
    #office-image-lightbox {
        padding: 55px 12px;
    }

    #office-image-lightbox img {
        max-width: 100%;
        max-height: 75vh;
    }

    #office-image-lightbox .office-lightbox-prev {
        left: 5px;
    }

    #office-image-lightbox .office-lightbox-next {
        right: 5px;
    }
}