/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Open Sans", Arial, sans-serif;
    background: #f5f0eb;
    color: #2c2c2c;
    line-height: 1.7;
}

/* ===========================
   HERO / HEADER
   =========================== */
.hero {
    background: linear-gradient(160deg, #1b2a5e 0%, #162147 50%, #0f1a3a 100%);
    color: #ffffff;
    text-align: center;
    padding: 60px 24px 50px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(199, 167, 112, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(199, 167, 112, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-logo {
    width: 140px;
    height: 140px;
    object-fit: contain;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.3));
}

.hero h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.hero h1 span {
    color: #c7a770;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    color: #b8bfd4;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.hero-verse {
    font-family: "Playfair Display", Georgia, serif;
    font-style: italic;
    font-size: 1rem;
    color: #c7a770;
    max-width: 640px;
    white-space: nowrap;
    overflow-x: auto;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.gold-divider {
    width: 60px;
    height: 3px;
    background: #c7a770;
    margin: 16px auto 20px;
    border-radius: 2px;
}

/* ===========================
   SECTION TITLES
   =========================== */
.section-title {
    text-align: center;
    padding: 50px 20px 10px;
}

.section-title h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: #1b2a5e;
}

.section-title p {
    color: #6b6b6b;
    font-size: 1rem;
    margin-top: 6px;
}

.section-title .gold-divider {
    margin-bottom: 14px;
}

/* ===========================
   ABOUT BLOCK
   =========================== */
.about-connected-block {
    max-width: 900px;
    margin: 24px auto 0;
    padding: 0;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(27, 42, 94, 0.10);
    overflow: hidden;
}

.about-tabs-row {
    display: flex;
    background: #1b2a5e;
}

.about-tabs-row button {
    flex: 1;
    padding: 14px 8px;
    background: none;
    border: none;
    color: #8a92ab;
    font-family: "Open Sans", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: color 0.25s, border-color 0.25s, background 0.25s;
}

.about-tabs-row button:hover {
    color: #ffffff;
    background: rgba(199, 167, 112, 0.08);
}

.about-tabs-row button.active {
    color: #c7a770;
    border-bottom-color: #c7a770;
}

.about-content {
    padding: 24px 28px;
    min-height: 100px;
}

.about-content .tab-panel {
    display: none;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.about-content .tab-panel.active {
    display: block;
}

.about-content .tab-panel h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.15rem;
    color: #1b2a5e;
    margin-bottom: 10px;
}

.about-content .tab-panel p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.8;
}

.panel-divider {
    border: 0;
    border-top: 1px solid #e8e0d5;
    margin: 22px 0;
}

.pastor-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #faf7f3;
    border-radius: 10px;
    padding: 20px 22px;
    margin-top: 16px;
    text-align: left;
}

.pastor-card .pastor-avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #c7a770;
}

.pastor-card .pastor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pastor-card .pastor-info h4 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.05rem;
    color: #c7a770;
    margin-bottom: 6px;
}

.pastor-card .pastor-info p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 0;
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 500px;
    text-align: left;
}

.values-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e8e0d5;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.values-list li:last-child {
    border-bottom: none;
}

.vision-list {
    list-style: none;
    padding: 0;
    margin: 16px auto 0;
    max-width: 500px;
    text-align: left;
}

.vision-list li {
    padding: 12px 16px;
    margin-bottom: 10px;
    border-radius: 8px;
    background: #faf7f3;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: #333;
}

.vision-scripture {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e8e0d5;
}

.scripture-block {
    margin-bottom: 16px;
    text-align: left;
}

.scripture-block:last-child {
    margin-bottom: 0;
}

.scripture-ref {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #c7a770;
    margin-bottom: 4px;
}

.scripture-block p {
    font-style: italic;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

.faith-articles {
    text-align: left;
    max-width: 620px;
    margin: 0 auto;
}

.faith-article {
    padding: 14px 0;
    border-bottom: 1px solid #e8e0d5;
}

.faith-article:last-child {
    border-bottom: none;
}

.faith-article-title {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1b2a5e;
    margin-bottom: 6px;
}

.faith-article p {
    color: #555;
    font-size: 0.88rem;
    line-height: 1.75;
    margin: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===========================
   SERVICE & LOCATION CARD
   =========================== */
.slc-card-section {
    max-width: 900px;
    margin: 24px auto 0;
    padding: 0 24px;
}

.slc-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(27, 42, 94, 0.10);
    overflow: hidden;
}

.slc-info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.slc-info-item {
    flex: 1 1 220px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    border-right: 1px solid #e8e0d5;
}

.slc-info-item:last-child {
    border-right: none;
}

.slc-info-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #8a92ab;
    margin-bottom: 2px;
}

