/* =========================================================
   N S ELECTRICAL WEBSITE - BEGINNER FRIENDLY CSS
   ---------------------------------------------------------
   TIP:
   Change one section at a time and refresh the browser.
   ========================================================= */


/* ==================== 1. BASIC SETTINGS ==================== */


@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


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

}

html {

    scroll-behavior: smooth;
}

body {

    font-family: 'Montserrat', sans-serif;
    color: #0F0141;
    background: #ffffff;
    line-height: 1.6;
}


/* A common width used by most sections */

.container {

    width: min(1200px, 92%);
    margin: auto;
}

.eyebrow {

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

/* ==================== 2. HEADER ==================== */

.header {

    position: sticky;
    top: 0;
    z-index: 20;

    /* background: #f3914a; */
    /* background: #D5CB8D; */
    background-color: white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;


    border-bottom: 1px solid #e9edf3;
}

main {

    position: relative;
    z-index: 2;
    background: #fff;
}

/* =========================================================
   HOME INTRO + STICKY NAVBAR
   Intro is the first full-screen layer. The navbar begins after
   the intro and sticks to the top when it reaches it.
   ========================================================= */


.home-page .intro-screen {

    position: fixed;
    inset: 0;
    z-index: 0;
}


.home-page .home-navbar {

    position: sticky;
    top: 0;
    z-index: 10000;
    margin-top: 100vh;
    margin-top: 100dvh;
}

.home-page main,
.home-page footer {
    position: relative;
    z-index: 2;
}

.nav {

    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* Website logo/name */

.brand {

    display: flex;
    align-items: center;
    gap: 10px;

    color: #10233f;
    text-decoration: none;
}

.logo-img {

    width: 95px;
    height: 95px;
    /* background-color: white; */

    object-fit: contain;
    border-radius: 8px;
}

.brand strong,
.brand small {

    display: block;
}

.brand strong {

    font-size: 20px;
    text-transform: uppercase;
}
.brand small {

    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #718096;
}


/* ==================== 3. NAVIGATION ==================== */

.nav-links {

    display: flex;
    align-items: center;
    gap: 50px;
}

.nav-links a {

    position: relative;
    color: #31435c;
    text-decoration: none;
    letter-spacing: 1.5px;

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

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

.nav-links a:hover {

    color: #F97F51;
    transform: translateY(-2px);
}

.nav-links a::after {

    content: "";
    position: absolute;

    left: 50%;
    bottom: -6px;

    width: 0;
    height: 2px;

    background: #F97F51;

    transform: translateX(-50%);
    transition: width 0.3s ease;
}


.nav-links a:hover::after {

    width: 100%;
     color: #F97F51;
}

.brochure-btn {

    background: #dbb26b;
    color: white !important;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.25s ease;
}

.brochure-btn:hover {

    background: #e2a43a;
    transform: translateY(-2px);
}


/* Get a Quote button */

.nav-cta {

    background: #0b1f3a;
    color: white !important;

    padding: 11px 17px;
    border-radius: 8px;
}


/* Mobile menu button */

.menu {

    display: none;
    border: none;
    background: none;

    font-size: 25px;
    cursor: pointer;
}

/* Services Dropdown */

.nav-services {

    position: relative;
}

.services-dropdown {

    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);

    width: 380px;

    display: flex;
    flex-direction: column;

    padding: 15px;

    background: #ffffff;

    border-radius: 16px;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);

    opacity: 0;
    visibility: hidden;

    transition: 0.25s ease;

    z-index: 9999;
}



/* Mouse Services-এর উপর নিলে dropdown খুলবে */

.nav-services:hover .services-dropdown {

    opacity: 1;
    visibility: visible;

    transform: translateX(-50%) translateY(0);
}



/* প্রতিটা Service */

.services-dropdown a {

    display: block;

    padding: 18px 15px;

    color: #10233f;

    text-decoration: none;

    font-size: 15px;
    font-weight: 600;

    border-bottom: 1px solid #e8edf2;

    transition: 0.2s ease;
}

.services-dropdown a:last-child {

    border-bottom: none;
}

.services-dropdown a:hover {

    background: #f3f6f9;

    border-radius: 10px;

    padding-left: 20px;
}


/* ==================== 4. HERO SECTION ==================== */

/* =====================================================
   HERO SECTION
===================================================== */

.hero {

    width: 100%;

    padding: 55px 0 80px;

    background: #ffffff;

    overflow: hidden;
}



/* =====================================================
   HERO CONTAINER
===================================================== */


.hero-container {

    width: 90%;

    max-width: 1250px;

    margin: 0 auto;

}



/* =====================================================
   HEADING
===================================================== */

.hero-heading {

    width: 100%;

    margin-bottom: 45px;

    text-align: center;

    animation:
        heroHeadingIn
        0.9s
        ease
        both;
}


.hero-heading h1 {

    margin: 0;

    color: #10233f;

    font-size: clamp(
        42px,
        6vw,
        72px
    );

    font-weight: 700;

    line-height: 0.95;

    letter-spacing: -2px;

}



/* Individual heading animation */

.hero-heading h1:nth-child(1) {

    animation:
        headingLineIn
        0.8s
        ease
        0.1s
        both;

}


.hero-heading h1:nth-child(2) {

    animation:
        headingLineIn
        0.8s
        ease
        0.2s
        both;

}


.hero-heading h1:nth-child(3) {

    animation:
        headingLineIn
        0.8s
        ease
        0.3s
        both;

}



/* =====================================================
   PHOTO AREA
===================================================== */

.hero-photo-wrapper {

    position: relative;

    width: 100%;

    height: 450px;

    display: flex;

    align-items: stretch;

    animation:
        photoSectionIn
        1s
        ease
        0.35s
        both;

}



/* =====================================================
   50+ BOX
   PHOTO-এর বাঁ পাশে থাকবে
===================================================== */

.hero-stat {

    position: absolute;
    left: -45px;
    bottom: 0;
    height: 120px;

    width: 145px;

    min-width: 145px;

    flex-shrink: 0;

    padding: 20px;

    background: #dbb26b;
    border: 2px solid rgb(248, 215, 26);

    border-radius:
        5px 0 0 5px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    box-shadow:
        0 8px 25px
        rgba(43, 68, 105, 0.1);

    z-index: 5;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;

}


/* 50+ BOX HOVER */

.hero-photo-wrapper:hover
.hero-stat {

    transform:
        translateX(-4px);

    box-shadow:  0 12px 30px
        rgba(
            16,
            35,
            63,
            0.16
        );

}



/* =====================================================
   50+ NUMBER
===================================================== */

.hero-stat strong {

    display: block;

    font-size: 30px;

    line-height: 1;

    color: #d58b42;

    transition:
        transform 0.3s ease,
        color 0.3s ease;

}


.hero-photo-wrapper:hover
.hero-stat strong {

    transform:
        scale(1.08);

    color: #c4772e;

}



/* =====================================================
   PROJECT TEXT
===================================================== */

.hero-stat span {

    display: block;
    margin-top: 7px;
    font-size: 14px;
    font-weight: 600;
    color: #10233f;

}



/* =====================================================
   NATIONWIDE TEXT
===================================================== */

.hero-stat small {

    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: #777;

}



/* =====================================================
   PHOTO
===================================================== */

.hero-photo {

    position: absolute;
    left: 100px;
    flex: 1;
    height: 100%;
    width: 1050px;
    overflow: hidden;
    border-radius:
        22px 22px 22px 0;

}



/* =====================================================
   PHOTO IMAGE
===================================================== */

.hero-photo img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transform:
        scale(1);

    transition:
        transform 0.8s ease,
        filter 0.6s ease;

}



