/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    overflow-x: hidden;
}

:root {
--g2: linear-gradient(45deg, #8cb500, #0047aa);
}

/* HERO SECTION WITH BLACK TINT */
.hero {
    position: relative;
    min-height: 100vh;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55));
    background-size: cover;
    background-position: center;
    color: white;
    overflow: hidden;
}

/* NAV */
nav {
    position: absolute;        /* 🔥 key fix */
    top: 0;
    left: 0;
    width: 100%;

    display: flex;
    align-items: center;
    padding: 2rem 4rem;
    z-index: 20;
}

.nav-spacer {
    flex: 1;
}

.logo img {
    width: 300px;
    border-radius: 12px;
}

/* NAV LINKS */
.nav-links {
    display: flex;
    gap: 1rem;
    list-style: none;
}

.nav-links > li > a {
    position: relative;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: .4s ease;
    box-shadow: 0 0 10px #0047aa40;
}

/* RIPPLE */
.nav-links > li > a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--g2);
    opacity: .85;
    border-radius: inherit;
    transform: scale(0);
    transition: .5s ease;
    z-index: -1;
}

.nav-links > li > a:hover::after {
    transform: scale(1);
}

/* DROPDOWN */
.nav-item {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 170%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);

    padding: .75rem;
    background: rgba(0,0,0,.65);
    backdrop-filter: blur(14px);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.2);
    box-shadow: 0 20px 40px rgba(0,0,0,.4);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: .35s ease;

    display: grid;
    grid-template-columns: 1fr; /* default: single column */
    gap: .25rem;
    min-width: 160px;
}

/* 🔥 If dropdown has MORE THAN 3 items → 2 columns */
.dropdown:has(a:nth-child(4)) {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    min-width: 340px;
}


/* ✅ ONLY JS CONTROLS VISIBILITY */
.nav-item.open .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown a {
    display: block;
    padding: .75rem 1.25rem;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    transition: .3s ease;
}

.dropdown a:hover {
    background: var(--g2);
    transform: translateX(4px);
}

/* PROJECTS HERO */
.projects-hero {
    display: flex;
    min-height: 92vh;
    background: #f9f9f9;
}

/* LEFT */
.projects-left {
    width: 46%;
    padding: 5rem 4.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 18px;
    color: #000000;
    margin-top: 1rem;
}

.projects-left h1 {
    font-size: 4.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.projects-desc {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(0,0,0,0.75);
    max-width: 520px;
}

.projects-promise {
    margin-top: 1.8rem;
    font-size: 1.05rem;
    color: #000000;
}

/* KEY PROJECTS */
.key-projects {
    margin-top: 3.5rem;
}

.key-projects h2 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1.5rem;
    color:#000000;
}

/* CARDS */
.projects-carousel {
    display: flex;
    gap: 1.2rem;
}

.project-card {
    margin-top: 2rem;
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 18px 40px rgba(0,0,0,0.15);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    cursor: pointer;
}


.card-label {
    background: rgba(0,0,0,0.55);
    color: #fff;
    padding: 0.4rem 0.9rem;
    border-radius: 14px;
    font-size: 0.9rem;
}

.card-arrow {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #3c3c3c;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.9rem;
    color:#8cb500;
    opacity: 0.65;
}

/* FOOTER */
.carousel-footer {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-top: 1.2rem;
}

.count {
    font-size: 0.9rem;
    color: rgba(0,0,0,0.6);
}

.view-all {
    background: #cfcfcf;
    border: none;
    padding: 0.4rem 0.9rem;
    border-radius: 14px;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    cursor: pointer;
}

.nav-arrows {
    margin-left: auto;
    display: flex;
    gap: 0.6rem;
    font-size: 1.2rem;
}

/* RIGHT */
.projects-right {
    position: relative;
    width: 55%;
    overflow: hidden;
}

/* Image cropping logic */
.projects-right img {
    width: 130%;              /* zoom in so left side gets cropped */
    height: 100%;
    object-fit: cover;
    object-position: right center; /* 👈 key line */
    display: block;
}


