/* Mobile Device Optimization */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Base responsive image class */
img {
    max-width: 100%;
    height: auto;
    /* Improve loading performance */
    image-rendering: optimizeQuality;
}

/* Ensure all containers are responsive */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    padding-top: 95px; /* Reduced to eliminate extra space */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Accessibility helper classes */
.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;
}

/* Remove default focus outline */
*:focus {
    outline: none;
}

/* Custom focus styles for better UX - subtle and non-intrusive */
.nav-link:focus,
.btn:focus,
button:focus,
a:focus {
    box-shadow: none;
}

/* Only show focus for keyboard navigation */
.nav-link:focus-visible,
.btn:focus-visible,
button:focus-visible,
a:focus-visible {
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.3);
    border-radius: 4px;
}

/* Skip link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #2563eb;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 6px;
}

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

/* Better mobile container handling */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 10px;
        max-width: 100%;
    }
}

/* Contact Bar */
.contact-bar {
    background: #2563eb;
    color: white;
    padding: 5px 0;
    font-size: 14px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
    min-height: 35px;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    overflow: hidden;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: fit-content;
}

.contact-item i {
    color: #93c5fd;
    font-size: 12px;
    flex-shrink: 0;
}

.contact-item a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.contact-item a:hover {
    color: #93c5fd;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.social-links a {
    color: white;
    font-size: 14px;
    transition: color 0.3s ease;
    text-decoration: none;
    padding: 2px 4px;
    border-radius: 3px;
}

.social-links a:hover {
    color: #93c5fd;
    background: rgba(255, 255, 255, 0.1);
}

/* Contact Bar Responsive */
@media (max-width: 768px) {
    .contact-bar {
        padding: 8px 0;
        font-size: 11px;
        min-height: 45px;
    }
    
    .contact-container {
        flex-direction: row;
        gap: 5px;
        padding: 0 10px;
        justify-content: center;
        flex-wrap: nowrap;
    }
    
    .contact-info {
        gap: 10px;
        flex-wrap: nowrap;
        justify-content: center;
        width: 100%;
        overflow: hidden;
    }
    
    .contact-item {
        gap: 4px;
        font-size: 11px;
        white-space: nowrap;
    }
    
    .contact-item i {
        font-size: 10px;
    }
    
    .contact-item a {
        font-size: 11px;
    }
    
    .social-links {
        gap: 6px;
        margin-top: 0;
        justify-content: center;
        flex-shrink: 0;
    }
    
    .social-links a {
        font-size: 10px;
        padding: 1px 2px;
    }
    
    .navbar {
        top: 60px; /* Adjusted for compact contact bar */
    }
    
    body {
        padding-top: 120px; /* Reduced for better mobile spacing */
    }
}

@media (max-width: 480px) {
    .contact-bar {
        padding: 6px 0;
        font-size: 9px;
        min-height: 40px;
    }
    
    .contact-info {
        gap: 6px;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }
    
    .contact-item {
        gap: 3px;
        font-size: 9px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .contact-item i {
        font-size: 9px;
    }
    
    .contact-item a {
        font-size: 10px;
    }
    
    .social-links {
        gap: 4px;
        margin-top: 0;
        justify-content: center;
        flex-shrink: 0;
    }
    
    .social-links a {
        font-size: 8px;
        padding: 1px 2px;
    }
    
    .navbar {
        top: 70px; /* Adjusted for compact mobile layout */
    }
    
    body {
        padding-top: 135px; /* Reduced for better mobile spacing */
    }
}

/* Navigation */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 35px; /* Reduced to match compact contact bar */
    width: 100%;
    z-index: 1002; /* Increased to ensure it's above other elements */
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #2563eb;
    transition: all 0.3s ease;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.school-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2563eb;
    line-height: 1.1;
}

.school-tagline {
    font-size: 0.8rem;
    font-weight: 500;
    color: #6b7280;
    line-height: 1;
    font-style: italic;
}

