:root {
    --primary-color: #1C4587;
    --primary-dark: #0D2A52;
    --primary-light: #4A90E2;
    --accent-color: #00B894;
    --success-color: #10B981;
    --saffron: #FF9933;
    --govt-green: #138808;
    --dark: #0F172A;
    --text-primary: #1a1a1a;
    --text-secondary: #64748B;
    --text-light: #94A3B8;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --border-color: #E2E8F0;
    --warning-color: #F59E0B;
    --danger-color: #EF4444;
    
    /* Font families with Hindi support */
    --font-primary: 'Inter', 'Noto Sans Devanagari', sans-serif;
    --font-heading: 'Poppins', 'Noto Sans Devanagari', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    /* Better font rendering for Hindi */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Tricolor Strip */
.tricolor-strip {
    height: 4px;
    background: linear-gradient(to right, 
        var(--saffron) 0%, 
        var(--saffron) 33.33%, 
        white 33.33%, 
  white 66.66%, 
        var(--govt-green) 66.66%, 
  var(--govt-green) 100%);
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, var(--dark) 0%, #1a2332 100%);
    color: white;
    padding: 10px 0;
    font-size: 0.813rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 900;
}

.top-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
    padding: 0.25rem 0;
}

.top-bar-item:hover {
    color: var(--accent-color);
}

.top-bar-item i {
    color: var(--accent-color);
    font-size: 0.875rem;
}

.top-bar-right {
  display: flex;
    gap: 1rem;
  align-items: center;
  position: relative;
  z-index: 1001;
}

.lang-switch {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.375rem 0.875rem;
    border-radius: 4px;
    cursor: pointer;
 transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.813rem;
}

.lang-switch:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Header */
.header {
    background: white;
 box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.nav-container {
  max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  height: 75px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1.125rem;
    cursor: pointer;
    text-decoration: none;
}

.logo-img {
    width: 70px;
    height: 70px;
    /*background: linear-gradient(135deg, var(--primary-color), var(--primary-light));*/
 border-radius: 10px;
    display: flex;
  align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.625rem;
    /*box-shadow: 0 6px 16px rgba(28, 69, 135, 0.3);*/
/*    transition: transform 0.3s ease;*/
}

/*.logo-section:hover .logo-img {
    transform: translateY(-2px) scale(1.05);
}*/

.logo-text h1 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.813rem;
    color: var(--text-secondary);
  font-weight: 600;
    font-family: var(--font-primary);
}

.main-nav {
    display: flex;
    gap: 2.25rem;
    list-style: none;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.938rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.625rem 0;
}

.main-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.main-nav a:hover::before,
.main-nav a.active::before {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(28, 69, 135, 0.3);
    display: flex;
  align-items: center;
    gap: 0.5rem;
}

.nav-cta:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(28, 69, 135, 0.4);
    color: white;
}

.mobile-toggle {
 display: none;
    flex-direction: column;
  justify-content: center;
align-items: center;
    gap: 5px;
    cursor: pointer;
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 10px;
    transition: all 0.3s ease;
}

.mobile-toggle:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
}

.mobile-toggle span {
    width: 24px;
    height: 3px;
    background: var(--dark);
 border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.mobile-toggle:hover span {
    background: white;
}

.mobile-toggle.active {
    background: var(--primary-color);
    border-color: var(--primary-dark);
}

.mobile-toggle.active span {
    background: white;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark) 0%, #1a2332 100%);
    color: white;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1.5" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.5;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 2rem;
    position: relative;
  z-index: 1;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
gap: 3rem;
    margin-bottom: 1rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-about h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
    font-weight: 800;
  margin-bottom: 1rem;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
 border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
  align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-section h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer-links {
 list-style: none;
}

.footer-links li {
 margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 0.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*padding-top: 2rem;*/
    color: rgba(255, 255, 255, 0.75);
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: white;
}

/* Alert Messages */
.alert {
padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: none;
    font-weight: 600;
}

.alert-success {
    background: #D1FAE5;
    color: #059669;
}

.alert-danger {
    background: #FEE2E2;
    color: #DC2626;
}

.alert-warning {
    background: #FEF3C7;
    color: #D97706;
}

.alert-info {
    background: #DBEAFE;
    color: #2563EB;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: row;
 padding: 0 1rem;
    }

  .top-bar-left {
   gap: 1rem;
    }

    .top-bar-item span {
      display: none;
    }

    .nav-container {
        height: 65px;
        padding: 0 1rem;
    }

    .logo-img {
        width: 48px;
        height: 48px;
    }

    .logo-text h1 {
  font-size: 1.125rem;
    }

    .logo-text p {
        font-size: 0.75rem;
    }

    .main-nav {
        display: none;
        position: fixed;
 top: 65px;
        left: 0;
  right: 0;
        bottom: 0;
   background: white;
        flex-direction: column;
        padding: 1.5rem 1rem;
        gap: 0;
 z-index: 999;
    }

    .main-nav.active {
    display: flex;
    }

    .main-nav li {
        border-bottom: 1px solid var(--border-color);
    }

    .main-nav a {
        padding: 1.125rem 1rem;
display: block;
    }

    .nav-cta {
        display: none;
    }

    .mobile-toggle {
 display: flex;
    }

    .footer-top {
   grid-template-columns: 1fr;
        gap: 2rem;
    }

  .footer-bottom {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
    }

    .footer-bottom-links {
     flex-direction: column;
        gap: 0.875rem;
    }
}
