/* --- Variables & Global Styles --- */
:root {
    --primary-color: #FF9F43; /* Warm Orange */
    --secondary-color: #FFD32A; /* Sunny Yellow */
    --accent-color: #0fb9b1; /* Teal for balance */
    --text-color: #2d3436;
    --bg-light: #fffaf0; /* Warm off-white */
    --white: #ffffff;
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Nunito', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; border-radius: 10px; }

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

h1, h2, h3 { font-family: var(--font-heading); color: #e67e22; }
.accent-text { color: var(--accent-color); }

/* --- Navigation --- */
.navbar {
    background-color: var(--white);
    padding: 1.2rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: padding 0.3s ease;
}

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

.logo-container {
    display: flex;             
    align-items: center;       
    text-decoration: none;     
    color: inherit;   
    gap: 12px;
}

.nav-logo {
    height: 55px;
    width: auto;               
    transition: transform 0.3s ease;
}

.logo-container:hover .nav-logo {
    transform: scale(1.05);
}

.brand-name {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-size: 1.1rem;
    font-weight: 700;
    color: #555;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
    border-radius: 2px;
}

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

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

.translate-btn {
    background: linear-gradient(135deg, var(--accent-color), #098e87);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(15, 185, 177, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.translate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 185, 177, 0.4);
}

.hamburger { 
    display: none; 
    font-size: 1.8rem; 
    cursor: pointer; 
    color: var(--text-color);
}

/* --- Hero Section --- */
.hero {
    background-color: #FFE0C2;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 159, 67, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(15, 185, 177, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(255, 211, 42, 0.2) 0%, transparent 40%);
        
    min-height: 70vh; 
    display: flex;    
    align-items: center; 
    padding: 2rem 0;
    position: relative;
    overflow: hidden; 
}

.floating-icon {
    position: absolute;
    z-index: 0;
    opacity: 0.4;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.icon-1 { top: 10%; left: 5%; color: var(--primary-color); font-size: 4.5rem; animation-delay: 0s; }
.icon-2 { bottom: 15%; left: 40%; color: var(--accent-color); font-size: 6rem; animation-delay: 1s; }
.icon-3 { top: 15%; right: 10%; color: var(--secondary-color); font-size: 3.5rem; animation-delay: 2s; }
.icon-4 { bottom: 30%; right: 25%; color: #ff7675; font-size: 4rem; animation-delay: 0.5s; }
.icon-5 { top: 55%; left: 2%; color: #fab1a0; font-size: 3rem; animation-delay: 3s; }
.icon-6 { top: 5%; left: 50%; color: #74b9ff; font-size: 4rem; animation-delay: 1.5s; }
.icon-7 { bottom: 45%; right: 5%; color: var(--primary-color); font-size: 3.5rem; animation-delay: 2.5s; }
.icon-8 { top: 35%; left: 20%; color: #a29bfe; font-size: 3rem; opacity: 0.3; animation-delay: 4s; }

.hero-container {
    display: flex;
    align-items: center;
    gap: 4rem; 
    width: 100%;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    padding: 0 40px; 
}

.hero-text { flex: 1; }
.hero-image { 
    flex: 1; 
    display: flex;
    justify-content: center;
}

.hero-image img {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    border: 6px solid var(--white); 
    box-shadow: 15px 15px 0px rgba(255, 159, 67, 0.15); 
    max-height: 700px;
    width: 100%; 
    object-fit: cover;
    animation: morph 10s ease-in-out infinite; 
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

.hero h1 {
    font-size: 5rem; 
    line-height: 1.1; 
    color: #2d3436; 
    margin-bottom: 1.5rem;
    font-weight: 800; 
}

.hero h1 .highlight { color: var(--primary-color); }

.hero p {
    font-size: 1.35rem; 
    font-weight: 500;   
    color: #4a4a4a;     
    max-width: 90%;     
    line-height: 1.6;   
    margin-bottom: 0;   
}

.hero-buttons { margin-top: 3.5rem; }

.cta-btn {
    padding: 18px 45px;
    font-size: 1.2rem;
    border: none;
    border-radius: 50px; 
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 10px 20px rgba(255, 159, 67, 0.3);
}

.cta-btn.primary { background-color: var(--primary-color); color: white; }
.cta-btn:hover { transform: translateY(-5px); box-shadow: 0 15px 25px rgba(255, 159, 67, 0.4); }

.custom-shape-divider-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 3;
}

.custom-shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px; 
}

/* --- School Info Section (UPDATED) --- */
.info-section { 
    padding: 5rem 0;
    background-color: #F5F5F5;
}

.section-title { 
    text-align: center; 
    font-size: 3rem;
    margin-bottom: 3rem; 
    color: var(--primary-color);
}

.school-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* New Grid Layout for Details */
.school-info-grid {
    display: grid;
    /* Columns: Icon (30px), Label (85px fixed), Content (Auto) */
    grid-template-columns: 30px 100px 1fr;
    row-gap: 1.2rem;
    column-gap: 10px;
    align-items: start;
    font-size: 1.4rem;
    color: #444;
}

.grid-icon {
    color: var(--primary-color); /* Matches Orange Theme */
    text-align: center;
    font-size: 1.2rem;
    padding-top: 3px;
}

.grid-label {
    font-weight: 700;
    color: var(--text-color);
}

.grid-content {
    line-height: 1.5;
}

.grid-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 2px;
}

.grid-link:hover {
    color: #d35400;
    border-bottom: 2px solid #d35400;
}

.school-images {
    display: flex;
    justify-content: center;
    align-items: center;
}

.school-images img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    box-shadow: 15px 15px 0px var(--accent-color);
    border-radius: 20px;
}

/* --- Philosophy Section (Home) --- */
.philosophy-section {
    position: relative; 
    background-color: var(--secondary-color);
    padding: 7rem 0 8rem 0; 
    text-align: center;
    color: #5d4037;
}

.custom-shape-divider-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.custom-shape-divider-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px; 
}

.custom-shape-divider-bottom-philosophy {
    position: absolute;
    bottom: 0; 
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg); 
}
.custom-shape-divider-bottom-philosophy svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px; 
}

.philosophy-section blockquote {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
    font-weight: 600; 
    line-height: 1.6;
}

.ratio-badge span {
    background-color: var(--white);
    padding: 10px 25px; 
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    color: var(--primary-color); 
    display: inline-block;
}

/* --- Core Values --- */
.values-section { padding: 4rem 0; }
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border-bottom: 5px solid var(--primary-color);
}
.value-card:hover { transform: translateY(-5px); }
.icon-box { font-size: 2.5rem; color: var(--accent-color); margin-bottom: 1rem; }

/* --- Footer --- */
.footer { background-color: #2d3436; color: white; padding: 3rem 0; }
.footer-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-col h3 { color: var(--secondary-color); margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col a:hover { color: var(--primary-color); }
.social-icons { margin-top: 1rem; }
.social-icons a { font-size: 1.5rem; margin-right: 15px; }

/* --- Scroll Up Button --- */
#scrollUpBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
}
#scrollUpBtn:hover { background-color: #e67e22; }

/* --- Responsive Layout (Global) --- */
@media (max-width: 900px) {
    .hero {
        min-height: auto; 
        padding: 5rem 0; 
        text-align: center;
    }
    .hero-container { flex-direction: column-reverse; gap: 2rem; padding: 0 20px; }
    
    .hero h1 { 
        font-size: 3rem; 
        line-height: 1.2;
    }
    .hero p {
        font-size: 1.15rem; 
    }
    .hero-buttons {
        margin-top: 2.5rem;
    }
    .cta-btn {
        width: 100%; 
    }
    
    .hero-image img { max-height: 450px; }
    
    /* Responsive adjustment for School Grid */
    .school-grid { grid-template-columns: 1fr; gap: 2rem; }
    .school-images { order: -1; }
    
    .icon-4, .icon-5, .icon-7, .icon-8 { display: none; }
}

@media (max-width: 600px) {
    .nav-links {
        display: none; 
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%; 
        left: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 5px 5px rgba(0,0,0,0.1);
    }
    
    .nav-links.active { display: flex; }
    .hamburger { display: block; }
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 2rem; }

    /* Stack inner school details for mobile */
    .school-info-grid {
        grid-template-columns: 30px 1fr;
        row-gap: 1rem;
    }
    .grid-label {
        grid-column: 2;
        margin-bottom: -15px;
        font-size: 0.9rem;
        text-transform: uppercase;
        color: #888;
        letter-spacing: 0.5px;
    }
    .grid-content {
        grid-column: 2;
    }

    .cloud-wrapper {
        border-radius: 30px;
        padding: 2rem;
    }
    .cloud-wrapper::before, .cloud-wrapper::after {
        display: none; 
    }
}

/* ==========================================================================
   ABOUT PAGE SPECIFIC STYLES
   ========================================================================== */

/* --- Header --- */
.page-header {
    background: linear-gradient(135deg, #FFE0C2 0%, #fffaf0 100%);
    padding: 6rem 0 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden; /* ADD THIS: Prevents icons from floating outside the header */
}
.page-header .container {
    position: relative;
    z-index: 2; 
}

.page-header h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.5rem;
    color: #555;
}

/* --- Philosophy Section --- */
.about-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    /* Grid stays 2 columns: Text | Yuri */
    grid-template-columns: 1.2fr 0.8fr; 
    gap: 4rem;
}

