/* ===============================
   GOOGLE FONT IMPORT
================================= */

/* Deka Book available nahi hoti mostly,
   is liye Lato recommended */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');


/* ===============================
   GLOBAL STYLES
================================= */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --primary-red: #FF3B30;
    --dark-navy: #000;
    --slate-gray: #1B263B;
    --soft-gray: #1b1b1b;
    --white: #FFFFFF;
}

html{
    scroll-behavior: smooth;
}

body{
    font-family: 'Lato', sans-serif;
    background: var(--bg-black);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.7;
}

img{
    width: 100%;
    display: block;
}

a{
    text-decoration: none;
}

ul{
    list-style: none;
}

.container{
    width: 90%;
    max-width: 1300px;
    margin: auto;
}

.section-padding{
    padding: 100px 0;
}


/* ===============================
   BUTTONS
================================= */

.btn-primary{
    display: inline-block;
    padding: 15px 32px;
    background: var(--primary-red);
    color: var(--white);
    font-weight: 600;
    border-radius: 8px;
    transition: 0.4s ease;
    border: 2px solid var(--primary-red);
}

.btn-primary:hover{
    background: transparent;
    color: var(--primary-red);
}

.btn-secondary{
    display: inline-block;
    padding: 15px 32px;
    border: 2px solid var(--white);
    color: var(--white);
    border-radius: 8px;
    transition: 0.4s ease;
}

.btn-secondary:hover{
    background: var(--white);
    color: var(--dark-navy);
}


/* ===============================
   HEADER
================================= */

