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

html {
    scroll-behavior: smooth;
}

body.loading {
    overflow: hidden;
}


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


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

header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0);   /* 0% black default */
    transition: 0.3s ease;
}

header.scrolled {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
}

.logo {
    height: 55px;
}

/* ===== NAVIGATION ===== */

nav {
    display: flex;
    gap: 30px;
}

nav a {
    display: flex;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    text-decoration: none;
    color: #ffffff;
    transition: 0.3s;
}

nav a.active {
    color: #d66d00;
}


header.scrolled nav a {
    color: #111;
}

nav a:hover {
    opacity: 0.7;
}

/* ===== DROPDOWN ===== */

.nav-item {
    position: relative;
}

.company-link {
    gap: 5px;
}

.arrow {
    font-size: 18px;
    transition: 0.3s ease;
}

/* Dropdown panel */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.7);  /* 70% transparent */
    backdrop-filter: blur(6px);
    padding: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Dropdown links */
.dropdown a {
    color: #111;
    padding: 8px 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.dropdown a:hover {
    background: rgba(0,0,0,0.05);
}

/* Show dropdown on hover */
.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Rotate arrow when open */
.nav-item:hover .arrow {
    transform: rotate(180deg);
}




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

.menu-toggle {
    display: none;
    width: 28px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.menu-toggle span {
    position: absolute;
    width: 100%;
    height: 3px;
    background: white;
    left: 0;
    transition: 0.3s ease;
}

header.scrolled .menu-toggle span {
    background: #111;
}

/* Top line */
.menu-toggle span:nth-child(1) {
    top: 0;
}

/* Bottom line */
.menu-toggle span:nth-child(2) {
    bottom: 0;
}


/* ===== ACTIVE STATE ( = → X ) ===== */
.menu-toggle.active span {
    top: 50%;
    bottom: auto;
    transform-origin: center;
}

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

.menu-toggle.active span:nth-child(2) {
    transform: translateY(-50%) rotate(-45deg);
}



/* ================= MOBILE DROPDOWN FIX ================= */

@media (max-width: 900px) {

    .menu-toggle {
        display: flex;
    }

    /* Disable hover behavior on mobile */
    .nav-item:hover .dropdown {
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
    }

    /* Show dropdown when clicked */
    .nav-item.active .dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Rotate arrow when open */
    .nav-item.active .arrow {
        transform: rotate(180deg);
    }

}




/* ================= SLIDER ================= */

.slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slides {
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

/* Overlay */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.overlay h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 50px;
    margin-bottom: 18px;
}

.overlay p {
    max-width: 700px;
    margin-bottom: 22px;
}

.btn {
    background: #d66d00;
    padding: 12px 30px;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* ================= HERO CINEMATIC ANIMATION ================= */

.hero-title,
.hero-sub,
.hero-buttons,
.hero-stats {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s ease forwards;
}

.hero-sub {
    animation-delay: 0.5s;
}

.hero-buttons {
    animation-delay: 0.8s;
}

.hero-stats {
    animation-delay: 1.5s;
}

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


/* ===== Fade In ===== */
.fade-in {
    opacity: 0;
    transition: opacity 1.5s ease;
}

.fade-in.active {
    opacity: 1;
}


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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 1.2s ease;
}

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

/* Dual Buttons */
.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.secondary-btn {
    background: transparent;
    border: 2px solid white;
}

.secondary-btn:hover {
    background: white;
    color: black;
}

/* Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat h3 {
    font-size: 28px;
    color: #d66d00;
}

.stat p {
    font-size: 14px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    width: 25px;
    height: 40px;
    border: 2px solid white;
    border-radius: 20px;
}

.scroll-indicator::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: white;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scrollAnim 1.5s infinite;
}

@keyframes scrollAnim {
    0% { opacity: 0; transform: translate(-50%, 0); }
    50% { opacity: 1; transform: translate(-50%, 10px); }
    100% { opacity: 0; transform: translate(-50%, 18px); }
}

/* ================= SECTIONS ================= */

.section {
    padding: 100px 20px;
}

.grey {
    background: #f7f7f7;
}

.dark {
    background: #111;
    color: white;
    text-align: center;
}

.container {
    max-width: 1100px;
    margin: auto;
}

.narrow {
    max-width: 700px;
}

.center {
    text-align: center;
}


/* ================= GRIDS ================= */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 30px;
}

.card {
    background: #fff;
    padding: 30px;
    border: 1px solid #eee;
}


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

.projects-section {
    padding: 100px 20px;
    background: #f7f7f7;
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 42px;
    margin-bottom: 60px;
    position: relative;
    text-transform: uppercase;
}

.section-title::after {
    content: "";
    width: 80px;
    height: 3px;
    background: #d66d00;
    display: block;
    margin: 15px auto 0;
}



/* ================= CATEGORY GRID ================= */

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.category-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s ease;
}

