/* ===================================
   CSS Variables - School Colors
   =================================== */
:root {
    --primary-yellow: #FDB913;
    --primary-grey: #5A6268;
    --dark-grey: #3D4349;
    --light-grey: #ADB5BD;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --gray: #6C757D;
    --dark-gray: #343A40;
    --black: #212529;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.2);
}

/* ===================================
   Global Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ===================================
   Navigation Bar
   =================================== */
.navbar {
    background: var(--white);
        pointer-events: auto;
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
        pointer-events: auto;
}

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

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

.logo-img {
    height: 50px;
    width: auto;
}

.school-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-grey);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
        pointer-events: auto;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--primary-grey);
    font-weight: 700;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-grey);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary-yellow);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-grey);
    transition: all 0.3s ease;
    animation: colorChange 3s ease-in-out infinite;
}

.hamburger span:nth-child(2) {
    animation-delay: 1s;
}

.hamburger span:nth-child(3) {
    animation-delay: 2s;
}

@keyframes colorChange {
    0%, 100% {
        background: var(--primary-grey);
    }
    33% {
        background: var(--primary-yellow);
    }
    66% {
        background: #FFC533;
    }
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    height: 65vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(253, 185, 19, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(253, 185, 19, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(90, 98, 104, 0.1) 0%, transparent 50%);
    animation: pulse 15s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(253,185,19,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    animation: rotate 60s linear infinite;
}

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

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(253, 185, 19, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
    backdrop-filter: blur(2px);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(253, 185, 19, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    animation: fadeInUp 1s ease;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    animation: fadeInUp 1.2s ease;
    color: var(--primary-yellow);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    font-weight: 600;
}

.hero-location {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1.4s ease;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-location i {
    color: var(--primary-yellow);
    margin-right: 0.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1.6s ease;
}

.hero-news-link {
    margin: 1.25rem auto 0;
    display: flex;
    width: fit-content;
    position: relative;
    z-index: 2;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    color: var(--primary-grey);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    border: 2px solid var(--primary-yellow);
    background: var(--white);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
    pointer-events: auto;
}

.hero-news-link i {
    font-size: 0.7rem;
    color: var(--white);
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background: var(--primary-yellow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: newsArrowMove 1.1s ease-in-out infinite;
}

@keyframes newsArrowMove {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(4px);
    }
}

.hero-news-link:hover {
    color: var(--dark-grey);
    background: #FFF9E6;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-yellow);
    color: var(--dark-grey);
}

.btn-primary:hover {
    background: #FFC533;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(253, 185, 19, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-grey);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--white);
}

/* ===================================
   Page Header
   =================================== */
.page-header {
    height: 40vh;
    background: url('../BRIDAPS IMAGES/page header and other images/Page Header bachground image 1.png') center center/cover no-repeat !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.header-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.header-content p {
    font-size: 1.2rem;
}

/* ===================================
   Section Styles
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-grey);
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-yellow) 0%, var(--primary-grey) 100%);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(253, 185, 19, 0.4);
}

/* ===================================
   Welcome Section
   =================================== */
.welcome-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFBF0 50%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(253, 185, 19, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.welcome-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(90, 98, 104, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.welcome-content {
    position: relative;
    z-index: 1;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 3px solid var(--primary-yellow);
    animation: slideInRight 1.5s ease-out;
}

@keyframes slideInRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.welcome-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-yellow) 0%, var(--primary-grey) 100%);
    border-radius: 15px 15px 0 0;
}

.welcome-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.05rem;
    text-align: center;
    color: var(--dark-grey);
    line-height: 1.6;
    font-weight: 500;
}

/* Responsive for Welcome Section */
@media (max-width: 768px) {
    .welcome-section {
        padding: 3rem 0;
    }
    
    .welcome-content {
        padding: 2rem 1.5rem;
    }
    
    .welcome-text {
        font-size: 1rem;
    }

    .hero-news-link {
        max-width: 95%;
    }
}

/* ===================================
   Features Section
   =================================== */
.features {
    padding: 5rem 0;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFBF0 50%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(90, 98, 104, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.features::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(253, 185, 19, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--primary-yellow);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-grey), var(--dark-grey));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary-yellow), #FFC533);
    color: var(--dark-grey);
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    color: var(--primary-grey);
    margin-bottom: 1rem;
    font-weight: bold;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Responsive for Features Section */
@media (max-width: 768px) {
    .features {
        padding: 3rem 0;
    }
    
    .features-grid {
        gap: 1.5rem;
    }
}

/* ===================================
   Quick Links Section
   =================================== */
.quick-links {
    padding: 5rem 0;
    background: var(--white);
}

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

.link-card {
    background: linear-gradient(135deg, var(--primary-grey), var(--dark-grey));
    padding: 2rem;
    border-radius: 10px;
    color: var(--white);
    text-align: center;
    transition: all 0.3s ease;
}

.link-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.link-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-yellow);
}

