:root { --primary: cadetblue; --primary-dark: #3a7272; }

.tentchurch-navbar {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    width: 100%;
    height: 80px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    z-index: 9999;
    transform: translateZ(0);
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.tentchurch-navbar.scrolled { 
height:70px !important; background:rgba(255,255,255,0.98); 
box-shadow:0 10px 40px rgba(0,0,0,0.12); 
}

.tentchurch-container {
    max-width:1400px; 
    margin:0 auto; 
    padding:0 5%; 
    height:90px;
    display:flex; 
    align-items:center; 
    justify-content:space-between;
    transition:height 0.4s;
}

.tentchurch-brand { display:flex; align-items:center; gap:16px; 
}

.tentchurch-logo {
    width:56px; 
    height:56px; 
    object-fit:cover; 
    border-radius:16px;
    cursor: pointer;
    padding:4px;
    margin-left: -15px;
    background:linear-gradient(135deg,var(--primary),var(--primary-dark));
    box-shadow:0 8px 25px rgba(95,158,160,0.4); 
    transition:all 0.5s;
    animation:floatGlow 6s ease-in-out infinite;
}
.tentchurch-navbar.scrolled .tentchurch-logo { width:48px; height:48px; 
}

.tentchurch-title {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(90deg, #222, var(--primary));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.tentchurch-links { 
    display:flex; 
    gap:40px; 
    align-items:center; 
}
.tentchurch-links a {
    position:relative; 
    color:#444; 
    text-decoration:none; 
    font-weight:500;
    font-size:16.5px; 
    display:flex; 
    align-items:center; 
    gap:10px; 
    padding:8px 0;
}
.tentchurch-links a::before {
    content:''; 
    position:absolute; 
    bottom:0; 
    left:50%; 
    width:0; 
    height:2.5px;
    background:var(--primary); 
    border-radius:2px; 
    transition:all 0.4s;
    transform:translateX(-50%);
}
.tentchurch-links a:hover::before { width:100%; 
}
.tentchurch-links a:hover { color:var(--primary); transform:translateY(-3px); 
}

.tentchurch-cta-btn {
    background:var(--primary); 
    color:white; 
    padding:8px 28px; 
    border-radius:50px;
    text-decoration:none; 
    font-weight:600; 
    box-shadow:0 8px 25px rgba(95,158,160,0.4);
    position:relative; 
    overflow:hidden; 
    transition:all 0.4s;
}
.tentchurch-cta-btn:hover { transform:translateY(-4px); box-shadow:0 15px 35px rgba(95,158,160,0.5); }

    /* HAMBURGER → X */
.tentchurch-hamburger {
    display:none; 
    font-size:30px; 
    cursor:pointer; 
    padding:10px;
    border-radius:50%; 
    transition:all 0.3s; 
    position:relative; 
    z-index:100000;
    margin-right: -18px;
}
.tentchurch-hamburger:hover { 
    background:rgba(95,158,160,0.1); 
}

    /* MOBILE MENU - FIXED */
.tentchurch-mobile-overlay {
    position:fixed; 
    top:0; 
    left:0; 
    width:100%; 
    height:100%;
    background:rgba(0,0,0,0.78); 
    backdrop-filter:blur(12px);
    display:flex; 
    flex-direction:column; 
    align-items:center; 
    padding-top:120px;
    z-index:99999;
    opacity:0; 
    visibility:hidden; 
    transition:all 0.5s cubic-bezier(0.4,0,0.2,1);
}
.tentchurch-mobile-overlay.active {
    opacity:1; 
    visibility:visible;
}

.tentchurch-mobile-close {
    position:absolute; 
    top:20px; 
    right:25px; 
    font-size:44px;
    color:white; 
    cursor:pointer;
}
.tentchurch-mobile-overlay a {
    color:white; 
    font-size:22px; 
    margin:15px 0; 
    text-decoration:none;
    display:flex; 
    align-items:center; 
    gap:12px;
}
.tentchurch-mobile-cta {
    background:var(--primary); 
    padding:14px 40px; 
    border-radius:50px;
    margin-top:30px; 
    font-size:20px; 
    color:white; 
    text-decoration:none;
}

@media (max-width:868px) {
.tentchurch-links, .tentchurch-cta-btn { 
    display:none; 
}
.tentchurch-hamburger { 
    display:block; 
}
.tentchurch-title { 
    font-size:22px; 
}
}

@keyframes floatGlow {
0%,100% { transform:translateY(0) rotate(0deg);            box-shadow:0 8px 25px rgba(95,158,160,0.4); }
50% { transform:translateY(-12px) rotate(3deg); 
box-shadow:0 20px 40px rgba(95,158,160,0.6); 
}
}

/* ---------------- HERO SECTION ---------------- */

.hero {
    padding: 20px 5%;
    text-align: center;
    width: 100%;
    background: linear-gradient(135deg, #e8f0ff, #f7f9fc, #f7f7f7); /* soft modern background */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Top Text */
.pre-title {
    font-size: clamp(1.5rem, 1.7vw, 1.18rem);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #777;
    font-weight: 800;
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeIn 1.2s forwards;
    
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #0a2a43;
    opacity: 0;
    animation: slideUp 1.1s forwards;
}

.hero-text {
   font-size: clamp(1.05rem, 1.7vw, 1.18rem);
    line-height: 1.7;
    max-width: 750px;
    margin: px;
    color: #444;
    opacity: 0;
    animation: fadeIn 1.4s forwards;
}

/* -------------- Modern Carousel -------------- */

.hero-carousel {
    width: 60%;
    margin: 30px auto 40px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0,0,0,0.15);
}

.carousel-img {
    height: 100%;
    object-fit: cover;
}

/* -------------- Button -------------- */

.visit-us {
    background: cadetblue;
    color: #fff;
     padding: 0.9rem 4.9rem;
    border-radius: 50px;
    font-size: 18px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    transition: 0.3s;
    letter-spacing: .5px;
}

.visit-us:hover {
   background: linear-gradient(90deg, #3b6f74, cadetblue);
  transform: translateY(-2px);
  box-shadow: 0 7px 14px rgba(95, 158, 160, 0.4);
}

/* -------------- Animations -------------- */

@keyframes slideUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* -------------- Responsive -------------- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .carousel-img {
        height: 300px;
        
        
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .carousel-img {
        height: 350px;
        width: 350px;
    }
    .hero-carousel{
        width: 350px;
        height: 350px;
    }
}




/* ABOUT SECTION */

.about-section {
    width: 100%;
    padding: 4rem 1.5rem;
    background: #f7f7f7;
    display: flex;
    justify-content: center;
}

.about-container {
    max-width: 900px;
    width: min(95%, 900px);
    color: #333;
}

.small-title {
    letter-spacing: 2px;
    font-size: clamp(0.75rem, 2vw, 0.95rem);
    color: #5b5b5b;
    margin-bottom: 1rem;
}

.about-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
}

.underline {
    width: 60px;
    height: 4px;
    border-radius: 2px;
    background: cadetblue;
    margin-bottom: 2rem;
}

.about-text {
    font-size: clamp(0.95rem, 1.7vw, 1.18rem);
    line-height: 1.7;
    color: #444;
    margin-bottom: 1.8rem;
}

/* BUTTON STYLE */
.about-btn {
    display: inline-block;
    background: lightseagreen;  
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.9rem 4.9rem;
    border-radius: 40px;
    text-align: center;
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);

    /* makes button naturally center itself */
    margin: 1rem auto 0;
    display: block;
    width: fit-content;
    transition: 0.3s ease;
}

.about-btn:hover {
  background: linear-gradient(90deg, #3b6f74, cadetblue);
  transform: translateY(-2px);
  box-shadow: 0 7px 14px rgba(95, 158, 160, 0.4);
}

/* OUR MINISTRY EXPRESSIONS SECTION */


.exp-h1{
     font-size: clamp(2rem, 4vw, 2rem);
    font-weight: 800;
    color:  #0a2a43;
    margin-left: 10px;
    margin-top: 0.7rem;
    
}
.exp-line{
    width: 200px;
    height: 4px;
    background:cadetblue;
    border-radius: 3px;
    margin-bottom: -0.8rem;
    margin-left: 10px;
}
.cshubX23-section-wrapper {
  display: grid;
  gap: 30px;
  padding: 30px 10px;
  box-sizing: border-box;
  grid-template-columns: 1fr; 
}

/* Tablets: 2 columns */
@media (min-width: 600px) {
  .cshubX23-section-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop: 4 columns */
@media (min-width: 1024px) {
  .cshubX23-section-wrapper {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* CARD BASE STYLING */
.cshubX23-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  padding: 15px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  height: 100%;           
  background: #fff;        
  box-sizing: border-box;
}

/* CARD HOVER EFFECT */
.cshubX23-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* TOP ACCENT BAR */
.cshubX23-topbar {
  width: 80px;
  height: 4px;
  background: cadetblue;
  border-radius: 50px;
  margin-bottom: 15px;
}

/* IMAGE */
.cshubX23-img {
  width: 100%;             
  height: 320px;           
  min-height: 300px;
  max-height: 390px;
  object-position: center; 
  border-radius: 14px;
  margin-bottom: 18px;
  transition: transform 0.3s ease;
  flex-shrink: 0;        
  display: block;
}

/* IMAGE HOVER */
.cshubX23-card:hover .cshubX23-img {
  transform: scale(1.04);
}

/* TITLE */
.cshubX23-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.45;
  display: inline-block;
  font-family: "Playfair Display", serif;
}

/* DROP-CAP */
.cshubX23-title::first-letter {
  font-size: 1.8rem;
  font-weight: 800;
  color: cadetblue;
  padding-right: 5px;
}

/* TEXT */
.cshubX23-text {
  flex-grow: 1;             /* ensures buttons align at bottom */
  color: #475569;
  line-height: 1.65;
  font-size: 0.96rem;
  margin-bottom: 25px;
  overflow: visible;
}

/* BUTTON */
.cshubX23-btn {
  background: linear-gradient(90deg, cadetblue, #3b6f74);
  color: #fff;
  text-decoration: none;
  padding: 13px 20px;
  border-radius: 12px;
  font-size: 0.96rem;
  font-weight: 600;
  text-align: center;
  display: block;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  margin-top: auto;          /* sticks button at bottom of card */
}

/* BUTTON HOVER */
.cshubX23-btn:hover {
  background: linear-gradient(90deg, #3b6f74, cadetblue);
  transform: translateY(-2px);
  box-shadow: 0 7px 14px rgba(95, 158, 160, 0.4);
}

/* UNIQUE GRADIENTS PER CARD */

/* 1st Card */
.cshubX23-section-wrapper .cshubX23-card:nth-child(1) {
  background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
}
.cshubX23-section-wrapper .cshubX23-card:nth-child(1):hover {
  background: linear-gradient(135deg, #b2ebf2, #80deea);
}

/* 2nd Card */
.cshubX23-section-wrapper .cshubX23-card:nth-child(2) {
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
}
.cshubX23-section-wrapper .cshubX23-card:nth-child(2):hover {
  background: linear-gradient(135deg, #ffe0b2, #ffcc80);
}

/* 3rd Card */
.cshubX23-section-wrapper .cshubX23-card:nth-child(3) {
  background: linear-gradient(135deg, #f3e5f5, #e1bee7);
}
.cshubX23-section-wrapper .cshubX23-card:nth-child(3):hover {
  background: linear-gradient(135deg, #e1bee7, #ce93d8);
}

/* 4th Card */
.cshubX23-section-wrapper .cshubX23-card:nth-child(4) {
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
}
.cshubX23-section-wrapper .cshubX23-card:nth-child(4):hover {
  background: linear-gradient(135deg, #c8e6c9, #a5d6a7);
}



    /* ========== OUR CONTACT SECTION ========= */

/* WRAPPER */
.tc-wrapper {
    width: 85%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    box-sizing: border-box;
}

/* MAIN HEADINGS ABOVE BOXES */
.tc-main-heading {
    font-size: 30px;
    font-weight: 800;
    color: #222;
    margin-bottom: 10px;
    border-left: 5px solid cadetblue;
    padding-left: 12px;
    font-family: "Playfair Display", serif;
}

/* BOXES WITH UNIQUE GRADIENTS */
.tc-service-box {
    background: linear-gradient(135deg, #d4f1f9, #a0e3f2);
}

.tc-contact-box {
    background: linear-gradient(135deg, #f9f3d4, #f2e5a0);
}

.tc-form-box {
    background: linear-gradient(135deg, #f9d4f1, #f2a0e3);
}

/* COMMON BOX STYLING */
.tc-service-box,
.tc-contact-box,
.tc-form-box {
    padding: 40px 45px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform .35s ease, box-shadow .35s ease;
    width: 100%;           /* Default full width */
    max-width: 900px;      /* Maximum width on large screens */
    margin: 0 auto;        /* Center in wrapper */
}

/* BOX HOVER: Lift + Shadow */
.tc-service-box:hover,
.tc-contact-box:hover,
.tc-form-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

/* SUBTITLES */
.tc-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

/* SUBTITLE ICON HOVER */
.tc-subtitle i {
    color: cadetblue;
    margin-right: 10px;
    font-size: 18px;
    transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}

.tc-service-box:hover .tc-subtitle i,
.tc-contact-box:hover .tc-subtitle i,
.tc-form-box:hover .tc-subtitle i {
    transform: translateX(6px) scale(1.2);
    text-shadow: 0 0 10px rgba(95,158,160,0.6);
}

/* DESCRIPTION */
.tc-description {
    font-size: 16px;
    color: #222;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* TEXT LINES */
.tc-line {
    margin: 12px 0;
    font-size: 16px;
    color: #222;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* FORM */
.tc-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* INPUTS */
.tc-input {
    width: 100%;
    padding: 15px;
    background: #ffffffcc;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 16px;
    color: #222;
    outline: none;
    transition: border .3s ease, box-shadow .3s ease;
}

.tc-input:focus {
    border-color: cadetblue;
    box-shadow: 0 0 10px rgba(95,158,160,0.3);
}

/* TEXTAREA */
.tc-textarea {
    height: 140px;
    resize: none;
}

/* BUTTON */
.tc-btn {
    padding: 16px;
    background: cadetblue;
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: background .3s ease, transform .3s ease;
}

.tc-btn:hover {
    background: linear-gradient(90deg, #3b6f74, cadetblue);
  transform: translateY(-2px);
  box-shadow: 0 7px 14px rgba(95, 158, 160, 0.4);
}

/* AOS SCROLL ANIMATION */
.tc-aos {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .9s ease, transform .9s ease;
}

.tc-aos.tc-visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .tc-wrapper {
        gap: 40px;
    }

    .tc-service-box,
    .tc-contact-box,
    .tc-form-box {
        width: 100%;
        max-width: 600px;
    }
}



     /* THE FOOTER SECTION======= */

footer{
  color: #fff; 
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  padding: 20px 0;
  width: 100%;
}
.footer-container{
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
   max-width: 1200px;
   margin: 0 auto;
   gap: 20px;
}
.footer-section{
   flex-basis: 30%;
   margin: 15px;
}
.footer-section h3 {
   margin-top: 0;
   font-style: italic;
}
.footer-section ul {
   list-style-type: none;
   padding: 0;
   margin: 0;
}
.footer-section li{
   margin-bottom: 10px;
}
.footer-section a{
   color: #fff;
   text-decoration: none;
   font-weight: bold;
   font-style: oblique;
}
.footer-section a:hover{
   color: cornsilk;
   font-weight: bolder;
   font-size: larger;
}
.social-links li{
 margin-top: 10px;
 text-align: center;
}
.quick-link{
   font-weight: bolder;
   text-decoration: underline;
   margin-bottom: 10px;
   font-style: italic;
}

.footer-logo{
   width: 40px;
   height: 40px;
   border-radius: 5px;
}
.footer-logo:hover{
   width: 50px;
   height: 50px;

}
.copyright{
   text-align: center;
   margin-top: 10px;
   font-size: 14px;
   font-style: oblique;
}


/* ======= MEET OUR PASTORS ====== */

/* Unique styling so it never affects other parts of your site */
#meetPastorsX9 {
    padding: 60px 20px;
    background: #f5f8fc;
    text-align: center;
}

.mpx9-title {
    font-size: 33px;
    font-weight: 700;
    margin-bottom: 40px;
    animation: fadeDownP9 1s ease forwards;
    opacity: 0;
}

.mpx9-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

    /* UPGRADED CARD STYLE */


.mpx9-card {
    background: white;
    width: 260px;
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    transition: 0.5s ease;
    animation: mpx9FadeUp 1.2s ease forwards, mpx9Float 4s ease-in-out infinite;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

/* Glow effect on hover */
.mpx9-card:hover {
    transform: translateY(-10px) scale(1.03) rotateX(3deg);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.25);
}

/* Subtle moving shine animation */
.mpx9-card::after {
    content: "";
    position: absolute;
    top: -100%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.2) 50%,
    transparent 100%);
    transform: rotate(25deg);
    transition: 0.6s;
    opacity: 0;
}

.mpx9-card:hover::after {
    top: -30%;
    left: -30%;
    opacity: 1;
}



   /* UPGRADED IMAGE STYLE */


.mpx9-img {
    width: 100%;
    height: 290px;
    border-radius: 18px;
    object-fit: cover;
    transition: 0.6s ease;
    transform: scale(1) rotate(0deg);
    animation: mpx9ImgFade 1.4s ease forwards;
    opacity: 0;
}

/* Zoom tilt hover */
.mpx9-card:hover .mpx9-img {
    transform: scale(1.12) rotate(1deg);
    filter: brightness(1.05);
}



   /* TEXT STYLING IMPROVEMENTS */


.mpx9-name {
    margin-top: 18px;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: 0.3px;
    color: #0a2a43;
    
    
}

.mpx9-role {
    font-size: 14px;
    color: #3a74c7;
    letter-spacing: 0.6px;
    font-weight: 600;
}



   /* KEYFRAME ANIMATIONS */


/* Fade up for card */
@keyframes mpx9FadeUp {
    0% { opacity: 0; transform: translateY(40px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Floating soft animation */
@keyframes mpx9Float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

/* Fade-in for the image */
@keyframes mpx9ImgFade {
    0% { opacity: 0; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

.mpx9-name {
    margin-top: 15px;
    font-size: 22px;
    font-weight: 800;
    color: #0a2a43;
}

.mpx9-role {
    font-size: 15px;
    color: #3a74c7;
    font-weight: 200;
}

/* Button */
.mpx9-view-btn {
    margin-top: 35px;
    display: inline-block;
    padding: 12px 25px;
    background: cadetblue;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.mpx9-view-btn:hover {
    background: linear-gradient(90deg, #3b6f74, cadetblue);
  transform: translateY(-2px);
  box-shadow: 0 7px 14px rgba(95, 158, 160, 0.4);
}

/* ANIMATIONS */
@keyframes fadeDownP9 {
    0% { opacity: 0; transform: translateY(-30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes popUpP9 {
    0% { opacity: 0; transform: translateY(40px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

  /* ====== MEET OUR PASTORS PAGE ======= */

  /* Unique parent container */
#portfolioShowcaseX9 {
    width: 100%;
    padding: 60px 20px;
    background: #eef2f8;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.psx9-title {
    font-size: 35px;
    font-weight: 700;
    text-align: center;
    animation: fadeDownPX9 1s ease forwards;
    opacity: 0;
}

.psx9-card {
    width: 100%;
    max-width: 900px;
    background: #fff;
    margin: 0 auto;
    padding: 25px;
    border-radius: 20px;
    display: flex;
    gap: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(40px);
    animation: popCardPX9 1.3s ease forwards;
}

.joy-cardX9 {
    animation-delay: 0.5s;
}

/* Image section */
.psx9-img-box {
    min-width: 240px;
    height: 300px;
    overflow: hidden;
    border-radius: 20px;
}

.psx9-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.psx9-img:hover {
    transform: scale(1.15);
}

/* Text */
.psx9-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.psx9-name {
    font-size: 28px;
    font-weight: 700;
}

.psx9-role {
    color: #3a74c7;
    font-weight: 600;
}

.psx9-text {
    color: #555;
    line-height: 1.6;
}

  /* PASTOR JOY SOCIAL LINK */

.connectm-section {
    text-align: center;
    padding: 30px 20px;
}
.fa-user-friends{
    color: cadetblue;
}
.connectm-heading {
    font-size: 28px;
    margin-bottom: 20px;
    color: #777;
    font-weight: 600;
}

.socialm-link {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.socialm-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
    text-decoration: none;
    width: 50px;
    border-radius: 30px;
}

.socialm-icon:hover {
    
    transform: translateY(-4px);
}

/* Responsive */
@media (max-width: 768px) {
    .psx9-card {
        flex-direction: column;
        text-align: center;
    }

    .psx9-img-box {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

/* Animations */
@keyframes fadeDownPX9 {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes popCardPX9 {
    0% { opacity: 0; transform: translateY(40px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}


/* =========== ABOUT PAGE SECTION ========== */

/* GENERAL */
#ttc9-about {
    font-family: "Poppins", sans-serif;
    /* color: cadetblue; */
    
}

.ttc9-container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* FLOATING PASTORS */
.ttc7-floating-pastors { 
    position:fixed; 
    right:20px; 
    bottom:20px; 
    z-index:999; 
    display:flex; 
    flex-direction:column; 
    align-items:flex-end; 
    gap:10px; 
}
.ttc7-floating-main { 
    width:60px; 
    height:60px; 
    background:cadetblue; 
    color:#fff; 
    border-radius:50%; 
    display:flex; 
    justify-content:center; 
    align-items:center; 
    font-size:1.5rem; 
    cursor:pointer; 
    box-shadow:0 5px 20px rgba(0,0,0,0.3); 
    transition:0.3s ease; 
}
.ttc7-floating-main:hover { 
    background:#5f9ea0; 
    transform:translateY(-3px); 
}
.ttc7-pastors-cards { 
    display:none; 
    flex-direction:column; 
    gap:12px; 
    margin-bottom:10px; 
}
.ttc7-floating-pastors:hover .ttc7-pastors-cards { 
    display:flex; 
}
.ttc7-pastor-card { 
    background:white; 
    width:220px; 
    display:flex; 
    align-items:center; 
    gap:10px; 
    padding:8px 10px; 
    border-radius:12px; 
    box-shadow:0 6px 18px rgba(0,0,0,0.25); 
    transition:0.3s ease; 
}
.ttc7-pastor-card img { 
    width:50px; 
    height:50px;
    cursor: pointer; 
    object-fit:cover; 
    border-radius:50%; 
    border:2px solid cadetblue; 
}
.ttc7-pastor-info h4 { 
    margin:0; 
    font-size:0.95rem; 
    color:#333; 
}
.ttc7-pastor-info p { 
    margin:0; 
    font-size:0.8rem; 
    color:#555; 
}

/* HERO WRAPPER ------------------------------------------------ */
.ttc9-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 500px;            
    border-radius: 0 0 12px 12px;   /* rounded bottom only */
    overflow: hidden;
    position: relative;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);   /* soft shadow */
    animation: ttc9-fadeIn 1.2s ease-out forwards;
}

/* TEXT SECTION (LEFT) ----------------------------------------- */
.ttc9-hero-text {
    width: 45%;
    height: 100%;
    background: rgba(95, 158, 160, 0.968);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 35px;
    z-index: 2;
}

.ttc9-hero-text h1 {
    font-size: 2.2rem;
    margin-bottom: 1px;
    font-weight: 800;
}

.ttc9-hero-text h1 i {
    margin-right: 8px;
    color: rgba(0, 0, 0, 0.61);
}

.ttc9-sub {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 1px;
}

/* IMAGE RIGHT ------------------------------------------------- */
.ttc9-hero-img {
    width: 55%;
    height: 100%;
    overflow: hidden;
}

.ttc9-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 4s ease;
}

/* Subtle zoom animation */
.ttc9-hero:hover .ttc9-hero-img img {
    transform: scale(1.08);
}


/* ============================================================= */
/* MOBILE VERSION ---------------------------------------------- */
/* ============================================================= */

@media (max-width: 768px) {

    .ttc9-hero {
        display: block;
        height: auto;
    }

    .ttc9-hero-img {
        width: 100%;
        height: 430px;
        position: relative;
        object-fit: cover;
    }

    .ttc9-hero-text {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
       background-color: cadetblue;
        padding: 20px;
        height: auto;
    }

    .ttc9-hero-text h1 {
        font-size: 1.7rem;
        font-family: "Playfair Display", serif;
        font-weight: 800;
    }

    .ttc9-sub {
        font-size: .95rem;
    }
}

/* ============================================================= */
/* EXTRA LARGE SCREEN OPTIMIZATION ------------------------------ */
/* ============================================================= */
@media (min-width: 1400px) {
    .ttc9-hero {
        height: 550px;
    }

    .ttc9-hero-text h1 {
        font-size: 2.6rem;
    }

    .ttc9-hero-text p {
        font-size: 1.25rem;
    }
}

/* ============================================================= */
/* FADE-IN ANIMATION -------------------------------------------- */
/* ============================================================= */
@keyframes ttc9-fadeIn {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ======================================================
   PREMIUM ABOUT SECTION — LUXURY DESIGN
   ====================================================== */

#ttc7-about-premium {
    position: relative;
    padding: 10px 10%;
    background: linear-gradient(145deg, #f2f4f8, #ffffff);
    overflow: hidden;
}



/* Layout */
.ttc7-about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    flex-wrap: wrap;
    
}

.ttc9-heading{
    color: #333;
    font-weight: 800;
    font-family: "Playfair Display", serif;
}
.fa-eye, fa-clock{
    color: rgba(0, 0, 0, 0.61);
    font-weight: 800;
    font-size: larger;
}
.fa-pray{
    color: rgba(0, 0, 0, 0.61);
    font-weight: 800;
    font-size: larger;
}
.fa-clock{
    color: rgba(0, 0, 0, 0.61);
    font-weight: 800;
    font-size: larger;
}
/* ======================= TEXT ======================= */

.ttc7-premium-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.6;
    color: #333;
    font-family: "Playfair Display", serif;
    position: relative;
}

.ttc7-premium-title::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 4px;
    background: linear-gradient(135deg, cadetblue, #8df2d2);
    border-radius: 4px;
    bottom: 5px;
    left: 0;
}

/* .ttc7-premium-lead {
    margin-top: 35px;
    font-size: 1.25rem;
    color: #333;
    font-weight: 500;
    line-height: 1.7;
} */

#ttc7-about-premium p {
    margin: 18px 0;
    line-height: 1.75;
    font-size: 1.07rem;
    color: #333;
    font-weight: 400;
}



/* ======================= RESPONSIVE ======================= */
@media (max-width: 900px) {
    .ttc7-about-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .ttc7-premium-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .ttc7-premium-buttons {
        justify-content: center;
    }
}

/* ===============================
   TTCX9 – MINISTRY EXPRESSIONS
   =============================== */

#ttcx9-expressions {
    padding: 30px 20px;
    background: #f7f9fa;
}

.ttcx9-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: #333;
    font-family: "Playfair Display", serif;
    margin-bottom: 40px;
}

.ttcx9-title i {
    margin-right: 10px;
    color: cadetblue;
}

/* DEFAULT GRID (MOBILE & TABLET) */
.ttcx9-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 35px;
}

/* CARD */
.ttcx9-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: all .35s ease;
}

.ttcx9-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 26px rgba(0,0,0,0.12);
}

/* IMAGE BOX */
.ttcx9-img-box {
    width: 100%;
    height: 390px;
    overflow: hidden;
    flex-shrink: 0;
}

.ttcx9-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.ttcx9-card:hover .ttcx9-img-box img {
    transform: scale(1.07);
}

/* TEXT */
.ttcx9-content {
    padding: 22px;
}

.ttcx9-content h3 {
    font-size: 1.50rem;
    color: #333;
    margin-bottom: 12px;
    font-weight: 800;
}

.ttcx9-content h3 i {
    margin-right: 8px;
    color: cadetblue;
    font-size: larger;
}

.ttcx9-content p {
    font-size: 1rem;
    color: #444;
    line-height: 1.55rem;
    
}

/* ===== TABLET (2 columns) ===== */
@media (min-width: 768px) {
    .ttcx9-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== LARGE SCREEN (HORIZONTAL CARD LAYOUT) ===== */
@media (min-width: 1100px) {
    .ttcx9-grid {
        grid-template-columns: 1fr;
        row-gap: 40px;
    }

    .ttcx9-card {
        display: flex;
        height: 400px;
    }

    .ttcx9-img-box {
        width: 42%; /* Image takes left side */
        height: 100%;
        object-fit: cover;
        
    }

    .ttcx9-content {
        width: 58%; /* Text takes right side */
        padding: 30px 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* QUICK CONTACT CARD ----------------------------------------- */
.ttc9-quick-contact {
    padding: 40px 20px;
    background: #f7f9fa;
}

.ttc9-contact-card {
    max-width: 700px;
    margin: auto;
    background: #fff;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    text-align: center;
    border-top: 5px solid cadetblue;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ttc9-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

.ttc9-contact-card h2 {
    font-size: 1.9rem;
    margin-bottom: 25px;
    color: #333;
    font-weight: 800;
    font-family: "Playfair Display", serif;
}

.ttc9-contact-card h2 i {
    color: cadetblue;
    margin-right: 8px;
}

.ttc9-contact-details p {
    font-size: 1.1rem;
    margin: 12px 0;
    color: #444;
}

.ttc9-contact-details p i {
    color: cadetblue;
    margin-right: 10px;
    font-size: 1.1rem;
}

/* BUTTON */
.ttc9-contact-btn {
    display: inline-block;
    margin-top: 20px;
    background: cadetblue;
    color: #fff;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.ttc9-contact-btn i {
    margin-right: 8px;
}

.ttc9-contact-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0px 15px 30px rgba(55, 212, 186, 0.4);
}

/* MOBILE OPTIMIZATION */
@media (max-width: 768px) {
    .ttc9-contact-card {
        padding: 25px 20px;
    }

    .ttc9-contact-card h2 {
        font-size: 1.6rem;
    }

    .ttc9-contact-details p {
        font-size: 1rem;
    }

    .ttc9-contact-btn {
        width: 100%;
        padding: 12px 0;
    }
}

/* JOIN US SECTION ------------------------------------------ */
.ttc9-join-us {
    padding: 50px 20px;
    background: #f7f9fa;
    text-align: center;
}

.ttc9-join-us h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 800;
    font-family: "Playfair Display", serif;
}

.ttc9-join-us h2 i {
    color: cadetblue;
    margin-right: 10px;
    font-size: larger;
}

.ttc9-join-intro {
    font-size: 1.1rem;
    margin-bottom: 35px;
    color: #555;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* GRID */
.ttc9-join-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

/* CARD */
.ttc9-join-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.ttc9-join-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

/* CARD IMAGE */
.ttc9-join-img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}

/* CONTENT */
.ttc9-join-card h3 {
    font-size: 1.3rem;
    margin: 15px 0 10px;
    color: #333;
    font-weight: 800;
    font-family: "Playfair Display", serif;
    
}

.ttc9-join-card h3 i {
    color: cadetblue;
    margin-right: 8px;
}

.ttc9-join-card p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 18px;
    padding: 0 10px;
}

/* BUTTON */
.ttc9-join-btn {
    display: inline-block;
    margin-bottom: 18px;
    padding: 15px 40px;
    background: cadetblue;
    color: #fff;
    font-family: "Playfair Display", serif;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.3s ease;
}

.ttc9-join-btn:hover {
    background: #4a7a7a;
    transform: translateY(-2px);
}

/* MOBILE */
@media (max-width: 768px) {
    .ttc9-join-us {
        padding: 40px 15px;
    }

    .ttc9-join-us h2 {
        font-size: 1.6rem;
    }

    .ttc9-join-intro {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .ttc9-join-img {
        height: 320px;
        object-fit: cover;
    }

    .ttc9-join-card h3 {
        font-size: 1.15rem;
    }

    .ttc9-join-btn {
        width: 70%;
    }
}

     /* ===============================
   MEET OUR TEAM – FINAL CLEAN CSS
   =============================== */

#tc-team-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
  
}

/* HEADER */
.tc-team-header {
  text-align: center;
  margin-bottom: 50px;
}

.tc-team-header h2 {
  font-size: 35px;
  color: cadetblue;
  margin-bottom: 10px;
  font-weight: 500;
}

.tc-team-header p {
  color: #555;
  font-size: 17px;
}

/* GRID */
.tc-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

/* CARD (GRADIENT BORDER WRAPPER) */
.tc-team-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2px; /* border thickness */
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    cadetblue,
    #7fbfc1,
    cadetblue
  );
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* INNER CARD CONTENT */
.tc-team-card > * {
  background: linear-gradient(135deg, #e8f0ff, #f7f9fc, cadetblue);
  border-radius: 16px;
  overflow: hidden;
}

/* HOVER EFFECT */
.tc-team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(95, 158, 160, 0.45);
}

/* IMAGE */
.tc-team-image {
  height: 420px;
  overflow: hidden;
}

.tc-team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.tc-team-card:hover img {
  transform: scale(1.07);
}

/* INFO */
.tc-team-info {
  padding: 22px;
  text-align: center;
  margin-top: auto;
}

.tc-team-info h4 {
  font-size: 25px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #2f4f4f;
}

.tc-team-info span {
  display: inline-block;
  font-size: 17px;
  color: cadetblue;
  font-weight: 500;
  position: relative;
}

/* ACCENT LINE */
.tc-team-info span::after {
  content: "";
  display: block;
  width: 40%;
  height: 2px;
  background: cadetblue;
  margin: 6px auto 0;
  border-radius: 2px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .tc-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .tc-team-grid {
    grid-template-columns: 1fr;
  }

  .tc-team-image {
    height: 500px;
  }
}