/* PHOTO HOVER */

.hero-photo-wrapper:hover
.hero-photo img {

    transform:
        scale(1.035);

}


/* =====================================================
   RIGHT SIDE BLUE OVERLAY
===================================================== */

.photo-blue-overlay {

    position: absolute;
    top: 0;
    right: 0;
    width: 28%;
    height: 100%;
    background:
        linear-gradient(
            135deg,
            rgba(
                100,
                180,
                220,
                0.18
            ),
            rgba(
                70,
                160,
                210,
                0.30
            )
        );

    opacity: 0.8;

    z-index: 2;

    pointer-events: none;

    transition:
        width 0.6s ease,
        opacity 0.6s ease;

}


/* BLUE OVERLAY HOVER */

.hero-photo-wrapper:hover
.photo-blue-overlay {

    width: 31%;

    opacity: 1;

}


/* =====================================================
   HEADING ANIMATION
===================================================== */

@keyframes heroHeadingIn {

    from {

        opacity: 0;

    }

    to {

        opacity: 1;

    }

}



@keyframes headingLineIn {

    from {

        opacity: 0;

        transform:
            translateY(30px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}




/* =====================================================
   PHOTO ANIMATION
===================================================== */

@keyframes photoSectionIn {

    from {

        opacity: 0;

        transform:
            translateY(45px)
            scale(0.98);

    }

    to {

        opacity: 1;

        transform:
            translateY(0)
            scale(1);

    }

}




/* =====================================================
   TABLET
===================================================== */

@media (max-width: 992px) {

    .hero {

        padding:
            45px
            0
            65px;

    }


    .hero-container {

        width: 92%;

    }


    .hero-heading {

        margin-bottom: 35px;

    }


    .hero-heading h1 {

        font-size:
            clamp(
                40px,
                7vw,
                60px
            );

    }


    .hero-photo-wrapper {

        height: 400px;

    }


    .hero-stat {

        width: 125px;
        min-width: 125px;

    }


    .photo-blue-overlay {

        width: 30%;

    }

}




/* =====================================================
   SMALL TABLET
===================================================== */

@media (max-width: 768px) {

    .hero {

        padding:
            40px
            0
            55px;

    }


    .hero-container {

        width: 92%;

    }


    .hero-heading {

        margin-bottom: 30px;

    }


    .hero-heading h1 {

        font-size:
            clamp(
                36px,
                8vw,
                52px
            );

        line-height: 0.98;

        letter-spacing: -1px;

    }


    .hero-photo-wrapper {

        height: 350px;

    }


    .hero-stat {

        width: 110px;
        min-width: 110px;
        padding: 12px;
        border-radius:
            15px;
          

    }


    .hero-stat strong {

        font-size: 25px;

    }


    .hero-stat span {

        font-size: 13px;

    }


    .hero-stat small {

        font-size: 10px;

    }


    .photo-blue-overlay {

        width: 32%;

    }

}



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

@media (max-width: 480px) {

    .hero {

        padding:
            30px
            0
            45px;

    }


    .hero-container {

        width: 94%;

    }


    .hero-heading {

        margin-bottom: 25px;

    }


    .hero-heading h1 {

        font-size: 34px;
        line-height: 1;
        letter-spacing: -0.5px;

    }


    .hero-photo-wrapper {

        height: 270px;

    }


    .hero-stat {

        width: 92px;
        min-width: 92px;
        padding: 8px;
        border-radius:
            13px
            0
            0
            13px;

    }


    .hero-stat strong {

        font-size: 21px;

    }


    .hero-stat span {

        font-size: 10px;
        margin-top: 5px;

    }


    .hero-stat small {

        font-size: 8px;
        margin-top: 3px;

    }


    .photo-blue-overlay {

        width: 34%;
        background:
            linear-gradient(
                135deg,
                rgba(
                    100,
                    180,
                    220,
                    0.16
                ),
                rgba(
                    70,
                    160,
                    210,
                    0.28
                )
            );

    }

}




/* =====================================================
   VERY SMALL MOBILE
===================================================== */

@media (max-width: 360px) {

    .hero-heading h1 {

        font-size: 30px;

    }


    .hero-photo-wrapper {

        height: 235px;

    }


    .hero-stat {

        width: 82px;

        min-width: 82px;

        padding: 7px;

    }


    .hero-stat strong {

        font-size: 19px;

    }


    .hero-stat span {

        font-size: 9px;

    }


    .hero-stat small {

        font-size: 7px;

    }


    .photo-blue-overlay {

        width: 32%;

    }

}



/* ==================== 5. BUTTONS ==================== */

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 21px;
    border: none;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.hero a {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero a:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Main button */

.primary {
    background: #0b1f3a;
    color: white;
}
 

/* Secondary button */

.ghost {
    background: white;
    color: #0b1f3a;
    border: 1px solid #cbd5e1;
}


/* White button */

.light {
    background: white;
    color: #0b1f3a;
}



/* ==================== 6. HERO TRUST TEXT ==================== */

/* .trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;

    margin-top: 30px;

    font-size: 12px;
    color: #617086;
} */


/* ==================== 7. HERO IMAGE ==================== */

/* .hero-card {
    min-height: 390px;

    position: relative;
    overflow: hidden;

    border-radius: 22px;

    background: #0b1f3a;
    color: white;
}

.hero-card > img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* Dark layer over image */

/* .photo-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        0deg,
        #0b1f3add,
        #0b1f3a25,
        #0b1f3a10
    );
}


/* Text on image */

/* .hero-card-content {
    position: absolute;

    left: 38px;
    right: 38px;
    bottom: 38px;

    z-index: 2;
} */

/* .hero-card-content p {
    font-size: 10px;
    letter-spacing: 2px;
} */

/* .hero-card-content h3 {
    margin-top: 8px;

    font-size: 28px;
    line-height: 1.2;
} */ 

 



/* ==================== 8. STATS ==================== */

/* .stats {
    background: #0b1f3a;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
  
    
}

.stats-grid div {
    padding: 24px;
    border-right: 1px solid #ffffff18;
}

.stats-grid div:last-child {
    border-right: none;
}

.stats-grid strong {
    display: block;
    font-size: 22px;
}

.stats-grid span {
    font-size: 11px;
    opacity: 0.65;
} */


/* ==================== 13. CLIENT LOGOS ==================== */


.section-clients {
    margin-bottom: 25px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.clients-head{
    text-align: center;
}


.clients-divider {
width: 90%;
height: 1px;
background-color: #d8d8d8;
margin: 18px auto 28px;
}


.client-grid {
    display: grid;

    grid-template-columns: repeat(6, 1fr);

    gap: 16px;
    margin-top: 15px;
}

.client-logo {
    height: 80px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.client1{
    background-image: url("images/client/aditya-birla-sabyasachi.png");
    background-size: 115%;
}

.client2{
    background-image: url("images//client/indorama.png");
    background-size: 105%;
    background-position: center;
}

.client3{
    background-image: url("images//client/bisleri.png");
    /* background-size: 105%; */
    background-position: center;
}

.client4{
    background-image: url("images//client/balaji-agro.png");
    background-size: 70%;
    background-position: center;
}

.client5{
    background-image: url("images//client/suguna.png");
    background-size: 55%;
    background-position: center;
}

.client6{
    background-image: url("images//client/Greenpack.jpg");
    background-size: 70%;
    background-position: center;
}


.client-grid img {
    width: 100%;
    height: 100px;

    padding: 15px;

    object-fit: contain;

    /* border: 1px solid #e8edf3;
    border-radius: 10px;

    background: white; */
}

.client-grid img:nth-child(1) {
    transform: scale(2);

}

.client-grid img:nth-child(2) {
    transform: scale(2);
}

    
/* ==================== 9. COMMON SECTION ==================== */


/* ==================== 11. SERVICES ==================== */

.dark {
    /* background-image: url(images/index-service.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    */
    /* background: #0b1f3a; */
    background:
        linear-gradient(
            90deg,
            rgba(65, 95, 134, 0.80),
            rgba(36, 160, 177, 0.20)
        ),
        url("images/index-service.jpg");
        background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    color: white;
}

.dark .sol {
    color: BLACK;
    text-align: center; 
    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 12px;

    text-transform: uppercase; 
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-top: 20px;

    /* margin-bottom: 35px; */

}

.section-head > p {
    max-width: 390px;
    font-size: 16px;
    color: #fcfdfd;
    
    
}

.header-3 {
    width: 100%;
    margin-top: 20px;
}

.ser-head {
 color: #0F0141;   
 text-align: center;
}


/* Service cards */

.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin: 20px 50px 10px 50px;
}

.card {
    min-height: 200px;
    padding: 28px;
    margin-bottom: 40px;
    border: 1px solid white;
    border-radius: 14px;
    background: rgb(39, 39, 58);
    transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

/* .card img {
    height: 300px;
    width: 100%;
    object-fit: cover;
    border-radius: 50px 10px 50px 10px;
} */

.card:hover {
    transform: translateY(-8px);
    /* background: #ffffff10; */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.card span {
    font-size: 11px;
    color: #91a8c0;
    /* background: #dBB26B;
    color: #31435C;
    border-radius: 50%; */
}

.card h3 {
    margin: 30px 0 8px;
    font-size: 18px;
}

.card p {
    font-size: 12px;
    color: #9aabc0;
}

.explore-services-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
    left: 0;
}

.explore-services-btn {
    display: inline-block;
    padding: 12px 15px;
    justify-content: center;
    text-align: center;
    background: transparent;
    border: 1px solid white;
    color: white;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    margin: auto;
}
.explore-services-btn:hover {
    background: white;
    color: #000;
}



/* ==================== 15. QUOTE SECTION ==================== */

.quote-section {
    background: #f4f7fa;
    margin-top: 20px;
}

.quote-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    margin-top: 20px;

}


/* Contact information */

.contact-mini {
    margin-top: 28px;
}

.contact-mini > div {
    display: flex;
    gap: 13px;
    margin: 16px 0;
}

.contact-mini span {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #dBB26B;
    color: #31435C;
}

.contact-mini b,
.contact-mini small {
    display: block;
}

.contact-mini small {
    font-size: 10px;
    color: #748298;
}



/* ==================== 16. FORM ==================== */

.form {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;

    padding: 28px;

    border-radius: 16px;

    background: white;

    box-shadow: 0 15px 45px #13253d12;
}

.form input,
.form select,
.form textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #dce3eb;
    border-radius: 8px;
    font: inherit;
    font-size: 13px;
}

.form textarea,
.form button,
.form-note {
    grid-column: 1 / -1;
}

.form button {
    width: 100%;
}

.form-note {
    font-size: 10px;
    color: #8995a5;
}



/* ==================== 17. CTA ==================== */

.cta {
    margin-top: 20px;
    padding: 55px 0;

    background: #dfe8f1;
}


.logo-img2 {
    width: 95px;
    height: 95px;
    /* background-color: white; */

    object-fit: contain;
    border-radius: 8px;
}


.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}

.cta h2 {
    font-size: 34px;
}

.btn-light {
    background: transparent;
    border: 1PX solid white;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.25s ease;
    display: inline-block;
    cursor: pointer;
    gap: 25PX;
}

.btn-light:hover {
    background: white;
    color: #000;
    transform: translateY(-2px);
    font-size: 0;
}

.btn-light:hover::after {
    content: "→";
    font-size: 14px;
    color: #551a8b;
}


.cta-button {

    display: inline-block;

    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 600;

    background: #D5CB8D;
    border: 1PX solid white;

    color: #0b1f3a;

    text-decoration: none;

    font-size: 13px;

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

}


.cta-button:hover {
     background: white;
    color: #000;
    transform: translateY(-4px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.20);

}



/* ==================== 18. FOOTER ==================== */

footer {
    /* background: #08172a; */
   background-color: #CBBD93;
    color: #0F0141;
    position: relative;
    z-index: 10;
   

.footer-grid {
    /* display: grid;

    grid-template-columns: 1fr 1fr 1fr; */
    display: flex;
    flex-direction: row;
    gap: 250px;

    padding: 60px 0;
}

.footer-grid p {
    margin-top: 12px;

    font-size: 12px;
    /* color: #91a0b2; */
     color: #351717;
}
}

.footer-brand {
    color:#0F0141;
}

.footer-grid h4 {
    margin-bottom: 12px;
    font-size: 13px;
}

.footer-grid a:not(.brand) {
    display: block;

    margin: 7px 0;

    font-size: 12px;

    /* color: #91a0b2; */
       color: #351717;
    text-decoration: none;
}


/* Copyright */

.copyright {
    padding: 16px 0;

    background: #061222;
    color: #748399;

    font-size: 10px;
}

.contain { 
    display: flex;
    align-items: center;
    justify-content: center;
}



/* =========================================================
   19. RESPONSIVE DESIGN
   ========================================================= */

/* ---------- TABLET / SMALL LAPTOP ---------- */

@media (max-width: 800px) {

    /* Mobile navigation */

    .nav-links {
        display: none;

        position: absolute;

        left: 4%;
        right: 4%;
        top: 70px;

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

        padding: 18px;

        border: 1px solid #e8edf3;
        border-radius: 12px;

        background: white;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-cta {
        text-align: center;
    }

    .menu {
        display: block;
    }


    /* One column layouts */

    .hero-grid,
    .split,
    .quote-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 65px 0;
    }

    .hero-card {
        min-height: 300px;
    }


    /* Stats */

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


    /* Cards */

    .cards,
    .project-grid {
        grid-template-columns: 1fr 1fr;
    }


    .section {
        padding: 70px 0;
    }

    .section-head {
        display: block;
    }

    .section-head > p {
        margin-top: 12px;
    }


    /* Footer */

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

    .cta-inner {
        display: block;
    }

    .cta .btn {
        margin-top: 20px;
    }


    /* Gallery and clients */

    .gallery-grid,
    .client-grid {
        grid-template-columns: 1fr 1fr;
    }
}



/* ---------- MOBILE ---------- */

@media (max-width: 520px) {

    .cards,
    .project-grid,
    .footer-grid,
    .form,
    .gallery-grid,
    .client-grid {
        grid-template-columns: 1fr;
    }

    .form textarea,
    .form button,
    .form-note {
        grid-column: auto;
    }

    .hero h1 {
        font-size: 42px;
    }

    .section h2 {
        font-size: 34px;
    }

    .stats-grid div {
        padding: 18px 12px;
    }

    .trust-row {
        display: block;
    }

    .trust-row span {
        display: block;
        margin: 6px 0;
    }
}



/* ===== FULL SCREEN INTRO ===== */

.intro-screen {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;

    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: 1;


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

    text-align: center;

    padding: 40px 20px;
    box-sizing: border-box;

    background: #d1c992;
}



/* ===== FULL SCREEN INTRO ===== */

/* Background image with low opacity */

.intro-screen::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("images/intro-bg.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0.50;

    z-index: 0;
}



/* Intro content */

.intro-content {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 900px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}




/* Logo - Top Center */

.intro_logo {
    width: 200px;
    height: 200px;

    background-image: url("images/logo.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;

    margin-bottom: 35px;

    flex-shrink: 0;
}



/* Main heading */

.intro-content h1 {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(40px, 7vw, 75px);
    line-height: 1.2;

    background: linear-gradient(
        90deg,
        #10233F 0%,
        #10233F 35%,
        #174EA6 45%,
        #E91E63 50%,
        #FF9800 55%,
        #176B4D 65%,
        #10233F 75%,
        #10233F 100%
    );

    background-size: 250% 100%;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    animation: colourSweep 4s linear infinite,
                letterdrop 0.7s ease-out forwards;
}


@keyframes colourSweep {

    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -150% 0;
    }

}


@keyframes letterdrop {

    0% {
        opacity: 0;
        transform: translateY(-80px);
    }

    60% {
        opacity: 1;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }

}



/* Colourful words */

.colour-one {
    /* color: #174EA6; */
    font-weight: 900;
}


.colour-two {
    /* color: #B13A2E; */
    font-weight: 900;
}


.colour-three {
    /* color: #176B4D; */
    font-weight: 900;
}


/* THEN SCROLL */

/* ===== PREMIUM SCROLL PROMPT ===== */

.scroll-prompt {
    margin-top: 45px;

    display: flex;
    flex-direction: column;
    align-items: center;

    color: #10233F;

    animation: promptFloat 2.5s ease-in-out infinite;
}


.scroll-label {
    font-family: "Poppins", sans-serif;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 6px;

    opacity: 0.65;

    margin-bottom: 3px;
}


.scroll-main {
    font-family: "Poppins", sans-serif;

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

    letter-spacing: 7px;

    background: linear-gradient(
        90deg,
        #174EA6,
        #8A2BE2,
        #E91E63,
        #FF9800,
        #176B4D,
        #174EA6
    );

    background-size: 300% 100%;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    animation: scrollColour 3s linear infinite;
}


.scroll-line {
    width: 55px;
    height: 2px;

    margin-top: 9px;

    background: #10233F;

    opacity: 0.45;

    transform-origin: center;

    animation: linePulse 1.8s ease-in-out infinite;
}


.scroll-arrow {
    margin-top: 8px;

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

    animation: arrowDown 1.3s ease-in-out infinite;
}


/* Colour moves from one side to another */

@keyframes scrollColour {

    0% {
        background-position: 100% 50%;
    }

    100% {
        background-position: -200% 50%;
    }

}


/* Line grows and shrinks */

@keyframes linePulse {

    0%, 100% {
        transform: scaleX(0.5);
        opacity: 0.25;
    }

    50% {
        transform: scaleX(1);
        opacity: 0.7;
    }

}


/* Arrow moves down */

@keyframes arrowDown {

    0%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }

    50% {
        transform: translateY(9px);
        opacity: 1;
    }

}


/* Whole prompt slightly floats */

@keyframes promptFloat {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }

}



