/* --- CSS VARIABLES & RESET --- */
:root {
    --primary-color: #0F172A; /* Deep Navy/Black */
    --secondary-color: #F59E0B; /* Premium Gold/Amber */
    --text-dark: #1E293B;
    --text-light: #64748B;
    --white: #ffffff;
    --bg-light: #F8FAFC;
    --bg-offset: #E2E8F0;
    --transition: all 0.3s ease;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- UTILITIES --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    font-family: var(--font-heading);
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #d97706;
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-dark {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-dark:hover {
    background-color: #334155;
}

/* --- HEADER & NAVIGATION --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: var(--transition);   
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.96),
        rgba(15, 23, 42, 0.9)
    );
}


.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}


/* PREMIUM LOGO STYLING */
.premium-logo {
    display: flex;
    align-items: center;
    padding: 4px 6px;
}

/* Logo Image */
.premium-logo img {
    height: 72px;              /* balanced premium size */
    width: auto;
    object-fit: contain;

    /* White glow for dark headers */
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.65))
            drop-shadow(0 0 12px rgba(255, 255, 255, 0.35));

    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Subtle hover polish */
.premium-logo:hover img {
    transform: scale(1.03);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9))
            drop-shadow(0 0 18px rgba(255, 255, 255, 0.45));
}



@media (max-width: 768px) {
    .premium-logo img {
        height: 58px;
    }

}




/* ================= HERO SECTION ================= */

.hero {
    min-height: 600px;     /* instead of height */
    padding: 80px 20px;    /* ensures breathing space */
    justify-content: center;
    color: #ffffff;
    max-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-top: 40px;
    /* overflow: hidden; */
    /* background:
    linear-gradient(
    rgba(0,0,0,0.65),
    rgba(0,0,0,0.65)
    ),
    url("/static/images/hero-2.jpg") center/cover no-repeat; */

}


.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.40); /* control darkness */
    z-index: 1;
}
/* Background container */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

/* Slides */
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;      /* FIXED RATIO */
    background-position: center; /* NO DISTORTION */
    background-repeat: no-repeat;
    opacity: 0;
    animation: slideShow calc(var(--slides) * 5s) infinite;
    transition: opacity 1s ease-in-out;
}

/* Animation */
@keyframes slideShow {
    0%   { opacity: 0; }
    8%   { opacity: 1; }
    33%  { opacity: 1; }
    41%  { opacity: 0; }
    100% { opacity: 0; }
}

/* Content */
.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 20px;
    z-index: 2;
    position: relative;
   
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.hero h1 {
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.9);
}

.hero p {
    color: #e5e7eb;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}


/* ================= MOBILE ================= */

@media (max-width: 768px) {
    .hero {
        padding: 60px 20px 60px;
    }

    .hero-content h1 {
        font-size: 2.1rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
}


/* --- SERVICES OVERVIEW --- */
.services-overview {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

/* --- ABOUT US --- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 20px 20px 0 var(--bg-offset);
}

.feature-list {
    margin-top: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 500;
}

.feature-item i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* --- DETAILED SERVICES --- */
.detailed-services {
    background-color: var(--primary-color);
    color: var(--white);
}

.detailed-services .section-title {
    color: var(--white);
}

.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.service-block:last-child {
    margin-bottom: 0;
}

.service-block.reverse {
    direction: rtl; /* Quick hack to swap columns visually */
}
.service-block.reverse .service-content {
    direction: ltr; /* Reset text direction */
}

.service-img img {
    border-radius: 8px;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.service-content h2,
.service-content h3 {
    color: var(--white);
    font-size: 2rem;
}

.service-content p {
    color: #cbd5e1;
}

.service-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.service-list li i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* --- TESTIMONIALS --- */
.testimonials {
    background-color: var(--bg-light);
    text-align: center;
}

.testimonial-slider-container {
    max-width: 800px;
    margin: 50px auto 0;
    position: relative;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    min-width: 100%;
    padding: 40px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stars {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.client-info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.client-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.client-details h4 {
    margin-bottom: 0;
    font-size: 1rem;
}

.client-details span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.slider-controls {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.slider-btn {
    background: var(--white);
    border: 1px solid var(--bg-offset);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}


/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, var(--primary-color));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover img { transform: scale(1.1); }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }

/* FAQ Accordion */
.faq-container { max-width: 800px; margin: 40px auto 0; }
.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.faq-item summary {
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
}
.faq-item summary::after { content: '+'; color: var(--secondary-color); }
.faq-item[open] summary::after { content: '-'; }
.faq-answer { padding-top: 15px; color: var(--text-light); }

/* --- CONTACT --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form-container {
    padding: 50px;
    background: var(--white);
}

.contact-info-container {
    background-color: var(--primary-color);
    padding: 50px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.info-item h4 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-item p {
    color: #cbd5e1;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.map-frame {
    width: 100%;
    height: 200px;
    border: 0;
    border-radius: 5px;
    margin-top: 20px;
    background-color: #334155; /* Placeholder color before load */
}

/* --- ALERTS --- */
.alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

/* --- FOOTER --- */

/* FOOTER LOGO */

@media (max-width: 768px) {
    .footer-logo img {
        height: 46px;
    }

    .footer-logo span {
        font-size: 18px;
    }
}
@media (max-width: 768px) {

    .footer-logo {
        flex-direction: column;   /* 🔥 stack logo + text */
        gap: 8px;
    }

    .footer-logo img {
        height: 48px;
    }

    .footer-logo .brand-text {
        justify-content: center;
        text-align: center;
    }
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: var(--font-heading);
}

/* Logo Image */
.footer-logo img {
    height: 55px;
    width: auto;
    object-fit: contain;
    display: block;


    /* Soft white glow for dark footer */
    filter:
        drop-shadow(0 0 6px rgba(255, 255, 255, 0.6))
        drop-shadow(0 0 12px rgba(255, 255, 255, 0.35));
}

/* Brand Text */
/* .footer-logo span {
    display: flex;          
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
} */


/* Brand Text Wrapper */
.footer-logo .brand-text {
    display: flex;
    align-items: center;   /* ✅ true vertical center */
    gap: 6px;
    line-height: 1;
}

/* Kapoor */
.footer-logo .brand-main {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

/* Advertisement */
.footer-logo .brand-sub {
    font-size: 20px;
    font-weight: 700;      /* keep SAME weight */
    color: var(--secondary-color);
    line-height: 1;
}


/* Highlight word */
.footer-logo span strong {
    margin-left: 4px;
    color: var(--secondary-color); /* or #e63946 */
}

/* Hover polish */
.footer-logo:hover img {
    transform: scale(1.04);
}

.footer-logo:hover span {
    opacity: 0.9;
}

footer {
    background-color: #0B1120;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about p {
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #64748B;
}

/* --- WHATSAPP WIDGET --- */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.3s ease;
}

.whatsapp-widget:hover {
    transform: scale(1.1);
}

/* --- TOAST NOTIFICATION --- */
#toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 16px;
    position: fixed;
    z-index: 1001;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-size: 14px;
}

#toast.show {
    visibility: visible;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.8rem; }
    .about-container { grid-template-columns: 1fr; }
    .service-block { grid-template-columns: 1fr; }
    .service-block.reverse { direction: ltr; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        background-color: var(--primary-color);
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
    }

    .nav-links.active { right: 0; }
    .mobile-toggle { display: block; }
    
    .hero h1 { font-size: 2rem; }
    .hero-buttons { flex-direction: column; }
    .btn { width: 100%; text-align: center; }
    
    .contact-form-container, .contact-info-container { padding: 30px 20px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-links { justify-content: center; }
}