.dise-code {
    font-size: 0.65rem;
    font-weight: 600;
    color: #059669;
    line-height: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-logo img {
    height: 76px;
    width: 76px;
    transition: all 0.3s ease;
}

/* Scrolled state - smaller logo and navbar */
.navbar.scrolled {
    padding: 0.5rem 0;
}

.navbar.scrolled .nav-container {
    padding: 0.5rem 2rem;
}

.navbar.scrolled .nav-logo {
    gap: 10px;
}

.navbar.scrolled .school-name {
    font-size: 1.2rem;
}

.navbar.scrolled .school-tagline {
    font-size: 0.7rem;
}

.navbar.scrolled .dise-code {
    font-size: 0.55rem;
}

.navbar.scrolled .nav-logo img {
    height: 50px;
    width: 50px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    display: block;
}

.nav-link:hover {
    color: #2563eb;
    transform: translateY(-1px);
}

.nav-link.active {
    color: #2563eb;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hamburger animation */
.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Interactive Page Banner with Breadcrumb */
.page-banner {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
    margin-top: 0; /* Remove margin since body padding handles spacing */
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.page-banner:hover .banner-image {
    transform: scale(1.05);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(37, 99, 235, 0.8) 0%,
        rgba(29, 78, 216, 0.7) 50%,
        rgba(30, 64, 175, 0.8) 100%
    );
    z-index: 2;
}

.banner-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    width: 100%;
    padding: 0 20px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 1rem;
    gap: 0.5rem;
}

.breadcrumb-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.breadcrumb-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.breadcrumb-icon {
    font-size: 1.1rem;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
    margin: 0 0.5rem;
}

.breadcrumb-current {
    color: #fcd34d;
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: rgba(252, 211, 77, 0.2);
    border-radius: 25px;
    border: 1px solid rgba(252, 211, 77, 0.3);
}

.page-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #e5e7eb);
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
    background-clip: text;
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); */
    animation: fadeInUp 1s ease-out;
}

.page-subtitle {
    font-size: 1.3rem;
    color: #fcd34d;
    font-weight: 500;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Elegant Banner with Blue Gradient */
.elegant-banner {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 50%, #1e3a8a 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 0;
    padding-top: 60px; /* Add padding to account for content visibility */
    padding-bottom: 60px;
    overflow: hidden;
}

.elegant-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.1"><circle cx="30" cy="30" r="4"/></g></svg>');
    opacity: 0.3;
}

