/* ==========================================================================
   Base & Variables
   ========================================================================== */
:root {
    --primary: #0A192F; /* Deep Navy Blue */
    --primary-light: #112240;
    --primary-dark: #020C1B;
    --gold: #D4AF37;
    --gold-light: #F8E5A1;
    --gold-dark: #AA8825;
    --light-primary: rgba(10, 25, 47, 0.05);
    --dark: #0A192F;
    --light: #F8F9FA;
    --white: #FFFFFF;
    --text-muted: #64748B;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-gold: 0 10px 25px -5px rgba(212, 175, 55, 0.3);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Outfit', sans-serif;
    color: #334155;
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-cinzel {
    font-family: 'Cinzel', serif;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.text-gold { color: var(--gold) !important; }
.bg-gold { background-color: var(--gold) !important; }
.bg-gold-light { background-color: rgba(212, 175, 55, 0.15) !important; }
.bg-light-primary { background-color: var(--light-primary) !important; }

.tracking-widest { letter-spacing: 0.15em; }
.leading-relaxed { line-height: 1.8; }
.max-w-700 { max-width: 700px; }
.fs-7 { font-size: 0.85rem; }
.xs-text { font-size: 0.75rem; }
.transition-all { transition: var(--transition); }

.section-padding { padding: 6rem 0; }
.py-6 { padding-top: 5rem; padding-bottom: 5rem; }

/* Gradients & Blurs */
.text-gradient-gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.backdrop-blur {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-gold {
    background: linear-gradient(135deg, var(--gold), #C59A26);
    color: var(--white);
    border: none;
    transition: var(--transition);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #C59A26, var(--gold-dark));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-hover-effect {
    position: relative;
    overflow: hidden;
}

.btn-hover-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255,255,255,0.1);
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    transition: transform 0.5s ease-out;
}

.btn-hover-effect:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.shadow-gold {
    box-shadow: var(--shadow-gold);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.topbar {
    background-color: var(--primary-dark);
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1rem 0;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.logo-wrapper {
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gold);
    box-shadow: var(--shadow-sm);
}

.logo-text {
    color: var(--gold);
    font-family: 'Cinzel', serif;
    font-weight: 800;
    font-size: 1.2rem;
}

.brand-title {
    font-size: 1.3rem;
    color: var(--primary);
    line-height: 1.1;
}

.brand-subtitle {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-link {
    color: var(--primary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 80%;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate linear;
}

@keyframes slowZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(105deg, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.7) 50%, rgba(10, 25, 47, 0.2) 100%);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
}

.badge-glow {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
    transition: var(--transition);
}

.scroll-indicator:hover { opacity: 1; }

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    animation: scroll 2s infinite cubic-bezier(0.15, 0.41, 0.69, 0.94);
}

@keyframes scroll {
    0% { opacity: 0; transform: translate(-50%, 0); }
    10% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.blob {
    position: absolute;
    filter: blur(60px);
    z-index: 0;
    opacity: 0.5;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(10, 25, 47, 0.05);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
}

.about-images {
    position: relative;
    padding-bottom: 3rem;
    padding-right: 3rem;
}

.img-main {
    height: 450px;
    transition: var(--transition);
}

.zoom-effect:hover {
    transform: scale(1.05);
}

.experience-card {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    border-bottom: 4px solid var(--gold);
    z-index: 10;
}

.heading-divider {
    height: 3px;
    width: 60px;
    border-radius: 2px;
}

.custom-accordion .accordion-button {
    box-shadow: none !important;
    transition: var(--transition);
}

.custom-accordion .accordion-button:not(.collapsed) {
    background-color: var(--light) !important;
    color: var(--primary) !important;
}

.custom-accordion .accordion-button::after {
    background-image: none;
    content: '\f067';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--gold);
    transform: none;
    transition: var(--transition);
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    content: '\f068';
    transform: rotate(180deg);
}

/* ==========================================================================
   Programs Section
   ========================================================================== */
.program-card-v2 {
    transition: var(--transition);
}

.program-card-v2:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg) !important;
}

.card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.program-card-v2:hover .card-accent {
    transform: scaleX(1);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
}

.program-card-v2:hover .icon-wrapper {
    background-color: var(--primary) !important;
    color: var(--white) !important;
    transform: rotateY(180deg);
}

.meta-tag {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    background: var(--light);
    padding: 4px 10px;
    border-radius: 6px;
}

.master-card {
    transition: var(--transition);
}

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

.master-card .bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.05;
}

.meta-tags-light span {
    font-size: 0.85rem;
    background: rgba(255,255,255,0.1);
    padding: 5px 12px;
    border-radius: 20px;
}

.hover-white:hover {
    color: var(--white) !important;
}

/* ==========================================================================
   Leadership Section
   ========================================================================== */
.leader-img-container {
    height: 300px;
    width: 100%;
}

.icon-btn {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.icon-btn:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
}

.staff-card {
    border: 1px solid rgba(0,0,0,0.02);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md) !important;
    border-color: rgba(212, 175, 55, 0.3) !important;
}

.staff-img-container {
    width: 140px;
    min-height: 140px;
    height: 100%;
}

.hover-lift:hover .staff-img-container {
    background-color: var(--primary) !important;
    color: var(--gold) !important;
}

/* ==========================================================================
   Faith & Footer Sections
   ========================================================================== */
.faith-cta {
    background: var(--primary);
}

.faith-pattern {
    background-image: radial-gradient(var(--gold) 1px, transparent 1px);
    background-size: 30px 30px;
}

.logo-wrapper-sm {
    width: 40px;
    height: 40px;
}

.social-btn {
    width: 40px;
    height: 40px;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
}

.social-btn:hover {
    background-color: var(--gold) !important;
    transform: translateY(-3px);
    border-color: var(--gold);
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.two-columns {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
}

/* Modal Styling */
.modal-content {
    background: var(--light);
}

.faith-list .faith-item {
    transition: var(--transition);
}

.faith-list .faith-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md) !important;
}

/* ==========================================================================
   Responsive adjustments
   ========================================================================== */
@media (max-width: 991.98px) {
    .hero-title { font-size: 2.5rem; }
    .section-padding { padding: 4rem 0; }
    .about-images { padding-right: 0; padding-bottom: 1.5rem; }
    .experience-card { bottom: -20px; right: 20px; }
}

@media (max-width: 767.98px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem !important; }
    .btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; }
}
