/* ===================================
   CSS Variables & Reset
   =================================== */
:root {
    --primary-color: #2C5F7C;
    --secondary-color: #4A90A4;
    --accent-color: #F7F9FB;
    --text-dark: #1a1a1a;
    --text-light: #6b7280;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #2C5F7C 0%, #4A90A4 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo a {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    max-width: 480px;
    height: 100vh;
    background: linear-gradient(135deg, #2C5F7C 0%, #1a3a4a 100%);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 120px 60px 60px 60px;
    gap: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    z-index: 1000;
}

.nav-menu.active {
    left: 0;
}

.nav-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: url('logo.svg') no-repeat center 40px;
    background-size: 80px;
    opacity: 0.15;
    pointer-events: none;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
    transition: all 0.3s ease;
    position: relative;
    padding: 20px 24px;
    border-radius: 12px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    letter-spacing: 0.3px;
    border-left: 4px solid transparent;
}

.nav-link::before {
    content: '›';
    font-size: 28px;
    margin-right: 12px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.nav-link:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.nav-link:not(.btn-primary):hover {
    background: rgba(255, 255, 255, 0.12);
    border-left-color: rgba(255, 255, 255, 0.6);
    transform: translateX(8px);
}

.nav-link:not(.btn-primary):active {
    background: rgba(255, 255, 255, 0.2);
}

.nav-link.btn-primary {
    background: linear-gradient(135deg, #4A90A4 0%, #5aa0b4 100%);
    color: var(--white);
    text-align: center;
    justify-content: center;
    margin-top: 32px;
    padding: 22px 24px;
    font-size: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.nav-link.btn-primary::before {
    content: '';
    margin: 0;
}

.nav-link.btn-primary:hover {
    background: linear-gradient(135deg, #5aa0b4 0%, #6ab0c4 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(44, 95, 124, 0.65), rgba(74, 144, 164, 0.55)),
                url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?w=1920&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--white);
    text-align: center;
    padding-top: 80px;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 40px 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 24px);
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 14px;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--white), transparent);
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
}

.full-width {
    width: 100%;
}

/* ===================================
   Sections
   =================================== */
.section {
    padding: 100px 0;
}

.section.bg-accent {
    background: var(--accent-color);
}

.section.bg-primary {
    background: linear-gradient(135deg, rgba(44, 95, 124, 0.85), rgba(74, 144, 164, 0.85)),
                url('https://images.unsplash.com/photo-1491677533189-49af044391ed?w=1920&q=80') center/cover;
    background-attachment: fixed;
    color: var(--white);
    position: relative;
}

.section-header {
    max-width: 700px;
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section.bg-primary .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    line-height: 1.2;
}

.section-description {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
}

.section.bg-primary .section-description {
    color: rgba(255, 255, 255, 0.9);
}

/* ===================================
   Feature Cards
   =================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===================================
   Service Cards
   =================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--white);
    padding: 48px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card.featured {
    background: var(--gradient);
    color: var(--white);
    transform: scale(1.05);
}

.service-card:not(.featured):hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 6px 40px;
    font-size: 12px;
    font-weight: 600;
    transform: rotate(45deg);
    text-transform: uppercase;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
}

.service-time {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    padding: 20px 0;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.service-card.featured .service-time {
    border-color: rgba(255, 255, 255, 0.3);
}

.time {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
}

.type {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.8;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.service-card.featured p {
    color: rgba(255, 255, 255, 0.9);
}

/* ===================================
   Events
   =================================== */
.events-grid {
    display: grid;
    gap: 24px;
}

.event-card {
    display: flex;
    gap: 24px;
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.event-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.event-date {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.event-date .month {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.event-date .day {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.event-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.event-time {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 12px;
}

.event-content p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===================================
   Connect Section
   =================================== */
.connect-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.connect-content h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.connect-content p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.connect-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   Contact Section
   =================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.info-item {
    margin-bottom: 32px;
}

.info-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.info-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-form h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(44, 95, 124, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: linear-gradient(135deg, #1a3a4a 0%, #0d1f2a 100%);
    color: var(--white);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand {
    padding-right: 40px;
}

.footer-logo h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    line-height: 1;
}

.footer-logo .tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 5px 0 0 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-mission {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin: 25px 0;
    font-size: 15px;
}

.footer-verse {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
}

.footer-verse p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin: 0 0 8px 0;
    font-size: 14px;
}

.footer-verse .verse-ref {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin: 0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.service-times-list li {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-times-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.service-times-list li strong {
    color: var(--white);
    font-size: 14px;
    margin-bottom: 4px;
}

.service-times-list li span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.contact-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.7;
}

.contact-list li div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-list li span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
}

.contact-list li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.contact-list li a:hover {
    color: var(--white);
}

.footer-bottom {
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

.footer-bottom-links span {
    color: rgba(255, 255, 255, 0.3);
}

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

@keyframes bounce {
    0%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    50% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer-brand {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        width: 100%;
        max-width: 100%;
        padding: 100px 40px 40px 40px;
    }

    .nav-link {
        font-size: 18px;
        padding: 18px 20px;
    }

    .section {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card.featured {
        transform: scale(1);
    }

    .event-card {
        flex-direction: column;
    }

    .connect-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-logo h3 {
        font-size: 24px;
    }

    .footer {
        padding: 60px 0 0;
    }

    .footer-main {
        gap: 40px;
    }
}

/* Map Container Styling */
.map-container {
    margin-top: 12px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    display: block;
}

/* Hamburger Menu Animation (All Screen Sizes) */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}
