@media (max-width: 768px) {
    .beliefs-swiper-navigation {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1.2rem;
        margin-top: 1.5rem;
    }
    .beliefs-swiper-navigation .beliefs-prev,
    .beliefs-swiper-navigation .beliefs-next {
        padding: 0.6rem 1.2rem;
        background: #008000;
        color: #fff;
        border: none;
        border-radius: 30px;
        font-size: 1rem;
        font-family: 'Poppins', sans-serif;
        font-weight: 500;
        cursor: pointer;
        transition: background 0.2s, transform 0.2s;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    }
    .beliefs-swiper-navigation .beliefs-prev:hover,
    .beliefs-swiper-navigation .beliefs-next:hover {
        background: #006400;
        transform: translateY(-2px);
    }
    .beliefs-swiper-navigation .beliefs-mobile-count {
        font-size: 1rem;
        color: #008000;
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        min-width: 70px;
        text-align: center;
        letter-spacing: 0.5px;
        background: none;
        border: none;
        margin: 0 0.2rem;
        display: inline-block;
    }
}
.beliefs-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}
/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    overflow-x: hidden;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Header */
.header {
    background: #e6e6e6;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.logo {
    flex-shrink: 0;
    z-index: 1001;
}

.circular-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    padding: 5px;
    transition: transform 0.3s ease;
}

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

.nav {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    margin-left: 24px; /* Closer spacing from logo for better visual connection */
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: #333333;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.nav a:hover {
    color: #008000;
}

.support-btn {
    background: #008000;
    color: #ffffff !important;
    padding: 0.8rem 1.5rem !important;
    border-radius: 4px;
    transition: background-color 0.3s ease !important;
}

.support-btn:hover {
    background: #006400;
    color: #ffffff !important;
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: fixed;
    right: 1rem;
    top: 1.5rem;
    z-index: 2000;
    width: 40px;
    height: 40px;
}

.hamburger {
    position: relative;
    width: 100%;
    height: 100%;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 30px;
    background-color: #333;
    transition: transform 0.3s ease-in-out, opacity 0.2s ease-in-out;
    left: 50%;
    transform: translateX(-50%);
}

.hamburger span:first-child {
    top: 12px;
}

.hamburger span:nth-child(2) {
    top: 20px;
}

.hamburger span:last-child {
    top: 28px;
}

