:root {
    --primary: #064e3b;
    --pimary-navyblue: #0033A0;
    --secondary: #881337;
    --accent: #d97706;
    --dark: #1f2937;
    --light: #f9fafb;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: Arial, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Enable global smooth scrolling */
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary);
    color: var(--white);
    font-size: 0.9rem;
    padding: 8px 0;
}

.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i, .portal-links i {
    color: var(--accent);
}

.portal-links a {
    color: var(--white);
    text-decoration: none;
    margin-left: 15px;
    font-weight: 600;
}

.portal-btn {
    background: var(--accent);
    padding: 4px 12px;
    border-radius: 4px;
}

/* Header & Navbar */
.header {
    background: var(--white);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.logo-icon{
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

.logo h1 {
    font-size: 1.6rem;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 1px;
}

.logo p {
    font-size: 0.75rem;
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--secondary);
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 3px;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Hero Section with Smooth Crossfade Easing */
.hero {
    position: relative;
    color: var(--white);
    text-align: center;
    padding: 140px 20px;
    overflow: hidden;
    z-index: 1;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Container holding stacked background slides */
.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

/* Individual Slide Layer */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1), transform 6s ease-out;
    will-change: opacity, transform;
}

/* Active Slide with Cinematic Ken Burns Zoom Effect */
.hero-slide.active {
    opacity: 1;
    transform: scale(1.06);
}

/* Gradient Readability Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(6, 78, 59, 0.7), rgba(136, 19, 55, 0.7));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    background: var(--accent);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.action-btns{
    margin: 30px 0 0 0;
}

@media (max-width:668px){
    .action-btns{
        font-size: 0.7rem;
    }
}

.btn {
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: #b45309;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}


/* Live Announcement Ticker Styles */
.announcement-ticker {
    background: var(--secondary);
    color: var(--white);
    padding: 10px 0;
    overflow: hidden;
    font-size: 0.95rem;
}

.ticker-flex {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ticker-badge {
    background: var(--accent);
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
}

.ticker-text p {
    white-space: nowrap;
    animation: tickerScroll 20s linear infinite;
}

@keyframes tickerScroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Countdown Section Styles */
.countdown-section {
    margin: -30px auto 80px auto;
    position: relative;
    z-index: 15;
}

.countdown-card {
    background: var(--white);
    padding: 25px 35px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    border-left: 6px solid var(--accent);
}

.countdown-info h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.countdown-info p {
    color: #6b7280;
    font-size: 0.95rem;
}

.countdown-timer {
    display: flex;
    gap: 15px;
}

.time-box {
    background: var(--light);
    border: 1px solid #e5e7eb;
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    min-width: 65px;
}

.time-box span {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--secondary);
}

.time-box small { 
    font-size: 0.75rem;
    color: #4b5563;
    text-transform: uppercase;
}

/* Testimonials Section Styles */
.testimonials-section {
    background: linear-gradient(rgba(6, 78, 59, 0.92), rgba(6, 78, 59, 0.92)), url('images/Entrance.jpeg') center/cover no-repeat;
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    min-height: 140px;
}

.testimonial-item {
    display: none;
    animation: fadeIn 0.8s ease-in-out;
}

.testimonial-item.active {
    display: block;
}

.testimonial-item p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.8;
}

.testimonial-item h4 {
    color: var(--accent);
    font-size: 1rem;
    font-weight: 600;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media(max-width: 768px) {
    .countdown-card {
        flex-direction: column;
        text-align: center;
    }
    .countdown-timer {
        justify-content: center;
    }
    .top-bar{
        display: none;
    }
}

/* General Sections */
.section {
    padding: 60px 10%;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary);
    font-size: 2.2rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary);
    margin: 10px auto;
}

/* Cards & Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-top: 5px solid var(--primary-yellow);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

/*contact*/
.contact-section{
    background-color: var(--pimary-navyblue);
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.contact-content{
    padding: 12px 18px;
    text-align: center;
    color:  var(--white);
}
.contact-content h1{
    font-weight: 700;
    font-size: 2.8rem;
    word-spacing: 0.3px;
    line-height: 1.1;
}
.contact-content h1 span{
    color: var(--primary-yellow);
}
.contact-content p{
    padding: 20px;
    font-weight: 400px;
    font-size: 18px;
}
.btn-apply, .schedule-btn, .team-btn{
    color: var(--white);
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 12px 17px;
    margin: 0 8px;
    border-radius: 10px;
    border: 1px solid var(--white);
    transition: var(--transition);
    text-decoration: none;
}
.btn-apply{
    background-color: purple;
    border: none;
}
.schedule-btn, .team-btn{
    background-color: #2d3748aa;
}
.btn-apply:hover, .schedule-btn:hover, .team-btn:hover{
    transform: translateY(-2px);
    background-color: #064e3b;
    cursor: pointer;
}

/* Highlights */
.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: -50px;
    position: relative;
    z-index: 10;
    margin-bottom: 60px;
}

.highlight-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--secondary);
}

