/* 
   Serene Temple Website - Style Sheet
   A fully responsive website for temple with mobile support
*/

/* -----------------------------------------
   Base Styles & Variables
----------------------------------------- */
:root {
    --primary-color: #1a4b84;      /* Darker blue */
    --primary-dark: #0d2b4d;       /* Very dark blue */
    --primary-light: #3a6ea5;      /* Medium blue */
    --secondary-color: #ffc107;    /* Bright yellow */
    --secondary-dark: #e6ac00;     /* Darker yellow */
    --secondary-light: #ffe082;    /* Light yellow */
    --light-color: #f8f9fa;        /* Light background */
    --dark-color: #343a40;         /* Dark text */
    --text-color: #495057;         /* Main text color */
    --border-radius: 4px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}
/* :root {
    --primary-color: #5d4037;
    --primary-dark: #321911;
    --primary-light: #8b6b61;
    --secondary-color: #c8a77e;
    --secondary-dark: #a58761;
    --secondary-light: #e6d5b8;
    --light-color: #f8f4e9;
    --dark-color: #333;
    --text-color: #444;
    --border-radius: 4px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
} */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.logo img {
    max-height: 70px; /* Adjust height as needed */
    width: auto;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    max-height: 50px;
    width: auto;
}

.logo-text {
    font-weight: bold;
    font-size: 1.2rem;
}

/* For mobile responsiveness */
@media (max-width: 768px) {
    .logo {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Urbanist", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
/* Mini Bento Grid for Homepage */
.gallery-preview {
    padding: 4rem 0;
    background-color: rgba(var(--primary-light-rgb), 0.05);
}

.mini-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 180px;
    gap: 20px;
    margin: 30px 0;
}

.mini-bento-grid .bento-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mini-bento-grid .bento-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.mini-bento-grid .bento-item.featured {
    grid-column: 1 / span 6;
    grid-row: 1 / span 2;
}

.mini-bento-grid .bento-item.small:nth-of-type(2) {
    grid-column: 7 / span 6;
    grid-row: 1 / span 1;
}

.mini-bento-grid .bento-item.small:nth-of-type(3) {
    grid-column: 7 / span 3;
    grid-row: 2 / span 1;
}

.mini-bento-grid .bento-item.small:nth-of-type(4) {
    grid-column: 10 / span 3;
    grid-row: 2 / span 1;
}

.mini-bento-grid .bento-image {
    height: 100%;
    width: 100%;
    position: relative;
}

.mini-bento-grid .bento-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.mini-bento-grid .bento-item:hover .bento-image img {
    transform: scale(1.08);
}

.mini-bento-grid .bento-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0) 100%);
    padding: 30px 20px 15px;
    color: white;
    opacity: 1;
    transform: translateY(0);
}

.mini-bento-grid .bento-overlay h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments for mini bento grid */
@media (max-width: 992px) {
    .mini-bento-grid {
        grid-template-columns: repeat(6, 1fr);
        grid-auto-rows: 160px;
    }
    
    .mini-bento-grid .bento-item.featured {
        grid-column: 1 / span 6;
        grid-row: 1 / span 1;
    }
    
    .mini-bento-grid .bento-item.small:nth-of-type(2) {
        grid-column: 1 / span 2;
        grid-row: 2 / span 1;
    }
    
    .mini-bento-grid .bento-item.small:nth-of-type(3) {
        grid-column: 3 / span 2;
        grid-row: 2 / span 1;
    }
    
    .mini-bento-grid .bento-item.small:nth-of-type(4) {
        grid-column: 5 / span 2;
        grid-row: 2 / span 1;
    }
}

@media (max-width: 576px) {
    .mini-bento-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .mini-bento-grid .bento-item.featured,
    .mini-bento-grid .bento-item.small:nth-of-type(n) {
        grid-column: 1;
        grid-row: auto;
        height: 200px;
    }
}
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--dark-color);
}

.bg-light {
    background-color: #f0ebe0;
}