.category-card img {
    width: 180px;
    margin-bottom: 15px;
}

.category-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.category-card.active {
    border: 2px solid #d66d00;
}



.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.project-card {
    background: white;
    padding: 20px;
    border: 1px solid #eee;
    transition: 0.3s;
}

.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 15px;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.10);
}

.project-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ===== PROJECT IMAGE SLIDER ===== */

.project-image {
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Smooth zoom on hover */
.project-card:hover .project-image img {
    transform: scale(1.08);
}

/* Navigation buttons */
.img-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.25);   /* lighter shadow */
    backdrop-filter: blur(3px);       /* soft glass effect */
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s ease;
    overflow: hidden;
}


/* Left & Right positioning */
.img-btn.left { left: 10px; }
.img-btn.right { right: 10px; }

/* Hover effect */
.img-btn:hover {
    background: rgba(0, 0, 0, 0.4);
}


/* Click ripple animation */
.img-btn::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    opacity: 0;
}

.img-btn:active::after {
    width: 100px;
    height: 100px;
    opacity: 1;
    transition: 0.4s ease;
}

/* ===== IMAGE DOTS ===== */

.dots {
    position: absolute;
    bottom: 24px;   /* moved up */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(0,0,0,0.15);  /* subtle soft strip */
    border-radius: 20px;
}


.dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transition: 0.3s ease;
}

.dots span.active {
    background: #ffffff;
}


/* ================= CLIENTS ================= */

.clients {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px,1fr));
    gap: 30px;
    margin-top: 50px;
}

.clients img {
    width: 100%;
    max-height: 120px;
    object-fit: contain;
}



/* ================= WHY SECTION (PREMIUM STYLE) ================= */

.why-section {
    padding: 120px 20px;
    background: #f4f4f4;
    text-align: center;
}

.why-top {
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: #666;
}

.why-title {
    font-family: 'Oswald', sans-serif;
    font-size: 60px;
    margin-bottom: 25px;
    color: #111;
}

.why-desc {
    max-width: 750px;
    margin: 0 auto 80px auto;
    color: #555;
    font-size: 16px;
    line-height: 1.7;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 50px;
    align-items: center;
}

.why-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.3s ease;
}

.why-icon {
    background: #d66d00; /* your orange */
    width: 100px;
    height: 100px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.why-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* makes white icons */
}

.why-item h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    letter-spacing: 1px;
    color: #333;
}

.why-item:hover {
    transform: translateY(-6px);
}

/* Responsive */
@media (max-width: 900px) {

    .why-title {
        font-size: 36px;
    }

    .why-desc {
        font-size: 14px;
        margin-bottom: 50px;
    }

    .why-grid {
        gap: 30px;
    }

    .why-icon {
        width: 90px;
        height: 90px;
    }

    .why-icon img {
        width: 40px;
        height: 40px;
    }

}



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

.main-footer {
    background: #000;
    color: #ccc;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 40px;
    padding: 40px 20px;
}

.footer-logo {
    height: 85px;   /* final size */
    margin-bottom: 20px;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 15px;
}

.footer-col p {
    margin-bottom: 8px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: #ccc;
    font-size: 14px;
    transition: 0.3s ease;
}

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

.social-icon {
    width: 28px;
    margin-top: 10px;
}

.footer-bottom {
    text-align: center;
    padding: 15px;
    background: #111;
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icon {
    width: 32px;
    cursor: pointer;
    transition: 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-4px);
}


/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {

    nav {
        position: absolute;
        top: 70px;
        right: 0;
        background: white;
        flex-direction: column;
        width: 250px;
        padding: 20px;
        display: none;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }


    nav a {
        color: #111;
        margin-bottom: 15px;
    }

    nav.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .overlay h1 {
        font-size: 32px;
    }

    .slider {
        height: 75vh;  /* better mobile ratio */
    }

    .slide {
        object-fit: cover;
    }

    .section {
        padding: 70px 20px;
    }

}

@media (max-width: 900px) {
    nav a {
        color: #111;
    }
}

/* ===== HERO MOBILE FIX ===== */
@media (max-width: 900px) {

    .overlay {
        justify-content: flex-start;
        padding-top: 120px;
    }

    .hero-title {
        font-size: 18px;        /* smaller so it actually fits */
        font-weight: 700;
        padding: 0 20px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hero-sub {
        font-size: 10px;        /* must be small to fit */
        font-weight: 700;
        padding: 0 20px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .scroll-indicator {
        display: none;
    }

}






/* ================================
   Inner Pages – Header
================================ */

.inner-page #header {

    position: sticky;
    top: 0;
    width: 100%;
    background-color: #fff;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Navigation layout */
.inner-page .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
}

.inner-page .logo {
    height: 55px;
}

/* Header colors */
.inner-page #header nav a {
    color: #000;
}







