* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors - Maroon variations */
    --primary: #8B0000;
    /* Stronger, more vibrant maroon */
    --primary-light: #B22222;
    /* Lighter, warmer maroon */
    --primary-dark: #5A0000;
    /* Deeper, richer maroon */

    /* Secondary Colors - Black variations */
    --secondary: #121212;
    /* Soft black, easier on eyes */
    --secondary-light: #2A2A2A;
    /* Dark gray for subtle contrast */
    --secondary-dark: #0A0A0A;
    /* Deep black for accents */

    /* Neutral Colors - White variations */
    --light: #FFFFFF;
    --light-off: #F8F9FA;
    /* Slightly off-white for backgrounds */
    --light-warm: #F5F3EF;
    /* Warm white for text areas */

    /* Accent Colors */
    --accent: #F0F0F0;
    /* Very light gray for subtle backgrounds */
    --accent-warm: #F8F5F0;
    /* Warm light gray */
    --accent-cool: #F5F7FA;
    /* Cool light gray */

    /* Text Colors */
    --text-primary: #2C3E50;
    /* Dark blue-gray for primary text */
    --text-secondary: #4A5568;
    /* Medium gray for secondary text */
    --text-light: #718096;
    /* Light gray for subtle text */
    --text-on-dark: #E2E8F0;
    /* Light text for dark backgrounds */

    /* UI Colors */
    --border: #E2E8F0;
    /* Soft border color */
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.05), 0 5px 10px rgba(0, 0, 0, 0.03);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.1), 0 10px 20px rgba(0, 0, 0, 0.06);
    --shadow-primary: 0 10px 20px rgba(139, 0, 0, 0.1);

    /* Interactive States */
    --hover-maroon: #9B1A1A;
    --active-maroon: #6B0000;
    --hover-black: #1E1E1E;
    --active-black: #000000;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-dark: linear-gradient(135deg, var(--secondary) 0%, var(--primary-dark) 100%);
    --gradient-light: linear-gradient(135deg, var(--light-off) 0%, var(--accent) 100%);

    /* Transitions */
    --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--light-off);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Montserrat', sans-serif;
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.3;
}

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

/* Scroll Animation Classes */
.section-hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition-slow);
}

.section-visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-slow);
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: var(--transition-slow);
}

.slide-left.appear {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: var(--transition-slow);
}

.slide-right.appear {
    opacity: 1;
    transform: translateX(0);
}

/* Header & Navigation */
header {
    background: var(--gradient-dark);
    color: var(--text-on-dark);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-heavy);
    backdrop-filter: blur(10px);
    background-color: rgba(18, 18, 18, 0.95);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 0;
    padding-left: 0;
}


.logo-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    background: var(--light);
    border: 3px solid var(--primary);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.2);
    transition: var(--transition);
    flex-shrink: 0;
}

.logo-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.3);
    border-color: var(--primary-light);
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.logo-text h1 {
    color: var(--light);
    font-size: 1.8rem;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, var(--light) 0%, var(--text-on-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-text p {
    font-size: 0.9rem;
    color: var(--text-light);
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    margin-left: 25px;
    position: relative;
}

nav a {
    color: var(--text-on-dark);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    padding: 5px 0;
    font-size: 0.95rem;
    position: relative;
}

nav a:hover {
    color: var(--primary-light);
}

nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: var(--transition);
    border-radius: 3px;
}

nav a:hover:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-on-dark);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    color: var(--primary-light);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(18, 18, 18, 0.85), rgba(90, 0, 0, 0.7)), url('images/classes.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-on-dark);
    padding: 140px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(139, 0, 0, 0.2) 0%, transparent 70%);
}

.hero h2 {
    color: var(--light);
    font-size: 3.2rem;
    margin-bottom: 25px;
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 35px;
    color: var(--text-on-dark);
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--light);
    padding: 16px 36px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-primary);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(139, 0, 0, 0.2);
}

.btn:hover:before {
    opacity: 1;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--light);
    margin-left: 15px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-light);
}

/* Section Styling */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    color: var(--secondary);
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* About Section */
.about-content {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.about-img {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 600px;
}

.about-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-heavy);
    border: 3px solid var(--light);
    outline: 2px solid var(--primary);
    transition: var(--transition-slow);
}

/* Make first and last image span 2 columns for visual interest */
.about-img img:first-child {
    grid-column: span 2;
    height: 250px;
}
.about-img img:last-child {
    grid-column: span 2;
    height: 250px;
}

