/* ================= GOOGLE FONTS ================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800&family=Noto+Sans+Devanagari:wght@400;600;700;800&display=swap');

/* ================= VARIABLES ================= */
:root {
    /* Colors - Corporate Professional Theme */
    --bg-dark: #f8fafc;
    --bg-darker: #f1f5f9;
    --card-bg: #ffffff;

    --primary-color: #1e40af;
    /* Corporate Blue */
    --primary-alt: #1d4ed8;
    --secondary-color: #f59e0b;
    /* Trust Gold/Orange */

    --text-white: #0f172a;
    /* Deep Slate (Main text) */
    --text-gray: #475569;
    /* Sub text */

    /* Gradients */
    --accent-gradient: linear-gradient(135deg, var(--primary-color), #3b82f6);
    --glow-shadow: 0 4px 14px 0 rgba(30, 64, 175, 0.39);

    /* Box Styles */
    --glass-border: rgba(0, 0, 0, 0.08);

    /* Typography */
    --body-font: 'Inter', 'Noto Sans Devanagari', sans-serif;
    --title-font: 'Outfit', 'Noto Sans Devanagari', sans-serif;

    --h1-size: 2.5rem;
    --h2-size: 2rem;
    --h3-size: 1.25rem;
    --normal-size: 1rem;
    --small-size: 0.875rem;

    /* Dimensions & Spacing */
    --section-pad: 4rem 0;
    --m-0-5: 0.5rem;
    --m-1: 1rem;
    --m-1-5: 1.5rem;
    --m-2: 2rem;
    --m-3: 3rem;
}

@media screen and (min-width: 968px) {
    :root {
        --h1-size: 4.5rem;
        --h2-size: 2.5rem;
        --h3-size: 1.5rem;
        --normal-size: 1.125rem;
        --section-pad: 6rem 0;
    }
}

/* ================= BASE ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--title-font);
    font-weight: 700;
    line-height: 1.2;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ================= REUSABLE ================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

.section {
    padding: var(--section-pad);
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: var(--h2-size);
    margin-bottom: var(--m-1);
    text-align: center;
}

.section-subtitle {
    display: block;
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--m-0-5);
    font-size: var(--small-size);
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-box {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

/* Background Effects */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.15;
    animation: breathe 8s infinite alternate ease-in-out;
}

.glow-red {
    background: var(--secondary-color);
}

.glow-yellow {
    background: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 3rem;
    font-weight: 600;
    font-family: var(--title-font);
    transition: all 0.4s ease;
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: var(--glow-shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ================= HEADER & NAV ================= */
.top-bar {
    background: var(--bg-darker);
    padding: 0.5rem 0;
    font-size: var(--small-size);
    color: var(--text-gray);
    border-bottom: 1px solid var(--glass-border);
    display: none;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-info {
    display: flex;
    gap: 1.5rem;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.top-bar-info i {
    color: var(--primary-color);
}

.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transition: 0.4s;
    background: transparent;
}

.header.scroll-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav {
    height: 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    font-family: var(--title-font);
    font-weight: 800;
    font-size: 1.4rem;
    line-height: 1.1;
    position: relative;
}

.logo span:first-child {
    color: var(--text-white);
}

.logo span:last-child {
    font-size: 0.8rem;
    color: var(--text-gray);
    font-weight: 400;
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-gray);
    transition: 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-toggle,
.nav-close {
    display: none;
}

/* ================= HERO SECTION ================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    overflow: hidden;
}

.hero-grid {
    grid-template-columns: 1fr;
    align-items: center;
}

.hero-data {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    color: var(--primary-color);
    font-size: var(--small-size);
    font-weight: 600;
    margin-bottom: var(--m-1-5);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--secondary-color);
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: var(--h1-size);
    margin-bottom: var(--m-1);
}

.hero-desc {
    color: var(--text-gray);
    font-size: 1.125rem;
    max-width: 500px;
    margin-bottom: var(--m-2);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image-wrap {
    position: relative;
}

.hero-img {
    border-radius: 1rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* ================= SERVICES SECTION ================= */
.services {
    position: relative;
    background: transparent;
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-top: var(--m-3);
}

.service-card {
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: 0.4s ease;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    border-bottom-color: var(--primary-color);
    box-shadow: 0 10px 25px -5px rgba(30, 64, 175, 0.1), 0 8px 10px -6px rgba(30, 64, 175, 0.1);
}

.service-content {
    position: relative;
    z-index: 1;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--m-1-5);
    transition: 0.4s ease;
    display: inline-flex;
    padding: 1.2rem;
    border-radius: 50%;
    background: rgba(30, 64, 175, 0.08);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background: var(--primary-color);
    color: #ffffff;
}

.service-title {
    font-size: 1.35rem;
    margin-bottom: var(--m-0-5);
    color: var(--text-white);
    font-weight: 800;
}

.service-desc {
    color: var(--text-gray);
    font-size: var(--small-size);
}

/* ================= WHY CHOOSE US ================= */
.why-section {
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-darker));
}

