/* ===========================
   GLOBAL STYLES & RESET
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e81b39;
    --secondary-color: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --background-light: #f9f9f9;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(232, 27, 57, 0.2);
}

body {
    font-family: 'Montserrat', 'Calibri', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    font-size: 16px;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--background-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #c41630;
    border-color: #c41630;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-nav {
    background-color: var(--primary-color);
    color: white !important;
    padding: 8px 20px;
    border-radius: 5px;
}

.btn-nav:hover {
    background-color: #c41630;
    color: white !important;
}

/* ===========================
   NAVIGATION
   =========================== */
.navbar {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo {
    height: 45px;
    width: auto;
}

.church-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    gap: 8px;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-menu a:hover {
    background-color: rgba(232, 27, 57, 0.1);
    color: var(--primary-color);
}

.nav-menu a.active {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 6px 10px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    gap: 5px;
    z-index: 2000;
    align-self: flex-end;
    min-width: 44px;
    min-height: 44px;
    position: relative;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--text-dark);
    transition: 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    height: 85vh;
    min-height: 600px;
    max-height: 900px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #c41630 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    padding: 120px 20px 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(255,255,255,0.05)"/></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s backwards;
}

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

/* ===========================
   CARDS GRID
   =========================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===========================
   TWO COLUMN LAYOUT
   =========================== */
.two-column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    align-items: center;
}

.column h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.column p {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.mission-image {
    width: 100%;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ===========================
   INVOLVEMENT GRID
   =========================== */
.involvement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.involvement-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    border: 2px solid #f0f0f0;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.involvement-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.involvement-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.involvement-card p {
    color: var(--text-light);
}

/* ===========================
   CTA SECTION
   =========================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c41630 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background-color: #2c2c2c;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-column h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-column p {
    opacity: 0.8;
    margin-bottom: 10px;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-column a:hover {
    opacity: 1;
    color: var(--primary-color);
}

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

/* ===========================
   FORMS
   =========================== */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-family: 'Montserrat', 'Calibri', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.form-submit {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-submit:hover {
    background-color: #c41630;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

/* Large Desktops (1920px+) */
@media (min-width: 1920px) {
    .hero-title {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 3rem;
    }
}

/* Desktop to Large Tablets (1024px - 1440px) */
@media (min-width: 1024px) and (max-width: 1440px) {
    .hero {
        height: 75vh;
        min-height: 550px;
        max-height: 750px;
    }

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

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .section {
        padding: 70px 0;
    }
}

/* iPad Pro and Large Tablets (1024px) - Landscape */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
    body {
        font-size: 15px;
    }

    .navbar {
        padding: 8px 0;
    }

    .hero {
        height: 80vh;
        min-height: 500px;
        max-height: 700px;
        padding: 100px 20px 60px;
    }

    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }

    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .section-header {
        margin-bottom: 50px;
    }
}

/* iPad and Medium Tablets (768px - 1024px) - Portrait */
@media (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
    body {
        font-size: 15px;
    }

    .hero {
        height: 65vh;
        min-height: 500px;
        padding: 100px 20px 60px;
    }

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

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }
}

