/* ========================================
   Kittur Sainik School - Main Stylesheet
   "In Pursuit of Excellence"
   ======================================== */

/* --- CSS Variables / Theme --- */
:root {
    --primary: #1e73be;
    --primary-dark: #155a9c;
    --accent: #dd3333;
    --accent-hover: #b02828;
    --dark: #161819;
    --dark-bg: #212222;
    --footer-bg: #313131;
    --footer-bottom: #2d2d2d;
    --text: #333333;
    --text-light: #6b6b6b;
    --bg-light: #e5e1e1;
    --white: #ffffff;
    --font-body: 'PT Sans', Arial, sans-serif;
    --font-heading: 'Federo', 'Georgia', serif;
    --shadow: 0 2px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;

    /* Apple-Inspired Animation Variables */
    --ease-out: cubic-bezier(0.32, 0.08, 0.24, 1);
    --ease-in-out: cubic-bezier(0.6, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
    --anim-duration-fast: 0.4s;
    --anim-duration-normal: 0.6s;
    --anim-duration-slow: 0.9s;
    --anim-duration-reveal: 1s;
    --blur-amount: 20px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.4;
    color: var(--dark);
}

h1 { font-size: 32px; }
h2 { font-size: 28px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 15px; }

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
}

.section-title span {
    color: var(--primary);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30,115,190,0.4);
}

.btn-accent {
    background: var(--accent);
}

.btn-accent:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 15px rgba(221,51,51,0.4);
}

.btn-small {
    padding: 8px 20px;
    font-size: 13px;
}

/* --- Top Bar --- */
.top-bar {
    background: var(--dark);
    color: #8b8c8c;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid var(--dark);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar a {
    color: #8b8c8c;
}

.top-bar a:hover {
    color: var(--white);
}

.top-bar-left span {
    margin-right: 20px;
}

.top-bar-left i {
    margin-right: 5px;
}

.top-bar-right a {
    margin-left: 15px;
}