/* GRID OVERLAY */
.image-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 50%, rgba(0,255,150,0.35), transparent 40%),
        linear-gradient(120deg, rgba(0,0,0,0.35), rgba(0,0,0,0.1));
    pointer-events: none;
}

/* SCROLL BUTTON */
.scroll-down {
    position: absolute;
    bottom: 2.2rem;
    right: 2.2rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
}

/* SECTION WRAPPER */
.projects-section {
    padding: 5rem 4.5rem;
    background: #ffffff;
}

/* BLOCK */
.projects-block {
    margin-top: 0rem;
    margin-bottom: 2rem;
}

/* TITLE */
.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: #000000;
}

/* GREEN UNDERLINE */
.section-underline {
    display: block;
    width: 90px;
    height: 4px;
    background: #0a8f3f;
    border-radius: 2px;
    margin-bottom: 2.5rem;
}

/* GRID */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

/* ITEM */
.project-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 0.5rem;
    color: #000;
}

.project-item p {
    font-size: 0.95rem;
    color: rgba(0,0,0,0.65);
    line-height: 1.4;
    margin-top: 2px;
}

/* IMAGE CARD */
.project-image {
    position: relative;
    height: 250px;
    width: 90%;
    border-radius: 18px;
    background-position: center;
    background-size: cover;
    box-shadow: 0 18px 45px rgba(0,0,0,0.18);
    overflow: hidden;
}

/* ONGOING */
.img-kochi {
    background-image: url("assets/images/kochimain.webp");
}

.img-pune {
    background-image: url("assets/images/punemain.png");
}

.img-lucknow {
    background-image: url("assets/images/lucknowmain.png");
}
/* COMPLETED */
.img-gurugram {
    background-image: url("assets/images/gurugrammain.png");
}

.img-noida {
    background-image: url("assets/images/noida.png");
}

.img-sangli {
    background-image: url("assets/images/sangli.png");
}



/* PILL */
.project-pill {
    position: absolute;
    bottom: 14px;
    right: 14px;

    background: rgba(255,255,255,0.25);
    color: #fff;
    backdrop-filter: blur(8px);

    padding: 0.35rem 1.1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* SECTION */
.testimonials-section {
    padding: 5rem 4.5rem 6rem;
    text-align: center;
    background: #ffffff;
}

/* TITLE */
.testimonials-title {
    font-size: 3rem;
    font-weight: 800;
    color: #000000;
}

.testimonials-underline {
    display: block;
    width: 90px;
    height: 4px;
    background: #0a8f3f;
    margin: 0.8rem auto 3rem;
    border-radius: 2px;
}

/* SLIDER */
.testimonials-slider {
    position: relative;
    height: 420px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

/* CARD BASE */
.testimonial-card {
    position: absolute;
    width: 220px;
    height: 320px;
    border-radius: 28px;
    overflow: hidden;

    opacity: 0.35;
    transform: translateX(0) scale(0.85);
    filter: blur(1.5px);

    transition:
        transform 0.9s cubic-bezier(.4,0,.2,1),
        opacity 0.9s ease,
        filter 0.9s ease;
}

/* IMAGE */
/* IMAGE */
.testimonial-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ACTIVE (CENTER) */
.testimonial-card.active {
    width: 280px;
    height: 380px;
    opacity: 1;
    transform: scale(1);
    filter: none;
    z-index: 5;
}

/* CONTENT */
.testimonial-content h3 {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    opacity: 1;
    transition: opacity 0.8s ease;
    color: #000000;
}

.testimonial-content p {
    font-size: 0.9rem;
    color: rgba(0,0,0,0.7);
    line-height: 1.5;
    opacity: 1;
    transition: opacity 0.8s ease;
}

/* FADE STATE */
.fade-out {
    opacity: 0.6;
}



/* DASHBOARD WRAPPER */
.performance-dashboard {
    padding: 5rem 4.5rem 6rem;
    background: radial-gradient(circle at top, #111 0%, #000 60%);
    color: #fff;
}

/* TITLE */
.dashboard-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
}

.dashboard-underline {
    display: block;
    width: 110px;
    height: 4px;
    background: #7dd3fc;
    margin: 0.8rem auto 3.5rem;
    border-radius: 3px;
}

/* KPI GRID */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
    margin-bottom: 2.8rem;
}

/* KPI CARD */
.kpi-card {
    position: relative;
    padding: 1.8rem 1.6rem;
    border-radius: 22px;

    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.15), transparent 40%),
        rgba(255,255,255,0.05);

    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.25);

    box-shadow:
        inset 0 0 40px rgba(255,255,255,0.08),
        0 20px 60px rgba(0,0,0,0.8);
}

