:root {
    --primary-color: #4a148c;
    --secondary-color: #7b1fa2;
    --accent-color: #ce93d8;
    --dark-color: #1a1a1a;
    --light-color: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Top Bar */
.top-bar {
    background: var(--dark-color);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i,
.top-bar i {
    margin-right: 8px;
    color: var(--accent-color);
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.logo {
    height: 60px;
    width: auto;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 10px 20px !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    margin-top: -1px;
}

.carousel-item {
    height: 600px;
    position: relative;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: 10px;
    bottom: 50px;
}

.carousel-caption h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: 20px;
    margin-bottom: 25px;
}

/* Section Headers */
.section-header .badge {
    font-size: 14px;
    padding: 8px 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-color);
}

/* Service Cards */
.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
}

/* Principal Section */
.principal-message {
    font-size: 16px;
    line-height: 1.8;
}

.principal-message p {
    margin-bottom: 15px;
}

.principal-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.principal-card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 5px solid var(--primary-color);
}

/* News Cards */
.news-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.news-card p {
    color: #666;
    margin-bottom: 20px;
}

/* Partners */
.partner-link {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.partner-link:hover {
    opacity: 0.8;
}

.partner-logo {
    max-height: 80px;
    max-width: 200px;
}

/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    font-size: 14px;
}

/* Newsletter */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.newsletter-form .form-control {
    border: none;
    padding: 15px 20px;
    border-radius: 50px 0 0 50px;
}

.newsletter-form .btn {
    border-radius: 0 50px 50px 0;
    padding: 15px 30px;
    font-weight: 600;
}

/* Contact Form */
.contact-form .form-control {
    border: 2px solid #e0e0e0;
    padding: 15px;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 20, 140, 0.25);
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
}

/* Footer */
.footer {
    background: var(--dark-color);
}

.footer h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-contact li {
    margin-bottom: 10px;
}

.footer-contact i {
    color: var(--accent-color);
    margin-right: 10px;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-item {
        height: 400px;
    }
    
    .carousel-caption h2 {
        font-size: 28px;
    }
    
    .carousel-caption p {
        font-size: 16px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
}




/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0 60px;
    margin-bottom: 0;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
}

.breadcrumb-item a:hover {
    opacity: 1;
}

.breadcrumb-item.active {
    color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: white;
}

/* Events Section */
.event-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.event-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.event-content {
    padding: 25px;
}

.event-date {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}

.event-date i {
    margin-right: 8px;
}

.event-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.event-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
}

/* Responsive Events */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 32px;
    }
    
    .event-image {
        height: 200px;
    }
    
    .event-content {
        padding: 20px;
    }
    
    .cta-section h2 {
        font-size: 28px;
    }
}




/* News Listing Section */
.news-listing-section {
    background: #f8f9fa;
}

.news-article {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.news-meta {
    margin-bottom: 20px;
}

.news-date {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

.news-date i {
    margin-right: 8px;
}

.news-article h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 25px;
    line-height: 1.3;
}

.news-content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.news-content p {
    margin-bottom: 15px;
}

.news-content h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.news-content h5 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 20px;
    margin-bottom: 10px;
}

.news-content ul,
.news-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.news-content li {
    margin-bottom: 8px;
}

.news-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.news-content a:hover {
    text-decoration: underline;
}

.news-content .alert {
    border: none;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.news-content .alert-info {
    background: #e3f2fd;
    color: #1565c0;
}

.news-content .alert-warning {
    background: #fff3e0;
    color: #e65100;
}

.news-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.news-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 25px 0;
    font-style: italic;
    color: #666;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
}

.news-divider {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
    margin: 50px 0;
}

/* Responsive News */
@media (max-width: 768px) {
    .news-article {
        padding: 25px 20px;
    }
    
    .news-article h2 {
        font-size: 24px;
    }
    
    .news-content h4 {
        font-size: 20px;
    }
    
    .news-content h5 {
        font-size: 16px;
    }
    
    .news-content {
        font-size: 15px;
    }
}




/* About Us Page Styles */

/* Introduction Section */
.about-intro {
    background: white;
}

.about-intro .lead {
    font-size: 18px;
    font-weight: 500;
    color: var(--dark-color);
    line-height: 1.8;
    margin-bottom: 25px;
}