.section-title.left-align {
    text-align: left;
    margin-bottom: 1.5rem;
}

.philosophy-text {
    font-size: 1.2rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 3rem;
}

/* --- Curriculum Area (Full Width) - UPDATED --- */
.curriculum-container {
    background: #fffaf0;
    padding: 2rem;
    border-radius: 20px;
    border: 2px dashed var(--primary-color);
    margin-top: 4rem; 
    text-align: center; /* Centers the image and button */
}

.curriculum-container h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.curriculum-img-wrapper {
    margin-top: 2rem;
}

.curriculum-image {
    width: 100%;
    max-width: 1000px; /* Prevents it from getting too big on desktops */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 5px solid white;
    margin-bottom: 2rem;
}

.download-container {
    margin-top: 1rem;
}

/* --- Image Column (Yuri only) --- */
.about-images {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.1);
    border: 5px solid white;
}

.yuri-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.caption {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    text-align: center;
}
.caption h3 {
    color: White;
    font-size: 2rem; 
    margin-bottom: 0.5rem; 
}

.caption p {
    font-size: 1.2rem; 
}
/* --- Facility & Environment Section --- */
.facility-section {
    background-color: var(--secondary-color);
    padding: 7rem 0;
    position: relative;
}

.facility-section .section-title {
    color: #5d4037;
}