/* Mouse */

.mouse-icon {
    width: 45px;
    height: 70px;

    margin: 0 auto;

    border: 3px solid #10233F;

    border-radius: 28px;

    position: relative;
}


.mouse-icon {
    box-shadow:
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 25px rgba(255, 255, 255, 0.6),
        0 0 45px rgba(255, 255, 255, 0.4);

    animation: mouseGlow 2s ease-in-out infinite alternate;
}


@keyframes mouseGlow {

    0% {
        box-shadow:
            0 0 8px rgba(255, 255, 255, 0.5),
            0 0 20px rgba(255, 255, 255, 0.3),
            0 0 35px rgba(255, 255, 255, 0.2);
    }

    100% {
        box-shadow:
            0 0 15px rgba(255, 255, 255, 0.9),
            0 0 35px rgba(255, 255, 255, 0.7),
            0 0 60px rgba(255, 255, 255, 0.5);
    }

}




/* Mouse wheel */

.mouse-wheel {
    position: absolute;

    top: 12px;
    left: 50%;

    width: 7px;
    height: 16px;

    background: #10233F;

    border-radius: 10px;

    transform: translateX(-50%);
}


/* Arrow */

.scroll-arrows {
    margin-top: 8px;

    font-size: 35px;

    color: #10233F;
}