.elegant-banner .container {
    position: relative;
    z-index: 2;
    color: white;
    width: 100%;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.banner-text-wrapper {
    flex: 1;
    text-align: left;
    min-width: 300px;
}

.stylish-breadcrumb {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.breadcrumb-link {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: white;
}

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

.breadcrumb-current {
    color: #fcd34d;
    font-weight: 600;
}

.elegant-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.elegant-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.95);
    margin: 0;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.elegant-banner .decorative-circle-1 {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    opacity: 0.5;
}

.elegant-banner .decorative-circle-2 {
    position: absolute;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    opacity: 0.3;
}

.elegant-banner .decorative-circle-3 {
    position: absolute;
    top: 50%;
    right: 10%;
    width: 80px;
    height: 80px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    opacity: 0.4;
    transform: translateY(-50%);
}

/* Content Section Styles */
.content-section {
    padding: 60px 0;
    background: #f8f9fa;
    min-height: auto;
    overflow-x: hidden;
}

/* Mobile content section optimization */
@media (max-width: 768px) {
    .content-section {
        padding: 40px 0;
        overflow-x: hidden;
    }
}

@media (max-width: 576px) {
    .content-section {
        padding: 30px 0;
        overflow-x: hidden;
    }
}

.disclosure-section {
    background: white;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.disclosure-header {
    background: #007bff;
    color: white;
    padding: 15px 20px;
    margin: 0;
    font-size: 1.5rem;
}

.disclosure-table {
    width: 100%;
    border-collapse: collapse;
    overflow-x: auto;
    display: block;
    white-space: nowrap;
}

.disclosure-table tbody {
    display: table;
    width: 100%;
}

.disclosure-table tr {
    border-bottom: 1px solid #e9ecef;
    display: table-row;
}

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

.disclosure-table tr.header-row {
    background: #f8f9fa;
}

.disclosure-table td {
    padding: 12px;
    color: #666;
    display: table-cell;
    vertical-align: top;
    word-wrap: break-word;
    white-space: normal;
}

.disclosure-table td.label {
    font-weight: 600;
    color: #333;
    width: 40%;
}

.disclosure-table td.center {
    text-align: center;
}

.disclosure-table td.wide-label {
    width: 70%;
}

.download-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.download-btn:hover {
    background: #0056b3;
}

.note-section {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
}

.note-text {
    margin: 0;
    color: #856404;
    font-size: 14px;
}

/* Responsive Design for Elegant Banner */
@media (max-width: 768px) {
    .elegant-title {
        font-size: 2.5rem;
    }
    
    .elegant-subtitle {
        font-size: 1.1rem;
    }
    
    .stylish-breadcrumb {
        flex-direction: column;
        gap: 5px;
    }
    
    .elegant-banner .decorative-circle-1,
    .elegant-banner .decorative-circle-2,
    .elegant-banner .decorative-circle-3 {
        display: none;
    }
    
    .elegant-banner {
        margin-top: 0; /* Remove margin since body padding handles spacing */
        min-height: 300px;
    }
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    height: 70vh;
    overflow: hidden;
    margin-top: 0; /* Remove margin since body padding handles spacing */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.6), rgba(0,0,0,0.4), rgba(0,0,0,0.6));
}

.slide-content {
    position: relative;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    z-index: 2;
}

.slide-content h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #e5e7eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slide-content h2 {
    font-size: 2rem;
    color: #fcd34d;
    margin-bottom: 1rem;
    font-weight: 600;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #e5e7eb;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn:focus {
    outline: none;
    box-shadow: none;
}

.btn-primary {
    background: linear-gradient(45deg, #2563eb, #1d4ed8);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: white;
    color: #2563eb;
}

/* Carousel Navigation */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.carousel-btn:focus {
    outline: none;
    box-shadow: none;
}

.carousel-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 30px;
}

.carousel-btn.next {
    right: 30px;
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.dot:focus {
    outline: none;
    box-shadow: none;
}

.dot.active, .dot:hover {
    background: white;
    transform: scale(1.3);
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.2);
    z-index: 10;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    width: 20%;
    transition: width 0.5s ease;
}