/* Hover effects */
.about-img img:hover {
    transform: scale(1.02);
    outline-color: var(--primary-light);
    z-index: 10;
    box-shadow: var(--shadow-xl);
}

.about-text {
    flex: 1;
    background: var(--light);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border-left: 6px solid var(--primary);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-img {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .about-img {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .about-img img:first-child {
        grid-column: span 1;
        height: 200px;
    }
    
    .about-img img {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .about-img img {
        height: 160px;
    }
}

.about-text h3 {
    margin-bottom: 20px;
    color: var(--secondary);
    font-size: 1.8rem;
    background: linear-gradient(to right, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.history-highlight {
    background: rgba(139, 0, 0, 0.05);
    padding: 25px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
    margin-top: 25px;
    margin-bottom: 25px;
}

.history-highlight h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

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

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

.history-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Mission & Vision Section */
.mission-vision {
    background: var(--gradient-light);
    position: relative;
}

.mission-vision:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--gradient-primary);
}

.mv-container {
    display: flex;
    gap: 40px;
}

.mission,
.vision {
    flex: 1;
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 5px solid transparent;
    border-image: var(--gradient-primary);
    border-image-slice: 1;
}

.mission:hover,
.vision:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.mission-icon,
.vision-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    display: inline-block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mission p,
.vision p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Core Values Section */
.values-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.value-card {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 5px solid transparent;
    border-image: var(--gradient-primary);
    border-image-slice: 1;
    position: relative;
    overflow: hidden;
}

.value-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    display: inline-block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.value-card h3 {
    margin-bottom: 15px;
    color: var(--secondary);
}


/*LEADERSHIP SECTION - PRINCIPAL & BOM CHAIR*/
.leadership-section {
    background: linear-gradient(145deg, #FDF8F5 0%, #FEFCFA 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.leadership-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 30, 30, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.leadership-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 30, 30, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.leader-container {
    display: flex;
    align-items: center;
    gap: 60px;
    background: white;
    border-radius: var(--radius-xl);
    padding: 60px;
    margin-bottom: 50px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(139, 30, 30, 0.1);
    position: relative;
    z-index: 10;
    transition: var(--transition);
}

.leader-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.leader-container:last-child {
    margin-bottom: 0;
}

/* Different border accents for each leader */
.principal-desk {
    border-left: 8px solid var(--primary);
}

.bom-desk {
    border-right: 8px solid var(--primary);
}

.sponsor-desk {
    border-right: 8px solid var(--primary);
}

.leader-img {
    flex: 0 0 400px;
  align-items: stretch;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    border: 5px solid white;
    outline: 3px solid var(--primary);
    transition: var(--transition-bounce);
    position: relative;
}

.leader-img:hover {
    transform: scale(1.02) rotate(1deg);
    outline-color: var(--primary-light);
}

.leader-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-slow);
}

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

.leader-info {
    flex: 1;
    position: relative;
}

.leader-badge {
    margin-bottom: 15px;
}

.leader-role {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 25px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: var(--shadow-primary);
}

.leader-info h3 {
    color: var(--secondary);
    font-size: 2rem;
    margin-bottom: 8px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.leader-title {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 25px;
    font-size: 1.1rem;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(139, 30, 30, 0.1);
    position: relative;
}

.leader-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--gradient-primary);
}

/* Message content with quote styling */
.message-content {
    position: relative;
    margin: 20px 0 25px;
    flex: 1; /* Allows message content to grow */
    overflow-y: auto; /* Adds scroll if content is extremely long */
    max-height: 400px; /* Prevents extremely long content from breaking layout */
    padding-right: 10px; /* Space for scrollbar */
}

/* Custom scrollbar for message content */
.message-content::-webkit-scrollbar {
    width: 4px;
}

.message-content::-webkit-scrollbar-track {
    background: rgba(139, 30, 30, 0.05);
    border-radius: 10px;
}

.message-content::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}

.quote-icon {
     top: 30px;
    right: 30px;
    font-size: 2.5rem;
    color: #ED9E59;
    line-height: 1;
}

.quote-icon.opening {
    float: left;
    margin-right: 15px;
    margin-bottom: 10px;
}

.quote-icon.closing {
    float: right;
    margin-left: 15px;
    margin-top: 10px;
    clear: both;
}

.message-text {
    overflow: hidden;
}

.message-text p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.8;
    position: relative;
    z-index: 5;
}