/* --- Header --- */
.site-header {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo img {
    max-width: 60px;
    max-height: 60px;
    border-radius: 50%;
}

.site-logo-text {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.site-logo-text span {
    display: block;
    font-size: 12px;
    font-weight: 400;
    opacity: 0.9;
    font-family: var(--font-body);
    letter-spacing: 1px;
}

/* --- Navigation --- */
.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    gap: 0;
}

.main-nav ul li {
    position: relative;
}

.main-nav ul li a {
    display: block;
    padding: 22px 12px;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: var(--transition);
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: var(--transition);
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 80%;
}

.main-nav ul li a:hover {
    color: #000;
}

/* Dropdown */
.main-nav ul li .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.main-nav ul li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav ul li .dropdown li {
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.main-nav ul li .dropdown li:last-child {
    border-bottom: none;
}

.main-nav ul li .dropdown li a {
    padding: 12px 18px;
    color: #000;
    font-size: 14px;
    text-transform: capitalize;
    letter-spacing: 0.6px;
    line-height: 1.2;
}

.main-nav ul li .dropdown li a::after {
    display: none;
}

.main-nav ul li .dropdown li a:hover {
    background: var(--accent);
    color: var(--white);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, rgba(30,115,190,0.9), rgba(0,0,0,0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    padding: 120px 20px;
    position: relative;
}

.hero h1 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero .tagline {
    font-size: 22px;
    margin-bottom: 30px;
    opacity: 0.95;
    font-style: italic;
}

.hero p {
    font-size: 17px;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* --- Announcement Bar --- */
.announcement-bar {
    background: var(--accent);
    color: var(--white);
    padding: 12px 0;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.announcement-bar marquee {
    color: var(--white);
}

/* --- Sections General --- */
section {
    padding: 70px 0;
}

section:nth-child(even) {
    background: var(--white);
}

/* --- Motto / Vision / Mission --- */
.mvm-section {
    background: var(--white);
}

.mvm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mvm-card {
    text-align: center;
    padding: 40px 25px;
    background: var(--bg-light);
    border-radius: 8px;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.mvm-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-bottom-color: var(--accent);
}

.mvm-card .icon {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 20px;
}

.mvm-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mvm-card p {
    font-size: 16px;
    color: var(--text);
    font-style: italic;
}

/* --- About Section (School at a Glance) --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    border-radius: 8px;
    box-shadow: var(--shadow);
    width: 100%;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin-top: 10px;
}

.about-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px 10px;
    background: var(--primary);
    color: var(--white);
    border-radius: 8px;
}

.stat-item .number {
    font-size: 32px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.stat-item .label {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 5px;
}

/* --- Notifications --- */
.notifications-section {
    background: var(--white);
}

.notif-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.notif-card {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.notif-card.important {
    border-left-color: var(--accent);
    background: #fff5f5;
}

.notif-card h4 {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notif-card h4 .badge {
    font-size: 11px;
    background: var(--accent);
    color: var(--white);
    padding: 2px 10px;
    border-radius: 12px;
    font-family: var(--font-body);
}

.notif-card p {
    font-size: 14px;
    color: #555;
}

/* --- Quick Links --- */
.quick-links {
    background: var(--primary);
    color: var(--white);
    text-align: center;
}

.quick-links h2 {
    color: var(--white);
}

.quick-links .section-title::after {
    background: var(--white);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.link-card {
    background: rgba(255,255,255,0.15);
    padding: 25px 15px;
    border-radius: 8px;
    transition: var(--transition);
    text-align: center;
}

.link-card:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px);
}

.link-card a {
    color: var(--white);
    display: block;
}

.link-card .link-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.link-card .link-title {
    font-weight: 600;
    font-size: 14px;
}

.link-card .link-label {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 5px;
}

/* --- Staff Pages Common --- */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.staff-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #eee;
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.staff-card .staff-avatar {
    height: 180px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 60px;
}

.staff-card .staff-info {
    padding: 20px;
}

.staff-card .staff-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.staff-card .staff-info .designation {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}

.staff-card .staff-info .department {
    color: var(--text-light);
    font-size: 13px;
}

/* --- House System --- */
.house-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.house-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.house-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.house-card .house-header {
    padding: 30px 20px;
    text-align: center;
    color: var(--white);
}

.house-card .house-header h3 {
    color: var(--white);
    font-size: 26px;
    margin-bottom: 5px;
}

.house-card .house-body {
    padding: 25px 20px;
}

.house-card .house-body p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

.house-bhils .house-header { background: linear-gradient(135deg, #e67e22, #d35400); }
.house-changpas .house-header { background: linear-gradient(135deg, #3498db, #2980b9); }
.house-gonds .house-header { background: linear-gradient(135deg, #2ecc71, #27ae60); }
.house-jarawas .house-header { background: linear-gradient(135deg, #9b59b6, #8e44ad); }
.house-mizos .house-header { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.house-todas .house-header { background: linear-gradient(135deg, #f39c12, #e67e22); }

/* --- Resources / Pratibimb --- */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.resource-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.resource-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.resource-card .resource-thumb {
    height: 200px;
    background: linear-gradient(135deg, var(--primary), #4a8fd4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 48px;
}

.resource-card .resource-info {
    padding: 20px;
}

.resource-card .resource-info h4 {
    margin-bottom: 8px;
}

.resource-card .resource-info .vol {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 12px;
}

.resource-card .resource-info .badge-new {
    background: var(--accent);
    color: var(--white);
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

/* --- EPFO Page --- */
.epfo-details {
    max-width: 800px;
    margin: 0 auto;
}

.epfo-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.epfo-table tr {
    border-bottom: 1px solid #eee;
}

.epfo-table tr:last-child {
    border-bottom: none;
}

.epfo-table td {
    padding: 15px 20px;
    font-size: 15px;
}

.epfo-table td:first-child {
    font-weight: 600;
    background: var(--primary);
    color: var(--white);
    width: 250px;
}

.epfo-table td:last-child {
    color: var(--text);
}

/* --- Assignments Page --- */
.assign-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.assign-card {
    background: var(--white);
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.assign-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.assign-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 20px;
}

/* --- Page Banner --- */
.page-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-banner h1 {
    color: var(--white);
    font-size: 36px;
    margin-bottom: 10px;
}

.page-banner p {
    opacity: 0.9;
    font-size: 16px;
}

.breadcrumb {
    margin-top: 10px;
    font-size: 13px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    color: rgba(255,255,255,0.6);
    margin: 0 5px;
}

/* --- Page Content --- */
.page-content {
    padding: 60px 0;
    min-height: 400px;
}

.page-content h2 {
    margin-bottom: 20px;
}

.page-content p {
    margin-bottom: 15px;
}

/* --- Footer --- */
.site-footer {
    background: var(--footer-bg);
    color: #aaa;
}

.footer-widgets {
    padding: 50px 0;
    text-align: center;
}

.footer-widgets .newsletter h3 {
    color: var(--white);
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    max-width: 450px;
    margin: 0 auto 30px;
    gap: 10px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid rgba(255,255,255,0.2);
    background: transparent;
    color: #7c7c7c;
    border-radius: 4px;
    font-size: 15px;
    letter-spacing: 0.8px;
    outline: none;
    transition: var(--transition);
}

.newsletter-form input[type="email"]:hover {
    border-color: rgba(255,255,255,0.5);
}

.newsletter-form input[type="email"]:focus {
    border-color: rgba(255,255,255,0.6);
}

.newsletter-form button {
    padding: 12px 25px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #5c7c19;
}

.footer-social {
    margin-bottom: 20px;
}

.footer-social a {
    display: inline-block;
    color: #4a4a4a;
    font-size: 20px;
    margin: 0 8px;
    padding: 0.5em;
    transition: var(--transition);
}

.footer-social a:hover {
    color: #8cba29;
}

.footer-contact {
    margin-bottom: 20px;
}

.footer-contact p {
    margin-bottom: 5px;
    font-size: 14px;
}

.footer-contact i {
    margin-right: 8px;
    color: var(--primary);
}

.footer-bottom {
    background: var(--footer-bottom);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: #6b6b6b;
}

.footer-bottom a {
    color: #6b6b6b;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* --- Scroll to Top --- */
.scroll-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 48px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: var(--primary);
    color: var(--white);
    border-radius: 4px 4px 0 0;
    font-size: 22px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: none;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
}

/* --- Notification Ticker --- */
.ticker-wrap {
    background: var(--dark);
    color: var(--white);
    padding: 10px 0;
    overflow: hidden;
    border-bottom: 2px solid var(--accent);
}

.ticker-wrap .ticker {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

.ticker-wrap .ticker span {
    margin-right: 50px;
}

.ticker-wrap .ticker span i {
    color: var(--accent);
    margin-right: 8px;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Important Updates --- */
.update-item {
    background: var(--white);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.update-item:hover {
    transform: translateX(5px);
}

.update-item h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.update-item h4 .date {
    font-size: 12px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-weight: 400;
}

.update-item .update-link {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    color: var(--primary);
}

/* --- Payment Page --- */
.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.payment-card {
    background: var(--white);
    padding: 40px 30px;
    text-align: center;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.payment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.payment-card .pay-icon {
    font-size: 64px;
    color: var(--primary);
    margin-bottom: 20px;
}

.payment-card h3 {
    margin-bottom: 15px;
}

.payment-card p {
    color: #666;
    margin-bottom: 20px;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .mvm-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .notif-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }

    .main-nav.open {
        max-height: 500px;
        overflow-y: auto;
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
    }

    .main-nav ul li a {
        padding: 14px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .main-nav ul li a::after {
        display: none;
    }

    .main-nav ul li .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0,0,0,0.15);
    }

    .main-nav ul li .dropdown li a {
        padding-left: 40px;
    }

    .hero {
        padding: 80px 20px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero .tagline {
        font-size: 18px;
    }

    section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 5px;
    }

    .top-bar-left span {
        margin-right: 10px;
        font-size: 12px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .site-logo-text {
        font-size: 16px;
    }

    .staff-grid {
        grid-template-columns: 1fr;
    }

    .house-grid {
        grid-template-columns: 1fr;
    }

    .epfo-table td {
        display: block;
        width: 100%;
    }

    .epfo-table td:first-child {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