/* Landscape mode - Use hamburger menu to save vertical space */
@media (max-height: 600px) and (orientation: landscape) {
    body {
        font-size: 14px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 50px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: var(--shadow);
        padding: 10px 0;
        gap: 0;
        z-index: 999;
        max-height: calc(100vh - 50px);
        overflow-y: auto;
    }

    .nav-menu a {
        padding: 8px 20px;
        font-size: 0.85rem;
        display: block;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu a.active {
        background-color: rgba(232, 27, 57, 0.05);
        color: var(--primary-color);
        border: none;
        border-left: 4px solid var(--primary-color);
    }

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

    .mobile-menu-toggle {
        display: flex;
    }

    .navbar {
        padding: 3px 0;
    }

    .logo {
        height: 30px;
    }

    .church-name {
        font-size: 0.8rem;
    }

    .hero {
        height: 90vh;
        min-height: auto;
        max-height: none;
        padding: 70px 20px 40px;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .hero-buttons {
        gap: 12px;
    }

    .btn, .cta-button {
        padding: 8px 20px;
        font-size: 0.85rem;
    }

    .section {
        padding: 35px 0;
    }

    .section-header h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-header p {
        font-size: 0.85rem;
    }
}

/* Tablet and below (768px) */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .container {
        padding: 0 15px;
    }

    .section {
        padding: 45px 0;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: var(--shadow);
        padding: 20px 0;
        gap: 0;
        z-index: 999;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }

    .nav-menu a {
        padding: 14px 20px;
        font-size: 0.95rem;
        display: block;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu a.active {
        background-color: rgba(232, 27, 57, 0.05);
        color: var(--primary-color);
        border: none;
        border-left: 4px solid var(--primary-color);
    }

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

    .mobile-menu-toggle {
        display: flex;
    }

    .navbar {
        padding: 8px 0;
    }

    .logo {
        height: 36px;
    }

    .church-name {
        font-size: 0.85rem;
    }

    .hero {
        height: 60vh;
        min-height: 480px;
        max-height: 650px;
        padding: 90px 20px 50px;
    }

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

    .hero-subtitle {
        font-size: 1.05rem;
        margin: 15px 0 25px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .section-header h2 {
        font-size: 1.9rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .involvement-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
}

/* Small tablets and large phones (425px - 768px) */
@media (max-width: 600px) {
    body {
        font-size: 13.5px;
    }

    .section {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 35px;
    }

    .section-header h2 {
        font-size: 1.65rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    .hero {
        height: 55vh;
        min-height: 450px;
        max-height: 550px;
        padding: 85px 15px 45px;
    }

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

    .hero-subtitle {
        font-size: 0.95rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .card {
        padding: 28px 18px;
    }

    .btn-large {
        padding: 13px 30px;
        font-size: 0.95rem;
    }
}

/* Mobile devices (below 480px) */
@media (max-width: 480px) {
    body {
        font-size: 13px;
    }

    .container {
        padding: 0 12px;
    }

    .section {
        padding: 35px 0;
    }

    .navbar {
        padding: 6px 0;
    }

    .logo {
        height: 32px;
    }

    .church-name {
        font-size: 0.8rem;
    }

    .nav-menu a {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .hero {
        height: 52vh;
        min-height: 420px;
        max-height: 500px;
        padding: 80px 12px 40px;
    }

    .hero-title {
        font-size: 1.55rem;
        line-height: 1.25;
        padding: 0 8px;
    }

    .hero-subtitle {
        font-size: 0.88rem;
        padding: 0 8px;
        margin: 12px 0 20px;
    }

    .hero-buttons {
        gap: 12px;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-header h2 {
        font-size: 1.45rem;
    }

    .section-header p {
        font-size: 0.85rem;
        padding: 0 8px;
    }

    h3 {
        font-size: 1.15rem;
    }

    h4 {
        font-size: 1rem;
    }

    p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .btn {
        font-size: 0.85rem;
        padding: 10px 22px;
    }

    .btn-large {
        padding: 12px 26px;
        font-size: 0.9rem;
    }

    .card {
        padding: 25px 18px;
    }

    .form-container {
        padding: 25px 18px;
    }

    /* Reduce spacing between belief headings on mobile */
    .two-column .column h3[style*="margin-top"] {
        margin-top: 15px !important;
    }
    
    .two-column .column h3:first-of-type {
        margin-top: 0 !important;
    }

    .cards-grid {
        gap: 20px;
    }

    .involvement-grid {
        gap: 18px;
    }

    .footer-grid {
        gap: 30px;
    }
}

/* Extra small devices (below 375px) */
@media (max-width: 375px) {
    body {
        font-size: 12.5px;
    }

    .hero {
        height: 50vh;
        min-height: 400px;
        max-height: 480px;
        padding: 75px 10px 35px;
    }

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

    .hero-subtitle {
        font-size: 0.82rem;
    }

    .section-header h2 {
        font-size: 1.35rem;
    }

    .logo {
        height: 30px;
    }

    .church-name {
        font-size: 0.75rem;
    }

    .btn {
        padding: 9px 20px;
        font-size: 0.8rem;
    }

    .card {
        padding: 20px 14px;
    }
}

/* ===========================
   LANDSCAPE ORIENTATION
   =========================== */

/* Large phones landscape (iPhone 14 Pro Max, etc.) */
@media (min-width: 769px) and (max-width: 932px) and (orientation: landscape) {
    body {
        font-size: 14px;
    }

    .hero {
        height: 85vh;
        min-height: auto;
        max-height: 700px;
        padding: 80px 25px 50px;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 25px;
    }

    .section {
        padding: 50px 20px;
    }

    .section-header h2 {
        font-size: 1.9rem;
    }
}

/* Medium tablets and phones landscape (768px and below) */
@media (max-width: 768px) and (orientation: landscape) {
    body {
        font-size: 13px;
    }

    .navbar {
        padding: 4px 0;
    }

    .logo {
        height: 30px;
    }

    .hero {
        height: 90vh;
        min-height: auto;
        max-height: none;
        padding: 70px 20px 40px;
    }

    .hero-title {
        font-size: 1.85rem;
        margin-bottom: 10px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .btn, .cta-button {
        padding: 9px 22px;
        font-size: 0.88rem;
    }

    .section {
        padding: 38px 18px;
    }

    .section-header h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .section-header p {
        font-size: 0.88rem;
    }

    .value-card,
    .belief-card,
    .service-card,
    .leadership-card {
        padding: 14px;
    }

    .value-card h3,
    .belief-card h3,
    .service-card h3 {
        font-size: 1.08rem;
    }

    .value-card p,
    .belief-card p,
    .service-card p {
        font-size: 0.83rem;
    }

    footer {
        padding: 28px 18px 18px;
    }

    .footer-content {
        gap: 22px;
    }
}

/* Small phones landscape */
@media (max-width: 480px) and (orientation: landscape) {
    body {
        font-size: 12px;
    }

    .navbar {
        padding: 3px 0;
    }

    .logo {
        height: 26px;
    }

    .church-name {
        font-size: 0.75rem;
    }

    .hero {
        height: 92vh;
        min-height: auto;
        max-height: none;
        padding: 65px 15px 35px;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 8px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.82rem;
        margin-bottom: 16px;
    }

    .btn, .cta-button {
        padding: 7px 18px;
        font-size: 0.78rem;
    }

    .section {
        padding: 32px 15px;
    }

    .section-header h2 {
        font-size: 1.35rem;
        margin-bottom: 18px;
    }

    .section-header p {
        font-size: 0.8rem;
    }

    .value-card,
    .belief-card,
    .service-card,
    .leadership-card {
        padding: 12px;
    }

    .value-card h3,
    .belief-card h3,
    .service-card h3 {
        font-size: 0.98rem;
    }

    .value-card p,
    .belief-card p,
    .service-card p {
        font-size: 0.78rem;
    }

    footer {
        padding: 24px 15px 15px;
    }
}

/* ===========================
   NOTIFICATION SYSTEM
   =========================== */

.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 15px;
    font-weight: 500;
    max-width: 400px;
    z-index: 10000;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.notification-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.notification-success {
    background: #10b981;
    color: white;
}

.notification-error {
    background: #ef4444;
    color: white;
}

.notification-info {
    background: #3b82f6;
    color: white;
}

/* Mobile notification positioning */
@media (max-width: 768px) {
    .notification-toast {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
        font-size: 14px;
        padding: 14px 18px;
    }
}

/* ===========================
   NOTIFICATION SYSTEM
   =========================== */

.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 15px;
    font-weight: 500;
    max-width: 400px;
    z-index: 10000;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.notification-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.notification-success {
    background: #10b981;
    color: white;
}

.notification-error {
    background: #ef4444;
    color: white;
}

.notification-info {
    background: #3b82f6;
    color: white;
}

/* Mobile notification positioning */
@media (max-width: 768px) {
    .notification-toast {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
        font-size: 14px;
        padding: 14px 18px;
    }
}

/* ===========================
   PAGE-SPECIFIC STYLES
   =========================== */

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    aspect-ratio: 1;
}

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

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.1);
}

/* Resources */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.resource-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.resource-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.resource-card h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

/* Calendar */
.calendar-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.calendar-event {
    padding: 20px;
    border-left: 4px solid var(--primary-color);
    background: var(--background-light);
    margin-bottom: 20px;
    border-radius: 5px;
}

.calendar-event h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.calendar-date {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

/* Give Page */
.give-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.give-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.give-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.account-details {
    background: var(--background-light);
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
    text-align: left;
}

.account-details p {
    margin-bottom: 10px;
    font-weight: 500;
}

/* Service Teams */
.service-teams {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.team-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-color);
}

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

.team-card ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--text-light);
}

.team-card ul li {
    margin-bottom: 8px;
}