/* ===== UNIVERSAL RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333333;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== UPDATED COLOR THEME - BLAZER STYLE ===== */
:root {
    /* Primary Colors - Navy & White */
    --navy-blue: #002B4D;        /* Darker navy for authority */
    --white: #FFFFFF;
    --charcoal: #333333;
    
    /* Accent Colors - Brighter */
    --texas-red: #4A9EFF;         /* Keep existing #BF0D3E red */
    --sky-blue: #4A9EFF;          /* Brighter blue for highlights */
    --gold: #FFC72C;
    
    /* UI Colors - More contrast */
    --light-grey: #F5F7FA;
    --medium-grey: #E8ECF1;
    --dark-grey: #1A1F36;
    
    /* New - Stats Bar Blue */
    --stats-blue: #003366;
}
/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 2.8rem; margin-bottom: 20px; }
h2 { font-size: 2.2rem; margin-bottom: 15px; }
h3 { font-size: 1.8rem; margin-bottom: 15px; }
h4 { font-size: 1.5rem; margin-bottom: 10px; }

p {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* ===== MAIN STRUCTURE ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    flex: 1;
    padding-top: 80px;
    width: 100%;
}

/* ===== NAVBAR ===== */
.navbar {
    background: var(--navy-blue);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
    box-shadow: 0 4px 20px rgba(0, 32, 91, 0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo */
.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-img {
    width: auto;
    height: 60px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: var(--sky-blue);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    padding: 12px 16px;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--sky-blue);
}

.nav-link.active {
    color: var(--sky-blue);
    font-weight: 600;
}

.nav-btn {
    background: var(--texas-red);
    color: var(--white) !important;
    padding: 8px 24px !important;
    border-radius: 6px;
    margin-left: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-btn:hover {
    background: transparent;
    border-color: var(--texas-red);
    color: var(--white) !important;
}

/* Mobile Navigation */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 4px;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: var(--white);
    position: relative;
    transition: 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: var(--white);
    left: 0;
    transition: 0.3s;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--navy-blue);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-nav-item {
    width: 100%;
}

.mobile-nav-link {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--white);
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--sky-blue);
    border-left-color: var(--texas-red);
}

.mobile-nav-btn {
    display: block;
    background: var(--texas-red);
    color: var(--white);
    padding: 15px;
    text-align: center;
    border-radius: 6px;
    margin-top: 20px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.mobile-nav-btn:hover {
    background: transparent;
    border-color: var(--texas-red);
}

/* ===== FOOTER ===== */
.footer {
    background: #000000;
    color: var(--white);
    margin-top: auto;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--texas-red);
}

.footer-text {
    color: #CCCCCC;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-text strong {
    color: var(--white);
    font-weight: 600;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-list-title {
    color: var(--sky-blue);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 20px 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-link {
    color: #CCCCCC;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: block;
    padding: 4px 0;
    position: relative;
    padding-left: 15px;
}

.footer-link:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--texas-red);
    font-size: 0.8rem;
}

.footer-link:hover {
    color: var(--white);
    transform: translateX(5px);
}

/* Newsletter */
.newsletter-form {
    margin-top: 20px;
}

.newsletter-input {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--texas-red);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-input::placeholder {
    color: #999999;
}

.newsletter-btn {
    width: 100%;
    padding: 12px;
    background: var(--texas-red);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: #A50C36;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(191, 13, 62, 0.3);
}

/* Social Icons */
.social-row {
    display: flex;
    gap: 10px;
    margin: 15px 0 25px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--texas-red);
    transform: translateY(-3px) scale(1.1);
}