/* Mobile */

@media (max-width: 600px) {

    .intro-screen {
        padding: 25px 15px;
    }

    .intro-content h1 {
        font-size: clamp(32px, 9vw, 45px);
    }

    .intro-scroll-text {
        margin-top: 30px;
        font-size: 13px;
        letter-spacing: 4px;
    }

}



/* =========================================================
   PREMIUM MOTION SYSTEM — SITE WIDE
   ========================================================= */

:root { --motion-ease: cubic-bezier(.22,1,.36,1); }

html { scroll-behavior: smooth; }

/* Every page hero gets the same premium visual language */
.about-hero,
.page-hero,
.projects-hero,
.gallery-hero,
.contact-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 520px;
    display: flex;
    align-items: center;
    padding: 120px 0 90px;
}


.about-hero::after,
.page-hero::after,
.projects-hero::after,
.gallery-hero::after,
.contact-hero::after {
    content: "";
    position: absolute;
    inset: -10%;
    z-index: -1;
    background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.10) 45%, transparent 65%);
    transform: translateX(-120%);
    animation: heroLightSweep 7s ease-in-out infinite;
    pointer-events: none;
}


.about-hero .container,
.page-hero-content,
.projects-hero .container,
.gallery-hero .container,
.contact-hero .container {
    position: relative;
    z-index: 2;
    transform: translateY(24px);
    opacity: 0;
    animation: premiumHeroIn 1s var(--motion-ease) .12s forwards;
}