.highlight-card:hover {
    transform: translateY(-8px);
}

.highlight-card i {
    color: var(--primary);
    margin-bottom: 15px;
}

.highlight-card h3 {
    margin-bottom: 12px;
    color: var(--primary);
}

/* Welcome Section */
.welcome-section {
    padding: 40px 0 80px 0;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.welcome-text h2 {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.director-names {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.director-names .sub {
    font-size: 0.9rem;
    font-weight: normal;
    color: var(--dark);
}

.welcome-text p {
    margin-bottom: 15px;
    color: #4b5563;
}

.read-more-btn {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.read-more-btn:hover {
    color: var(--secondary);
}

.notice-board {
    background: var(--primary);
    color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(6, 78, 59, 0.2);
}

.notice-board h3 {
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
}

.notice-board ul {
    list-style: none;
}

.notice-board li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    border-bottom: 1px dashed rgba(255,255,255,0.2);
    padding-bottom: 10px;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer h3, .footer h4 {
    color: var(--accent);
    margin-bottom: 20px;
}

.footer p, .footer li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #9ca3af;
}

.footer ul {
    list-style: none;
}

.footer ul a {
    color: #9ca3af;
    text-decoration: none;
    transition: var(--transition);
}

.footer ul a:hover {
    color: var(--white);
}

.social-icons a {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    text-align: center;
    line-height: 38px;
    color: var(--white);
    margin-right: 10px;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--secondary);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    color: #9ca3af;
}

/* Responsive */
@media(max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }
    .nav-links.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
    .hero h2 {
        font-size: 2.2rem;
    }
    .welcome-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
    ABOUT US PAGE ENHANCEMENTS & STYLES
   ========================================================== */
.page-banner {
    background: linear-gradient(rgba(8, 8, 8, 0.6) 10%,rgba(0, 17, 15, 0.745) ), url('images/371A2172.JPG') center/cover no-repeat;
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
    min-height: 540px;
}

.page-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.about-main {
    padding: 60px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 60px;
}

.about-content h3 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #374151;
}

.mission-vision-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mv-card {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 5px solid var(--secondary);
}

.mv-card h4 {
    color: var(--primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.core-values-section h3 {
    text-align: center;
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.value-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-bottom: 4px solid var(--accent);
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-item i {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 15px;
    display: block;
    position: relative;
}

.value-item i span {
    position: absolute;
    top: -10px;
    right: 35%;
    font-size: 0.75rem;
    background: var(--primary);
    color: var(--white);
    padding: 2px 6px;
    border-radius: 50%;
}

.value-item h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* Timeline Section */
.history-timeline-section {
    margin: 60px 0;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.timeline-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    border-top: 4px solid var(--primary);
}

.timeline-year {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.timeline-item h4 {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.timeline-item p {
    color: #4b5563;
    font-size: 0.95rem;
}

/* Director's Desk Box */
.directors-desk-box {
    background: linear-gradient(rgba(6, 78, 59, 0.95), rgba(6, 78, 59, 0.95)), url('images/Entrance.jpeg') center/cover no-repeat;
    color: var(--white);
    padding: 50px;
    border-radius: 12px;
    margin: 60px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.desk-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.desk-content h3 {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 20px;
}

.desk-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    opacity: 0.95;
}

.director-signature {
    font-size: 1.05rem;
    color: var(--white);
    font-weight: 600;
}

.director-signature small {
    font-size: 0.85rem;
    color: #d1d5db;
    font-weight: normal;
}


@media(max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   ACADEMICS PAGE INTERACTIVE TABS & ENHANCEMENT STYLES
   ========================================================== */

/* Tab Navigation Buttons */
.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover, .tab-btn.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(6, 78, 59, 0.2);
}

/* Tab Content Visibility */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active-tab {
    display: block;
}

/* Detail Grid Layout */
.curriculum-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    margin-bottom: 50px;
}

.detail-text h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.subject-list {
    list-style: none;
    margin-top: 20px;
}

.subject-list li {
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--dark);
}

.subject-list i {
    color: var(--accent);
    margin-right: 10px;
}

.detail-highlight-card {
    background: var(--light);
    border-top: 5px solid var(--primary);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
}

.detail-highlight-card h4 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.cocurricular-section {
    margin-top: 60px;
}

@media(max-width: 768px) {
    .curriculum-detail-grid {
        grid-template-columns: 1fr;
    }
}

.page-banner-ac {
    background: linear-gradient(rgba(8, 8, 8, 0.6) 10%,rgba(0, 17, 15, 0.745) ), url('images/371A2992.JPG') center/cover no-repeat;
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
    min-height: 540px;
}
.academics-container {
    padding: 60px 0;
}

.academic-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.academic-intro h3 {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.curr-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    border-top: 5px solid var(--primary);
}

.curr-card.theology {
    border-top-color: var(--secondary);
}

.curr-card i {
    color: var(--primary);
    margin-bottom: 20px;
}

.curr-card.theology i {
    color: var(--secondary);
}

.curr-card h3 {
    color: var(--dark);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.curr-card ul {
    list-style: none;
    margin-top: 20px;
}

.curr-card li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.curr-card li i {
    color: var(--accent);
    font-size: 1rem;
    margin: 0;
}

.classes-offered {
    text-align: center;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.classes-offered h3 {
    color: var(--primary);
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.classes-flex {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.class-badge {
    background: var(--light);
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
}

/*Admissions page*/
.page-banner-adM{
    background: linear-gradient(rgba(8, 8, 8, 0.6) 10%,rgba(0, 17, 15, 0.745) ), url('images/371A2174.JPG') center/cover no-repeat;
    color: var(--white);
}

.fees-container {
    padding: 60px 0;
}

.fees-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.fees-intro h3 {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.fees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.fee-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    overflow: hidden;
}

.fee-header {
    background: var(--primary);
    color: var(--white);
    padding: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.fee-header.day {
    background: var(--secondary);
}

.fee-header h3 {
    font-size: 1.4rem;
}

.fee-table {
    width: 100%;
    border-collapse: collapse;
}

.fee-table tr {
    border-bottom: 1px solid #e5e7eb;
}

.fee-table tr:last-child {
    border-bottom: none;
}

.fee-table td {
    padding: 15px 20px;
    font-size: 0.95rem;
    color: var(--dark);
}

.fee-table td:last-child {
    text-align: right;
}

.highlight-row {
    background: #f0fdf4;
    font-weight: 600;
}

/* Calculator Widget */
.fee-calculator-box {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    max-width: 600px;
    margin: 0 auto;
    border-top: 5px solid var(--accent);
}

.fee-calculator-box h3 {
    color: var(--primary);
    margin-bottom: 10px;
    text-align: center;
}

.fee-calculator-box p {
    text-align: center;
    margin-bottom: 25px;
    color: #6b7280;
}

.calc-form .form-group {
    margin-bottom: 20px;
}

.calc-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.calc-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
}

.calc-form button {
    width: 100%;
    margin-top: 10px;
    cursor: pointer;
}

.calc-result {
    margin-top: 30px;
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px dashed var(--primary);
    display: none;
}

.calc-result h4 {
    color: var(--secondary);
    font-size: 1.4rem;
}

.calc-result span {
    color: var(--primary);
}

.small-note {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 5px;
}

/* ==========================================================
   GALLERY LIGHTBOX MODAL STYLES
   ========================================================== */
.page-banner-gallery{
    background: linear-gradient(rgba(8, 8, 8, 0.6) 10%,rgba(0, 17, 15, 0.745) ), url('images/371A2044.JPG') center/cover no-repeat;
    color: var(--white);
}
.gallery-item {
    cursor: pointer;
}

.gallery-overlay p {
    font-size: 0.8rem;
    color: var(--accent);
    margin-top: 4px;
}

/* Lightbox Modal Container */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

/* Modal Image Content */
.lightbox-content {
    margin: auto;
    display: block;
    max-width: 85%;
    max-height: 75vh;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(255,255,255,0.2);
    animation: zoomIn 0.3s ease;
}

/* Caption Under Lightbox */
#lightboxCaption {
    margin: 15px auto;
    text-align: center;
    color: var(--white);
    font-size: 1.2rem;
    width: 80%;
    max-width: 700px;
}

/* Close Button */
.lightbox-close {
    position: absolute;
    top: 25px;
    right: 40px;
    color: #f1f1f1;
    font-size: 45px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--accent);
    text-decoration: none;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@media(max-width: 768px) {
    .lightbox-close {
        right: 20px;
        top: 15px;
        font-size: 35px;
    }
}

.gallery-container {
    padding: 60px 0;
    min-height: 540px;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 260px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(6, 78, 59, 0.9));
    color: var(--white);
    padding: 20px 15px 15px 15px;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1rem;
    font-weight: 600;
}

/* Contact page*/
.contact-pg-bg-img{
    background: linear-gradient(rgba(8, 8, 8, 0.6) 10%,rgba(0, 17, 15, 0.745) ), url('images/371A2991.JPG.jpeg') center/cover no-repeat;
}
.contact-container {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.contact-details h3, .contact-form-box h3 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-details p {
    color: #4b5563;
    margin-bottom: 30px;
}

.contact-box-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-box-item i {
    background: #f0fdf4;
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-box-item h4 {
    color: var(--dark);
    margin-bottom: 5px;
}

.contact-box-item p {
    color: #6b7280;
    margin: 0;
}

.contact-form-box {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.contact-form-box .form-group {
    margin-bottom: 20px;
}

.contact-form-box label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.contact-form-box input, 
.contact-form-box select, 
.contact-form-box textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
}

.contact-form-box input:focus, 
.contact-form-box select:focus, 
.contact-form-box textarea:focus {
    border-color: var(--primary);
}
.hidden{
    display: none;
}

.success-message {
    margin-top: 20px;
    background: #f0fdf4;
    color: var(--primary);
    padding: 15px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
}

@media(max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}