/* ============================================= */
/* Global Body & Spacing for Urgent Bar + Navbar */
body {
    background: #0a192f;
    color: #e2e8f0;
    font-family: 'Roboto', sans-serif;
    line-height: 1.7;
    padding-top: 130px;          /* Urgent bar (~50px) + navbar (~80px) ke liye space */
    margin: 0;
}

/* Urgent / Emergency Bar - Sabse upar fixed + blinking */
.urgent-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;                      /* Navbar se upar */
    background-color: #dc3545;          /* Bootstrap danger red */
    color: white;
    font-weight: bold;
    text-align: center;
    padding: 10px 0;
    font-size: 1.1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
    animation: emergencyPulse 2.8s ease-in-out infinite;
}

.urgent-bar a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

@keyframes emergencyPulse {
    0%, 100% { opacity: 1; background-color: #dc3545; }
    50%      { opacity: 0.65; background-color: #b91c1c; } /* Halka dim + darker red for visible blink */
}

/* Accessibility: Reduced motion users ke liye animation off */
@media (prefers-reduced-motion: reduce) {
    .urgent-bar {
        animation: none !important;
    }
}

/* Navbar - Urgent bar ke neeche, glassmorphism style */
.navbar {
    margin-top: 50px;                   /* Urgent bar ki height adjust */
    background: rgba(10, 25, 47, 0.92) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Safari ke liye */
    transition: all 0.3s ease;
    z-index: 1030;
}

.navbar.scrolled {
    background: rgba(10, 25, 47, 0.98) !important;
    backdrop-filter: blur(12px);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)),
                url('https://www.shutterstock.com/image-photo/cybersecurity-background-navy-blue-modern-600nw-2627410633.jpg') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

/* Sections */
.section-dark {
    background: #001e3c;
    padding: 100px 0;
}

.section-light {
    background: #0f172a;
    padding: 100px 0;
}

/* Cards & Stats */
.stat-card {
    background: #1e3a8a;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.why-card {
    background: #1e293b;
    padding: 35px;
    border-radius: 15px;
    height: 100%;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.why-card:hover {
    transform: translateY(-10px);
    border-color: #3b82f6;
}

.testimonial-card {
    background: #1e293b;
    padding: 40px;
    border-radius: 15px;
    border-left: 6px solid #3b82f6;
    max-width: 900px;
    margin: 0 auto;
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    margin-bottom: 20px;
}

.intro-img {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

/* Contact CTA */
.contact-cta {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    padding: 100px 0;
}

/* Footer */
footer {
    background: #020617;
    padding: 70px 0 30px;
}

/* Nav Button Styling */
.nav-link.btn {
    border-radius: 50px;
    font-weight: 500;
}

/* Mobile Responsive Adjustments */
@media (max-width: 992px) {
    body {
        padding-top: 120px;
    }
    .navbar {
        margin-top: 45px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero .lead {
        font-size: 1.3rem;
    }
    .section-dark, .section-light {
        padding: 80px 0;
    }
    .service-img {
        height: 150px;
    }
    .stat-card, .why-card {
        padding: 30px 20px !important;
        margin-bottom: 20px;
    }
    .testimonial-card {
        padding: 30px 20px;
    }
    .row.g-5 {
        --bs-gutter-x: 1.5rem;
    }
    .urgent-bar {
        font-size: 0.95rem;
        padding: 10px 15px;
        line-height: 1.4;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 105px;
    }
    .navbar {
        margin-top: 38px;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero .lead {
        font-size: 1.1rem;
    }
    .hero .btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
    }
    .urgent-bar {
        font-size: 0.9rem;
        padding: 8px 12px;
        line-height: 1.5;
    }
    .urgent-bar .d-none {
        display: inline !important;     /* Mobile pe full text dikhao */
    }
}

/* Prevent overflow & image issues */
img, .card, .stat-card, .why-card, .testimonial-card {
    max-width: 100%;
    height: auto;
}