.about-hero .eyebrow,
.page-hero .eyebrow,
.projects-hero .eyebrow,
.gallery-hero .eyebrow,
.contact-hero .eyebrow {
    animation: heroEyebrowIn .8s var(--motion-ease) .25s both;
}


.about-hero h1,
.page-hero h1,
.projects-hero h1,
.gallery-hero h1,
.contact-hero h1 {
    animation: heroHeadingIn 1s var(--motion-ease) .38s both;
}


.about-hero p:last-child,
.page-hero p:last-child,
.projects-hero p:last-child,
.gallery-hero p:last-child,
.contact-hero p:last-child {
    animation: heroTextIn .9s var(--motion-ease) .58s both;
}


/* Scroll reveal — elements are activated by script when entering viewport */
.motion-reveal {
    opacity: 0;
    transform: translateY(42px) scale(.985);
    transition: opacity .8s var(--motion-ease), transform .8s var(--motion-ease);
    will-change: opacity, transform;
}


.motion-reveal.from-left { transform: translateX(-42px); }
.motion-reveal.from-right { transform: translateX(42px); }
.motion-reveal.zoom { transform: scale(.94); }
.motion-reveal.is-visible {
    opacity: 1;
    transform: none;
}


.motion-delay-1 { transition-delay: .08s; }
.motion-delay-2 { transition-delay: .16s; }
.motion-delay-3 { transition-delay: .24s; }
.motion-delay-4 { transition-delay: .32s; }

