:root {
    --primary-color: #ff9933;  /* Indian flag saffron */
    --secondary-color: #138808; /* Indian flag green */
    --accent-color: #000080;   /* Navy blue */
}

body {
    background: linear-gradient(135deg, #fff, #f8f9fa);
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
}

.navbar {
    background: rgba(0, 0, 128, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    animation: slideDown 0.5s ease;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.4rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.hero-section {
    min-height: 100vh;
    background: url('https://images.unsplash.com/photo-1524821505188-6faa11d6bde6?auto=format&fit=crop') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    padding: 6rem 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(5px);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.national-emblem {
    width: 150px;
    margin-bottom: 2.5rem;
    animation: fadeInDown 1s ease;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.display-4 {
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: calc(2rem + 2vw);
}

.lead {
    font-size: calc(1.1rem + 0.5vw);
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

.card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    overflow: hidden;
    background: white;
    height: 100%;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.card-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.card:hover .card-icon {
    transform: scale(1.15) rotate(5deg);
}

.btn-custom {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-custom:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.services-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
}

.section-title {
    font-size: calc(1.8rem + 1vw);
    color: var(--accent-color);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.footer {
    background: linear-gradient(135deg, #000080, #1a237e);
    color: white;
    padding: 5rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 2rem;
}

.footer a {
    color: rgba(255,255,255,0.8);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer a:hover {
    color: var(--primary-color) !important;
    transform: translateX(5px);
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    margin-right: 1rem;
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 0;
    }

    .hero-section {
        padding: 4rem 0;
    }

    .national-emblem {
        width: 100px;
        margin-bottom: 2rem;
    }

    .card {
        margin-bottom: 1.5rem;
    }

    .footer {
        padding: 3rem 0 1rem;
    }
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from { 
        transform: translateY(-100%);
    }
    to { 
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from { 
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Improve card visibility */
.card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Improved accessibility */
.btn-custom:focus,
.nav-link:focus {
    outline: 3px solid rgba(0,0,128,0.3);
    outline-offset: 2px;
}