/* Footer Bottom */
.footer-bottom {
    padding: 30px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: #999999;
    font-size: 0.9rem;
    flex: 1;
    min-width: 300px;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.legal-link {
    color: #CCCCCC;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.legal-link:hover {
    color: var(--texas-red);
}

.legal-link:after {
    content: "•";
    position: absolute;
    right: -12px;
    color: var(--texas-red);
}

.legal-link:last-child:after {
    display: none;
}

.disclaimer {
    width: 100%;
    text-align: center;
    margin-top: 25px;
    padding: 20px;
    color: #999999;
    font-size: 0.85rem;
    line-height: 1.6;
    font-style: italic;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    background: var(--texas-red);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background: transparent;
    border-color: var(--texas-red);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(191, 13, 62, 0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: var(--navy-blue);
    color: var(--white);
}

.btn-secondary {
    background: var(--navy-blue);
    color: var(--white);
}

.btn-secondary:hover {
    background: transparent;
    border-color: var(--navy-blue);
    color: var(--navy-blue);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ===== SECTION STYLES ===== */
.section {
    padding: 80px 0;
}

.section-sm {
    padding: 50px 0;
}

.section-lg {
    padding: 100px 0;
}

.section-title {
    color: var(--navy-blue);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 47%;
    width: 60px;
    height: 4px;
    background: var(--texas-red);
    border-radius: 2px;
}

.section-title.center {
    text-align: center;
}

.section-title.center:after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: var(--charcoal);
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    line-height: 1.6;
}

/* Dark/Light Sections */
.section-dark {
    background: linear-gradient(135deg, var(--dark-grey) 0%, #0d1529 100%);
    color: var(--white);
    padding: 80px 0;
}

.section-dark .section-title {
    color: var(--white);
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.section-light {
    background: var(--white);
    color: var(--charcoal);
    padding: 80px 0;
}

/* ===== CARDS ===== */
.card {
    background: var(--white);
    border: 1px solid var(--medium-grey);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 32, 91, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 32, 91, 0.15);
}

/* ===== GRID LAYOUTS ===== */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 50px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 50px; }

.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }
.p-4 { padding: 40px; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

.gap-1 { gap: 10px; }
.gap-2 { gap: 20px; }
.gap-3 { gap: 30px; }
.gap-4 { gap: 40px; }

/* ===== IMAGE STYLES ===== */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.img-placeholder {
    background: linear-gradient(135deg, var(--medium-grey) 0%, var(--light-grey) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--charcoal);
    font-size: 0.9rem;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.img-placeholder:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.3) 50%, transparent 60%);
    animation: shimmer 2s infinite;
    background-size: 200% 100%;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ===== ICONS ===== */
.icon {
    width: 60px;
    height: 60px;
    background: var(--navy-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.icon.small {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
}

.icon.red {
    background: var(--texas-red);
}

.icon.blue {
    background: var(--sky-blue);
}

.icon.gold {
    background: var(--texas-red);
    color: var(--navy-blue);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .nav-btn {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .mobile-menu.active + .mobile-toggle .hamburger {
        background: transparent;
    }
    
    .mobile-menu.active + .mobile-toggle .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .mobile-menu.active + .mobile-toggle .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }
    
    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }
    
    .mobile-menu {
        top: 70px;
    }
    
    .main-content {
        padding-top: 70px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .copyright {
        min-width: 100%;
        order: 2;
    }
    
    .legal-links {
        justify-content: center;
        order: 1;
        gap: 15px;
    }
    
    .legal-link:after {
        display: none;
    }
    
    .disclaimer {
        order: 3;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .logo-text {
        display: none;
    }
    
    .logo-img {
        height: 50px;
    }
    
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.3rem; }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-lg {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.6rem; }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}



/* ===== HEADER ENHANCEMENTS ===== */
.navbar[role="navigation"] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.logo-section:focus {
    outline: 2px solid var(--texas-red);
    outline-offset: 4px;
    border-radius: 4px;
}

.nav-link:focus,
.mobile-nav-link:focus,
.nav-btn:focus,
.mobile-nav-btn:focus {
    outline: 2px solid var(--texas-red);
    outline-offset: 2px;
}

.mobile-toggle[aria-expanded="true"] .hamburger {
    transform: rotate(45deg);
    background-color: var(--texas-red);
}

/* ===== FOOTER ENHANCEMENTS ===== */
.footer {
    position: relative;
    z-index: 100;
}

.footer-values {
    margin-top: 15px;
}

.footer-sublist {
    list-style: none;
    margin: 5px 0 15px;
    padding: 0;
}

.footer-sublist .footer-text {
    margin-bottom: 8px;
    padding-left: 10px;
    position: relative;
}

.footer-sublist .footer-text:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.footer-link:focus {
    outline: 2px solid var(--texas-red);
    outline-offset: 2px;
    border-radius: 2px;
}

.social-icon:focus {
    outline: 2px solid var(--texas-red);
    outline-offset: 2px;
    border-radius: 50%;
}

.newsletter-input:focus,
.newsletter-btn:focus {
    outline: 2px solid var(--texas-red);
    outline-offset: 2px;
}

.legal-link:focus {
    outline: 2px solid var(--texas-red);
    outline-offset: 2px;
    border-radius: 2px;
}

.back-to-top,
.back-to-home {
    position: fixed;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 100000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    
    /* Hamesha show karne ke liye */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transform: translateY(0);
}

.back-to-top {
    bottom: 30px;
    right: 30px;
    background: var(--texas-red); /* Brand Color 1 */
    color: white;
}

.back-to-home {
    bottom: 90px;
    right: 30px;
    background: var(--navy-blue); /* Brand Color 2 */
    color: white;
}

.back-to-top:hover, .back-to-home:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}



/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .footer,
    .back-to-top,
    .skip-to-content {
        display: none !important;
    }
    
    .main-content {
        padding-top: 0 !important;
    }
}

/* School Website Button */
.school-website-btn {
  position: fixed;
  width: 100px; /* Wider for text */
  height: 50px;
  border: none;
  border-radius: 30px; /* Pill shape */
  font-size: 1rem;
  cursor: pointer;
  z-index: 100000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transform: translateY(0);
  
  /* Positioning - left side */
  bottom: 30px;
  left: 30px;
  
  /* Colors - Light Yellow Theme */
  background: linear-gradient(135deg, #fff9c4 0%, #fff59d 100%);
  color: #5d4037; /* Dark brown text for contrast */
  font-weight: 600;
  border: 2px solid #ffd54f;
  
  /* Flex layout for icon + text */
  gap: 8px;
  padding: 0 15px;
}

/* Icon inside the button */
.school-website-btn i {
  font-size: 1.1rem;
  color: #f57c00; /* Orange icon */
}

/* Text span */
.school-website-btn .btn-text {
  white-space: nowrap;
  font-size: 0.9rem;
}

/* Hover effects */
.school-website-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #fff59d 0%, #ffecb3 100%);
  box-shadow: 0 6px 20px rgba(255, 213, 79, 0.4);
  color: #3e2723;
}


/* Adjust existing buttons for better layout */
.back-to-top {
  bottom: 30px;
  right: 30px;
}

.back-to-home {
  bottom: 90px;
  right: 30px;
}


  
  /* Adjust positions for mobile */
  .back-to-top, .back-to-home {
    right: 20px;
  }
  
  .back-to-top {
    bottom: 30px;
  }
  
  .back-to-home {
    bottom: 90px;
  }


/* For very small screens */
@media (max-width: 480px) {
  .school-website-btn,
  .back-to-top,
  .back-to-home {
    width: 45px;
    height: 45px;
  }
  
  .school-website-btn {
    left: 15px;
    bottom: 25px;
  }
  
  .back-to-top, .back-to-home {
    right: 15px;
  }
}