.link-card h3 {
    margin-bottom: 1rem;
}

.link-card p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.link-btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--primary-yellow);
    color: var(--dark-grey);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.link-btn:hover {
    background: #FFC533;
    transform: scale(1.05);
}

/* ===================================
   About Page Styles
   =================================== */
.about-content {
    padding: 5rem 0;
}

.about-intro {
    margin-bottom: 4rem;
}

.about-intro p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    text-align: center;
    color: var(--gray);
    line-height: 1.8;
}

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

.mv-card {
    background: var(--white);
    border: 2px solid var(--light-grey);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 6px 20px var(--shadow);
    transition: all 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-yellow);
    box-shadow: 0 12px 30px var(--shadow-hover);
}

.mv-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-yellow), var(--light-grey));
    color: var(--dark-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.mv-card h3 {
    color: var(--dark-grey);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.mv-card p {
    color: var(--gray);
    line-height: 1.8;
}

.core-values {
    margin-bottom: 4rem;
}

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

.core-values .value-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border: 2px solid var(--light-grey);
    border-radius: 12px;
    box-shadow: 0 4px 16px var(--shadow);
    transition: all 0.3s ease;
}

.core-values .value-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-yellow);
    box-shadow: 0 10px 24px var(--shadow-hover);
}

.core-values .value-item i {
    font-size: 2.5rem;
    color: var(--primary-grey);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.core-values .value-item:hover i {
    color: var(--primary-yellow);
}

.core-values .value-item h4 {
    color: var(--dark-grey);
    margin-bottom: 0.5rem;
}

.core-values .value-item p {
    color: var(--gray);
    font-size: 0.9rem;
}

.why-choose {
    margin-top: 4rem;
}

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

.reason-card {
    background: var(--white);
    border: 2px solid var(--light-grey);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 18px var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.reason-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-yellow) 0%, var(--primary-grey) 100%);
}

.reason-card:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-5px);
    box-shadow: 0 12px 28px var(--shadow-hover);
}

.reason-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-yellow);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.reason-card h3 {
    color: var(--dark-grey);
    margin-bottom: 1rem;
}

.reason-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* ===================================
   Staff Section
   =================================== */
.staff-section {
    padding: 5rem 0;
}

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

.staff-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
    border-width: 2px;
    border-style: solid;
    border-top-color: #FDB913;
    border-left-color: #FDB913;
    border-bottom-color: #5A6268;
    border-right-color: #5A6268;
    border-image: none;
    width: 320px;
    min-width: 220px;
    max-width: 100%;
    margin: 0 auto 2rem auto;
    padding: 0.5rem 0 1.2rem 0;
    box-shadow: 0 0 8px 2px rgba(253,185,19,0.15), 0 0 8px 2px rgba(90,98,104,0.15);
    border-radius: 8px;
}

.staff-card:hover {
    transform: none;
    box-shadow: none;
}

.staff-image {
    position: relative;
    overflow: hidden;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
}