.why-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-top: var(--m-3);
}

.why-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    transition: 0.3s;
    border: 1px solid transparent;
}

.why-card:hover {
    background: rgba(0, 0, 0, 0.02);
    border-color: var(--glass-border);
    border-radius: 1rem;
}

.why-icon {
    width: 60px;
    height: 60px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.why-card h3 {
    margin-bottom: 0.5rem;
}

.why-card p {
    color: var(--text-gray);
    font-size: var(--small-size);
}

/* ================= STATISTICS ================= */
.stats {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMiIgY3k9IjIiIHI9IjEiIGZpbGw9InJnYmEoMCwwLDAsMC4wNSkiLz48L3N2Zz4=');
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-family: var(--title-font);
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.3));
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-text {
    color: var(--text-gray);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: var(--small-size);
}

/* ================= CONTACT SPLIT ================= */
.contact-container {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: var(--m-2);
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: var(--m-2);
}

.info-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.info-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.1);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.info-data h4 {
    color: var(--text-white);
    margin-bottom: 0.25rem;
}

.info-data p {
    color: var(--text-gray);
}

.contact-form {
    padding: 3rem;
}

.form-title {
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    color: var(--text-white);
    font-family: var(--body-font);
    font-size: 1rem;
    transition: 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.1);
}

.form-input::placeholder {
    color: var(--text-gray);
}

/* ================= FOOTER ================= */
.footer {
    background: var(--bg-darker);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-white);
    transition: 0.3s;
}

.social-link:hover {
    background: var(--accent-gradient);
    transform: translateY(-3px);
    box-shadow: var(--glow-shadow);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-gray);
    font-size: var(--small-size);
}

.owner-name {
    color: var(--primary-color);
    font-weight: 600;
}

/* ================= FLOATING ================= */
.floating-group {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 100;
}

.float-btn {
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: 0.3s;
}

.float-btn:hover {
    transform: scale(1.1) translateY(-5px);
}

.float-wa {
    background: #25D366;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.float-call {
    background: var(--primary-color);
    box-shadow: var(--glow-shadow);
}

/* ================= ANIMATIONS ================= */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

@keyframes breathe {
    0% {
        transform: scale(1);
        opacity: 0.15;
    }

    100% {
        transform: scale(1.3);
        opacity: 0.25;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ================= MEDIA QUERIES ================= */
@media screen and (max-width: 968px) {

    .hero-grid,
    .contact-container,
    .about-grid {
        grid-template-columns: 1fr !important;
    }

    .about-images {
        flex-direction: column;
    }

    .about-images img {
        width: 80% !important;
        transform: translateY(0) !important;
    }

    .hero {
        text-align: center;
        padding-top: 8rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-badge {
        margin: 0 auto var(--m-1-5);
    }
}

@media screen and (min-width: 968px) {
    .top-bar {
        display: block;
    }

    .header {
        top: 35px;
    }

    .header.scroll-header {
        top: 0;
    }

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

@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 6rem 2rem;
        text-align: left;
        transition: 0.4s;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        border-left: 1px solid var(--glass-border);
    }

    .nav-menu.show-menu {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 2rem;
    }

    .nav-toggle,
    .nav-close {
        display: block;
        font-size: 2rem;
        cursor: pointer;
    }

    .nav-close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .why-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}