/*==========================================
EKLAVYA BUILDCON
Main Stylesheet
==========================================*/

/* Base */

@import url("base/variables.css");
@import url("base/reset.css");
@import url("base/typography.css");
@import url("base/utilities.css");

/* Layout */

@import url("layout/header.css");
@import url("layout/hero.css");

@import url("layout/navigation.css");
@import url("layout/banner.css");
@import url("layout/footer.css");

/* Components */

@import url("components/buttons.css");
@import url("components/cards.css");
@import url("components/forms.css");
@import url("components/gallery.css");
@import url("components/testimonials.css");
/*@import url("components/partners.css");*/
@import url("components/clients.css");
@import url("components/counters.css");
@import url("components/JMA.css");
@import url("components/accordion.css");
@import url("components/modal.css");
@import url("components/loader.css");

/* Pages */

@import url("pages/home.css");
@import url("pages/about.css");
@import url("pages/services.css");
@import url("pages/projects.css");
@import url("pages/project-details.css");
@import url("pages/contact.css");

/* Responsive */

@import url("responsive.css");

/*=============================
HOME CTA
=============================*/
/* =========================================================
   EKLAVYA BUILDCON - FINAL CTA
========================================================= */
/* =========================================================
   HOME CTA
========================================================= */

.home-cta {
    position: relative;
    overflow: hidden;
    background: var(--primary-color);
    padding: 110px 20px;
    text-align: center;
    color: var(--white);
}


    /* Decorative circles */

    .home-cta::before,
    .home-cta::after {
        content: "";
        position: absolute;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: rgba(212, 175, 55, 0.10);
        pointer-events: none;
    }

    .home-cta::before {
        top: -150px;
        right: -80px;
    }

    .home-cta::after {
        bottom: -180px;
        left: -100px;
    }


/* Content */

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}


/* Small heading */

.cta-subtitle {
    display: block;
    margin-bottom: 18px;
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 4px;
}


/* Main heading */

.cta-content h2 {
    margin: 0 auto 25px;
    max-width: 850px;
    color: var(--white);
    font-size: clamp(38px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.15;
}


/* Description */

.cta-content p {
    max-width: 700px;
    margin: 0 auto 38px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
    line-height: 1.7;
}


/* Buttons */

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}


/* Outline button */

.home-cta .btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.9);
    color: var(--white);
    background: transparent;
}

    .home-cta .btn-outline:hover {
        background: var(--white);
        color: var(--primary-color);
    }


/* Mobile */

@media (max-width: 600px) {

    .home-cta {
        padding: 75px 20px;
    }

    .cta-subtitle {
        font-size: 12px;
        letter-spacing: 3px;
    }

    .cta-content h2 {
        font-size: 34px;
    }

    .cta-content p {
        font-size: 15px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 14px;
    }

        .cta-buttons .btn {
            width: 100%;
            max-width: 280px;
        }
}
/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .home-cta {
        padding: 70px 20px;
    }

        .home-cta h2 {
            font-size: 34px;
        }

        .home-cta p {
            font-size: 15px;
        }

        .home-cta .btn {
            width: 100%;
            max-width: 280px;
        }
}
/* ==========================================
   COMPANY TIMELINE
========================================== */

.timeline-section {
    background: #f8faf9;
    position: relative;
    overflow: hidden;
}

.timeline {
    position: relative;
    max-width: 1100px;
    margin: 70px auto 0;
    padding: 20px 0;
}

    /* Central vertical line */
    .timeline::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 3px;
        background: linear-gradient( to bottom, #d4af37, #1f5c41, #d4af37 );
        transform: translateX(-50%);
    }

/* Timeline item */
.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 55px 60px;
    box-sizing: border-box;
}

    /* Left side */
    .timeline-item:nth-child(odd) {
        left: 0;
        text-align: right;
    }

    /* Right side */
    .timeline-item:nth-child(even) {
        left: 50%;
        text-align: left;
    }

/* Timeline card */
.timeline-content {
    position: relative;
    background: #ffffff;
    padding: 30px 35px;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    transition: all 0.35s ease;
}

    /* Hover */
    .timeline-content:hover {
        transform: translateY(-8px);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
        border-color: #d4af37;
    }

    /* Connecting line */
    .timeline-content::after {
        content: "";
        position: absolute;
        top: 35px;
        width: 55px;
        height: 2px;
        background: #d4af37;
    }

/* Left connector */
.timeline-item:nth-child(odd) .timeline-content::after {
    right: -55px;
}

/* Right connector */
.timeline-item:nth-child(even) .timeline-content::after {
    left: -55px;
}

/* Timeline circle */
.timeline-content::before {
    content: "";
    position: absolute;
    top: 27px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #1f5c41;
    border: 4px solid #ffffff;
    box-shadow: 0 0 0 3px #d4af37;
    z-index: 5;
}

/* Left circle */
.timeline-item:nth-child(odd) .timeline-content::before {
    right: -65px;
}

/* Right circle */
.timeline-item:nth-child(even) .timeline-content::before {
    left: -65px;
}