/* ================= INENR PAGE ABOUT HERO FIX ================= */

.about-hero {
    height: 85vh;  /* Taller hero */
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
                url("uploads/images/about/construction-hero.webp");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-overlay {
    text-align: center;
    color: #ffffff;  /* FORCE white text */
    padding: 20px;
}

.about-overlay h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 52px;
    margin-bottom: 15px;
}

.about-overlay p {
    font-size: 18px;
    opacity: 0.9;
}

/* Mobile fix */
@media (max-width: 900px) {
    .about-hero {
        height: 70vh;
    }

    .about-overlay h1 {
        font-size: 28px;
    }
}
/* ================= LEADERSHIP IMAGE FIX ================= */

.leadership-img {
    width: 500px;
    margin: 30px 0;
    opacity: 0.95;
}

@media (max-width: 900px) {
    .leadership-img {
        width: 160px;
    }
}
/* ===== LEFT ALIGNED SECTION TITLE FIX ===== */

.section-title {
    text-align: center;   /* inherited from .center container */
}

.section-title::after {
    margin: 15px auto 0;  /* centers underline */
}




/* ================= CONTACT INNER PAGE ================= */

.inner-overlay p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 40px;
    text-align: center;
}

.contact-card {
    background: #fff;
    padding: 40px 30px;
    border: 1px solid #eee;
    transition: 0.3s ease;
}

.contact-card h3 {
    font-family: 'Oswald', sans-serif;
    margin-bottom: 15px;
    font-size: 20px;
}

.contact-card a {
    text-decoration: none;
    color: #111;
    font-weight: 600;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}


/* ===== FORM ===== */

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

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #d66d00;
}

.full-btn {
    width: 100%;
    text-align: center;
}




/* ================= CLIENTS INNER PAGE ================= */

.clients-hero {
    padding-top: 140px;
}

.clients-tagline {
    font-weight: 600;
    margin-bottom: 20px;
}

.clients-intro {
    color: #555;
    line-height: 1.7;
}

/* ===== LOGO GRAYSCALE EFFECT ===== */
.logos-grayscale img {
    filter: grayscale(100%);
    transition: 0.3s ease;
}

.logos-grayscale img:hover {
    filter: grayscale(0%);
}


/* ================= CLIENTS HERO BACKGROUND ================= */

.clients-hero-bg {
    height: 70vh;
    background: url("uploads/images/clients-bg-desktop.webp") center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Background */
@media (max-width: 900px) {
    .clients-hero-bg {
        background: url("uploads/images/clients-bg-mobile.webp") center/cover no-repeat;
        height: 60vh;
    }
}


.clients-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55); /* overlay for readability */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.white {
    color: #fff;
}

.clients-tagline {
    margin-bottom: 20px;
    font-weight: 600;
}

.clients-intro {
    max-width: 700px;
    margin: auto;
    line-height: 1.7;
}



/* ===== MAJOR CLIENTS ===== */
.major-client {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 60px;
}

.major-client-logo img {
    width: 100%;
    max-height: 180px;
    object-fit: contain;
}

.project-name {
    font-weight: 600;
    margin-bottom: 10px;
}

.major-client:nth-child(even) {
    direction: rtl;
}

.major-client:nth-child(even) .major-client-content {
    direction: ltr;
}


/* ===== TESTIMONIALS ===== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.testimonial-card {
    border: 1px solid #eee;
    padding: 30px;
    background: #fff;
    transition: 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.testimonial-text {
    margin-bottom: 20px;
    color: #555;
}

.testimonial-project {
    font-size: 14px;
    color: #888;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .major-client {
        grid-template-columns: 1fr;
        text-align: center;
    }
}







/* ================= UNDER CONSTRUCTION COMMON TEMP PAGE ================= */

.under-construction {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
                url("uploads/images/about/jaipur-skyline-construction.webp");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.construction-overlay {
    color: #ffffff;
    max-width: 700px;
    padding: 20px;
}

.construction-overlay h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 48px;
    margin-bottom: 20px;
}

.construction-overlay p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

@media (max-width: 900px) {
    .construction-overlay h1 {
        font-size: 28px;
    }
}





/* ================= WHITE LOGO LOADER ================= */

#loader {
    position: fixed;
    inset: 0;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.loader-logo {
    width: 140px;
    animation: fadeLoop 2.5s ease-in-out infinite;
}

@keyframes fadeLoop {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}




.inner-page #header .menu-toggle span {
    background-color: #000;
}
