﻿:root {
    --primary: #8B1E1E; /* Varaha Red */
    --dark: #2C2C2C; /* Infra Black */
    --accent: #D9A441; /* Gold */
    --light: #F5F5F5;
    --text: #333;
}

/* ================= BASE ================= */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    color: var(--text);
    padding-top: 80px; /* fixed navbar space */
    overflow-x:hidden;
}

/* ================= NAVBAR ================= */
.navbar {
background:rgba(255,255,255,1);
    border-bottom: solid 1px #ccc;
}

.navbar-brand {
    font-weight: 700;
}

.logo-img {
    max-height: 55px;
    width: auto;
    display: block;
}

/* ================= HERO SLIDER ================= */
.carousel-item {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

/* DEFAULT (DESKTOP) */
.hero-text {
    position: absolute;
    top: 50%;
    left: 25%;
    transform: translateY(-50%);
    color: #fff;
    max-width: 600px;
    text-align: left;
}

    .hero-text h1 {
        font-size: 3.2rem;
        font-weight: 700;
    }

    .hero-text h2 {
        font-size: 2.5rem;
        font-weight: 600;
    }

/* ================= MOBILE FIX ================= */
/* ===== HERO TEXT CENTER ONLY FOR MOBILE ===== */
@media (max-width: 768px) {

    .hero-text {
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        text-align: center !important;
        max-width: 90%;
        padding: 0 15px;
    }

        .hero-text h1 {
            font-size: 2rem;
            line-height: 1.3;
        }

        .hero-text h2 {
            font-size: 1.4rem;
        }
}


/* ================= SECTIONS ================= */
.section {
    padding: 90px 0;
}

.bg-light {
    background: var(--light) !important;
}

/* ================= SERVICES ================= */

.service-card {
    background: #fff;
    padding: 40px 35px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: 0.3s;
    transition: transform .3s ease;
    height: 100%;
}

    .service-card i {
        font-size: 42px;
        color: var(--primary);
        margin-bottom: 15px;
    }

    .service-card:hover {
        transform: translateY(-10px);
    }

/* ================= STATS ================= */
.stats {
    background: var(--primary);
    color: #fff;
}

.stat-box {
    padding: 20px 10px;
}

    .stat-box i {
        font-size: 40px;
        color: var(--accent);
        margin-bottom: 10px;
    }

/* ================= PROJECTS ================= */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

    .project-card img {
        width: 100%;
        transition: transform .4s ease;
    }

    .project-card:hover img {
        transform: scale(1.1);
    }

.project-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(139,30,30,0.85);
    color: #fff;
    padding: 15px;
}

/* ================= WHY CHOOSE ================= */
.section i.fa {
    margin-bottom: 10px;
}

/* ================= CTA ================= */
.cta {
    background: linear-gradient(90deg, var(--primary), var(--dark));
    color: #fff;
}

/* ================= CONTACT ================= */
#contact {
    background: var(--dark);
    color: #fff;
}

/* ================= FOOTER ================= */
footer {
    background: var(--dark);
    color: #aaa;
    text-align: center;
    padding: 15px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .hero-text h1 {
        font-size: 2.1rem;
    }

    .hero-text h2 {
        font-size: 1.7rem;
    }

    .section {
        padding: 60px 0;
    }
}
/* ICON ABOVE TEXT - SEO SAFE */
.nav-icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 1.2rem;
}
    .nav-icon-link span{
        padding:0px 15px;
        font-weight:bold;

    }
    .nav-icon-link:hover {
        color: #fb0005;
    }
    .nav-icon-link i {
        font-size: 1.3rem;
        line-height: 1;
        color: var(--accent);
    }

/* mobile spacing fix */
@media (max-width: 991px) {
    .nav-icon-link {
        padding: 10px 0;
    }
}
.hero-overlay {
    background: linear-gradient( rgba(0,0,0,0.55), rgba(0,0,0,0.55) );
}

section {
    padding: 60px 0;
}

.why-varaha {
    background: #f7f7f7;
    padding: 70px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #2b2b2b;
}

    .section-title span {
        color: #b8860b; /* Varaha accent */
    }

.why-card {
    background: #fff;
    padding: 40px 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    height: 100%;
}

    .why-card:hover {
        transform: translateY(-8px);
    }

.icon-box {
    width: 70px;
    height: 70px;
    background: #1f7a3f; /* green accent */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.why-card h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 14.5px;
    color: #555;
    line-height: 1.6;
}
