/* ==========================
   Root Variables
========================== */
:root {
    --primary-blue: #0d6efd;
    --dark-blue: #0a58ca;
    --light-blue: #e7f1ff;

    /* Secondary Accent */
    --accent-pink: #d63384;
    --accent-purple: #6f42c1;

    --soft-gradient: linear-gradient(135deg, #0d6efd, #d63384);
}

/* ==========================
   Base Styles
========================== */
body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: #333;
    line-height: 1.7;
    background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.card-title {
    font-family: 'Poppins', sans-serif;
}

/* ==========================
   Navbar
========================== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

/* Logo sizing */
.navbar-logo {
    height: 48px;
    width: auto;
}

/* Desktop nav spacing */
.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-blue);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background: var(--soft-gradient);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Hover / active state */
.navbar-nav .nav-link:hover {
    color: #6610f2;
}

/* ===============================
   MOBILE NAVBAR IMPROVEMENTS
   =============================== */

@media (max-width: 992px) {

    /* Collapse container */
    .navbar-collapse {
        background: #ffffff;
        margin-top: 0.75rem;
        padding: 1.75rem 1.5rem;
        border-radius: 18px;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
        animation: slideDown 0.35s ease;
    }

    /* Menu list */
    .navbar-nav {
        gap: 0.75rem;
    }

    .navbar-nav .nav-link:hover {
        transform: translateX(4px);
    }

    /* Menu links */
    .navbar-nav .nav-link {
        font-size: 1.1rem;
        font-weight: 600;
        color: #0d6efd;
        padding: 0.25rem 0;
        text-align: center;
        position: relative;
        transition: all 0.3s ease;
    }

    /* Accent underline */
    .navbar-collapse::after {
        content: "";
        display: block;
        height: 3px;
        width: 100%;
        margin-top: 1.25rem;
        border-radius: 3px;
    }

    /* Toggler button */
    .navbar-toggler {
        border: none;
        padding: 0.35rem 0.5rem;
        border-radius: 10px;
        background: rgba(13, 110, 253, 0.08);
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    /* Logo scale on mobile */
    .navbar-logo {
        height: 42px;
    }

    .home-hero {
        padding-top: 128px;
    }

    .small-text-mobile {
        font-size: 0.7em;
    }

    .hero-logo {
        display: block !important;
        margin-top: 2em;
        margin-bottom: 2em;
        background: ;
    }
}

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================
   Hero Section
========================== */
.home-hero {
    background:
        radial-gradient(circle at top right, rgba(214, 51, 132, 0.12), transparent 40%),
        linear-gradient(135deg, #e7f1ff, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#home h1 {
    font-size: 3.4rem;
    font-weight: 700;
    color: var(--dark-blue);
}

#home p {
    font-size: 1.35rem;
    color: #555;
    max-width: 650px;
    margin: 0 auto;
}


.pan-india {
    color: var(--accent-purple);
}

/* ==========================
   Section Spacing
========================== */
section {
    padding: 80px 0;
}

/* ==========================
   Section Progress Bar
========================== */
.section-progress {
    position: relative;
    width: 100%;
    height: 4px;
    background-color: #e0eafc;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 30px;
}

.section-progress .progress-line {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0d6efd, #d63384);
    transition: width 0.15s linear;
}


/* ==========================
   Why Choose Us
========================== */
#why-choose-us {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
}

.why-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(13, 110, 253, 0.25);
}

.why-icon {
    font-size: 2.8rem;
    margin-bottom: 1.25rem;
}

.why-card h5 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.why-card p {
    color: #555;
}

/* ==========================
   Services Section
========================== */
.service-card {
    background: #ffffff;
    border-radius: 14px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    padding: 10px;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(13, 110, 253, 0.08),
            rgba(214, 51, 132, 0.08));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(13, 110, 253, 0.25);
}

.service-card .card-body {
    padding: 2.5rem;
    position: relative;
}

.service-number {
    font-size: 1rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 1rem;
    display: block;
}

.service-card .card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.service-card .card-text {
    font-size: 0.95rem;
    color: #555;
}

/* ==========================
   Gallery
========================== */
.gallery img {
    border-radius: 10px;
    transition: transform 0.35s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* ==========================
   Contact
========================== */
/* Contact Cards */
.contact-info-card,
.contact-form-card {
    background: #fff;
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Contact Info Items */
.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-item .icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.contact-info-item h6 {
    margin-bottom: 4px;
    font-weight: 600;
}

/* Social Icons */
.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f3f5;
    color: #0d6efd;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: linear-gradient(135deg, #0d6efd, #d63384);
    color: #fff;
    transform: translateY(-3px);
}

/* Form Inputs */
.contact-form-card .form-control,
.contact-form-card .form-select {
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: none;
}

.btn-primary:hover {
    opacity: 0.95;
}

.fbutton {
    background: #FF6B35;
    border: none;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.fbutton:hover {
    background: #FF6B35;
}


/* ==========================
   Footer
========================== */
footer {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    color: #ffffff;
    padding: 20px 0;
}

footer p {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.social-icons a {
    color: #ffffff;
    margin: 0 10px;
    font-size: 20px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    opacity: 1;
    color: var(--accent-pink);
}

/* ==========================
   Scroll To Top Button
========================== */
#scrollTopBtn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    display: none;
    z-index: 999;
}

/* Improve visibility on dark footer */
#boundaryCircle {
    stroke: rgba(255, 255, 255, 0.3);
}

/* Optional subtle background */
#scrollTopBtn::after {
    content: "";
    position: absolute;
    inset: 6px;
    background: white;
    border-radius: 50%;
    z-index: -1;
}

#scrollTopBtn span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-blue);
}

#scrollTopBtn svg {
    transform: rotate(-90deg);
}

#scrollTopBtn circle {
    fill: none;
    stroke-width: 5;
}

#scrollTopBtn circle:first-child {
    stroke: #e0eafc;
}

#progressCircle {
    stroke: url(#scrollGradient);
    stroke-dasharray: 163;
    stroke-dashoffset: 163;
    transition: stroke-dashoffset 0.2s linear;
}

#boundaryCircle {
    stroke: #ffffff;
}

#scrollTopBtn:hover {
    transform: scale(1.1);
}

/* ===============================
   Custom Cursor Effect
================================ */

.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 999999;
    transform: translate(-50%, -50%);
    will-change: transform;
}

/* Inner dot */
.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: #0d6efd;
    border-radius: 50%;
}

/* Outer ring */
.cursor-ring {
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(13, 110, 253, 0.45);
    border-radius: 50%;
}

/* Hover interaction (links & buttons) */
a:hover~.cursor-ring,
button:hover~.cursor-ring {
    width: 48px;
    height: 48px;
    border-color: #d63384;
}

/* Hide cursor on touch devices */
@media (hover: none) {

    .cursor-dot,
    .cursor-ring {
        display: none;
    }
}