/* Premium hover */
.card,
.service-card,
.project-card,
.gallery-item,
.client-card,
.stat-card,
.feature-card,
.info-card,
.approach-card {
    transition: transform .45s var(--motion-ease), box-shadow .45s var(--motion-ease), border-color .45s ease;
}


.card:hover,
.service-card:hover,
.project-card:hover,
.gallery-item:hover,
.client-card:hover,
.stat-card:hover,
.feature-card:hover,
.info-card:hover,
.approach-card:hover {
    transform: translateY(-8px);
}


@keyframes premiumHeroIn { from { opacity:0; transform:translateY(32px); } to { opacity:1; transform:none; } }
@keyframes heroEyebrowIn { from { opacity:0; letter-spacing:.45em; transform:translateY(12px); } to { opacity:1; letter-spacing:.12em; transform:none; } }
@keyframes heroHeadingIn { from { opacity:0; transform:translateY(28px) scale(.98); } to { opacity:1; transform:none; } }
@keyframes heroTextIn { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:none; } }
@keyframes heroLightSweep { 0%,55% { transform:translateX(-120%); } 75%,100% { transform:translateX(120%); } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .motion-reveal { opacity: 1 !important; transform: none !important; }
}



/* =========================================================
   MANAGED CONTENT / ADMIN UPLOAD STYLES
   ========================================================= */