/* Year */
.timeline-year {
    display: inline-block;
    margin-bottom: 12px;
    padding: 7px 18px;
    background: #1f5c41;
    color: #ffffff;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Heading */
.timeline-content h3 {
    margin: 8px 0 12px;
    color: #1f5c41;
    font-size: 22px;
    font-weight: 700;
}

/* Description */
.timeline-content p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
}

/* ==========================================
   TIMELINE HIGHLIGHT
========================================== */

.timeline-item:last-child .timeline-content {
    border: 2px solid #d4af37;
}

.timeline-item:last-child .timeline-year {
    background: #d4af37;
    color: #1f2937;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 900px) {

    .timeline {
        max-width: 800px;
    }

    .timeline-item {
        padding-left: 40px;
        padding-right: 40px;
    }

    .timeline-content {
        padding: 25px;
    }
}


/* ==========================================
   MOBILE TIMELINE
========================================== */

@media (max-width: 768px) {

    .timeline {
        margin-top: 50px;
        padding-left: 35px;
    }

        /* Move line to left */
        .timeline::before {
            left: 12px;
            transform: none;
        }

    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        width: 100%;
        left: 0;
        padding: 0 0 35px 35px;
        text-align: left;
    }

    .timeline-content {
        padding: 25px 22px;
    }

        /* Remove horizontal connectors */
        .timeline-content::after {
            display: none;
        }

        /* Timeline circle */
        .timeline-content::before,
        .timeline-item:nth-child(odd) .timeline-content::before,
        .timeline-item:nth-child(even) .timeline-content::before {
            left: -34px;
            right: auto;
            top: 28px;
            width: 16px;
            height: 16px;
        }

    .timeline-year {
        font-size: 13px;
        padding: 6px 15px;
    }

    .timeline-content h3 {
        font-size: 19px;
    }

    .timeline-content p {
        font-size: 14px;
        line-height: 1.7;
    }
}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {

    .timeline {
        padding-left: 30px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 30px;
    }

    .timeline-content {
        padding: 22px 18px;
        border-radius: 14px;
    }

        .timeline-content h3 {
            font-size: 18px;
        }

        .timeline-content p {
            font-size: 13px;
        }

        .timeline-content::before,
        .timeline-item:nth-child(odd) .timeline-content::before,
        .timeline-item:nth-child(even) .timeline-content::before {
            left: -29px;
            width: 14px;
            height: 14px;
        }
}
/* =========================================================
   LOCATION WISE GALLERY
========================================================= */

.gallery-section {
    background: #fff;
    padding: 100px 0;
}


    .gallery-section .section-title {
        margin-bottom: 35px;
    }


/* Location filter */

/* Filter */
.gallery-filter {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0 auto 45px;
}

    .gallery-filter button {
        min-width: 110px;
        padding: 12px 28px;
        border: 1px solid #dfe3df;
        border-radius: 30px;
        background: #fff;
        color: #333;
        font-family: inherit;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all .3s ease;
    }

        .gallery-filter button:hover {
            background: #1e5138;
            color: #fff;
            border-color: #1e5138;
            transform: translateY(-2px);
        }

        .gallery-filter button.active {
            background: linear-gradient(135deg, #1e5138, #c9a227);
            color: #fff;
            border-color: transparent;
            box-shadow: 0 8px 20px rgba(30,81,56,.20);
        }

/* Gallery grid */
.gallery-grid {
    display: grid;
    /* 3 equal columns */
    grid-template-columns: repeat(3, minmax(0, 1fr));
    /* IMPORTANT */
    grid-auto-rows: 330px;
    gap: 24px;
    width: 100%;
}
/* Gallery item */

.gallery-item {
    position: relative;
    overflow: hidden;
    min-height: 280px;
    border-radius: 18px;
    background: #eee;
    cursor: pointer;
    transition: opacity .3s ease, transform .3s ease;
}


    /* Large */

    .gallery-item.large {
        grid-column: span 2;
    }


    /* Tall */

    .gallery-item.tall {
        grid-row: span 2;
    }


    /* Wide */

    .gallery-item.wide {
        grid-column: span 2;
    }


    /* Image */

    .gallery-item img {
        width: 100%;
        height: 100%;
        min-height: 280px;
        display: block;
        object-fit: cover;
        transition: transform .6s ease;
    }


    /* Hover image */

    .gallery-item:hover img {
        transform: scale(1.06);
    }


/* Overlay */

.gallery-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 70px 25px 25px;
    color: #fff;
    background: linear-gradient( to top, rgba(0, 0, 0, .82), rgba(0, 0, 0, 0) );
}


    /* Location */

    .gallery-overlay span {
        display: inline-block;
        margin-bottom: 7px;
        color: #e1bc62;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 2px;
    }


    /* Project title */

    .gallery-overlay h3 {
        margin: 0 0 5px;
        color: #fff;
        font-size: 20px;
        font-weight: 600;
    }


    /* Category */

    .gallery-overlay p {
        margin: 0;
        color: rgba(255,255,255,.85);
        font-size: 13px;
    }


/* Hidden item */

.gallery-item.gallery-hidden {
    display: none;
}


/* Animation when filtering */