.about-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* Vision & Mission Cards */
.vm-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
}

.vm-card:hover {
    transform: translateY(-10px);
}

.vm-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
}

.vm-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.vm-card p {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
}

.motto-text {
    font-size: 24px !important;
    font-style: italic;
    font-weight: 600;
    color: var(--secondary-color) !important;
}

/* Prayer & Song Section */
.content-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.content-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--accent-color);
}

.content-card h3 i {
    margin-right: 10px;
}

.prayer-text p,
.song-text p {
    font-size: 15px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 20px;
}

.song-text {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.song-text::-webkit-scrollbar {
    width: 6px;
}

.song-text::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.song-text::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

/* Facilities Section */
.facility-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    font-size: 15px;
    color: #555;
}

.facility-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.facility-item i {
    margin-right: 10px;
    font-size: 18px;
    color: var(--primary-color);
}

.facility-item:hover i {
    color: white;
}

/* Departments Section */
.department-card {
    background: white;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.department-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
}

.department-card h3 i {
    margin-right: 10px;
}

.department-card h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 20px;
    margin-bottom: 10px;
}

.department-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}

.department-card ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.department-card li {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

/* Curriculum Section */
.curriculum-card {
    background: white;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.curriculum-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.curriculum-list {
    padding-left: 0;
    list-style: none;
}

.curriculum-list li {
    padding: 10px 15px;
    margin-bottom: 8px;
    background: #f8f9fa;
    border-left: 3px solid var(--primary-color);
    border-radius: 5px;
    font-size: 14px;
    color: #555;
    transition: all 0.3s ease;
}

.curriculum-list li:hover {
    background: var(--accent-color);
    transform: translateX(5px);
}

/* Responsive About Page */
@media (max-width: 768px) {
    .vm-card {
        margin-bottom: 20px;
    }
    
    .content-card {
        padding: 25px;
        margin-bottom: 30px;
    }
    
    .song-text {
        max-height: 400px;
    }
    
    .department-card,
    .curriculum-card {
        padding: 25px;
        margin-bottom: 20px;
    }
    
    .facility-item {
        margin-bottom: 10px;
    }
}






/* Gallery Page Styles */

.gallery-page-section {
    background: #f8f9fa;
    min-height: 100vh;
}

/* Gallery Grid */
.gallery-col {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.gallery-box {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    height: 350px;
    background: #000;
}

.gallery-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.gallery-box:hover img {
    transform: scale(1.15) rotate(2deg);
    filter: brightness(0.7);
}

/* Gallery Overlay */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(74, 20, 140, 0.95) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 30px;
}

.gallery-box:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-box:hover .gallery-content {
    transform: translateY(0);
}

.gallery-content h3 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-view {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-view:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-view i {
    margin-right: 5px;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    text-align: center;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}

.lightbox-caption {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin-top: 20px;
    padding: 15px;
    background: rgba(74, 20, 140, 0.8);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

/* Lightbox Controls */
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
}

.lightbox-close:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
    padding: 20px;
    user-select: none;
    transition: all 0.3s ease;
    background: rgba(74, 20, 140, 0.6);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

/* Responsive Gallery */
@media (max-width: 992px) {
    .gallery-box {
        height: 300px;
    }
    
    .gallery-content h3 {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .gallery-box {
        height: 250px;
    }
    
    .gallery-content h3 {
        font-size: 14px;
    }
    
    .btn-view {
        padding: 8px 20px;
        font-size: 14px;
    }
    
    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 40px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        font-size: 40px;
        width: 50px;
        height: 50px;
        padding: 10px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-caption {
        font-size: 16px;
        padding: 10px;
    }
}

/* Hover effect variations for visual interest */
.gallery-col:nth-child(odd) .gallery-box:hover img {
    transform: scale(1.15) rotate(-2deg);
}

.gallery-col:nth-child(even) .gallery-box:hover img {
    transform: scale(1.15) rotate(2deg);
}

/* Loading animation for images */
.gallery-box img {
    animation: imageLoad 0.5s ease;
}

@keyframes imageLoad {
    from {
        opacity: 0;
        filter: blur(10px);
    }
    to {
        opacity: 1;
        filter: blur(0);
    }
}