.header{
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    background: #000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-container{
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo h2{
    color: var(--white);
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 2px;
}

.nav-links{
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a{
    color: var(--white);
    font-size: 15px;
    font-weight: 500;
    transition: 0.3s;
    position: relative;
}

.nav-links a:hover{
    color: var(--primary-red);
}

.nav-links a::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: var(--primary-red);
    transition: 0.3s;
}

.nav-links a:hover::after{
    width: 100%;
}


/* ===============================
   HERO SECTION
================================= */

.hero{
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slider{
    width: 100%;
    height: 100%;
}

.slide{
    position: absolute;
    width: 100%;
    height: 100vh;
    opacity: 0;
    visibility: hidden;
    transition: 1s ease;
}

.slide.active{
    opacity: 1;
    visibility: visible;
}

.slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay{
    position: absolute;
    inset: 0;
    background:
    linear-gradient(
        to right,
        rgba(27,38,59,0.92),
        rgba(27,38,59,0.55)
    );
}

.hero-content{
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    max-width: 700px;
    color: var(--white);
    z-index: 5;
}

.hero-tag{
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    margin-bottom: 25px;
    border: 1px solid rgba(255,255,255,0.15);
}

.hero-content h1{
    font-size: 72px;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 900;
}

.hero-content p{
    font-size: 18px;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.85);
}

.hero-buttons{
    display: flex;
    gap: 20px;
}


/* ===============================
   SECTION HEADINGS
================================= */

.section-header{
    text-align: center;
    margin-bottom: 70px;
}

.section-subtitle{
    color: var(--primary-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title{
    font-size: 52px;
    margin-top: 15px;
    font-weight: 800;
    color: var(--dark-navy);
}


/* ===============================
   ABOUT SECTION
================================= */

.about{
    background: var(--white);
}

.about-grid{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    gap: 70px;
}

.about-image img{
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.about-content p{
    margin-top: 25px;
    color: var(--slate-gray);
    font-size: 17px;
}

.about-features{
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 25px;
}

.feature-card{
    padding: 30px;
    border-radius: 18px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 35px rgba(0,0,0,0.06);
    transition: 0.4s;
    color: #000;
}

.feature-card:hover{
    transform: translateY(-8px);
}

.feature-card i{
    font-size: 34px;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.feature-card h4{
    font-size: 20px;
}


/* ===============================
   SERVICES
================================= */

.services{
    background: #f8f9fb;
}

.services-grid{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.service-card{
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.05);
    transition: 0.4s;
    position: relative;
    overflow: hidden;
    color: #000;
}

.service-card:hover{
    transform: translateY(-10px);
}

.service-card::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-red);
}

.service-card i{
    font-size: 45px;
    color: var(--primary-red);
    margin-bottom: 25px;
}

.service-card h3{
    font-size: 24px;
    margin-bottom: 18px;
}

.service-card p{
    color: var(--slate-gray);
    margin-bottom: 20px;
}

.service-card a{
    color: var(--primary-red);
    font-weight: 700;
}


/* ===============================
   STATS
================================= */

.stats{
    background: var(--dark-navy);
    padding: 80px 0;
}

.stats-grid{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
}

.stat-box{
    text-align: center;
    color: var(--white);
}

.stat-box h2{
    font-size: 60px;
    color: var(--primary-red);
    margin-bottom: 10px;
}

.stat-box p{
    font-size: 18px;
}


/* ===============================
   PROJECTS
================================= */

.projects-grid{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.project-card{
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
    transition: 0.4s;
    color: #000;
}

.project-card:hover{
    transform: translateY(-10px);
}

.project-card img{
    height: 280px;
    object-fit: cover;
}

.project-content{
    padding: 30px;
}

.project-content h3{
    font-size: 24px;
    margin-bottom: 15px;
}

.project-content p{
    color: var(--slate-gray);
}


/* ===============================
   WHY CHOOSE US
================================= */

.why-us{
    background: #f8f9fb;
}

.why-grid{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 70px;
    align-items: center;
}

.why-content ul{
    margin-top: 35px;
}

.why-content ul li{
    margin-bottom: 18px;
    padding-left: 35px;
    position: relative;
    font-size: 18px;
    color: var(--slate-gray);
}

.why-content ul li::before{
    content: '\f00c';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-red);
}

.why-image img{
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
}


/* ===============================
   CTA SECTION
================================= */

.cta{
    background: var(--dark-navy);
    padding: 100px 0;
}

.cta-box{
    text-align: center;
    color: var(--white);
}

.cta-box h2{
    font-size: 58px;
    margin-bottom: 25px;
    font-weight: 800;
}

.cta-box p{
    max-width: 800px;
    margin: auto;
    margin-bottom: 35px;
    color: rgba(255,255,255,0.8);
    font-size: 18px;
}


/* ===============================
   FOOTER
================================= */

.footer{
    background: #111827;
    color: var(--white);
    padding-top: 90px;
}

.footer-grid{
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-about p{
    margin-top: 25px;
    color: rgba(255,255,255,0.75);
}

.footer-links h4,
.footer-contact h4{
    margin-bottom: 25px;
    font-size: 22px;
}

.footer-links ul li{
    margin-bottom: 15px;
}

.footer-links a{
    color: rgba(255,255,255,0.75);
    transition: 0.3s;
}

.footer-links a:hover{
    color: var(--primary-red);
}

.footer-contact p{
    margin-bottom: 15px;
    color: rgba(255,255,255,0.75);
}

.footer-bottom{
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    padding: 25px 0;
}

.footer-bottom p{
    color: rgba(255,255,255,0.65);
}


/* ===============================
   RESPONSIVE
================================= */

@media(max-width: 1100px){

    .services-grid,
    .projects-grid{
        grid-template-columns: repeat(2,1fr);
    }

    .about-grid,
    .why-grid{
        grid-template-columns: 1fr;
    }

    .hero-content h1{
        font-size: 58px;
    }

}

@media(max-width: 768px){

    .nav-links{
        display: none;
    }

    .hero-content{
        left: 5%;
        right: 5%;
    }

    .hero-content h1{
        font-size: 42px;
    }

    .hero-buttons{
        flex-direction: column;
    }

    .services-grid,
    .projects-grid,
    .stats-grid,
    .footer-grid,
    .about-features{
        grid-template-columns: 1fr;
    }

    .section-title{
        font-size: 38px;
    }

    .cta-box h2{
        font-size: 40px;
    }

}

@media(max-width: 500px){

    .hero-content h1{
        font-size: 34px;
    }

    .hero-content p{
        font-size: 16px;
    }

    .btn-primary,
    .btn-secondary{
        width: 100%;
        text-align: center;
    }

}
        /* ─── LOADER ─── */
        #loader {
            position: fixed; inset: 0;
            background: #000;
            z-index: 10000;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 20px;
            transition: opacity 0.6s, transform 0.6s;
        }
        #loader.gone { opacity: 0; pointer-events: none; }
        .loader-logo {
            font-family: 'Inter', sans-serif;
            font-size: 36px;
            color: #ffffff;
            letter-spacing: 0.18em;
            font-weight: 300;
        }
        .loader-logo span { color: #C9A96E; }
        .loader-line {
            width: 0; height: 1px;
            background: linear-gradient(90deg, transparent, #C9A96E, transparent);
            animation: loader-grow 1.4s cubic-bezier(0.25,0.46,0.45,0.94) forwards;
        }
        @keyframes loader-grow { to { width: 240px; } }
        .loader-text {
            font-size: 10px;
            letter-spacing: 0.3em;
            color: #fff;
            text-transform: uppercase;
            opacity: 0;
            animation: loader-fade-in 0.6s 0.8s forwards;
        }
        @keyframes loader-fade-in { to { opacity: 1; } }

        /* =========================================
   PROJECTS PAGE HERO
========================================= */

.page-hero{
    position: relative;
    height: 75vh;
    min-height: 650px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero .overlay{
    position: absolute;
    inset: 0;
    background:
    linear-gradient(
        to right,
        rgba(0,0,0,0.82),
        rgba(0,0,0,0.45)
    );
    z-index: 1;
}

.page-hero-content{
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1300px;
    color: #fff;
}

.page-hero-content span{
    display: inline-block;
    margin-bottom: 20px;
    color: var(--primary-red);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.page-hero-content h1{
    font-size: 68px;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 900;
    max-width: 850px;
}

.page-hero-content p{
    max-width: 650px;
    font-size: 19px;
    color: rgba(255,255,255,0.88);
}

/* =========================================
   PROJECT PAGE SECTION FIX
========================================= */

.projects-page{
    padding: 40px 0 100px;
    background: #f8f9fb;
}

/* =========================================
   PROJECT TAG
========================================= */

.project-tag{
    display: inline-block;
    background: rgba(255,59,48,0.1);
    color: var(--primary-red);
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}

/* =========================================
   PROJECT DETAILS
========================================= */

.project-details{
    margin-top: 22px;
}

.project-details li{
    margin-bottom: 10px;
    color: var(--slate-gray);
    font-size: 15px;
}

.project-details strong{
    color: #000;
}

/* =========================================
   TESTIMONIAL SECTION
========================================= */

.testimonial-section{
    background: #fff;
}

.testimonial-card{
    max-width: 900px;
    margin: auto;
    background: #fff;
    padding: 60px;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    text-align: center;
    color: #000;
}

.testimonial-card i{
    font-size: 48px;
    color: var(--primary-red);
    margin-bottom: 25px;
}

.testimonial-card p{
    font-size: 20px;
    line-height: 1.9;
    color: var(--slate-gray);
    margin-bottom: 35px;
}

.testimonial-user h4{
    font-size: 22px;
    margin-bottom: 5px;
}

.testimonial-user span{
    color: var(--primary-red);
    font-weight: 600;
}

/* =========================================
   INDUSTRIES
========================================= */

.industries{
    background: #f8f9fb;
}

.industries-grid{
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 20px;
}

.industry-box{
    background: #fff;
    padding: 28px 20px;
    border-radius: 16px;
    text-align: center;
    font-weight: 700;
    color: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.industry-box:hover{
    transform: translateY(-6px);
    background: var(--primary-red);
    color: #fff;
}

/* =========================================
   ACTIVE NAV LINK
========================================= */

.active-link{
    color: var(--primary-red) !important;
}

.active-link::after{
    width: 100% !important;
}

/* =========================================
   RESPONSIVE FIXES
========================================= */

@media(max-width: 1100px){

    .page-hero-content h1{
        font-size: 54px;
    }

    .industries-grid{
        grid-template-columns: repeat(3,1fr);
    }
}

@media(max-width: 768px){

    .page-hero{
        height: 85vh;
        min-height: 600px;
    }

    .page-hero-content h1{
        font-size: 42px;
    }

    .page-hero-content p{
        font-size: 16px;
    }

    .testimonial-card{
        padding: 35px;
    }

    .industries-grid{
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width: 500px){

    .page-hero-content h1{
        font-size: 34px;
    }

    .industries-grid{
        grid-template-columns: 1fr;
    }
}

/* ================= CONTACT DETAILS ================= */

.contact-heading {
  text-align: center;
  margin-bottom: 60px;
}

.contact-heading span {
  color: #ff6b00;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-heading h2 {
  font-size: 42px;
  margin: 15px 0;
}

.contact-heading p {
  max-width: 750px;
  margin: auto;
  line-height: 1.8;
  color: #666;
}

.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.contact-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 14px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.06);
  transition: 0.3s ease;
  text-align: center;
}

.contact-card:hover {
  transform: translateY(-8px);
}

.contact-icon {
  width: 75px;
  height: 75px;
  margin: auto;
  border-radius: 50%;
  background: #ff6b00;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.contact-icon i {
  color: #fff;
  font-size: 28px;
}

.contact-card h3 {
  margin-bottom: 18px;
  font-size: 24px;
}

.contact-card p {
  color: #666;
  line-height: 1.9;
  margin-bottom: 8px;
}

.contact-card a {
  color: #666;
  text-decoration: none;
  transition: 0.3s;
}

.contact-card a:hover {
  color: #ff6b00;
}

.footer-about .logo{
    margin-bottom: 10px;
}

.footer-about .logo img{
    display: block;
    width: 130px;
    height: 100px;
}