.subtitle {
    text-align: center;
    max-width: 700px;
    margin: -2rem auto 3rem auto;
    font-size: 1.2rem;
    color: #5d4037;
}

/* Safety Grid */
.safety-grid {
    display: grid;
    /* Force exactly 4 columns so they stay in one row */
    grid-template-columns: repeat(4, 1fr); 
    gap: 2rem;
    margin-bottom: 4rem;
}

.safety-card {
    background: white;
    padding: 4rem 2rem; 
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    
    /* Ensure cards are same height */
    height: 100%; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.safety-card:hover {
    transform: translateY(-5px);
}

.safety-card .icon-box {
    font-size: 3.5rem;   
    color: #e74c3c;
    margin-bottom: 1.5rem;
}

.safety-card h3 {
    font-size: 1.6rem; 
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 700;
}

.safety-card p {
    font-size: 1.2rem; 
    line-height: 1.6;  
    color: #555;
}

/* Nutrition Area */
.nutrition-container {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.nutrition-text {
    flex: 1;
    padding: 3rem;
    font-size: 1.3rem;
}

.nutrition-text h2 {
    color: #27ae60;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.nutrition-list {
    margin-top: 1.5rem;
}

.nutrition-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.5;
    font-size: 1.4rem;
    
}

.nutrition-list i {
    color: var(--primary-color);
    width: 25px;
}

.nutrition-image {
    flex: 1;
}

.nutrition-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0; 
}

/* --- Responsive Adjustments for About Page --- */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .nutrition-container {
        flex-direction: column-reverse;
    }
    
    .nutrition-image img {
        height: 300px;
    }
    .safety-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 600px) {
    .page-header h1 { font-size: 2.5rem; }
}

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