/* -----------------------------------------
   Buttons
----------------------------------------- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    color: white;
}

/* -----------------------------------------
   Navigation
----------------------------------------- */
.navbar {
    background-color: var(--primary-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu a {
    color: white;
    font-weight: 500;
    padding: 0.5rem;
    border-radius: var(--border-radius);
}

.nav-menu a:hover, .nav-menu a.active {
    background-color: var(--primary-dark);
    color: white;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: var(--transition);
    display: block;
}

/* -----------------------------------------
   Headers
----------------------------------------- */
/* Add these styles for the side-by-side content and image */
.content-with-image {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

.text-content {
    flex: 3;
}

.inline-image {
    flex: 2;
    text-align: center;
}

.inline-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Make it responsive */
@media (max-width: 768px) {
    .content-with-image {
        flex-direction: column;
    }
    
    .inline-image {
        order: -1; /* Places image above text on mobile */
        margin-bottom: 15px;
    }
}
/* Enhanced History Section Styles */
.section-highlight {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.section-highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.intro-paragraph {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.first-letter {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    float: left;
    line-height: 1;
    margin-right: 0.2rem;
}

.legend-box {
    background-color: rgba(var(--primary-light-rgb), 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.legend-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.highlight-quote {
    font-style: italic;
    padding: 1.5rem;
    background-color: rgba(var(--secondary-light-rgb), 0.3);
    border-radius: var(--border-radius);
    margin: 2rem 0 1rem;
    position: relative;
}

.highlight-quote::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -10px;
    left: 10px;
    color: rgba(var(--secondary-color-rgb), 0.3);
  
}
/* Architecture section styles */
.architecture-highlights {
    background-color: rgba(var(--primary-light-rgb), 0.1);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.architecture-highlights h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.architecture-highlights h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}
/* Enhanced UI Elements for About Page */
.page-title {
    font-size: 3.8rem;
    margin-bottom: 0.5rem;
   
}

.decorative-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0;
}

.decorative-divider::before,
.decorative-divider::after {
    content: '';
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
    flex-grow: 1;
    margin: 0 15px;
}

.divider-icon {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.content-with-image.enhanced {
    background-color: rgba(var(--primary-light-rgb), 0.05);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.image-frame {
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    transition: transform 0.3s ease;
}


.image-frame:hover {
    transform: scale(1.02);
}

.legend-box {
    position: relative;
    padding-top: 2rem;
}
/* About Preview Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.about-preview {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2rem;
}

.preview-content {
    flex: 3;
}

.preview-image {
    flex: 2;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.image-card {
    background-color: white;
    padding: 10px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Make it responsive */
@media (max-width: 768px) {
    .about-preview {
        flex-direction: column-reverse;
    }
    
    .preview-image {
        margin-bottom: 2rem;
    }
}
.legend-icon {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.highlight-quote {
    position: relative;
    padding: 2rem;
}

.quote-mark {
    position: absolute;
    top: 0;
    left: 10px;
    font-size: 5rem;
    line-height: 1;
    color: var(--secondary-color);
    opacity: 0.3;
    
}
/* Enhanced Bento Grid Gallery Styles */

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 200px;
    gap: 24px;
    margin: 50px 0;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Enhanced About Section Styles */
.about-section {
    padding: 80px 0;
    background-color: #f9f7f2;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('subtle-pattern.png');
    opacity: 0.05;
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-highlight {
    font-size: 2.5rem;
    color: #8b3a0e;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #8b3a0e;
    transition: width 0.5s ease;
}

.section-header:hover .section-highlight::after {
    width: 80%;
}

.decorative-line {
    width: 80px;
    height: 3px;
    background-color: #f5a623;
    margin: 0 auto 10px;
    position: relative;
    transition: width 0.5s ease;
}

.decorative-line.second-line {
    width: 40px;
    margin-bottom: 20px;
}

.section-header:hover .decorative-line {
    width: 120px;
}

.section-header:hover .decorative-line.second-line {
    width: 60px;
}

.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.intro-paragraph {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #8b3a0e;
    font-weight: 500;
    border-left: 3px solid #f5a623;
    padding-left: 15px;
    position: relative;
}

.intro-paragraph::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background-color: #8b3a0e;
    transition: height 0.5s ease;
}

.intro-paragraph:hover::after {
    height: 100%;
}

.first-letter {
    font-size: 3.5rem;
    float: left;
    line-height: 0.8;
    margin-right: 8px;
    color: #8b3a0e;
    font-weight: 700;
    text-shadow: 2px 2px 0 rgba(245, 166, 35, 0.3);
}

.image-frame {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.image-frame:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hover-zoom {
    transition: transform 0.5s ease;
}

.image-frame:hover .hover-zoom {
    transform: scale(1.05);
}

/* .image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 20px;
    font-weight: 500;
    text-align: center;
    transform: translateY(0);
    transition: transform 0.3s ease;
} */
.page-header {
    position: relative;
    padding: 100px 0;
    text-align: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(226, 205, 135, 0.404);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #852424;
  
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #1f1f1d;

}

.decorative-divider {
    display: inline-block;
    margin: 0 auto;
}

.divider-icon {
    font-size: 2rem;
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}
.image-frame:hover .image-caption {
    transform: translateY(-5px);
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.slide-in-left {
    transform: translateX(-50px);
}

.animate-on-scroll.slide-in-right {
    transform: translateX(50px);
}

.animate-on-scroll.slide-in-left.visible,
.animate-on-scroll.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.pulse-animation {
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.7);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.7);
    }
    
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(245, 166, 35, 0);
    }
    
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245, 166, 35, 0);
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .about-preview {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-highlight {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .section-highlight {
        font-size: 1.8rem;
    }
    
    .first-letter {
        font-size: 2.8rem;
    }
}
.bento-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.bento-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

/* Item size variations */
.bento-item.small {
    grid-column: span 4;
    grid-row: span 1;
}

.bento-item.wide {
    grid-column: span 8;
    grid-row: span 1;
}

.bento-item.tall {
    grid-column: span 4;
    grid-row: span 2;
}

.bento-item.featured {
    grid-column: span 8;
    grid-row: span 2;
}

/* Special positioning for visual interest */
.bento-grid .bento-item:nth-child(1) {
    grid-column: 1 / span 8;
    grid-row: 1 / span 2;
}

.bento-grid .bento-item:nth-child(2) {
    grid-column: 9 / span 4;
    grid-row: 1 / span 2;
}

.bento-grid .bento-item:nth-child(3) {
    grid-column: 1 / span 6;
    grid-row: 3 / span 1;
}

.bento-grid .bento-item:nth-child(4) {
    grid-column: 7 / span 6;
    grid-row: 3 / span 1;
}

.bento-grid .bento-item:nth-child(5) {
    grid-column: 1 / span 6;
    grid-row: 4 / span 2;
}

.bento-grid .bento-item:nth-child(6) {
    grid-column: 7 / span 3;
    grid-row: 4 / span 2;
}

.bento-grid .bento-item:nth-child(7) {
    grid-column: 10 / span 3;
    grid-row: 4 / span 1;
}

.bento-grid .bento-item:nth-child(8) {
    grid-column: 10 / span 3;
    grid-row: 5 / span 1;
}

.bento-grid .bento-item:nth-child(9) {
    grid-column: 1 / span 4;
    grid-row: 6 / span 2;
}

.bento-grid .bento-item:nth-child(10) {
    grid-column: 5 / span 8;
    grid-row: 6 / span 2;
}

.bento-image {
    height: 100%;
    width: 100%;
    position: relative;
}

.bento-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.bento-item:hover .bento-image img {
    transform: scale(1.08);
}

.bento-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    padding: 40px 25px 25px;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.bento-item:hover .bento-overlay {
    opacity: 1;
    transform: translateY(0);
}

.overlay-content {
    transition: transform 0.4s ease 0.1s;
}

.category-tag {
    display: inline-block;
    background-color: #8b3a0e;
    color: white;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.bento-overlay h3 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.bento-overlay p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
    max-width: 90%;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .bento-grid {
        grid-template-columns: repeat(8, 1fr);
        gap: 20px;
    }
    
    .bento-grid .bento-item:nth-child(n) {
        grid-column: auto / span 4;
        grid-row: auto / span 1;
    }
    
    .bento-grid .bento-item.featured,
    .bento-grid .bento-item.wide {
        grid-column: auto / span 8;
    }
    
    .bento-grid .bento-item.tall,
    .bento-grid .bento-item.featured {
        grid-row: auto / span 2;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .bento-grid .bento-item:nth-child(n) {
        grid-column: auto / span 4;
        grid-row: auto / span 1;
    }
    
    .bento-grid .bento-item.tall,
    .bento-grid .bento-item.featured {
        grid-row: auto / span 2;
    }
    
    .bento-overlay h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .bento-grid .bento-item:nth-child(n) {
        grid-column: 1;
        grid-row: auto / span 1;
    }
    
    .bento-item.tall,
    .bento-item.featured {
        grid-row: auto / span 1;
        aspect-ratio: 4/3;
    }
}
.highlight-quote.special {
    background-color: rgba(var(--secondary-color-rgb), 0.1);
    border-left: 4px solid var(--primary-color);
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.decorative-line {
    height: 3px;
    width: 80px;
    background: var(--secondary-color);
    margin: 1rem auto;
    position: relative;
}

.decorative-line::before,
.decorative-line::after {
    content: '';
    position: absolute;
    height: 3px;
    width: 30px;
    background: var(--secondary-color);
    opacity: 0.5;
}

.decorative-line::before {
    left: -40px;
}

.decorative-line::after {
    right: -40px;
}

.lead-text {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.highlight-header {
    border-bottom: 2px solid var(--secondary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

.feature-list.animated li {
    transition: transform 0.3s ease;
}

.feature-list.animated li:hover {
    transform: translateX(5px);
    color: var(--primary-color);
}

.image-card {
    background-color: white;
    padding: 10px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Add Font Awesome for icons */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');
.feature-list {
    list-style: none;
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.feature-list li {
    position: relative;
    padding: 0.5rem 0 0.5rem 1.5rem;
    margin-bottom: 0.5rem;
}

.feature-list li::before {
    content: '•';
    color: var(--secondary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: 0.2rem;
}

.about-section.bg-light .highlight-quote {
    background-color: rgba(var(--primary-color-rgb), 0.1);
    border-left: 4px solid var(--secondary-color);
}

/* Add this RGB value if not already present */
:root {
    --primary-color-rgb: 26, 75, 132;
}

.shadow-effect {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.shadow-effect:hover {
    transform: translateY(-5px);
}



/* Add these RGB values to your :root for the rgba colors */
:root {
    /* Your existing variables */
    --primary-light-rgb: 58, 110, 165;
    --secondary-light-rgb: 255, 224, 130;
    --secondary-color-rgb: 255, 193, 7;
}
/* Full-size Hero Section */
.hero {
    width: 100%;
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #7c0505;
}

.hero .container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.7);
}

/* Responsive adjustments for hero section */
@media (max-width: 768px) {
    .hero {
        height: 80vh;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}
.hero {

    background-size: cover;
    background-position: center;
    position: relative;
    color: #7c0505; /* Makes text white for better visibility against the background */
}

/* Optional: Add an overlay to improve text readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
  
   
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2; /* Places content above the overlay */
}
.hero, .page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/api/placeholder/1200/500') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 8rem 0;
}

.page-header {
    padding: 5rem 0;
}

.hero h1, .page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s;
}

.hero .subtitle, .page-header .subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: white;
    animation: fadeInUp 1s;
}

.hero .btn {
    animation: fadeIn 1.5s;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* -----------------------------------------
   Home Page - Features
----------------------------------------- */
.features {
    padding: 5rem 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* -----------------------------------------
   Home Page - Schedule
----------------------------------------- */
.schedule {
    padding: 5rem 0;
    background-color: #f0ebe0;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.schedule-item {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.schedule-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

.schedule-item p {
    margin-bottom: 0.5rem;
}

/* -----------------------------------------
   Home Page - Testimonials
----------------------------------------- */
.testimonials {
    padding: 5rem 0;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial-slide {
    text-align: center;
    padding: 2rem;
    display: none;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s;
}

.testimonial-slide p {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary-color);
}

.slider-controls {
    text-align: center;
    margin-top: 2rem;
}

.slider-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: var(--secondary-light);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

/* -----------------------------------------
   About Page
----------------------------------------- */
.about-section {
    padding: 5rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-grid.reverse {
    grid-template-areas: "content image";
}

.about-content {
    grid-area: content;
}

.about-image {
    grid-area: image;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.about-content p {
    margin-bottom: 1rem;
}

.about-content ul {
    margin: 1rem 0 1rem 1.5rem;
}

.about-content ul li {
    margin-bottom: 0.5rem;
    position: relative;
    list-style-type: disc;
}

/* -----------------------------------------
   About Page - Teachers
----------------------------------------- */
.teachers {
    padding: 5rem 0;
}

.teacher-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.teacher-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.teacher-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.teacher-image {
    overflow: hidden;
}

.teacher-image img {
    transition: var(--transition);
}

.teacher-card:hover .teacher-image img {
    transform: scale(1.05);
}

.teacher-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--primary-color);
}

.teacher-title {
    font-style: italic;
    padding: 0 1.5rem;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
}

.teacher-card p {
    padding: 0 1.5rem 1.5rem;
}

/* -----------------------------------------
   About Page - Facilities
----------------------------------------- */
.facilities {
    padding: 5rem 0;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.facility-item {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.facility-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

/* -----------------------------------------
   Gallery Page
----------------------------------------- */
.gallery-filter {
    padding: 2rem 0;
    text-align: center;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 8px 16px;
    background-color: white;
    border: 1px solid var(--primary-light);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.gallery {
    padding: 2rem 0 5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gallery-image {
    position: relative;
    overflow: hidden;
}

.gallery-image img {
    transition: var(--transition);
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
    padding: 1.5rem;
    color: white;
    transform: translateY(50%);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .image-overlay {
    transform: translateY(0);
    opacity: 1;
}

.image-overlay h3 {
    margin-bottom: 0.5rem;
}

/* -----------------------------------------
   Gallery Page - Video Gallery
----------------------------------------- */
.video-gallery {
    padding: 5rem 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.video-item {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.video-placeholder {
    position: relative;
    overflow: hidden;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.video-placeholder:hover .play-button {
    background-color: var(--primary-color);
}

.video-item h3 {
    padding: 1rem 1rem 0.5rem;
    color: var(--primary-color);
}

.video-item p {
    padding: 0 1rem 1rem;
}

/* -----------------------------------------
   Contact Page
----------------------------------------- */
.contact-info {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.social-icon {
    display: inline-block;
    padding: 8px 12px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
}

/* -----------------------------------------
   Contact Page - Form
----------------------------------------- */
.contact-form {
    padding: 5rem 0;
}

form {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--dark-color);
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-light);
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
}

/* -----------------------------------------
   Contact Page - Map
----------------------------------------- */
.map-section {
    padding: 5rem 0;
}

.map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.map-placeholder {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.directions-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.direction-item {
    margin-bottom: 1.5rem;
}

.direction-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* -----------------------------------------
   Contact Page - FAQ
----------------------------------------- */
.faq-section {
    padding: 5rem 0;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background-color: white;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.accordion-header {
    padding: 1.5rem;
    background-color: var(--light-color);
    cursor: pointer;
    font-weight: bold;
    position: relative;
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: var(--secondary-light);
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    transition: var(--transition);
}

.accordion-item.active .accordion-header::after {
    content: '-';
}

.accordion-body {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item.active .accordion-body {
    padding: 1.5rem;
    max-height: 1000px;
}

/* -----------------------------------------
   Footer
----------------------------------------- */
footer {
    background-color: var(--primary-dark);
    padding: 4rem 0 0;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3, .footer-links h3, .footer-newsletter h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary-light);
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-info h3::after, .footer-links h3::after, .footer-newsletter h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-info p {
    margin-bottom: 0.5rem;
    color: #ccc;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #ccc;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-newsletter p {
    margin-bottom: 1rem;
    color: #ccc;
}

.footer-newsletter input {
    padding: 10px;
    border: none;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* -----------------------------------------
   Responsive Design
----------------------------------------- */
@media (max-width: 992px) {
    .about-grid, .about-grid.reverse {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "image"
            "content";
    }
    
    .map-container {
        grid-template-columns: 1fr;
    }
    
    .hero h1, .page-header h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 2rem;
        transition: 0.5s;
        box-shadow: var(--box-shadow);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 1.5rem 0;
    }
    
    .hero h1, .page-header h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-grid, .schedule-grid, .facilities-grid {
        grid-template-columns: 1fr;
    }
    
    .teacher-grid, .gallery-grid, .video-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 200px;
        margin: 0.5rem 0;
    }
}

@media (max-width: 576px) {
    .hero h1, .page-header h1 {
        font-size: 2rem;
    }
    
    .hero .subtitle, .page-header .subtitle {
        font-size: 1rem;
    }
    
    .contact-grid, .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-row .form-group {
        margin-bottom: 1.5rem;
    }
    
    .hero, .page-header {
        padding: 4rem 0;
    }
}