.staff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-image i {
    color: var(--primary-grey);
    opacity: 0.6;
}

.admin-contact {
    padding: 0.5rem 0 0 0;
    background: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
}

.admin-contact p {
    margin: 0;
    color: var(--dark-grey);
    font-size: 0.92rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.admin-contact i {
    color: var(--primary-grey);
    font-size: 1rem;
}

/* Responsive for Admin Contact */
@media (max-width: 768px) {
    .admin-contact {
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .admin-contact p {
        font-size: 0.85rem;
    }
}

.staff-info {
    padding: 1.5rem;
}

.staff-info h3 {
    color: var(--dark-grey);
    margin-bottom: 0.5rem;
}

.position {
    color: var(--primary-grey);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(253, 185, 19, 0.3),
                 0 0 20px rgba(253, 185, 19, 0.2);
    font-size: 1.05rem;
}

.qualification {
    color: var(--gray);
    font-size: 0.9rem;
    font-style: italic;
}

.qualification strong {
    font-size: 0.75rem;
}

.description {
    color: var(--dark-grey);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(253, 185, 19, 0.2),
                 0 0 15px rgba(253, 185, 19, 0.15);
}

.staff-details p {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 0.5rem;
}

.staff-details i {
    color: var(--primary-yellow);
    margin-right: 0.5rem;
}

/* Principal Message Styling */
.admin-message {
    position: relative;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f5f5dc 0%, #ffffff 50%, #f5f5dc 100%);
    overflow: hidden;
}

.admin-message::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(253, 185, 19, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(253, 185, 19, 0.15) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

.principal-message-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border: 3px solid var(--primary-yellow);
    border-radius: 15px;
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    z-index: 1;
}

.principal-message-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, 
        var(--primary-yellow) 0%, 
        #ffc107 50%, 
        var(--primary-yellow) 100%);
    border-radius: 15px 15px 0 0;
}

.principal-message-content .message-icon {
    text-align: center;
    margin-bottom: 30px;
}

.principal-message-content .message-icon i {
    font-size: 3rem;
    color: var(--primary-yellow);
    opacity: 0.8;
}

.principal-message-content .message-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-grey);
    margin-bottom: 20px;
    text-align: justify;
}

.principal-message-content .signature {
    text-align: right;
    font-style: italic;
    color: var(--primary-grey);
    margin-top: 30px;
    font-size: 1.2rem;
}

.message-content {
    max-width: 800px;
    margin: 0 auto;
}

.message-content p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.signature {
    font-style: italic;
    color: var(--primary-grey);
    font-weight: 600;
}

.department-section {
    margin-bottom: 4rem;
}

.department-title {
    color: var(--primary-grey);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-yellow);
}

.department-title i {
    margin-right: 1rem;
    color: var(--primary-yellow);
}

/* ===================================
   Graduates Page Styles
   =================================== */
.graduates-section {
    padding: 5rem 0;
}

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

.stat-card {
    background: linear-gradient(135deg, var(--primary-grey), var(--dark-grey));
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    color: var(--white);
}

.stat-icon {
    font-size: 3rem;
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 1rem;
    opacity: 0.9;
}

.class-section {
    margin-bottom: 4rem;
}

.graduating-class {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    border: 3px solid var(--primary-yellow);
    box-shadow: 0 5px 20px var(--shadow), 0 0 0 1px var(--primary-yellow);
    transition: all 0.3s ease;
}

.graduating-class:hover {
    box-shadow: 0 8px 30px var(--shadow-hover), 0 0 15px rgba(253, 185, 19, 0.4);
    transform: translateY(-3px);
    border-color: #FFC107;
}

.class-photo {
    flex: 0 0 300px;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.class-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-images {
    width: 100%;
    height: 100%;
    position: relative;
}

.class-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.class-photo img.active {
    opacity: 1;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    padding: 0.8rem 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.slider-btn:hover {
    background: var(--primary-yellow);
    color: var(--dark-grey);
}

.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}

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

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

.slider-dots .dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.slider-dots .dot.active {
    background: var(--primary-yellow);
    width: 30px;
    border-radius: 6px;
}

.class-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.class-year {
    font-size: 2rem;
    color: var(--primary-grey);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-yellow);
}