/* Notice Section */
.notice-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.notice-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.notice-section h2 {
    font-size: 2.5rem;
    color: #1f2937;
    margin: 0;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.notice-board {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.notice-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    border-left: 4px solid #2563eb;
}

.notice-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.notice-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.notice-badge.priority-high {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

.notice-badge.priority-medium {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.notice-date {
    display: block;
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.notice-item h3 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    line-height: 1.4;
}

.notice-item p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.notice-attachment {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.notice-attachment:hover {
    color: #1d4ed8;
    gap: 0.75rem;
}

.notice-attachment i {
    font-size: 1rem;
}

.no-notices {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.no-notices i {
    font-size: 3rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.no-notices p {
    color: #64748b;
    font-size: 1.1rem;
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1f2937;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
}

/* Mission and Vision Cards */
.mission-vision-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.mv-card {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mv-card:hover::before {
    opacity: 1;
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.mission-card {
    border-left-color: #10b981;
}

.vision-card {
    border-left-color: #3b82f6;
}

.mv-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: white;
}

.mission-card .mv-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.vision-card .mv-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.mv-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.mv-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Mobile responsiveness for mission/vision cards */
@media (max-width: 768px) {
    .mission-vision-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.5rem 0;
    }
    
    .mv-card {
        padding: 1.25rem;
    }
    
    .mv-card h3 {
        font-size: 1.2rem;
    }
    
    .mv-card p {
        font-size: 0.9rem;
    }
}

.about-image img {
    width: 70%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
    color: #fcd34d;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #e5e7eb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #fcd34d;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0rem;
}

.social-link {
    padding: 0.5rem 1rem;
    background: #374151;
    border-radius: 5px;
    transition: background 0.3s;
}

.social-link:hover {
    background: #2563eb;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-container {
        padding: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .slide-content h1 {
        font-size: 3rem;
    }
    
    .slide-content h2 {
        font-size: 1.8rem;
    }
    
    .page-title {
        font-size: 3rem;
    }
    
    .elegant-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0.8rem 1rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px; /* Updated to match new compact navbar position */
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 1.5rem 0;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        z-index: 999;
        border-top: 1px solid #e5e7eb;
    }
    
    .nav-link {
        padding: 1rem 2rem;
        margin: 0.2rem 0;
        border-bottom: 1px solid #f1f5f9;
        font-size: 1rem;
        min-height: 44px; /* Better touch target for mobile */
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: #f8fafc;
        color: #2563eb;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 1001; /* Ensure it's above other elements */
    }

    /* Mobile navbar scroll adjustments */
    .navbar.scrolled .nav-menu {
        top: 50px; /* Adjusted for compact scrolled state */
        max-height: calc(100vh - 50px);
    }

    .navbar.scrolled .nav-logo img {
        height: 40px;
        width: 40px;
    }

    .navbar.scrolled .school-name {
        font-size: 1rem;
    }

    .navbar.scrolled .school-tagline {
        font-size: 0.6rem;
    }

    .navbar.scrolled .dise-code {
        font-size: 0.5rem;
    }

    /* Mobile logo text adjustments */
    .school-name {
        font-size: 1.1rem;
        line-height: 1.2;
    }

    .school-tagline {
        font-size: 0.7rem;
        line-height: 1.1;
    }

    .dise-code {
        font-size: 0.55rem;
        line-height: 1.1;
    }

    .logo-text {
        gap: 2px;
    }
    
    .nav-logo img {
        height: 65px;
        width: 65px;
    }

    /* Mobile banner adjustments */
    .page-banner {
        height: 50vh;
        min-height: 300px;
        margin-top: 0; /* Remove margin since body padding handles spacing */
    }

    .page-title {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    .breadcrumb {
        flex-wrap: wrap;
        gap: 0.3rem;
        justify-content: center;
    }

    .breadcrumb-link {
        padding: 0.3rem 0.8rem;
        font-size: 0.9rem;
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }

    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .slide-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
        width: 200px;
        text-align: center;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .carousel-btn.prev {
        left: 15px;
    }

    .carousel-btn.next {
        right: 15px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .notice-board {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .notice-section {
        padding: 60px 0;
    }
    
    .notice-section .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .notice-section h2 {
        font-size: 2rem;
        margin-bottom: 0;
    }
    
    .view-all-btn {
        width: 100%;
        justify-content: center;
    }
    
    .notice-item {
        padding: 1.5rem;
    }
    
    .notice-item h3 {
        font-size: 1.1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .hero-carousel {
        height: 60vh;
        margin-top: 0; /* Remove margin since body padding handles spacing */
        min-height: 350px;
    }
    
    .elegant-title {
        font-size: 2.5rem;
    }
    
    .elegant-subtitle {
        font-size: 1.1rem;
    }
    
    .stylish-breadcrumb {
        flex-direction: column;
        gap: 5px;
    }
    
    .elegant-banner .decorative-circle-1,
    .elegant-banner .decorative-circle-2,
    .elegant-banner .decorative-circle-3 {
        display: none;
    }
    
    .elegant-banner {
        min-height: 350px;
        padding-top: 50px;
        padding-bottom: 50px;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .banner-text-wrapper {
        text-align: center;
    }
    
    .stylish-breadcrumb {
        justify-content: center;
    }
    
    .elegant-title {
        font-size: 2.5rem;
    }
    
    .elegant-subtitle {
        font-size: 1.1rem;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .about-section {
        padding: 60px 0;
    }
    
    .about-section h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.5rem;
    }
    
    .school-name {
        font-size: 1rem;
    }
    
    .school-tagline {
        font-size: 0.6rem;
    }
    
    .dise-code {
        font-size: 0.5rem;
    }
    
    .nav-logo img {
        height: 60px;
        width: 60px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .elegant-banner {
        min-height: 300px;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    .elegant-title {
        font-size: 2rem;
    }
    
    .elegant-subtitle {
        font-size: 1rem;
    }
    
    .banner-badge {
        padding: 1rem 1.5rem;
    }
    
    .badge-number {
        font-size: 2rem;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content h2 {
        font-size: 1.2rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 8px 20px;
        font-size: 0.8rem;
        width: 180px;
    }
    
    .hero-carousel {
        height: 50vh;
        min-height: 350px;
        margin-top: 0; /* Remove margin since body padding handles spacing */
    }
    
    .page-banner {
        height: 40vh;
        min-height: 250px;
        margin-top: 0; /* Remove margin since body padding handles spacing */
    }
    
    /* Update navigation menu for smaller mobile screens */
    .nav-menu {
        top: 70px !important; /* Match the new compact navbar position for 480px */
        max-height: calc(100vh - 70px) !important;
        padding: 1rem 0;
    }
    
    .navbar.scrolled .nav-menu {
        top: 60px !important;
        max-height: calc(100vh - 60px) !important;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }
    
    .notice-section {
        padding: 40px 0;
    }
    
    .notice-section h2 {
        font-size: 1.75rem;
    }
    
    .notice-item {
        padding: 1.25rem;
    }
    
    .notice-item h3 {
        font-size: 1rem;
    }
    
    .view-all-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .disclosure-table {
        font-size: 0.8rem;
    }
    
    .disclosure-table td {
        padding: 8px 4px;
        font-size: 0.8rem;
    }
    
    .disclosure-table td.label {
        width: 50%;
    }
    
    .disclosure-table td.wide-label {
        width: 100%;
    }
    
    .disclosure-header {
        padding: 12px 15px;
        font-size: 1.2rem;
    }
    
    .disclosure-section {
        margin-bottom: 20px;
        overflow-x: auto;
    }
    
    .container {
        padding: 0 10px;
    }
    
    /* Make tables scroll horizontally on very small screens */
    .disclosure-table {
        min-width: 100%;
        display: table;
    }
    
    /* Better mobile table styling */
    .disclosure-table tr {
        display: table-row;
    }
    
    .disclosure-table td {
        display: table-cell;
        word-break: break-word;
        hyphens: auto;
    }
}

/* Thought of the Day Section */
.thought-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.thought-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.thought-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.thought-card h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.thought-text {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 300;
}

.thought-author {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.thought-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.date-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.date-english {
    font-size: 0.95rem;
    font-weight: 500;
}

.date-hindi {
    font-size: 0.85rem;
    font-family: 'Devanagari', 'Noto Sans Devanagari', 'Mangal', sans-serif;
    opacity: 0.9;
    font-weight: 400;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: #f8fafc;
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1f2937;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Statistics Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    font-size: 3rem;
    color: #fbbf24;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #fbbf24;
}

.stat-label {
    font-size: 1.1rem;
    color: #d1d5db;
    font-weight: 500;
}

/* Quick Links Section */
.quick-links-section {
    padding: 80px 0;
    background: white;
}

.quick-links-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1f2937;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.quick-link-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-decoration: none;
    color: inherit;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quick-link-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.2);
}

.quick-link-card:hover .quick-link-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.quick-link-card:hover .quick-link-arrow {
    transform: translateX(5px);
    color: #667eea;
}

.quick-link-icon {
    width: 60px;
    height: 60px;
    background: #f3f4f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: #6b7280;
    transition: all 0.3s ease;
}

.quick-link-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.quick-link-card p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.quick-link-arrow {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.2rem;
    color: #d1d5db;
    transition: all 0.3s ease;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .thought-card {
        padding: 2rem 1.5rem;
    }
    
    .thought-card h2 {
        font-size: 2rem;
    }
    
    .thought-text {
        font-size: 1.2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
    
    .admission-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .admission-card,
    .admission-form-container {
        padding: 1.5rem;
    }
    
    .admission-title {
        font-size: 1.5rem;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 0.6rem;
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* Admission Page Styles */
.admission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.admission-info {
    display: flex;
    flex-direction: column;
}

.admission-form {
    display: flex;
    flex-direction: column;
}

/* Admission Form Elements */
.admission-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.admission-form-container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Mobile-first responsive approach */
@media (max-width: 991px) {
    .admission-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .admission-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .admission-card,
    .admission-form-container {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .admission-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .admission-card,
    .admission-form-container {
        padding: 1rem;
        margin-bottom: 1rem;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    background: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.form-select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    resize: vertical;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    min-height: 100px;
}

.form-textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Mobile form optimization */
@media (max-width: 768px) {
    .form-input,
    .form-select,
    .form-textarea {
        padding: 1rem;
        font-size: 16px; /* Prevents zoom on iOS */
        border-radius: 6px;
    }
    
    .form-select {
        padding-right: 3rem;
        background-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .form-input,
    .form-select,
    .form-textarea {
        padding: 0.9rem;
        font-size: 16px;
    }
}

.admission-title {
    color: #2563eb;
    margin-bottom: 1.5rem;
}

.admission-step-title {
    color: #1f2937;
    margin-bottom: 1rem;
}

.admission-text {
    color: #6b7280;
    margin-bottom: 1rem;
}

.admission-list {
    color: #6b7280;
    padding-left: 1rem;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.alert-success {
    background: #10b981;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
}

.alert-error {
    background: #ef4444;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
}

/* Scientist Section Styles */
.scientist-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.scientist-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
}

.scientist-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 0 auto;
}

.scientist-image {
    position: relative;
}

.scientist-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.scientist-image img:hover {
    transform: scale(1.05);
}

.scientist-info h3 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: #fff;
    font-weight: 700;
}

.scientist-field {
    font-size: 1.2rem;
    color: #fbbf24;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.scientist-years {
    font-size: 1rem;
    color: #d1d5db;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.scientist-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #f3f4f6;
}

.scientist-achievements {
    margin-bottom: 2rem;
}

.scientist-achievements h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #fbbf24;
    font-weight: 600;
}

.scientist-achievements ul {
    list-style: none;
    padding: 0;
}

.scientist-achievements li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #e5e7eb;
    font-size: 1rem;
}

.scientist-achievements li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.1rem;
}

.scientist-quote {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #fbbf24;
}

.scientist-quote blockquote {
    font-size: 1.1rem;
    font-style: italic;
    color: #f9fafb;
    margin: 0;
    line-height: 1.6;
}

/* Enhanced Thought Section */
.thought-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.thought-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.thought-icon {
    font-size: 3rem;
    color: #fbbf24;
    margin-bottom: 1rem;
}

.thought-section h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.thought-text {
    font-size: 1.3rem;
    line-height: 1.7;
    color: #f3f4f6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.thought-author {
    font-size: 1.1rem;
    color: #fbbf24;
    font-weight: 600;
    display: block;
    margin-bottom: 2rem;
}

.thought-date {
    color: #d1d5db;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .scientist-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .scientist-image img {
        height: 250px;
    }
    
    .scientist-info h3 {
        font-size: 1.8rem;
    }
    
    .scientist-section h2 {
        font-size: 2rem;
    }
    
    .thought-card {
        padding: 2rem;
    }
    
    .thought-text {
        font-size: 1.1rem;
    }
    
    .thought-section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .scientist-card {
        padding: 1.5rem;
    }
    
    .scientist-image img {
        height: 200px;
    }
    
    .thought-card {
        padding: 1.5rem;
    }
}

/* Gallery Styles */
.gallery-section {
    padding: 80px 0;
    background: #f8fafc;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    user-select: none;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item:active {
    transform: translateY(-2px);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37, 99, 235, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

.gallery-info {
    padding: 1.5rem;
}

.gallery-info h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.gallery-info p {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

.gallery-footer {
    text-align: center;
    margin-top: 3rem;
}

.gallery-footer p {
    color: #6b7280;
    font-size: 1.1rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: modalZoom 0.3s ease;
}

@keyframes modalZoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

#modalImage {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

.modal-caption {
    padding: 1.5rem;
    text-align: center;
    background: white;
}

.modal-caption h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.modal-caption p {
    color: #6b7280;
    margin: 0;
}

/* Gallery Responsive Styles */
@media (max-width: 768px) {
    .gallery-section {
        padding: 60px 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .gallery-image {
        height: 200px;
    }
    
    .gallery-info {
        padding: 1rem;
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .modal-close {
        top: 10px;
        right: 15px;
        font-size: 24px;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-image {
        height: 180px;
    }
    
    .gallery-overlay i {
        font-size: 1.5rem;
    }
    
    .modal-caption {
        padding: 1rem;
    }
    
    .modal-caption h3 {
        font-size: 1.1rem;
    }
}

/* ===================================
   NOTICES PAGE STYLES
   =================================== */

/* Notices Section */
.notices-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 70vh;
}

/* Notice Filters */
.notice-filters {
    margin-bottom: 3rem;
}

.filter-title {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.filter-title i {
    color: #2563eb;
    margin-right: 0.5rem;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 12px 24px;
    background: white;
    color: #4b5563;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 2px solid transparent;
}

.filter-btn i {
    font-size: 1.1rem;
}

.filter-btn .filter-count {
    background: #e5e7eb;
    color: #374151;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
    border-color: #2563eb;
}

.filter-btn.active {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border-color: #1d4ed8;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.filter-btn.active .filter-count {
    background: rgba(255,255,255,0.2);
    color: white;
}

/* Notices Grid */
.notices-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Notice Card Modern */
.notice-card-modern {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    border-left: 5px solid #2563eb;
}

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

/* Notice Card Header */
.notice-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e5e7eb;
}

.notice-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.notice-type-badge,
.notice-priority-badge,
.notice-attachment-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.notice-type-badge {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.notice-type-badge.type-event {
    background: linear-gradient(135deg, #10b981, #059669);
}

.notice-type-badge.type-holiday {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.notice-type-badge.type-important {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    animation: pulse 2s ease-in-out infinite;
}

.notice-type-badge.type-circular {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.notice-priority-badge {
    background: #e5e7eb;
    color: #374151;
}

.notice-priority-badge.priority-urgent {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

.notice-priority-badge.priority-high {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.notice-priority-badge.priority-medium {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.notice-attachment-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.notice-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Notice Card Body */
.notice-card-body {
    padding: 2rem;
}

.notice-title {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.notice-content {
    color: #4b5563;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Notice Date Range */
.notice-date-range {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.date-range-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.9rem;
}

.date-range-item i {
    color: #2563eb;
}

/* Notice Card Footer */
.notice-card-footer {
    padding: 0 2rem 2rem;
}

.download-attachment-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.download-attachment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    gap: 0.75rem;
}

.download-attachment-btn i {
    font-size: 1rem;
}

/* No Notices Container */
.no-notices-container {
    text-align: center;
    padding: 5rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.no-notices-icon {
    font-size: 5rem;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

.no-notices-container h3 {
    color: #1f2937;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.no-notices-container p {
    color: #64748b;
    font-size: 1.1rem;
}

/* Banner Badge for Notices Page */
.banner-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    border: 2px solid rgba(255,255,255,0.2);
}

.banner-badge i {
    font-size: 2rem;
    color: white;
}

.badge-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
}

.badge-text {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Styles for Notices Page */
@media (max-width: 768px) {
    .notices-section {
        padding: 60px 0;
    }
    
    .filter-title {
        font-size: 1.25rem;
    }
    
    .filter-buttons {
        flex-direction: column;
    }
    
    .filter-btn {
        width: 100%;
        justify-content: space-between;
    }
    
    .notice-card-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem;
    }
    
    .notice-date {
        align-self: flex-start;
    }
    
    .notice-card-body {
        padding: 1.5rem;
    }
    
    .notice-title {
        font-size: 1.25rem;
    }
    
    .notice-card-footer {
        padding: 0 1.5rem 1.5rem;
    }
    
    .download-attachment-btn {
        width: 100%;
        justify-content: center;
    }
    
    .banner-badge {
        padding: 1rem 1.5rem;
    }
    
    .badge-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .notices-section {
        padding: 40px 0;
    }
    
    .filter-title {
        font-size: 1.1rem;
    }
    
    .filter-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .notice-card-modern {
        border-left-width: 3px;
    }
    
    .notice-card-header {
        padding: 1rem;
    }
    
    .notice-badges {
        gap: 0.25rem;
    }
    
    .notice-type-badge,
    .notice-priority-badge,
    .notice-attachment-badge {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    .notice-card-body {
        padding: 1rem;
    }
    
    .notice-title {
        font-size: 1.1rem;
    }
    
    .notice-content {
        font-size: 0.95rem;
    }
    
    .notice-date-range {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem;
    }
    
    .notice-card-footer {
        padding: 0 1rem 1rem;
    }
    
    .download-attachment-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .no-notices-container {
        padding: 3rem 1.5rem;
    }
    
    .no-notices-icon {
        font-size: 3rem;
    }
    
    .no-notices-container h3 {
        font-size: 1.5rem;
    }
    
    .no-notices-container p {
        font-size: 1rem;
    }
}

/* ===================================
   CONTACT PAGE STYLES
   =================================== */

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

/* Alert Messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.alert i {
    font-size: 1.5rem;
}

.alert-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.alert-error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Section Heading */
.section-heading {
    color: #1f2937;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    border-radius: 2px;
}

/* Contact Info Column */
.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Info Card */
.info-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #2563eb;
}

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

.info-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.info-card-title {
    color: #1f2937;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.info-card-content {
    color: #6b7280;
    line-height: 1.8;
}

.contact-item {
    margin-bottom: 0.75rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #1d4ed8;
}

/* Social Links */
.social-links-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.social-btn.facebook {
    background: linear-gradient(135deg, #3b5998, #2d4373);
}

.social-btn.twitter {
    background: linear-gradient(135deg, #1da1f2, #0c85d0);
}

.social-btn.instagram {
    background: linear-gradient(135deg, #e4405f, #c13584);
}

/* Contact Form Column */
.contact-form-column {
    position: sticky;
    top: 120px;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-label i {
    color: #2563eb;
    font-size: 0.9rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #2563eb;
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Responsive Styles for Contact Page */
@media (max-width: 1024px) {
    .contact-grid {
        gap: 2rem;
    }
    
    .contact-form-column {
        position: static;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-heading {
        font-size: 1.75rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .info-card-icon {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
    
    .info-card-title {
        font-size: 1.1rem;
    }
    
    .social-links-contact {
        flex-direction: column;
    }
    
    .social-btn {
        width: 100%;
        justify-content: center;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .alert {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 40px 0;
    }
    
    .section-heading {
        font-size: 1.5rem;
        padding-bottom: 0.75rem;
    }
    
    .section-heading::after {
        width: 50px;
        height: 3px;
    }
    
    .info-card {
        padding: 1.25rem;
    }
    
    .info-card-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .info-card-title {
        font-size: 1rem;
    }
    
    .info-card-content {
        font-size: 0.95rem;
    }
    
    .contact-item {
        font-size: 0.9rem;
    }
    
    .social-btn {
        padding: 0.625rem 1rem;
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-input,
    .form-textarea {
        padding: 0.75rem 0.875rem;
        font-size: 0.95rem;
    }
    
    .form-label {
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .alert {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .alert i {
        font-size: 1.25rem;
    }
}