.gallery-item.gallery-show {
    animation: galleryFadeIn .45s ease;
}

@keyframes galleryFadeIn {

    from {
        opacity: 0;
        transform: scale(.97);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 300px;
        gap: 18px;
    }

    .gallery-item,
    .gallery-item.large,
    .gallery-item.tall,
    .gallery-item.wide {
        grid-column: auto !important;
        grid-row: auto !important;
        height: 300px;
        min-height: 300px;
    }
}



/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 600px) {

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 270px;
        gap: 16px;
    }

    .gallery-item,
    .gallery-item.large,
    .gallery-item.tall,
    .gallery-item.wide {
        grid-column: auto !important;
        grid-row: auto !important;
        height: 270px;
        min-height: 270px;
    }
}

        .gallery-filter button {
            padding: 10px 18px;
            min-width: auto;
            font-size: 13px;
        }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

        .gallery-grid .gallery-item,
        .gallery-grid .gallery-item.large,
        .gallery-grid .gallery-item.tall,
        .gallery-grid .gallery-item.wide {
            grid-column: span 1 !important;
            grid-row: span 1 !important;
            position: relative;
            width: 100%;
            height: 330px;
            min-height: 330px;
            overflow: hidden;
            border-radius: 18px;
            background: #f3f3f3;
            box-sizing: border-box;
        }

            .gallery-grid .gallery-item img {
                display: block;
                width: 100%;
                height: 100%;
                min-height: 0;
                object-fit: cover;
                transition: transform .5s ease;
            }

            .gallery-grid .gallery-item:hover img {
                transform: scale(1.05);
            }

.gallery-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 70px 22px 22px;
    color: #fff;
    background: linear-gradient( to top, rgba(0,0,0,.85), rgba(0,0,0,0) );
    box-sizing: border-box;
}

    .gallery-overlay span {
        display: block;
        margin-bottom: 6px;
        color: #d5ae55;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 2px;
    }

    .gallery-overlay h3 {
        margin: 0 0 5px;
        color: #fff;
        font-size: 20px;
        font-weight: 600;
    }

    .gallery-overlay p {
        margin: 0;
        color: rgba(255,255,255,.85);
        font-size: 13px;
    }

/* =========================================================
   GALLERY - FIX IMAGE OVERLAPPING
========================================================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    align-items: stretch;
}


/* Every gallery card gets the same height */

.gallery-item,
.gallery-item.large,
.gallery-item.tall,
.gallery-item.wide {
    grid-column: auto !important;
    grid-row: auto !important;
    position: relative;
    width: 100%;
    height: 330px;
    min-height: 330px;
    overflow: hidden;
    border-radius: 18px;
    background: #f3f3f3;
    box-sizing: border-box;
}


    /* Image */

    .gallery-item img {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 0;
        object-fit: cover;
        transition: transform 0.5s ease;
    }


    /* Image hover */

    .gallery-item:hover img {
        transform: scale(1.05);
    }


/* Overlay */

.gallery-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 70px 22px 22px;
    color: #fff;
    background: linear-gradient( to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0) );
    box-sizing: border-box;
}


    /* Location */

    .gallery-overlay span {
        display: block;
        margin-bottom: 6px;
        color: #d5ae55;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 2px;
    }


    /* Project */

    .gallery-overlay h3 {
        margin: 0 0 5px;
        color: #fff;
        font-size: 20px;
        font-weight: 600;
    }


    /* Category */

    .gallery-overlay p {
        margin: 0;
        color: rgba(255,255,255,0.85);
        font-size: 13px;
    }


/* Hidden */


.gallery-item.gallery-hidden {
    display: none !important;
}


/* Filter animation */

.gallery-item.gallery-show {
    animation: galleryFadeIn .35s ease;
}

@keyframes galleryFadeIn {

    from {
        opacity: 0;
        transform: scale(.97);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}



/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 300px;
        gap: 18px;
    }

        .gallery-grid .gallery-item,
        .gallery-grid .gallery-item.large,
        .gallery-grid .gallery-item.tall,
        .gallery-grid .gallery-item.wide {
            grid-column: span 1 !important;
            grid-row: span 1 !important;
            height: 300px;
            min-height: 300px;
        }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .gallery-section {
        padding: 70px 0;
    }

    .gallery-filter {
        gap: 10px;
        margin-bottom: 30px;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        scrollbar-width: none;
    }

        .gallery-filter::-webkit-scrollbar {
            display: none;
        }

        .gallery-filter button {
            min-width: auto;
            padding: 10px 18px;
            white-space: nowrap;
            flex-shrink: 0;
            font-size: 13px;
        }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 270px;
        gap: 16px;
    }

        .gallery-grid .gallery-item,
        .gallery-grid .gallery-item.large,
        .gallery-grid .gallery-item.tall,
        .gallery-grid .gallery-item.wide {
            grid-column: span 1 !important;
            grid-row: span 1 !important;
            height: 270px;
            min-height: 270px;
            border-radius: 14px;
        }

    .gallery-overlay {
        padding: 60px 18px 18px;
    }

        .gallery-overlay h3 {
            font-size: 18px;
        }
}