.message-text p:last-child {
    margin-bottom: 0;
}

/* Leader footer with date and signature */
.leader-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.leader-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 30, 30, 0.05);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(139, 30, 30, 0.1);
}

.leader-date i {
    color: var(--primary);
}

.leader-signature {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    padding-right: 30px;
}

.leader-signature::after {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0.5;
}

/* BOM Chair specific styling */
/* BOM Chair specific styling */
.bom-desk .leader-role {
    background: linear-gradient(145deg, #2C3E50 0%, #1A2634 100%);
}

.bom-desk .leader-title {
    color: var(--secondary);
    font-weight: 700;
}

.bom-desk .leader-title::after {
    background: linear-gradient(145deg, #2C3E50 0%, #1A2634 100%);
}

.bom-desk .leader-date {
    color: var(--secondary);
    border-color: rgba(0, 0, 0, 0.1);
}

.bom-desk .leader-date i {
    color: var(--secondary);
}

/* Theme statement styling */
.theme-statement {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px dashed rgba(139, 30, 30, 0.2);
    text-align: center;
    font-weight: 600;
}

/* Strategic title */
.strategic-title {
    color: var(--secondary);
    margin: 20px 0 15px;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Strategic points styling */
.strategic-point {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.point-bullet {
    color: var(--primary);
    font-size: 1.3rem;
    line-height: 1.4;
    font-weight: 700;
    flex-shrink: 0;
}

.point-text {
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
}

.point-text strong {
    color: var(--secondary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .theme-statement {
        font-size: 1rem;
    }
    
    .strategic-title {
        font-size: 1.1rem;
    }
    
    .strategic-point {
        gap: 8px;
    }
    
    .point-bullet {
        font-size: 1.1rem;
    }
}

/* Decorative elements */
.leader-container::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(139, 30, 30, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.bom-desk::before {
    left: 20px;
    right: auto;
}

/* Responsive Design */
@media (max-width: 992px) {
    .leader-container {
        flex-direction: column;
        padding: 40px;
        gap: 30px;
    }
    
    .leader-img {
        flex: 0 0 auto;
        max-width: 300px;
        width: 100%;
    }
    
    .principal-desk, .bom-desk {
        border-left: none;
        border-right: none;
        border-top: 8px solid var(--primary);
    }
    
    .leader-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .quote-icon {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .leadership-section {
        padding: 60px 0;
    }
    
    .leader-container {
        padding: 30px 20px;
    }
    
    .leader-info h3 {
        font-size: 1.6rem;
    }
    
    .leader-title {
        font-size: 1rem;
    }
    
    .message-text p {
        font-size: 0.95rem;
    }
    
    .leader-badge .leader-role {
        font-size: 0.8rem;
        padding: 6px 18px;
    }
}

@media (max-width: 576px) {
    .leader-img {
        max-width: 250px;
    }
    
    .leader-info h3 {
        font-size: 1.4rem;
    }
    
    .quote-icon.opening {
        font-size: 1.8rem;
        margin-right: 10px;
    }
    
    .quote-icon.closing {
        font-size: 1.8rem;
        margin-left: 10px;
    }
    
    .leader-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .leader-date {
        font-size: 0.8rem;
        padding: 6px 15px;
    }
}

/* Sponsor Representative specific styling */
.profile-content {
    margin: 20px 0 25px;
    flex: 1;
    overflow-y: auto;
    max-height: 450px;
    padding-right: 10px;
}

/* Profile Sections */
.profile-section {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(139, 69, 19, 0.02);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.profile-section:hover {
    background: rgba(139, 69, 19, 0.05);
    border-left-color: #8B4513;
}

.profile-icon {
    flex: 0 0 45px;
    height: 45px;
    background: rgba(139, 69, 19, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-icon i {
    font-size: 1.3rem;
    color: #8B4513;
}

.profile-text {
    flex: 1;
}

.profile-text h4 {
    color: #8B4513;
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.profile-text p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Sponsor specific adjustments */
.sponsor-desk .leader-footer {
    border-top-color: rgba(139, 69, 19, 0.2);
}

.sponsor-desk .leader-signature {
    color: #8B4513;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .profile-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px;
    }
    
    .profile-icon {
        flex: 0 0 40px;
        height: 40px;
    }
    
    .profile-content {
        max-height: 400px;
    }
}

@media (max-width: 576px) {
    .profile-text h4 {
        font-size: 1rem;
    }
    
    .profile-text p {
        font-size: 0.9rem;
    }
    
}

.sponsor-desk {
    border-right: 8px solid var(--primary); /* Saddle brown - represents church/earth */
}

.sponsor-desk .leader-role {
    background: linear-gradient(145deg, #8B4513 0%, #5D3A1A 100%);
}

.sponsor-desk .leader-title {
    color: #8B4513;
    font-weight: 700;
}

.sponsor-desk .leader-title::after {
    background: linear-gradient(145deg, #8B4513 0%, #5D3A1A 100%);
}

.sponsor-desk .leader-date {
    color: #8B4513;
    border-color: rgba(139, 69, 19, 0.2);
    background: rgba(139, 69, 19, 0.05);
}

.sponsor-desk .leader-date i {
    color: #8B4513;
}

.sponsor-desk .strategic-title {
    color: #8B4513;
}

.sponsor-desk .point-bullet {
    color: #8B4513;
}

/* Optional: Cross icon or religious symbol */
.sponsor-desk .leader-badge::before {
    content: '✝';
    margin-right: 8px;
    font-size: 1rem;
    color: white;
}

/* Decorative element for sponsor section */
.sponsor-desk::after {
    content: '';
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%238B4513" opacity="0.05"><path d="M12 2L2 7v8c0 5 10 7 10 7s10-2 10-7V7l-10-5z"/><path d="M12 2L2 7v8c0 5 10 7 10 7s10-2 10-7V7l-10-5z"/><line x1="12" y1="12" x2="12" y2="16"/><line x1="8" y1="12" x2="16" y2="12"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
    pointer-events: none;
}

/* Features Section */
.features {
    background: var(--gradient-light);
    position: relative;
}

.features:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--gradient-primary);
}

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

.feature-card {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 5px solid transparent;
    border-image: var(--gradient-primary);
    border-image-slice: 1;
    position: relative;
    overflow: hidden;
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-heavy);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    display: inline-block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--secondary);
}

.feature-card p {
    color: var(--text-secondary);
}

/* Academics Section */
.subjects-section {
    background: var(--light);
}

.subjects-container {
    background: var(--light);
    border-radius: var(--radius-xl);
    padding: 50px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

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

.subject-item {
    background: rgba(139, 0, 0, 0.05);
    padding: 15px 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
    border-left: 4px solid var(--primary);
}

.subject-item:hover {
    transform: translateX(5px);
    background: rgba(139, 0, 0, 0.1);
}

.subject-item i {
    color: var(--primary);
    font-size: 1.3rem;
}

.subject-item span {
    color: var(--text-secondary);
    font-weight: 600;
}

/*ADMISSION SECTION*/
.admission-section {
    background: linear-gradient(145deg, #FDF8F5 0%, #FEFCFA 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.admission-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(139, 30, 30, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.admission-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(139, 30, 30, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.admission-content {
    position: relative;
    z-index: 10;
}

/* Grade Highlight Card */
.grade-highlight {
    display: flex;
    align-items: center;
    gap: 40px;
    background: white;
    border-radius: var(--radius-xl);
    padding: 50px;
    margin-bottom: 50px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(139, 30, 30, 0.1);
    position: relative;
    overflow: hidden;
}

.grade-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background: var(--gradient-primary);
}

.grade-badge {
    flex: 0 0 180px;
    height: 180px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-primary-lg);
    border: 4px solid rgba(255, 255, 255, 0.5);
    position: relative;
    animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(139, 30, 30, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(139, 30, 30, 0.5);
    }
}

.grade-number {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.grade-label {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
    text-align: center;
    padding: 0 10px;
}

.grade-info {
    flex: 1;
}

.grade-info h3 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.grade-info h3 i {
    color: var(--primary);
    font-size: 2rem;
}

.grade-info p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}


/* Coping Section */
.coping-section {
    background: white;
    border-radius: var(--radius-xl);
    padding: 50px;
    margin-bottom: 50px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(139, 30, 30, 0.08);
}

.coping-section h3 {
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    padding-bottom: 15px;
}

.coping-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

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

.coping-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid transparent;
}

.coping-item:hover {
    background: rgba(139, 30, 30, 0.02);
    border-color: rgba(139, 30, 30, 0.1);
    transform: translateX(5px);
}

.coping-icon {
    flex: 0 0 50px;
    height: 50px;
    background: rgba(139, 30, 30, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.coping-text h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--secondary);
}

.coping-text p {
    color: var(--text-tertiary);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* General Admission Information */
.general-admission {
    background: linear-gradient(#F77051 , #5D0516);
    border-radius: var(--radius-xl);
    padding: 40px;
    margin-bottom: 50px;
    color: white;
    position: relative;
    overflow: hidden;
}

.general-admission::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(139, 30, 30, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.general-admission h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 10;
}

.general-admission h3 i {
    color: var(--primary-light);
}

.admission-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    z-index: 10;
}

.admission-stat {
    text-align: center;
    padding: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.admission-stat:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-value {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 5px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

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

.admission-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
}

.admission-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admission-cta p i {
    color: var(--primary-light);
}

.admission-btn {
    background: #202216;
    color: #F2DE9B;
    padding: 12px 30px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-bounce);
    border: 2px solid transparent;
}

.admission-btn:hover {
    background: transparent;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 992px) {
    .grade-highlight {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }

    .grade-highlight::before {
        width: 100%;
        height: 8px;
    }

    .grade-info h3 {
        justify-content: center;
    }

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

    .admission-details {
        grid-template-columns: repeat(2, 1fr);
    }

    .admission-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .testimonial-text {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .admission-section {
        padding: 60px 0;
    }

    .grade-highlight {
        padding: 30px 20px;
    }

    .grade-badge {
        flex: 0 0 150px;
        height: 150px;
    }

    .grade-number {
        font-size: 2.8rem;
    }

    .grade-info h3 {
        font-size: 1.6rem;
    }

    .coping-section,
    .general-admission {
        padding: 30px 20px;
    }

    .coping-item {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }

    .coping-icon {
        margin: 0 auto;
    }

    .admission-details {
        grid-template-columns: 1fr;
    }

    .quote-icon {
        font-size: 3rem;
        top: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .grade-badge {
        flex: 0 0 120px;
        height: 120px;
    }

    .grade-number {
        font-size: 2.2rem;
    }

    .grade-label {
        font-size: 0.8rem;
    }

    .grade-info h3 {
        font-size: 1.4rem;
    }

    .coping-section h3,
    .general-admission h3 {
        font-size: 1.5rem;
    }

}

/* Contact Section */
.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact-icon {
    background: var(--gradient-primary);
    color: var(--light);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-primary);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-family: 'Open Sans', sans-serif;
    transition: var(--transition);
    font-size: 1rem;
    background: var(--light);
    color: var(--text-primary);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

/* Footer */
footer {
    background: var(--gradient-dark);
    color: var(--text-on-dark);
    padding: 80px 0 30px;
    position: relative;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--gradient-primary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h3 {
    color: var(--light);
    margin-bottom: 25px;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 15px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 8px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px) scale(1.1);
    border-color: transparent;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

.pulse {
    animation: pulse 2s infinite;
}

.float {
    animation: float 3s infinite;
}

/* ============ ANIMATIONS ============ */

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 992px) {

    .about-content,
    .mv-container,
    .principal-container,
    .contact-container {
        flex-direction: column;
    }

    .hero h2 {
        font-size: 2.6rem;
    }

    .principal-img {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--gradient-dark);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
        z-index: 999;
        backdrop-filter: blur(10px);
        background-color: rgba(18, 18, 18, 0.98);
    }

    nav ul.active {
        display: flex;
    }

    nav li {
        margin: 10px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 100px 0;
    }

    .hero h2 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    section {
        padding: 80px 0;
    }

    .mission,
    .vision {
        padding: 30px 20px;
    }

    .principal-container {
        padding: 40px 30px;
    }

    .performance-container {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 1.9rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .feature-card,
    .value-card {
        padding: 30px 20px;
    }

    .btn {
        padding: 14px 25px;
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }

    .btn-secondary {
        margin-left: 0;
    }

    .gallery-tab {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .gallery-item {
        height: 200px;
    }
}

/* === NEWS & ANNOUNCEMENTS SECTION === */
.news-section {
    background: linear-gradient(145deg, #F9F7F5 0%, #FCFAF8 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.news-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(139, 30, 30, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    position: relative;
    z-index: 10;
}

/* Featured News Card */
.news-card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(139, 30, 30, 0.1);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.news-badge {
    display: flex;
    justify-content: space-between;
    padding: 15px 25px;
    background: linear-gradient(145deg, #F8F5F3 0%, #F0EDEA 100%);
    border-bottom: 1px solid rgba(139, 30, 30, 0.1);
}

.badge-sports {
    background: var(--gradient-primary);
    color: white;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.badge-sports i {
    font-size: 0.9rem;
}

.news-content {
    padding: 25px;
}

.news-title {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.3;
}

.news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    color: var(--text-tertiary);
    font-size: 0.9rem;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.news-date, .news-author {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Image Gallery - Three Images Display */
.news-gallery {
    margin-bottom: 25px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #f5f5f5;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 10px;
    background: #f0f0f0;
    border-radius: var(--radius-lg);
}

.gallery-thumbnails img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-md);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 3px solid white;
    display: block;
}

.gallery-thumbnails img:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 30px rgba(139, 30, 30, 0.25);
    border-color: var(--primary);
    z-index: 5;
    cursor: pointer;
}

/* Announcement Message */
.announcement-message {
    background: linear-gradient(145deg, #FDF8F5 0%, #FEFAF7 100%);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 25px;
    border-left: 6px solid var(--primary);
    position: relative;
}

.message-quote {
    position: relative;
}

.quote-open, .quote-close {
    color: rgba(139, 30, 30, 0.15);
    font-size: 2rem;
    position: absolute;
}

.quote-open {
    top: -15px;
    left: -15px;
}

.quote-close {
    bottom: -15px;
    right: -15px;
}

.message-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    font-style: italic;
    margin: 0 25px;
    position: relative;
    z-index: 5;
}

.message-text strong {
    color: var(--primary);
}

/* Donation Details Card */
.donation-details-card {
    background: linear-gradient(145deg, #F0F7FA 0%, #E8F0F5 100%);
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-bottom: 25px;
    border: 1px dashed var(--primary);
}

.detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 10px;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: white;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.detail-item:hover {
    background: rgba(139, 30, 30, 0.03);
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.detail-item i {
    font-size: 1.5rem;
    color: var(--primary);
    width: 35px;
    text-align: center;
}

.detail-item div {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.detail-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
}

/* Thank You Message */
.thankyou-message {
    background: rgba(139, 30, 30, 0.05);
    padding: 25px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(139, 30, 30, 0.1);
}

.thankyou-message i {
    font-size: 2.5rem;
    color: var(--primary);
    animation: heartbeat 1.5s ease infinite;
    flex-shrink: 0;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
    75% { transform: scale(1.05); }
}

.thankyou-message p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    font-size: 1.05rem;
}

.thankyou-message strong {
    color: var(--primary);
}

/* Responsive Design */
@media (max-width: 992px) {
    .gallery-thumbnails img {
        height: 160px;
    }
    
    .gallery-thumbnails {
        gap: 10px;
        padding: 8px;
    }
    
    .detail-row {
        grid-template-columns: 1fr;
    }
    
    .news-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .news-title {
        font-size: 1.4rem;
    }
    
    .gallery-thumbnails {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding: 6px;
    }
    
    .gallery-thumbnails img {
        height: 120px;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .message-text {
        font-size: 1rem;
        margin: 0 15px;
    }
    
    .quote-open, .quote-close {
        font-size: 1.5rem;
    }
    
    .thankyou-message {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .detail-item {
        padding: 10px;
    }
    
    .detail-item i {
        font-size: 1.2rem;
        width: 30px;
    }
    
    .detail-value {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .news-section {
        padding: 50px 0;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-title {
        font-size: 1.2rem;
    }
    
    .news-badge {
        padding: 12px 20px;
    }
    
    .badge-sports {
        font-size: 0.75rem;
        padding: 4px 12px;
    }
    
    .gallery-thumbnails {
        gap: 5px;
        padding: 5px;
    }
    
    .gallery-thumbnails img {
        height: 90px;
        border-width: 2px;
    }
    
    .announcement-message {
        padding: 20px;
    }
    
    .message-text {
        font-size: 0.95rem;
        margin: 0 10px;
    }
    
    .donation-details-card {
        padding: 15px;
    }
    
    .detail-item {
        gap: 10px;
        padding: 8px 12px;
    }
    
    .detail-item i {
        font-size: 1rem;
        width: 25px;
    }
    
    .detail-value {
        font-size: 0.9rem;
    }
    
    .thankyou-message {
        padding: 15px;
        gap: 10px;
    }
    
    .thankyou-message i {
        font-size: 2rem;
    }
    
    .thankyou-message p {
        font-size: 0.95rem;
    }
}

/* For very small devices */
@media (max-width: 380px) {
    .gallery-thumbnails img {
        height: 70px;
    }
}