.managed-gallery-caption{
    position:absolute;
    left:12px;
    right:12px;
    bottom:12px;
    padding:9px 12px;
    border-radius:10px;
    background:rgba(7,18,34,.72);
    backdrop-filter:blur(8px);
    color:#fff;
    font-size:.85rem;
    opacity:0;
    transform:translateY(8px);
    transition:.35s ease;
}

.gallery-item{
    position:relative;
    overflow:hidden;
}

.gallery-item:hover .managed-gallery-caption{
    opacity:1;
    transform:none;
}

.admin-content-wrap{
    max-width:1400px;
    margin:25px auto;
    padding:0 2.5%;
}


.cms-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
    margin-bottom:25px;
}

.cms-card{
    background:#fff;
    border-radius:16px;
    padding:22px;
    box-shadow:0 8px 28px rgba(11,31,58,.08);
    border:1px solid #e8edf4;
}

.cms-card h2{
    margin-bottom:8px;
    color:#0b1f3a;
    font-size:20px;
}

.cms-card p{
    color:#64748b;
    font-size:13px;
    line-height:1.6;
    margin-bottom:15px;
}

.cms-card input,
.cms-card textarea,
.cms-card select{
    width:100%;
    padding:11px 12px;
    border:1px solid #d8dee8;
    border-radius:9px;
    margin:5px 0 10px;
    font:inherit;
    outline:none;
}