.class-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.class-details p {
    font-size: 1.1rem;
    color: var(--dark-grey);
    padding: 0.8rem;
    background: var(--light-gray);
    border-radius: 8px;
    border-left: 4px solid var(--primary-yellow);
}

.class-details p strong {
    color: var(--primary-grey);
    margin-right: 0.5rem;
}

/* Class Handbook Section */
.class-handbook {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary-yellow);
}

.class-handbook h4 {
    color: var(--primary-grey);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.class-handbook h4 i {
    color: var(--primary-yellow);
}

.handbook-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-yellow), #ffc107);
    color: var(--dark-grey);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(253, 185, 19, 0.3);
}

.handbook-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(253, 185, 19, 0.5);
    background: linear-gradient(135deg, #ffc107, var(--primary-yellow));
}

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

/* Class Members Section */
.class-members {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary-grey);
}

.class-members h4 {
    color: var(--primary-grey);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.class-members h4 i {
    color: var(--primary-yellow);
}

.toggle-members-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-grey), var(--dark-grey));
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(90, 98, 104, 0.3);
    font-size: 1rem;
}

.toggle-members-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(90, 98, 104, 0.5);
    background: linear-gradient(135deg, var(--dark-grey), var(--primary-grey));
}

.toggle-members-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.members-list {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
}

.members-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.8rem;
}

.members-list li {
    padding: 0.8rem 1rem;
    background: var(--light-gray);
    border-radius: 6px;
    color: var(--dark-grey);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-left: 3px solid var(--primary-yellow);
}

.members-list li:hover {
    background: #e9ecef;
    transform: translateX(5px);
    border-left-color: var(--primary-grey);
}