/* KPI TEXT */
.kpi-label {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
}

.kpi-value {
    font-size: 3.2rem;
    font-weight: 800;
    margin: 0.4rem 0;
}

.kpi-sub {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
}

/* LOWER PANELS */
.dashboard-panels {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
}

/* PANEL CARD */
.dashboard-panel {
    height: 280px;
    border-radius: 28px;
    padding: 1.6rem;

    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.12), transparent 45%),
        rgba(255,255,255,0.04);

    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.25);

    box-shadow:
        inset 0 0 45px rgba(255,255,255,0.08),
        0 30px 80px rgba(0,0,0,0.9);
}

.dashboard-panel h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
}



        /* Overall Footer */
.footer {
    display: flex;
    justify-content: space-between;
    padding: 50px 80px;
    background: linear-gradient(145deg, #0047a5, #003579);
    color: #fff;
    font-family: "Poppins", sans-serif;
    position: relative;
}

/* LEFT SIDE */
.footer-left h2 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 20px;
}

.footer-badges {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

.footer-badges span {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.dot {
    width: 10px;
    height: 10px;
    background: #00d063;
    border-radius: 50%;
    margin-right: 8px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px 0;
    font-size: 15px;
    line-height: 1.9;
}

.footer-links li {
    cursor: pointer;
    transition: opacity 0.2s;
}

.footer-links li:hover {
    opacity: 0.7;
}

.footer-copy {
    font-size: 13px;
    opacity: 0.85;
}

/* RIGHT SIDE */
.footer-right {
    width: 40%;
    text-align: right;
    margin-right: 60px;
}

.footer-desc {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 50px;
}

.footer-btn {
    padding: 10px 22px;
    border-radius: 30px;
    background: #fff;
    color: #003579;
    border: none;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 30px;
    transition: 0.3s;
}

.footer-btn:hover {
    transform: translateX(3px);
}

.arrow {
    margin-left: 6px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 20px 0;
}

.footer-logo img {
    width: 250px;
    margin-right: 15px;
    border-radius: 12px;
}

.footer-logo-text h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
}

.footer-logo-text p {
    font-size: 12px;
    margin-top: 6px;
    opacity: 0.85;
}

.footer-legal {
    margin-top: 25px;
}

.footer-legal a {
    color: #fff;
    font-size: 13px;
    margin-left: 20px;
    text-decoration: none;
    opacity: 0.85;
}

.footer-legal a:hover {
    opacity: 1;
}

/* FLOATING ICONS */
.footer-floating-icons {
    position: absolute;
    right: 40px;
    top: 80px;
}

.circle-btn {
    width: 45px;
    height: 45px;
    background: #004fbb;
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    margin-bottom: 15px;
}

.side-icons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #003f96;
    padding: 12px;
    border-radius: 30px;
}

.icon-btn {
    width: 42px;
    height: 42px;
    background: #0051c5;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    color: white;
    font-size: 18px;
}

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.dashboard-panels {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.dashboard-panel {
    background: #000000;
    border-radius: 20px;
    padding: 1.8rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.dashboard-panel h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: #ffffff;
}

.dashboard-panel canvas {
    width: 100%;
    height: 280px ;
    margin-left: 180px;
    margin-top: -50px
}