.slc-info-value {
    display: block;
    font-size: 1.02rem;
    font-weight: 600;
    color: #1b2a5e;
    line-height: 1.4;
}

.slc-map-wrapper {
    border-top: 3px solid #e8e0d5;
}

.slc-map-wrapper iframe {
    display: block;
    width: 100%;
    height: 260px;
    border: 0;
}

/* ===========================
   ACTIVITIES CARD
   =========================== */
.slc-activities-card {
    padding: 0;
}

.slc-activities-list {
    padding: 0;
}

.slc-activity-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 24px;
    border-bottom: 1px solid #e8e0d5;
    transition: background 0.2s;
}

.slc-activity-item:last-child {
    border-bottom: none;
}

.slc-activity-item:hover {
    background: #faf7f3;
}

.slc-activity-highlight {
    background: #faf7f3;
}

.slc-activity-highlight:hover {
    background: #f5f0e8;
}

.slc-activity-content {
    flex: 1;
    min-width: 0;
}

.slc-activity-title {
    display: block;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1rem;
    font-weight: 700;
    color: #1b2a5e;
    margin-bottom: 8px;
}

.slc-activity-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.slc-activity-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.84rem;
    color: #555;
    background: #f5f0eb;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

/* ===========================
   VIDEOS
   =========================== */
.unified-video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 24px auto 0;
    padding: 0 24px 40px;
}

.unified-video-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(27, 42, 94, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.unified-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(27, 42, 94, 0.14);
}

.unified-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
}

.unified-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.unified-video-info {
    padding: 14px;
    text-align: center;
}

.video-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.video-tag.worship {
    background: rgba(199, 167, 112, 0.15);
    color: #a07830;
}

.video-tag.sermon {
    background: rgba(27, 42, 94, 0.1);
    color: #1b2a5e;
}

.unified-video-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1b2a5e;
    margin: 0;
}

/* ===========================
   WELCOME
   =========================== */
.welcome-section {
    max-width: 800px;
    margin: 30px auto 0;
    padding: 0 24px 40px;
    text-align: center;
}

.welcome-section p {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.9;
}

.welcome-section .tamil {
    font-size: 1.15rem;
    color: #1b2a5e;
    font-weight: 600;
    margin-bottom: 10px;
}

/* ===========================
   BUTTON
   =========================== */
.btn-youtube {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: #c7a770;
    color: #1b2a5e;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    margin-top: 18px;
    transition: background 0.3s, transform 0.2s;
}

.btn-youtube:hover {
    background: #b8944f;
    transform: translateY(-2px);
}

.btn-youtube svg {
    width: 22px;
    height: 22px;
    fill: #1b2a5e;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: #1b2a5e;
    color: #8a92ab;
    text-align: center;
    padding: 40px 20px;
    font-size: 0.9rem;
}

.footer-inner {
    max-width: 480px;
    margin: 0 auto;
}

.footer h3 {
    font-family: "Playfair Display", Georgia, serif;
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.footer-service-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b8bfd4;
    font-size: 0.88rem;
    margin-bottom: 16px;
}

.footer-service-line .dot {
    color: #c7a770;
    font-size: 0.5rem;
}

.footer-copy {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
    color: #6b7499;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b8bfd4;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}

.footer-contact-link:hover {
    color: #c7a770;
    text-decoration: none;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1000px) {
    .unified-video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 800px) {
    .hero h1 {
        font-size: 1.7rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 750px) {
    .unified-video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pastor-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 16px 36px;
    }

    .hero-logo {
        width: 100px;
        height: 100px;
    }

    .hero h1 {
        font-size: 1.35rem;
    }

    .slc-info-item {
        border-right: none;
        border-bottom: 1px solid #e8e0d5;
        padding: 16px 20px;
    }

    .slc-info-item:last-child {
        border-bottom: none;
    }

    .slc-activity-item {
        flex-direction: column;
        gap: 10px;
        padding: 16px 20px;
    }

    .slc-activity-badge {
        font-size: 0.8rem;
        padding: 3px 10px;
    }

    .about-tabs-row {
        flex-wrap: wrap;
    }

    .about-tabs-row button {
        flex: 1 1 50%;
    }
}