/* Responsive Design for Graduating Classes */
@media (max-width: 768px) {
    .graduating-class {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .class-photo {
        flex: 0 0 auto;
        width: 100%;
        height: 200px;
    }
    
    .slider-btn {
        padding: 0.5rem 0.8rem;
        font-size: 1.2rem;
    }
    
    .slider-btn.prev {
        left: 5px;
    }
    
    .slider-btn.next {
        right: 5px;
    }
    
    .slider-dots {
        bottom: 5px;
    }
    
    .slider-dots .dot {
        width: 10px;
        height: 10px;
    }
    
    .slider-dots .dot.active {
        width: 24px;
    }
    
    .class-year {
        font-size: 1.5rem;
    }
    
    .class-details p {
        font-size: 1rem;
    }
    
    .class-handbook,
    .class-members {
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .class-handbook h4,
    .class-members h4 {
        font-size: 1rem;
    }
    
    .handbook-btn,
    .toggle-members-btn {
        width: 100%;
        justify-content: center;
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
    
    .members-list ul {
        grid-template-columns: 1fr;
    }
}

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

.graduate-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px var(--shadow);
    transition: all 0.3s ease;
}

.graduate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.graduate-image {
    height: 250px;
    overflow: hidden;
}

.graduate-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.graduate-info {
    padding: 1.5rem;
}

.graduate-info h4 {
    color: var(--dark-grey);
    margin-bottom: 0.5rem;
}

.achievement {
    color: var(--primary-yellow);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.destination {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Alumni Association Section */
.alumni-association {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.association-message {
    display: flex;
    gap: 3rem;
    padding: 3rem;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFBF0 50%, var(--white) 100%);
    border: 3px solid var(--primary-yellow);
    border-radius: 15px;
    color: var(--dark-grey);
    box-shadow: 0 10px 40px var(--shadow-hover);
    position: relative;
    overflow: hidden;
}

.association-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-yellow) 0%, var(--primary-grey) 100%);
}

.message-icon {
    flex: 0 0 100px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.message-icon i {
    font-size: 5rem;
    color: var(--primary-grey);
    opacity: 0.8;
}

.message-content {
    flex: 1;
}

.message-content h3 {
    font-size: 2rem;
    color: var(--primary-grey);
    margin-bottom: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.message-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.call-to-action {
    background: linear-gradient(135deg, #FFF3CD 0%, #FFE8A1 100%);
    padding: 1.5rem;
    border-left: 5px solid var(--primary-grey);
    border-radius: 8px;
    font-size: 1.15rem;
    margin: 2rem 0;
    color: var(--dark-grey);
    box-shadow: 0 3px 15px rgba(253, 185, 19, 0.3);
}

.association-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 3px solid var(--primary-yellow);
}

.association-values .value-item {
    text-align: center;
    padding: 1rem;
    background: var(--white);
    border: 2px solid var(--primary-yellow);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.association-values .value-item:hover {
    background: var(--primary-yellow);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(253, 185, 19, 0.4);
}

.association-values .value-item:hover i,
.association-values .value-item:hover span {
    color: var(--white);
}

.association-values .value-item i {
    font-size: 2rem;
    color: var(--primary-grey);
    margin-bottom: 0.5rem;
    display: block;
    transition: color 0.3s ease;
}

.association-values .value-item span {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark-grey);
    transition: color 0.3s ease;
}

/* Responsive Design for Alumni Association */
@media (max-width: 768px) {
    .association-message {
        flex-direction: column;
        padding: 2rem;
    }
    
    .message-icon {
        flex: 0 0 auto;
    }
    
    .message-icon i {
        font-size: 3rem;
    }
    
    .message-content h3 {
        font-size: 1.5rem;
    }
    
    .message-content p {
        font-size: 1rem;
    }
    
    .association-values {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

.career-paths {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

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

.path-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px var(--shadow);
    transition: all 0.3s ease;
}

.path-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-hover);
}

.path-item:hover i {
    color: var(--primary-yellow);
}

.path-item i {
    font-size: 3rem;
    color: var(--primary-grey);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.path-item h4 {
    color: var(--dark-grey);
    margin-bottom: 0.5rem;
}

.path-item p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ===================================
   Contact Page Styles
   =================================== */
.contact-section {
    padding: 3rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-info {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
}

.contact-intro {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.info-items {
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-grey), var(--light-grey));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-content h4 {
    color: var(--dark-grey);
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.info-content p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.social-section h4 {
    color: var(--dark-grey);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.social-links-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 0.5rem;
    background: var(--white);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    font-weight: 500;
}

.social-link:nth-child(1) {
    background: linear-gradient(135deg, #1877f2, #0d5dbf);
}

.social-link:nth-child(2) {
    background: linear-gradient(135deg, #0077b5, #005582);
}

.social-link:nth-child(3) {
    background: linear-gradient(135deg, #25d366, #1da851);
}

.social-link:nth-child(4) {
    background: linear-gradient(135deg, #ea4335, #c5221f);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.social-link i {
    font-size: 1.3rem;
}

.social-link span {
    font-size: 0.85rem;
}

.map-section {
    margin-bottom: 3rem;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px var(--shadow);
}

.quick-contact {
    margin-top: 3rem;
}

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

.quick-card {
    background: linear-gradient(135deg, var(--primary-grey), var(--dark-grey));
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    color: var(--white);
}

.quick-card i {
    font-size: 2.5rem;
    color: var(--primary-yellow);
    margin-bottom: 0.75rem;
}

.quick-card h4 {
    margin-bottom: 0.4rem;
    font-size: 1.1rem;
}

.quick-card p {
    margin-bottom: 0.75rem;
    opacity: 0.9;
    font-size: 0.9rem;
}

.quick-card a {
    color: var(--primary-yellow);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.quick-card a:hover {
    text-decoration: underline;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--dark-grey);
    color: var(--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 {
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.motto {
    font-style: italic;
    color: var(--primary-yellow);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.motto strong {
    color: var(--white);
    font-weight: 700;
    font-style: normal;
    letter-spacing: 1.5px;
    margin-right: 0.3rem;
}

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

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

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-yellow);
    padding-left: 5px;
}

.footer-section i {
    color: var(--primary-yellow);
    margin-right: 0.5rem;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-grey);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-links a:nth-child(1) {
    background: #1877f2;
}

.social-links a:nth-child(2) {
    background: #25d366;
}

.social-links a:nth-child(3) {
    background: #0077b5;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.8;
    font-size: 0.9rem;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

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

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-location {
        font-size: 1rem;
    }
    
    .hero-content {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .spotlight-content {
        grid-template-columns: 1fr;
    }

    .spotlight-image {
        width: 100%;
        height: 250px;
    }

    .header-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .school-name {
        font-size: 1.2rem;
    }

    .logo-img {
        height: 40px;
    }

    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-location {
        font-size: 0.9rem;
    }
    
    .hero-content {
        padding: 1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .principal-message-content {
        padding: 20px 15px;
    }
    
    .principal-message-content .message-icon i {
        font-size: 1.5rem;
    }
    
    .principal-message-content .message-text p {
        font-size: 0.95rem;
        text-align: left;
    }
    
    .principal-message-content .signature {
        font-size: 1rem;
    }
}

/* ================================
   News & Announcements Section
================================ */
.news-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #FDB913, #f39c12);
    color: white;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(253, 185, 19, 0.3);
}

.news-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.news-date .month {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.news-date .year {
    display: block;
    font-size: 0.8rem;
}

.news-content {
    padding: 1.5rem;
}

.news-top-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.news-category {
    display: inline-block;
    background: linear-gradient(135deg, #2E86C1, #1B4F72);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.news-category i {
    margin-right: 5px;
}

.news-inline-date {
    color: var(--gray);
    font-size: 0.9rem;
    white-space: nowrap;
}

.news-inline-date i {
    color: var(--primary-yellow);
    margin-right: 5px;
}

.news-title {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-excerpt {
    color: var(--dark-grey);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.news-details {
    margin-bottom: 1rem;
}

.news-details summary {
    list-style: none;
    cursor: pointer;
    color: var(--primary-grey);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.news-details summary::-webkit-details-marker {
    display: none;
}

.news-details[open] summary i {
    transform: rotate(180deg);
}

.news-details summary i {
    transition: transform 0.3s ease;
    color: var(--primary-yellow);
}

.news-full-content {
    margin-top: 0.75rem;
    color: var(--dark-grey);
    line-height: 1.7;
}

.news-full-content p {
    margin-bottom: 0.75rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    color: var(--gray);
    font-size: 0.9rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.news-meta span i {
    margin-right: 5px;
    color: var(--primary-color);
}

.news-actions {
    margin-left: auto;
    display: inline-flex;
    gap: 0.45rem;
}

.news-action-btn {
    border: 1px solid var(--light-grey);
    background: var(--white);
    color: var(--primary-grey);
    border-radius: 20px;
    padding: 0.35rem 0.8rem;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.news-action-btn i {
    margin-right: 5px;
}

.news-action-btn:hover {
    border-color: var(--primary-yellow);
    color: var(--dark-grey);
    background: #FFF9E6;
}

.shared-hidden {
    display: none !important;
}

/* Notices Section */
.notices-section {
    margin-top: 4rem;
}

.notices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.notice-card {
    display: flex;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.notice-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-left-color: var(--secondary-color);
}

.notice-icon {
    flex-shrink: 0;
}

.notice-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.notice-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.notice-content p {
    color: var(--dark-grey);
    line-height: 1.6;
    font-size: 0.95rem;
}

.notice-actions {
    margin-top: 0.8rem;
    display: inline-flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

/* Responsive Design for News */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .notices-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card {
        margin: 0 1rem;
    }
}