.cms-card input:focus,
.cms-card textarea:focus,
.cms-card select:focus{
    border-color:#0b1f3a;
    box-shadow:0 0 0 3px rgba(11,31,58,.08);
}

.cms-btn{
    border:0;
    border-radius:9px;
    padding:11px 16px;
    background:#0b1f3a;
    color:#fff;
    font-weight:700;
    cursor:pointer;
    transition:.3s ease;
}

.cms-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 18px rgba(11,31,58,.18);
}

.cms-btn.danger{
    background:#b42318;
}

.cms-status{
    margin-top:10px;
    font-size:13px;
    font-weight:600;
    min-height:18px;
}

.cms-list{
    margin-top:16px;
    display:grid;
    gap:9px;
    max-height:280px;
    overflow:auto;
}

.cms-item{
    display:flex;
    align-items:center;
    gap:10px;
    padding:9px;
    border:1px solid #e8edf4;
    border-radius:10px;
    background:#fafcff;
}

.cms-item img{
    width:54px;
    height:44px;
    object-fit:cover;
    border-radius:7px;
}

.cms-item .grow{
    flex:1;
    min-width:0;
}

.cms-item strong{
    display:block;
    font-size:13px;
    color:#0b1f3a;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.cms-item small{
    color:#64748b;
}


@media(max-width:900px){
    .cms-grid{
        grid-template-columns:1fr;
    }

    .admin-content-wrap{
        padding:0 4%;
    }
}




/* =========================================================
   SHARED FOOTER / MOTION POLISH
   ========================================================= */

html{scroll-behavior:smooth; overflow-x:hidden;}
body{overflow-x:hidden;}

footer{
  position:relative !important;
  z-index:10 !important;
  background:#cbbd93 !important;
  color:#0f0141;
}
.footer-grid{
  display:grid !important;
  grid-template-columns:minmax(220px,1.2fr) minmax(150px,.7fr) minmax(260px,1.3fr) !important;
  gap:clamp(35px,6vw,90px) !important;
  padding:58px 0 !important;
}
.footer-brand{
    display:flex;
    align-items:center;
    gap:10px;
    color:#0f0141 !important;
    text-decoration:none;
}

.footer-brand .logo-img2{
    width:58px;
    height:58px;
    object-fit:contain;
}

.footer-grid h4{
    margin:0 0 14px;
    font-size:14px;
    color:#0f0141;
    letter-spacing:.4px;
}

.footer-grid p,.footer-grid a:not(.brand){
    display:block;
    margin:8px 0;
    font-size:12px;
    line-height:1.65;color:#351717;
    text-decoration:none;
}

.footer-grid a:not(.brand):hover{
    color:#0b1f3a;
}

.footer-company > p{
    max-width:330px;
    margin-top:16px !important;
}

.copyright{
    padding:15px 0 !important;
    background:#061222 !important;
    color:#aab4c3 !important;
    font-size:11px !important;
}

.contain{
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
}


body{
    opacity:1;
    transition:opacity .35s ease;
}

body.page-exit{
    opacity:0;
}

@media (prefers-reduced-motion:reduce){
    body{
        transition:none;
    }
}


.btn,.brochure-btn,.card,.service-card,.project-card,.gallery-item,.info-card,.feature-card{
    transition:transform .45s cubic-bezier(.22,1,.36,1),
    box-shadow .45s cubic-bezier(.22,1,.36,1),
    background-color .3s ease,
    border-color .3s ease;
}

.btn:hover,.card:hover,.service-card:hover,.project-card:hover,.gallery-item:hover,.info-card:hover,.feature-card:hover{
    transform:translateY(-6px);
}



/* FINAL HOME PAGE LAYERING — keep Intro visible first, then sticky navbar */
body.home-page .intro-screen {
    position: fixed !important;
    inset: 0 !important;
    z-index: 0 !important;
}

body.home-page .home-navbar {
    position: sticky !important;
    top: 0 !important;
    margin-top: 100dvh !important;
    z-index: 10000 !important;
}

body.home-page > main,
body.home-page > footer {
    position: relative !important;
    z-index: 2 !important;
    background: #fff;
}
