/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Body Background */
body {
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
    background-color: #fff;
    /*background: linear-gradient(-45deg, #8e2de2, #4a00e0, #00c6ff, #0072ff);*/
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    overflow-x: hidden;
}
/* Gradient Animation */
@keyframes gradientBG {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}
/* Navbar */
.blur-navbar {
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}
.blur-navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.8) !important;
  transition: background-color 0.3s ease;
}
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: #fff;
}
.navbar-logo {
    width: 50px;
}
.nav-link {
    color: #eee !important;
    margin: 0 10px;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background: #00c6ff;
    left: 0;
    bottom: 0;
    transition: 0.3s;
}
.nav-link:hover::after {
    width: 100%;
}
/* Signup Button */
.btn-signup {
    background: transparent;
    border: 2px solid #00c6ff;
    color: #00c6ff;
    padding: 8px 16px;
    border-radius: 50px;
    transition: 0.3s;
}
.btn-signup:hover {
    background: #00c6ff;
    color: #fff;
}
.hero-section {
    position: relative;
    min-height: 70vh; /* Changed to min-height to allow content to expand */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 70px; /* Adjust for navbar height */
}

/* Background Image */
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Full height of hero section */
    z-index: 1;
    overflow: hidden;
}

.background-image img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Maintains aspect ratio and covers the area */
    object-position: center top; /* Aligns image to the top */
}

/* Black overlay on top of image */
.black-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2;
}

/* Text content */
.hero-content {
    position: relative;
    z-index: 3;
    color: white;
}
.hero-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}
.typing-container {
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
    padding: 20px;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    white-space: pre-wrap;
    overflow: hidden;
    max-width: 900px;
    margin: auto;
    text-align: center;
}
.about_sec1 {
    padding: 40px 0;
}

.about_sec1 p {
    color: #333;
    text-align: center;
}

.about_sec1 img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.about_sec1 img:hover {
    transform: scale(1.05);
}
/* Counter Section */
.counter-section {
    padding: 80px 0;
    color: #fff;
    background-color: #B3DEEB;
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    position: relative;
    z-index: 1;
}

/* Gradient Animation */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.counter {
    font-size: 3rem;
    font-weight: bold;
    color: #333;
}

.counter p {
    font-size: 1.2rem;
    color: #333;
}
/* Card styling */
.custom-card {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.custom-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

/* Hidden initially for animation */
.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Show when in viewport */
.show {
    opacity: 1;
    transform: translateY(0);
}

/* Heading styling */
.brand {
    height: 100%;
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    background-color: #C0C0C0;
}
.container-fluid .card {
    padding-top: 10px;
}
/* Services */
.services {
    background-color: #C0C0C0;
    border-top: 1px solid rgba(255,255,255,1);
}
.service-box {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(5px);
    transition: 0.5s;
}
.service-box:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.2);
}
/* Footer */
footer {
    background: rgba(0,0,0,0.5);
}
.sudarshan{
    width: 2%;
    height: 1%;
    transition: transform 0.3s ease-in-out; /* Smooth transition for zoom effect */
}

.sudarshan:hover {
    transform: scale(1.5); /* Zoom in by 1.5 times */
}
/* For extra large screens (desktop, wide monitors) */
@media (min-width: 1441px) {
    .container, .container-fluid {
        max-width: 1400px;
    }
    .hero-section {
        padding-top: 70px; /* Adjust for navbar height */
    }
}

/* For large screens (laptops/desktops) between 1025px and 1440px */
@media (min-width: 1025px) and (max-width: 1440px) {
    .hero-section .lead {
        font-size: 1.8rem;
    }
    .hero-section {
        padding-top: 70px;
    }
}

/* For medium screens (tablets) */
@media (max-width: 1024px) {
    .hero-section {
        padding-top: 60px; /* Adjust for smaller navbar */
        height: 70vh;
    }
    .typing-container {
        font-size: 1.3rem;
    }
    .counter {
        font-size: 2.5rem;
    }
    .counter p {
        font-size: 1rem;
    }
}

/* For small screens (phones) */
@media (max-width: 768px) {
    .hero-content h3 {
        font-size: 1.3rem;
    }
    .typing-container {
        font-size: 1.1rem;
    }
    .hero-section {
        padding-top: 60px !important;
        height: 70vh !important;
    }
    .background-image {
        width: 100% !important;
        height: 70vh !important;
    }
    .about-img {
        width: 100%;
        height: auto;
    }
    .about_sec1 {
        margin-top: 0; /* Remove negative margin */
    }
    .custom-card {
        height: auto;
    }
    .container button {
        transform: translateX(0);
        opacity: 1;
    }
}
@media (max-width: 600px) {

    .hero-content h3 {
        font-size: 1.3rem;
    }
    .typing-container {
        font-size: 1.1rem;
    }
    .hero-section {
        padding-top: 60px !important;
        height: 70vh !important;
    }
    .background-image {
        width: 100% !important;
        height: 70vh !important;
    }
}
/* For extra small screens (small phones) */
@media (max-width: 480px) {
    .hero-content h3 {
        font-size: 1rem;
        color: #333;
    }
    .typing-container {
        font-size: 1rem;
        display: none;
    }
    .hero-section {
        width: 100% !important;
        padding-top: 50px !important;
        height: 70vh !important;
    }
    .background-image {
        width: 100% !important;
        height: 70vh !important;
    }
    .counter {
        font-size: 2rem;
    }
    .counter p {
        font-size: 0.9rem;
    }
    .counter-section {
        text-align: center;
    }
    .service-box {
        text-align: center;
    }
    .about_sec1 {
        margin-top: 0 !important; /* Override negative margin */
    }
    .card-title {
        font-size: 1rem;
    }
    .about-text {
        font-size: 0.95rem;
        text-align: justify;
    }
    .custom-card {
        height: auto;
    }
    .ok {
        margin-bottom: -40px;
    }
    .btn {
        font-size: 0.9rem;
        padding: 10px 16px;
    }
}