/* Header tweaks */
.contact-header {
    background: linear-gradient(135deg, #a29bfe 0%, #fffaf0 100%);
    position: relative;
    overflow: hidden;
}

.contact-header h1 {
    color: #6c5ce7;
}

/* Section Layout */
.contact-section {
    padding: 2rem 0 6rem 0;
    background-color: var(--white);
    position: relative;
    z-index: 5;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Form is slightly wider */
    gap: 4rem;
    align-items: start;
}

/* Form Styles */
.form-container {
    background: #fffaf0;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 2px dashed #a29bfe; /* Playful border */
}

.form-title {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

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

.row-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #555;
    font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 159, 67, 0.2);
}

.submit-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    margin-top: 1rem;
}

#form-status {
    margin-top: 15px;
    font-weight: bold;
    text-align: center;
}

.success-message { color: #27ae60; }
.error-message { color: #e74c3c; }

/* Info Sidebar Styles */
.info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 5px solid var(--accent-color);
}

.info-card h3 {
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

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

.icon-circle {
    width: 50px;
    height: 50px;
    background-color: rgba(15, 185, 177, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-item h4 {
    margin-bottom: 0.2rem;
    color: #2d3436;
    font-size: 1.2rem;
}

.info-item p {
    color: #636e72;
    font-size: 1.1rem;
    line-height: 1.4;
}

/* Map */
.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 5px solid white;
    height: 400px;
}

.map-container iframe {
    height: 100%;
    width: 100%;
    max-width: 100%;
}

/* Responsive adjustments for Contact Page */
@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr; /* Stack vertically */
        gap: 3rem;
    }
    
    .info-sidebar {
        order: -1; 
    }

    .map-container {
        height: 300px;
    }
}

@media (max-width: 600px) {
    .row-group {
        grid-template-columns: 1fr; /* Stack inputs on small screens */
        gap: 0;
    }
    
    .form-container {
        padding: 1.5rem;
    }
}

/* ==========================================================================
   PARENT RESOURCES PAGE STYLES
   ========================================================================== */

/* --- Calendar Section --- */
.calendar-section {
    padding: 4rem 0;
    background-color: var(--white);
    text-align: center;
}

.calendar-wrapper {
    margin-top: 2rem;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio ensures it looks good on all screens */
    height: 0;
    overflow: hidden;
    
    /* The "Rainbow Frame" Style */
    border: 5px solid var(--primary-color);
    border-radius: 20px;
    box-shadow: 10px 10px 0px var(--accent-color); /* Teal shadow block */
    background: white;
}

.calendar-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Resources Grid Section --- */
.resources-section {
    padding: 5rem 0 8rem 0;
    background-color: #fffaf0; /* Light warm background */
}

.resource-grid {
    display: grid;
    /* Grid Layout: Menu takes full width on mobile, shares space on desktop */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

/* --- The Card Styling --- */
.resource-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent; /* Invisible border for hover effect */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.resource-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

/* Special styling for the Menu Card to make it stand out */
.menu-card {
    border-top: 5px solid var(--secondary-color); /* Yellow top border */
}

.pdf-card {
    border-top: 5px solid var(--accent-color); /* Teal top border */
}

.card-icon {
    font-size: 2.5rem;
    color: var(--text-color);
    background: #f8f9fa;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-card .card-icon { color: var(--secondary-color); }
.pdf-card .card-icon { color: var(--accent-color); }

.card-content h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.card-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* --- Download Buttons --- */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(255, 159, 67, 0.3);
}

.download-btn:hover {
    background-color: #e67e22;
    transform: scale(1.05);
}

/* Secondary Button Style (Teal) */
.download-btn.secondary {
    background-color: var(--accent-color);
    box-shadow: 0 4px 10px rgba(15, 185, 177, 0.3);
}

.download-btn.secondary:hover {
    background-color: #098e87;
}

/* --- Mobile Fixes --- */
@media (max-width: 600px) {
    .calendar-wrapper {
        padding-bottom: 120%; /* Makes calendar taller on phone so you can see more events */
        box-shadow: 5px 5px 0px var(--accent-color); /* Smaller shadow on mobile */
    }
    
    .resource-card {
        align-items: center; /* Center align text on mobile */
        text-align: center;
    }
}