@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');

:root {
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --primary-blue: #003087;
    --cyan-accent: #00d2ff;
    --dark-text: #0a1931;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    background: #f0f2f5;
    overflow-x: hidden;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Ye line sabse important hai */
    position: relative;
}

/* Ye specifically AOS ke side-effects ko rokta hai */
[data-aos] {
    pointer-events: auto !important; /* सुनिश्चित करें कि क्लिक काम करे */
}
html {
    scroll-behavior: smooth !important;
}
section {
    scroll-margin-top: 80px; 
}
.section-padding {
    overflow: hidden; /* Har section ko apna overflow control karne dein */
}

/* Glassmorphism Unified Design */
.glass-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0, 48, 135, 0.12);
    border-color: var(--cyan-accent);
}

/* Parallax Hero */
.parallax-hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: linear-gradient(45deg, #001f3f, #003087);
    padding: 100px 0;
}
@media (max-width: 575px) {
    .display-2 {
        font-size: 1.8rem; /* Size thoda aur kam karein */
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}
.parallax-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 120%;
    background: url('../img/hero.jpeg') center/cover no-repeat;
    z-index: 1;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    transition: 0.4s;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(15px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-link {
    font-weight: 500;
    color: #fff !important;
}

.navbar.scrolled .nav-link {
    color: var(--dark-text) !important;
}

.navbar.scrolled .navbar-brand {
    color: var(--primary-blue) !important;
}
/* Logo Styling */
.navbar-logo {
    height: 45px; /* Desktop height */
    width: auto;  /* Aspect ratio maintain karne ke liye */
    transition: all 0.3s ease;
    object-fit: contain;
}

/* Jab navbar scroll ho tab logo thoda chota ho jaye (optional) */
.navbar.scrolled .navbar-logo {
    height: 35px;
}

/* --- Mobile Responsiveness --- */

/* Tablets and Mobile (Max 991px) */
@media (max-width: 991px) {
    .navbar-logo {
        height: 38px;
    }
}

/* Small Mobile Devices (Max 575px) */
@media (max-width: 575px) {
    .navbar-logo {
        height: 32px;
    }
    .navbar-brand {
        font-size: 1.2rem; /* Mobile par brand text thoda chota */
    }
}
/* Section Common */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-weight: 800;
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

/* Icon Design */
.icon-box {
    width: 65px; height: 65px;
    background: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center; justify-content: center;
    border-radius: 15px;
    font-size: 1.6rem;
    margin-bottom: 25px;
}

/* Buttons */
.btn-outline-info {
    border-color: var(--cyan-accent);
    color: var(--cyan-accent);
    font-weight: 600;
    transition: 0.3s;
}

.btn-outline-info:hover {
    background: var(--cyan-accent);
    border-color: var(--cyan-accent);
    color: white;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-glass:hover {
    background: white;
    color: var(--primary-blue);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .section-padding { padding: 60px 0; }
    .display-2 { font-size: 3rem; }
    .parallax-hero { height: auto; padding: 150px 0 100px; }
    .navbar { background: var(--primary-blue); padding: 15px 0; }
}

@media (max-width: 767px) {
    .display-2 { font-size: 2.2rem; }
    .section-title { font-size: 2rem; }
    .glass-card { padding: 25px; }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--cyan-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 999;
    visibility: hidden; /* Shuruat mein chhupa rahega */
    opacity: 0;
    transition: all 0.4s ease;
    text-decoration: none;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-blue);
    color: #fff;
    transform: translateY(-5px);
}

/* Mobile responsive ke liye chota size */
@media (max-width: 767px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}