/* Mobile Navigation Active States */
.mobile-nav-toggle[aria-expanded="true"] .hamburger span:first-child {
    transform: translateX(-50%) rotate(45deg);
    top: 20px;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger span:last-child {
    transform: translateX(-50%) rotate(-45deg);
    top: 20px;
}

.nav.active {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}

.nav.active ul {
    transform: translateY(0);
    opacity: 1;
}

body.nav-active {
    overflow: hidden;
}

@media (max-width: 768px) {
    .nav ul {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        padding: 0;
        margin: 0;
        width: 100%;
        transform: translateY(20px);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .nav a {
        font-size: 1.3rem;
        font-weight: 600;
        display: block;
        text-align: center;
        padding: 0.5rem 2rem;
        transition: all 0.3s ease;
        position: relative;
    }

    .nav a.active::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 2px;
        background: #008000;
    }

    .nav .support-btn {
        margin-top: 2rem;
    }
}

/* Responsive Navigation */
@media (max-width: 1024px) {
    .nav ul {
        gap: 1rem;
    }
    
    .nav a {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0;
        height: 90px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #e6e6e6;
    }
    
    .header .container {
        height: 90px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

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

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #e6e6e6;
        display: flex;
        justify-content: center;
        align-items: center;
        visibility: hidden;
        opacity: 0;
        transition: visibility 0s linear 0.3s, opacity 0.3s ease;
        z-index: 1900;
    }

    .nav.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav ul {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        padding: 0;
        margin: 0;
        width: 100%;
        height: 100%;
    }

    .nav a {
        font-size: 1.2rem;
        font-weight: 600;
        display: block;
        text-align: center;
        padding: 0.5rem 2rem;
        transition: all 0.3s ease;
    }

    .logo {
        position: relative;
        z-index: 2000;
    }

    .support-btn {
        margin-top: 1rem;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('SDA-PICS/background-image.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 70px;
}

.hero-content {
    max-width: 1000px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* Join Service Section */
.join-service {
    padding: 6rem 0;
    background: #f8f9fa;
    text-align: center;
}

.join-service h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    font-weight: 700;
}

.service-times {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.service-item i {
    font-size: 2rem;
    color: #4285f4;
}

.service-item p {
    font-size: 1.1rem;
    color: #2c3e50;
}

.service-item span {
    color: #4285f4;
    font-weight: 500;
}

/* Gallery Section */
.gallery {
    padding: 8rem 0;
    background: #fff;
}

.gallery h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.gallery-swiper {
    padding: 2rem 1rem;
    position: relative;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 16/9;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

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

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

/* Swiper custom styles */
.gallery-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-prev,
.gallery-next {
    padding: 0.8rem 1.5rem;
    background: #008000;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.gallery-prev:hover,
.gallery-next:hover {
    background: #006400;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.gallery-prev:active,
.gallery-next:active {
    transform: translateY(0);
}

.gallery-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery {
        padding: 4rem 0;
    }

    .gallery h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 35px;
        height: 35px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 1rem;
    }
}

/* Departments Section */
.departments {
    padding: 8rem 0;
    background: #f8f9fa;
}

.departments h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

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

.dept-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.dept-card:hover {
    transform: translateY(-10px);
}

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

.dept-card h3 {
    padding: 1.5rem;
    font-size: 1.5rem;
    color: #2c3e50;
}

.dept-card p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
}

/* Programs Section */
.programs {
    padding: 8rem 0;
    background: #fff;
}

.programs h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

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

.program-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.program-card:hover {
    transform: translateY(-10px);
}

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

.program-card h3 {
    padding: 1.5rem;
    font-size: 1.5rem;
    color: #2c3e50;
}

.program-card p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: #f8f9fa;
}

.contact h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-info {
    padding: 2rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: #666;
}

.contact-info i {
    color: #4285f4;
    font-size: 1.2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

.contact-form textarea {
    height: 150px;
    resize: none;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 6rem 0 2rem;
}

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

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
}

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

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

.footer-section ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #4285f4;
}

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

.social-links a {
    color: #fff;
    text-decoration: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #4285f4;
    transform: translateY(-3px);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: #4285f4;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background: #2962ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

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

/* About Page Styles */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('SDA-PICS/background-image.png');
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 80px;
}

.about-hero h1 {
    font-size: 4rem;
    font-family: 'Quintessential', cursive;
    font-weight: 400;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 1px;
}

.about-hero p {
    font-size: 1.4rem;
    opacity: 0.95;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.mission-vision {
    padding: 6rem 0;
    background: #fff;
    position: relative;
}

.mission-vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #008000, #4285f4);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin: 0 auto;
    max-width: 1200px;
    padding: 2rem;
}

.mission-card, .vision-card {
    padding: 3.5rem;
    text-align: center;
    background: #ffffff;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: visible;
    margin-bottom: 2rem;
    border: 1px solid rgba(0,0,0,0.08);
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #008000;
    border-radius: 20px 20px 0 0;
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #4285f4;
    border-radius: 20px 20px 0 0;
}

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

.mission-card i {
    font-size: 3.5rem;
    color: #008000;
    margin-bottom: 2rem;
    background: rgba(0, 128, 0, 0.1);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.vision-card i {
    font-size: 3.5rem;
    color: #4285f4;
    margin-bottom: 2rem;
    background: rgba(66, 133, 244, 0.1);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mission-card:hover i, .vision-card:hover i {
    transform: scale(1.1);
}

.mission-card h2, .vision-card h2 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.mission-card h2::after, .vision-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: currentColor;
}

.mission-card p, .vision-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-top: 1rem;
}

/* Responsive design for mission-vision section */
@media (max-width: 768px) {
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .mission-card, .vision-card {
        padding: 2.5rem;
    }

    .mission-card h2, .vision-card h2 {
        font-size: 1.8rem;
    }
}

.history {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.history h2 {
    text-align: center;
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.history h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #008000, #4285f4);
    border-radius: 2px;
}

.history-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

.history-image {
    position: relative;
    padding: 1rem;
}

.history-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid #008000;
    border-radius: 20px;
    transform: translate(15px, 15px);
    z-index: 1;
}

.history-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.history-image:hover img {
    transform: translate(5px, 5px);
}

.history-text {
    padding: 2rem;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.history-timeline .timeline-item {
    position: relative;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    background: #ffffff;
    border-radius: 15px;
    transition: all 0.3s ease;
    border-left: 4px solid #008000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.history-timeline .timeline-item:nth-child(2) {
    border-left-color: #4285f4;
}

.history-timeline .timeline-item:nth-child(3) {
    border-left-color: #fbbc04;
}

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

.history-timeline .timeline-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.timeline-item h3 {
    color: #2c3e50;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.timeline-item h3 i {
    width: 45px;
    height: 45px;
    background: rgba(66, 133, 244, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #4285f4;
    transition: all 0.3s ease;
}

.timeline-item:first-child h3 i {
    background: rgba(0, 128, 0, 0.1);
    color: #008000;
}

.timeline-item:nth-child(2) h3 i {
    background: rgba(66, 133, 244, 0.1);
    color: #4285f4;
}

.timeline-item:nth-child(3) h3 i {
    background: rgba(251, 188, 4, 0.1);
    color: #fbbc04;
}

.timeline-item:hover h3 i {
    transform: scale(1.1);
}

.timeline-item p {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-left: 3.5rem;
}

/* Responsive design for history section */
@media (max-width: 1024px) {
    .history-content {
        gap: 3rem;
        padding: 0 2rem;
    }
    
    .history h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .history {
        padding: 6rem 0;
    }

    .history-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0;
    }

    .history-image {
        max-width: 500px;
        margin: 0 auto;
        padding: 0 1rem;
    }

    .history-text {
        padding: 0;
        background: transparent;
        box-shadow: none;
    }

    .history h2 {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .history-timeline .timeline-item {
        margin: 0;
        margin-bottom: 1.5rem;
        padding: 2rem 1.5rem;
        border-radius: 0;
        border-left: none;
        position: relative;
        width: 100vw;
        left: 50%;
        transform: translateX(-50%);
        box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    }

    .history-timeline .timeline-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: inherit;
    }

    .history-timeline .timeline-item:first-child::before {
        background: #008000;
    }

    .history-timeline .timeline-item:nth-child(2)::before {
        background: #4285f4;
    }

    .history-timeline .timeline-item:nth-child(3)::before {
        background: #fbbc04;
    }

    .timeline-item h3 {
        font-size: 1.3rem;
        padding: 0 0.5rem;
    }

    .timeline-item p {
        font-size: 1rem;
        margin-left: 1rem;
        padding: 0 0.5rem;
    }

    .timeline-item:hover {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Additional mobile refinements */
@media (max-width: 480px) {
    .history {
        padding: 4rem 0;
    }

    .history-timeline .timeline-item {
        padding: 1.8rem 1rem;
    }

    .timeline-item h3 {
        font-size: 1.2rem;
    }

    .timeline-item p {
        font-size: 0.95rem;
    }
}

.beliefs {
    padding: 6rem 0;
    background: #fff;
}

.beliefs-grid {
    display: block;
    padding: 2rem 0;
}

.beliefs-desktop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.beliefs-desktop-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}
.beliefs-page-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: #008000;
    border: 2px solid #008000;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, border 0.2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    outline: none;
}
.beliefs-page-btn.active, .beliefs-page-btn:hover {
    background: #008000;
    color: #fff;
    border-color: #008000;
}

@media (max-width: 768px) {
    .beliefs-grid.swiper {
        display: block;
        padding: 0;
    }
    .beliefs-swiper .swiper-wrapper {
        display: flex;
    }
    .beliefs-swiper .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: stretch;
        height: auto;
    }
    .belief-card {
        min-width: 90vw;
        max-width: 95vw;
        margin: 0 auto;
    }
    .beliefs-swiper-navigation {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    .beliefs-prev,
    .beliefs-next {
        padding: 0.8rem 1.5rem;
        background: #008000;
        color: white;
        border: none;
        border-radius: 30px;
        cursor: pointer;
        font-family: 'Poppins', sans-serif;
        font-weight: 500;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }
    .beliefs-prev:hover,
    .beliefs-next:hover {
        background: #006400;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    .beliefs-prev:active,
    .beliefs-next:active {
        transform: translateY(0);
    }
}

.belief-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.belief-card:hover {
    transform: translateY(-10px);
}

.belief-card i {
    font-size: 2.5rem;
    color: #4285f4;
    margin-bottom: 1rem;
}

.belief-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.leadership {
    padding: 6rem 0;
    background: #f8f9fa;
}

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

.leader-card {
    text-align: center;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-10px);
}

.leader-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

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

.leader-card h3 {
    margin: 1.5rem 0 0.5rem;
    color: #2c3e50;
}

.leader-card p {
    padding: 0 1rem 1.5rem;
    color: #666;
}

.join-us {
    padding: 6rem 0;
    text-align: center;
    background: #fff;
}

.join-us h2 {
    margin-bottom: 1.5rem;
}

.join-us p {
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.nav a.active {
    color: #008000;
    position: relative;
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #008000;
    transition: width 0.3s ease;
}

@media (max-width: 768px) {
    .nav a.active::after {
        bottom: -8px;
        width: 30px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .departments-grid,
    .programs-grid,
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        height: 90vh;
        padding-top: 100px;
    }

    .hero h1 {
        font-size: 2.8rem;
        padding: 0 1rem;
    }

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

    .hero-content {
        width: 100%;
        padding: 0 1rem;
    }

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

    .gallery-grid {
        padding: 0;
    }

    .service-times {
        padding: 0 1rem;
    }

    .departments-grid,
    .programs-grid {
        padding: 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

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

    .btn {
        padding: 0.8rem 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

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

    .section-padding {
        padding: 4rem 0;
    }

    .gallery-item {
        aspect-ratio: 1;
    }

    .service-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .service-item i {
        margin-bottom: 1rem;
    }

    .dept-card,
    .program-card {
        margin: 0 1rem;
    }

    .contact-form {
        margin: 0 1rem;
    }
}

/* Additional utility classes for better spacing */
.section-padding {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #2c3e50;
}

/* Prevent horizontal scrolling on all screen sizes */
.container {
    overflow-x: hidden;
}

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

/* Ensure forms don't overflow */
input, 
textarea, 
button {
    max-width: 100%;
}