/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: #222;
}

/* ===== CONTAINER ===== */
.container {
  width: 90%;
  margin: auto;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: #a00000;
  color: #fff;
  padding: 8px 0;
  font-size: 14px;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.top-left {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-right a {
  color: #fff;
  padding: 6px;
  border-radius: 50%;
  transition: 0.3s;
}

.top-right a:hover {
  background: #fff;
  color: #8B0000;
}

/* ===== HEADER ===== */
.header {
  background: #fff5eb;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.header.shrink {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  transition: 0.3s;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 55px;
}

.logo h1 {
  font-size: 22px;
  color: #8B0000;
  font-weight: 700;
}

/* MENU */
.menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.menu li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  position: relative;
  transition: 0.3s;
}

.menu li a i {
  font-size: 20px;
  color: #8B0000;
  margin-bottom: 5px;
  transition: 0.3s;
}

.menu li a span {
  font-size: 14px;
}

.menu li a:hover {
  color: #8B0000;
}

.menu li a:hover i {
  transform: translateY(-4px);
}

.menu li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: #8B0000;
  transition: 0.3s;
}

.menu li a:hover::after {
  width: 60%;
}

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #8B0000;
  margin: 4px 0;
  transition: 0.3s;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 88vh;
  min-height: 560px;
  overflow: hidden;
}

.slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.08);
  transition: opacity 1s ease, transform 6s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.28));
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 900px;
  height: 100%;
  margin: auto;
  width: 90%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #fff;
}

.hero-tag,
.hero-content .arabic-text,
.hero-content .meaning,
.hero-buttons {
  opacity: 0;
  transform: translateY(45px);
}

.slide.active .hero-tag {
  animation: slideText 0.8s ease forwards;
  animation-delay: 0.3s;
}

.slide.active .arabic-text {
  animation: slideText 0.8s ease forwards;
  animation-delay: 0.7s;
}

.slide.active .meaning {
  animation: slideText 0.8s ease forwards;
  animation-delay: 1.1s;
}

.slide.active .hero-buttons {
  animation: slideText 0.8s ease forwards;
  animation-delay: 1.5s;
}

@keyframes slideText {
  from {
    opacity: 0;
    transform: translateY(45px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 18px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
  backdrop-filter: blur(4px);
}

.arabic-text {
  font-family: 'Noto Naskh Arabic', serif;
  font-size: 64px;
  line-height: 1.5;
  margin-bottom: 18px;
  direction: rtl;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.meaning {
  font-size: 22px;
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 30px;
  color: #f8f3ea;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: #a00000;
  color: #fff;
}

.btn-primary:hover {
  background: #7e0000;
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: #8B0000;
  transform: translateY(-2px);
}

/* ===== DOTS ===== */
.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: 0.3s;
  border: 2px solid transparent;
}

.dot.active {
  background: #fff;
  transform: scale(1.15);
  border-color: #a00000;
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff5eb;
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 20px 0;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  }

  .menu.active {
    display: flex;
  }

  .menu li {
    margin: 10px 0;
  }

  .header-flex {
    padding: 18px 0;
  }

  .hero-slider {
    height: 82vh;
    min-height: 520px;
  }

  .arabic-text {
    font-size: 46px;
  }

  .meaning {
    font-size: 18px;
    max-width: 100%;
  }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 500px) {
  .logo h1 {
    font-size: 18px;
  }

  .logo img {
    width: 45px;
  }

  .top-bar .container {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }

  .hero-slider {
    min-height: 500px;
    height: 78vh;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-tag {
    font-size: 12px;
    padding: 9px 14px;
  }

  .arabic-text {
    font-size: 34px;
    line-height: 1.7;
  }

  .meaning {
    font-size: 16px;
    line-height: 1.6;
  }

  .hero-buttons {
    justify-content: center;
  }

  .btn {
    padding: 12px 22px;
    font-size: 14px;
  }
}
/* ===== ABOUT MASJID SECTION ===== */
.about-masjid {
  padding: 110px 0;
  background:
    radial-gradient(circle at top left, rgba(160, 0, 0, 0.05), transparent 28%),
    linear-gradient(180deg, #fffdf9 0%, #fff5eb 100%);
  overflow: hidden;
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 70px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-box {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.14);
}

.about-image-box img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.about-image-box:hover img {
  transform: scale(1.05);
}

.about-image::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  top: -25px;
  left: -25px;
  border-radius: 30px;
  background: rgba(139, 0, 0, 0.08);
  z-index: -1;
}

.about-image::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -20px;
  bottom: -20px;
  border-radius: 50%;
  border: 2px dashed rgba(139, 0, 0, 0.18);
  z-index: -1;
}

.about-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: rgba(139, 0, 0, 0.92);
  color: #fff;
  padding: 14px 20px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(6px);
}

.about-badge i {
  font-size: 20px;
}

.section-tag {
  display: inline-block;
  margin-bottom: 18px;
  padding: 9px 18px;
  background: rgba(139, 0, 0, 0.08);
  color: #8B0000;
  border: 1px solid rgba(139, 0, 0, 0.1);
  border-radius: 40px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.about-content h2 {
  font-size: 44px;
  line-height: 1.2;
  color: #8B0000;
  margin-bottom: 20px;
}

.about-lead {
  font-size: 19px;
  line-height: 1.9;
  font-weight: 600;
  color: #2f2f2f;
  margin-bottom: 18px;
}

.about-content p {
  font-size: 16px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 34px 0 28px;
}

.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(139, 0, 0, 0.08);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
}

.feature-item i {
  min-width: 48px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #8B0000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.feature-item h4 {
  font-size: 17px;
  color: #222;
  margin-bottom: 6px;
}

.feature-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #666;
}

/* NEW BETTER HIGHLIGHT CARDS */
.about-highlight-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 10px 0 32px;
}

.highlight-card {
  background: #fff;
  border-radius: 22px;
  padding: 24px 20px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(139, 0, 0, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.highlight-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.08);
}

.highlight-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, #8B0000, #b22222);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.highlight-card h3 {
  font-size: 20px;
  color: #8B0000;
  margin-bottom: 10px;
}

.highlight-card p {
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}

.about-btn {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 40px;
  background: #8B0000;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 12px 24px rgba(139, 0, 0, 0.18);
}

.about-btn:hover {
  background: #6e0000;
  transform: translateY(-3px);
}

/* ===== REVEAL ANIMATION ===== */
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: all 0.9s ease;
}

.reveal-left {
  transform: translateX(-70px);
}

.reveal-right {
  transform: translateX(70px);
}

.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* ===== TABLET ===== */
@media (max-width: 1100px) {
  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .about-image-box img {
    height: 500px;
  }

  .about-content h2 {
    font-size: 38px;
  }

  .about-highlight-cards {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .about-masjid {
    padding: 80px 0;
  }

  .about-wrapper {
    gap: 35px;
  }

  .about-image-box img {
    height: 380px;
  }

  .about-content h2 {
    font-size: 30px;
  }

  .about-lead {
    font-size: 17px;
    line-height: 1.8;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .about-highlight-cards {
    grid-template-columns: 1fr;
  }

  .about-badge {
    left: 16px;
    bottom: 16px;
    padding: 12px 16px;
    font-size: 13px;
  }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 480px) {
  .about-masjid {
    padding: 70px 0;
  }

  .about-image-box img {
    height: 300px;
  }

  .about-content h2 {
    font-size: 26px;
  }

  .section-tag {
    font-size: 12px;
    padding: 8px 14px;
  }

  .about-lead {
    font-size: 16px;
  }

  .about-content p {
    font-size: 15px;
  }

  .feature-item,
  .highlight-card {
    padding: 16px;
  }

  .feature-item h4,
  .highlight-card h3 {
    font-size: 16px;
  }

  .feature-item p,
  .highlight-card p {
    font-size: 13px;
  }

  .about-btn {
    width: 100%;
    text-align: center;
  }
}
/* ===== PRAYER TIMES SECTION NEW ===== */
.prayer-section {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(180, 130, 80, 0.10), transparent 30%),
    linear-gradient(90deg, #3a2c29 0%, #544844 50%, #3a2c29 100%);
}

.prayer-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(20, 10, 5, 0.22), rgba(20, 10, 5, 0.22)),
    radial-gradient(circle at top left, rgba(255, 210, 120, 0.04), transparent 22%),
    radial-gradient(circle at bottom right, rgba(255, 210, 120, 0.04), transparent 22%);
  pointer-events: none;
}

.prayer-content {
  position: relative;
  z-index: 2;
}

.prayer-heading {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 55px;
}

.prayer-tag {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 22px;
}

.prayer-title {
  font-size: 58px;
  line-height: 1.15;
  color: #fff;
  font-weight: 800;
  margin-bottom: 24px;
}

.prayer-date-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.prayer-date-box span {
  font-size: 17px;
  color: #f1e6d8;
  font-weight: 500;
}

.next-prayer-box {
  display: inline-block;
  padding: 18px 28px;
  border-radius: 22px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
  backdrop-filter: blur(8px);
}

.next-prayer-box h3 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 8px;
}

.next-prayer-box p {
  font-size: 16px;
  color: #f3e8d8;
  margin: 0;
}

#nextPrayerName,
#countdown {
  color: #e8b24e;
  font-weight: 800;
}

.prayer-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}

.prayer-card {
  position: relative;
  text-align: center;
  padding: 30px 18px 24px;
  border-radius: 26px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 16px 34px rgba(0,0,0,0.10);
  backdrop-filter: blur(7px);
  transition: all 0.35s ease;
}

.prayer-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 44px rgba(0,0,0,0.16);
}

.prayer-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, #8B0000, #d0843f);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.16);
}

.prayer-card h3 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 800;
}

.prayer-card p {
  font-size: 15px;
  color: #f1e6d8;
  margin: 0;
  font-weight: 600;
}

.prayer-card.active-prayer {
  background: rgba(231, 189, 111, 0.12);
  border-color: rgba(231, 189, 111, 0.50);
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0,0,0,0.18);
}

.prayer-card.active-prayer .prayer-icon {
  background: linear-gradient(135deg, #a66a1f, #e1b04d);
  color: #fff;
}

.prayer-card.active-prayer::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  pointer-events: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .prayer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .prayer-title {
    font-size: 46px;
  }
}

@media (max-width: 768px) {
  .prayer-section {
    padding: 80px 0;
  }

  .prayer-title {
    font-size: 34px;
  }

  .prayer-date-box span {
    font-size: 15px;
  }

  .next-prayer-box h3 {
    font-size: 22px;
  }

  .next-prayer-box p {
    font-size: 14px;
  }

  .prayer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .prayer-card {
    padding: 24px 14px 20px;
  }

  .prayer-icon {
    width: 62px;
    height: 62px;
    font-size: 24px;
    border-radius: 18px;
  }

  .prayer-card h3 {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .prayer-grid {
    grid-template-columns: 1fr;
  }

  .prayer-title {
    font-size: 28px;
  }

  .prayer-tag {
    font-size: 12px;
    padding: 9px 18px;
  }

  .prayer-date-box span {
    font-size: 14px;
  }

  .next-prayer-box {
    width: 100%;
    padding: 16px 18px;
  }

  .next-prayer-box h3 {
    font-size: 20px;
  }
}



/* ===== ACTIVITIES SECTION ===== */
.activities-section {
  padding: 110px 0;
  background: linear-gradient(180deg, #f8f8f8 0%, #fffaf4 100%);
}

.activities-heading {
  max-width: 760px;
  margin: 0 auto 60px;
  text-align: center;
}

.activities-heading h2 {
  font-size: 42px;
  color: #8B0000;
  line-height: 1.2;
  margin-bottom: 18px;
}

.activities-heading p {
  font-size: 17px;
  line-height: 1.9;
  color: #666;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 30px;
}

.activity-card {
  position: relative;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.activity-image {
  height: 250px;
  overflow: hidden;
}

.activity-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.activity-icon {
  position: absolute;
  top: 210px;
  left: 34px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #fff;
  color: #8B0000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: all 0.4s ease;
  z-index: 2;
}

.activity-content {
  padding: 72px 34px 34px;
  transition: all 0.4s ease;
}

.activity-content h3 {
  font-size: 22px;
  color: #1e1e1e;
  margin-bottom: 18px;
  line-height: 1.3;
  transition: color 0.4s ease;
}

.activity-content p {
  font-size: 16px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 22px;
  transition: color 0.4s ease;
}

.activity-link {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: #c55400;
  text-decoration: none;
  transition: color 0.4s ease;
}

.activity-link:hover {
  letter-spacing: 0.5px;
}

/* HOVER EFFECT */
.activity-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.12);
}

.activity-card:hover .activity-image img {
  transform: scale(1.08);
}

.activity-card:hover .activity-content {
  background: #8B0000;
}

.activity-card:hover .activity-content h3,
.activity-card:hover .activity-content p,
.activity-card:hover .activity-link {
  color: #fff;
}

.activity-card:hover .activity-icon {
  background: #f4f4f4;
  color: #8B0000;
}

/* REVEAL */
.reveal-up {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.9s ease;
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* TABLET */
@media (max-width: 1100px) {
  .activities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .activities-heading h2 {
    font-size: 36px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .activities-section {
    padding: 80px 0;
  }

  .activities-heading {
    margin-bottom: 40px;
  }

  .activities-heading h2 {
    font-size: 30px;
  }

  .activities-heading p {
    font-size: 16px;
  }

  .activities-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .activity-image {
    height: 220px;
  }

  .activity-icon {
    top: 185px;
    left: 24px;
    width: 72px;
    height: 72px;
    font-size: 28px;
  }

  .activity-content {
    padding: 62px 24px 26px;
  }

  .activity-content h3 {
    font-size: 20px;
  }

  .activity-content p {
    font-size: 15px;
  }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
  .activities-section {
    padding: 70px 0;
  }

  .activities-heading h2 {
    font-size: 26px;
  }

  .activities-heading p {
    font-size: 15px;
    line-height: 1.8;
  }

  .activity-image {
    height: 200px;
  }

  .activity-icon {
    top: 168px;
    left: 20px;
    width: 66px;
    height: 66px;
    font-size: 24px;
  }

  .activity-content {
    padding: 56px 20px 22px;
  }

  .activity-content h3 {
    font-size: 18px;
  }

  .activity-content p {
    font-size: 14px;
  }

  .activity-link {
    font-size: 14px;
  }
}
/* ===== PILLARS SECTION NEW DESIGN ===== */
.pillars-section {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(120, 72, 45, 0.18), transparent 35%),
    linear-gradient(90deg, #2f211d 0%, #47322c 50%, #2f211d 100%);
}

.pillars-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(20, 10, 5, 0.18), rgba(20, 10, 5, 0.18)),
    radial-gradient(circle at top left, rgba(255, 194, 92, 0.04), transparent 20%),
    radial-gradient(circle at bottom right, rgba(255, 194, 92, 0.04), transparent 20%);
  pointer-events: none;
}

.pillars-content {
  position: relative;
  z-index: 2;
}

.pillars-heading {
  text-align: center;
  max-width: 980px;
  margin: 0 auto 70px;
}

.pillars-tag {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 999px;
  border: 1.5px solid rgba(233, 184, 91, 0.7);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 24px;
}

.pillars-heading h2 {
  font-size: 72px;
  line-height: 1.1;
  color: #fff;
  font-weight: 800;
  margin-bottom: 20px;
}

.pillars-heading h2 span {
  color: #e5b24f;
}

.pillars-divider {
  width: 220px;
  height: 3px;
  margin: 0 auto 28px;
  position: relative;
  background: linear-gradient(90deg, transparent, #d9a648, transparent);
  border-radius: 30px;
}

.pillars-divider::after {
  content: "✧";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -58%);
  color: #d9a648;
  font-size: 18px;
  background: #3b2a25;
  padding: 0 10px;
}

.pillars-heading p {
  font-size: 22px;
  line-height: 1.9;
  color: #f4e8d7;
  max-width: 1100px;
  margin: 0 auto;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 34px;
  align-items: start;
}

.pillar-card {
  position: relative;
  background: linear-gradient(180deg, #f7f3ee 0%, #f2ede7 100%);
  border: 3px solid #b98a36;
  border-radius: 34px;
  padding: 72px 24px 34px;
  text-align: center;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.18),
    inset 0 0 0 2px rgba(255, 255, 255, 0.6);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.pillar-card::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, #d9a648, #eac46b, #d9a648);
  border-radius: 0 0 24px 24px;
}

.pillar-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.24),
    inset 0 0 0 2px rgba(255, 255, 255, 0.7);
}

.pillar-icon-wrap {
  position: absolute;
  top: -72px;
  left: 50%;
  transform: translateX(-50%);
  width: 146px;
  height: 146px;
  border-radius: 50%;
  border: 3px dotted #d9a648;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.pillar-icon {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: linear-gradient(180deg, #7f2e2c 0%, #6f2524 100%);
  border: 4px solid #c8963f;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5b24f;
  font-size: 44px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.pillar-card h3 {
  font-size: 31px;
  color: #7b2622;
  font-weight: 800;
  margin-bottom: 18px;
}

.pillar-line {
  width: 72%;
  height: 2px;
  margin: 0 auto 20px;
  background: linear-gradient(90deg, transparent, #d5a44c, transparent);
  position: relative;
}

.pillar-line::after {
  content: "✧";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -58%);
  font-size: 13px;
  color: #c8963f;
  background: #f4efe9;
  padding: 0 8px;
}

.pillar-card p {
  font-size: 18px;
  color: #1f1f1f;
  line-height: 1.5;
  margin: 0;
}

.pillars-bottom-divider {
  width: 260px;
  height: 2px;
  margin: 55px auto 0;
  background: linear-gradient(90deg, transparent, #c8963f, transparent);
  position: relative;
}

.pillars-bottom-divider::after {
  content: "❖";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -58%);
  font-size: 18px;
  color: #d7a74b;
  background: #3a2924;
  padding: 0 12px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1400px) {
  .pillars-heading h2 {
    font-size: 60px;
  }

  .pillars-heading p {
    font-size: 19px;
  }

  .pillars-grid {
    gap: 26px;
  }

  .pillar-card h3 {
    font-size: 27px;
  }
}

@media (max-width: 1100px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 95px;
  }

  .pillars-heading h2 {
    font-size: 48px;
  }

  .pillars-heading p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .pillars-section {
    padding: 80px 0;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    row-gap: 88px;
  }

  .pillars-tag {
    font-size: 14px;
    padding: 10px 22px;
  }

  .pillars-heading h2 {
    font-size: 38px;
  }

  .pillars-heading p {
    font-size: 16px;
    line-height: 1.8;
  }

  .pillar-card {
    padding: 66px 20px 28px;
  }

  .pillar-icon-wrap {
    width: 128px;
    height: 128px;
    top: -64px;
  }

  .pillar-icon {
    width: 98px;
    height: 98px;
    font-size: 36px;
  }

  .pillar-card h3 {
    font-size: 24px;
  }

  .pillar-card p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .pillars-heading h2 {
    font-size: 30px;
  }

  .pillars-heading p {
    font-size: 15px;
  }

  .pillar-card {
    padding: 62px 18px 24px;
    border-radius: 28px;
  }

  .pillar-card h3 {
    font-size: 22px;
  }

  .pillar-card p {
    font-size: 15px;
  }
}
/* ===== FACILITIES SECTION ===== */
.facilities-section {
  padding: 110px 0;
  background: linear-gradient(180deg, #fffaf4 0%, #ffffff 100%);
}

.facilities-heading {
  max-width: 780px;
  margin: 0 auto 60px;
  text-align: center;
}

.facilities-heading h2 {
  font-size: 42px;
  color: #8B0000;
  line-height: 1.2;
  margin-bottom: 18px;
}

.facilities-heading p {
  font-size: 17px;
  line-height: 1.9;
  color: #666;
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.facility-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 420px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.facility-image {
  position: absolute;
  inset: 0;
}

.facility-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.facility-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 10, 5, 0.88), rgba(20, 10, 5, 0.18));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: #fff;
  transition: background 0.35s ease;
}

.facility-icon {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
  color: #fff;
  transition: all 0.35s ease;
}

.facility-overlay h3 {
  font-size: 24px;
  margin-bottom: 12px;
  line-height: 1.3;
}

.facility-overlay p {
  font-size: 15px;
  line-height: 1.8;
  color: #f2e7db;
  margin: 0;
}

.facility-card:hover .facility-image img {
  transform: scale(1.08);
}

.facility-card:hover .facility-overlay {
  background: linear-gradient(to top, rgba(139, 0, 0, 0.92), rgba(139, 0, 0, 0.32));
}

.facility-card:hover .facility-icon {
  background: #fff;
  color: #8B0000;
  transform: translateY(-4px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .facilities-heading h2 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .facilities-section {
    padding: 80px 0;
  }

  .facilities-heading {
    margin-bottom: 40px;
  }

  .facilities-heading h2 {
    font-size: 30px;
  }

  .facilities-heading p {
    font-size: 16px;
  }

  .facilities-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .facility-card {
    min-height: 360px;
    border-radius: 20px;
  }

  .facility-overlay {
    padding: 22px;
  }

  .facility-icon {
    width: 58px;
    height: 58px;
    font-size: 22px;
    border-radius: 16px;
  }

  .facility-overlay h3 {
    font-size: 21px;
  }

  .facility-overlay p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .facilities-section {
    padding: 70px 0;
  }

  .facilities-heading h2 {
    font-size: 26px;
  }

  .facilities-heading p {
    font-size: 15px;
    line-height: 1.8;
  }

  .facility-card {
    min-height: 320px;
  }
}
/* ===== FACULTY SECTION ===== */
.faculty-section {
  padding: 110px 0;
  background: linear-gradient(180deg, #fffaf4 0%, #fff 100%);
}

.faculty-heading {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}

.faculty-heading h2 {
  font-size: 42px;
  color: #8B0000;
  line-height: 1.2;
  margin-bottom: 18px;
}

.faculty-heading p {
  font-size: 17px;
  line-height: 1.9;
  color: #666;
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.faculty-card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.faculty-image {
  position: relative;
  height: 250px;
}

.faculty-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.faculty-info {
  padding: 30px 20px;
  text-align: center;
}

.faculty-info h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: #222;
}

.faculty-info p {
  font-size: 14px;
  color: #777;
  margin-bottom: 16px;
}

.faculty-social {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.faculty-social a {
  font-size: 18px;
  color: #8B0000;
  text-decoration: none;
}

.faculty-social a:hover {
  color: #f1c40f;
}

.faculty-card:hover {
  transform: translateY(-10px);
}

.faculty-card:hover .faculty-image img {
  transform: scale(1.1);
}

.faculty-card:hover .faculty-info {
  background: #8B0000;
  color: #fff;
}

.faculty-card:hover .faculty-social a {
  color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .faculty-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faculty-heading h2 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .faculty-section {
    padding: 80px 0;
  }

  .faculty-heading {
    margin-bottom: 40px;
  }

  .faculty-heading h2 {
    font-size: 30px;
  }

  .faculty-heading p {
    font-size: 16px;
  }

  .faculty-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .faculty-info h3 {
    font-size: 20px;
  }

  .faculty-info p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .faculty-heading h2 {
    font-size: 26px;
  }

  .faculty-heading p {
    font-size: 15px;
  }
}
/* ===== NEWS & BLOGS SECTION ===== */
.news-section {
  padding: 110px 0;
  background: linear-gradient(180deg, #ffffff 0%, #fff7f1 100%);
}

.news-heading {
  max-width: 780px;
  margin: 0 auto 60px;
  text-align: center;
}

.news-heading h2 {
  font-size: 42px;
  color: #8B0000;
  line-height: 1.2;
  margin-bottom: 18px;
}

.news-heading p {
  font-size: 17px;
  line-height: 1.9;
  color: #666;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.12);
}

.news-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.08);
}

.news-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: #8B0000;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 30px;
}

.news-content {
  padding: 28px 24px;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #777;
}

.news-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-content h3 {
  font-size: 22px;
  line-height: 1.4;
  color: #222;
  margin-bottom: 14px;
  transition: color 0.35s ease;
}

.news-content p {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 18px;
}

.news-link {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  color: #8B0000;
  transition: 0.3s ease;
}

.news-link:hover {
  letter-spacing: 0.4px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-heading h2 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .news-section {
    padding: 80px 0;
  }

  .news-heading {
    margin-bottom: 40px;
  }

  .news-heading h2 {
    font-size: 30px;
  }

  .news-heading p {
    font-size: 16px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .news-image {
    height: 220px;
  }

  .news-content {
    padding: 24px 20px;
  }

  .news-content h3 {
    font-size: 20px;
  }

  .news-content p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .news-section {
    padding: 70px 0;
  }

  .news-heading h2 {
    font-size: 26px;
  }

  .news-heading p {
    font-size: 15px;
    line-height: 1.8;
  }

  .news-image {
    height: 200px;
  }
}
/* ===== GALLERY SECTION ===== */
.gallery-section {
  position: relative;
  padding: 110px 0;
  background: linear-gradient(180deg, #fffaf4 0%, #fff5eb 50%, #ffffff 100%);
  overflow: hidden;
}

.gallery-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(139, 0, 0, 0.05), transparent 24%),
    radial-gradient(circle at bottom right, rgba(196, 139, 90, 0.08), transparent 26%);
  pointer-events: none;
}

.gallery-heading {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.gallery-heading h2 {
  font-size: 42px;
  color: #8B0000;
  line-height: 1.2;
  margin-bottom: 18px;
}

.gallery-heading p {
  font-size: 17px;
  line-height: 1.9;
  color: #666;
}

.gallery-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 26px;
  margin-bottom: 26px;
  position: relative;
  z-index: 2;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 38px;
  position: relative;
  z-index: 2;
}

.gallery-card {
  position: relative;
  display: block;
  min-height: 280px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  isolation: isolate;
}

.gallery-card-large {
  min-height: 590px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  background: linear-gradient(to top, rgba(20, 10, 5, 0.9), rgba(20, 10, 5, 0.18), transparent);
  color: #fff;
  transition: background 0.35s ease;
}

.gallery-overlay h3 {
  font-size: 24px;
  margin-bottom: 10px;
  line-height: 1.3;
  transform: translateY(18px);
  opacity: 0;
  transition: 0.4s ease;
}

.gallery-overlay p {
  font-size: 14px;
  line-height: 1.8;
  color: #f4e9dd;
  max-width: 90%;
  transform: translateY(18px);
  opacity: 0;
  transition: 0.45s ease;
}

.gallery-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  background: rgba(139, 0, 0, 0.95);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 30px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.14);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 26px;
  pointer-events: none;
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.gallery-card:hover .gallery-overlay {
  background: linear-gradient(to top, rgba(139, 0, 0, 0.92), rgba(139, 0, 0, 0.28), transparent);
}

.gallery-card:hover .gallery-overlay h3,
.gallery-card:hover .gallery-overlay p {
  transform: translateY(0);
  opacity: 1;
}

.gallery-action {
  text-align: center;
  position: relative;
  z-index: 2;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .gallery-layout {
    grid-template-columns: 1fr;
  }

  .gallery-card-large {
    min-height: 460px;
  }

  .gallery-heading h2 {
    font-size: 36px;
  }

  .gallery-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-section {
    padding: 80px 0;
  }

  .gallery-heading {
    margin-bottom: 40px;
  }

  .gallery-heading h2 {
    font-size: 30px;
  }

  .gallery-heading p {
    font-size: 16px;
  }

  .gallery-grid,
  .gallery-strip {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery-card,
  .gallery-card-large {
    min-height: 300px;
    border-radius: 22px;
  }

  .gallery-overlay {
    padding: 20px;
  }

  .gallery-overlay h3,
  .gallery-overlay p {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .gallery-section {
    padding: 70px 0;
  }

  .gallery-heading h2 {
    font-size: 26px;
  }

  .gallery-heading p {
    font-size: 15px;
    line-height: 1.8;
  }

  .gallery-card,
  .gallery-card-large {
    min-height: 250px;
  }

  .gallery-overlay h3 {
    font-size: 20px;
  }

  .gallery-overlay p {
    font-size: 13px;
    max-width: 100%;
  }

  .gallery-badge {
    font-size: 12px;
    padding: 8px 14px;
  }
}
.gallery-action {
  display: flex;
  justify-content: center;
  margin-top: 44px;
  position: relative;
  z-index: 5;
}

.gallery-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 10px 10px 28px;
  background: linear-gradient(135deg, #ffffff, #fff7f1);
  border: 1px solid rgba(139, 0, 0, 0.14);
  border-radius: 60px;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
  transition: all 0.35s ease;
}

.gallery-view-text {
  font-size: 15px;
  font-weight: 700;
  color: #8B0000;
  letter-spacing: 0.3px;
}

.gallery-view-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8B0000, #b22222);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(139, 0, 0, 0.22);
  transition: all 0.35s ease;
  flex-shrink: 0;
}

.gallery-view-icon i {
  font-size: 14px;
  transition: transform 0.35s ease;
}

.gallery-view-btn:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.14);
  border-color: rgba(139, 0, 0, 0.25);
}

.gallery-view-btn:hover .gallery-view-icon {
  transform: scale(1.08);
  background: linear-gradient(135deg, #6f0000, #a00000);
}

.gallery-view-btn:hover .gallery-view-icon i {
  transform: translateX(4px);
}

@media (max-width: 480px) {
  .gallery-action {
    margin-top: 30px;
  }

  .gallery-view-btn {
    padding: 8px 8px 8px 20px;
  }

  .gallery-view-text {
    font-size: 14px;
  }

  .gallery-view-icon {
    width: 44px;
    height: 44px;
  }
}
.gallery-overlay h3 {
  opacity: 0;
}

.gallery-overlay p {
  opacity: 0;
}
.gallery-overlay h3 {
  font-size: 24px;
  margin-bottom: 10px;
  line-height: 1.3;
  transform: translateY(12px);
  opacity: 0.92;
  transition: 0.4s ease;
}

.gallery-overlay p {
  font-size: 14px;
  line-height: 1.8;
  color: #f4e9dd;
  max-width: 90%;
  transform: translateY(12px);
  opacity: 0.85;
  transition: 0.45s ease;
}
/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 110px 0;
  background: linear-gradient(180deg, #fffaf4 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  background: rgba(139, 0, 0, 0.05);
  border-radius: 50%;
  z-index: 0;
}

.contact-section::after {
  content: "";
  position: absolute;
  bottom: -70px;
  left: -70px;
  width: 200px;
  height: 200px;
  border: 2px dashed rgba(139, 0, 0, 0.10);
  border-radius: 50%;
  z-index: 0;
}

.contact-heading {
  max-width: 780px;
  margin: 0 auto 60px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.contact-heading h2 {
  font-size: 42px;
  color: #8B0000;
  line-height: 1.2;
  margin-bottom: 18px;
}

.contact-heading p {
  font-size: 17px;
  line-height: 1.9;
  color: #666;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

.contact-info-box {
  display: grid;
  gap: 20px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(139, 0, 0, 0.08);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.06);
  transition: 0.35s ease;
}

.contact-info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.09);
}

.contact-icon {
  min-width: 58px;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, #8B0000, #b22222);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 12px 24px rgba(139, 0, 0, 0.18);
}

.contact-info-card h3 {
  font-size: 20px;
  color: #222;
  margin-bottom: 8px;
}

.contact-info-card p {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
  margin: 0;
}

.contact-info-card a {
  color: #8B0000;
  text-decoration: none;
  font-weight: 600;
}

.contact-info-card a:hover {
  text-decoration: underline;
}

.contact-map-box {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(139, 0, 0, 0.08);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.map-top-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  text-decoration: none;
  background: linear-gradient(135deg, #8B0000, #b22222);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  transition: 0.35s ease;
}

.map-top-link span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.map-top-link:hover {
  background: linear-gradient(135deg, #6f0000, #a00000);
}

.contact-map-frame {
  height: 100%;
  min-height: 520px;
  overflow: hidden;
}

.contact-map-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  filter: contrast(1.02) saturate(1.02);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-heading h2 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 80px 0;
  }

  .contact-heading {
    margin-bottom: 40px;
  }

  .contact-heading h2 {
    font-size: 30px;
  }

  .contact-heading p {
    font-size: 16px;
  }

  .contact-info-card {
    padding: 20px;
    border-radius: 20px;
  }

  .contact-icon {
    min-width: 52px;
    width: 52px;
    height: 52px;
    font-size: 20px;
    border-radius: 16px;
  }

  .contact-info-card h3 {
    font-size: 18px;
  }

  .contact-info-card p {
    font-size: 14px;
  }

  .map-top-link {
    padding: 18px 20px;
    font-size: 14px;
  }

  .contact-map-frame {
    min-height: 380px;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 70px 0;
  }

  .contact-heading h2 {
    font-size: 26px;
  }

  .contact-heading p {
    font-size: 15px;
    line-height: 1.8;
  }

  .contact-info-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .map-top-link {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-map-frame {
    min-height: 300px;
  }
}
/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(180deg, #2a0d0d 0%, #140606 100%);
  color: #f3e8dc;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.05), transparent 25%),
    radial-gradient(circle at bottom right, rgba(196,139,90,0.10), transparent 25%);
  pointer-events: none;
}

.footer .container {
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr 1.1fr;
  gap: 36px;
  padding-bottom: 50px;
}

.footer-col h4 {
  font-size: 20px;
  margin-bottom: 18px;
  color: #fff;
}

.footer-col p {
  font-size: 15px;
  line-height: 1.9;
  color: #e6d8c8;
}

/* LOGO */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.footer-logo i {
  font-size: 26px;
  color: #f3c57a;
}

.footer-logo h3 {
  font-size: 20px;
  color: #fff;
}

/* SOCIAL */
.footer-social {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-social a:hover {
  background: #8B0000;
  transform: translateY(-3px);
}

/* LINKS */
.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #e6d8c8;
  text-decoration: none;
  font-size: 15px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #fff;
  transform: translateX(4px);
}

/* CONTACT */
.footer-contact {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
}

.footer-contact i {
  color: #f3c57a;
  margin-top: 4px;
}

.footer-contact a {
  color: #e6d8c8;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #fff;
}

/* PRAYER BOX */
.footer-prayer-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 18px;
  margin-bottom: 20px;
  backdrop-filter: blur(6px);
}

.footer-prayer-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #f3e8dc;
  font-size: 14px;
}

.footer-prayer-item:last-child {
  border-bottom: none;
}

.footer-prayer-item strong {
  color: #f3c57a;
  font-size: 14px;
}

/* NEWSLETTER */
.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-newsletter input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.08);
  color: #fff;
  outline: none;
}

.footer-newsletter input::placeholder {
  color: #d6c6b7;
}

.footer-newsletter button {
  border: none;
  padding: 14px 18px;
  border-radius: 40px;
  background: linear-gradient(135deg, #8B0000, #b22222);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.footer-newsletter button:hover {
  background: linear-gradient(135deg, #6f0000, #a00000);
  transform: translateY(-3px);
}

/* BOTTOM */
.footer-bottom {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 18px 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
  color: #c9b8a6;
}

/* FLOATING BUTTONS */
.floating-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 22px;
  box-shadow: 0 16px 30px rgba(0,0,0,0.18);
  transition: 0.3s ease;
}

.float-btn:hover {
  transform: translateY(-4px) scale(1.05);
}

.whatsapp-btn {
  background: linear-gradient(135deg, #16a34a, #25d366);
}

.call-btn {
  background: linear-gradient(135deg, #8B0000, #b22222);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer {
    padding-top: 65px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-col {
    text-align: center;
  }

  .footer-logo,
  .footer-social {
    justify-content: center;
  }

  .footer-contact {
    justify-content: center;
    text-align: left;
  }

  .floating-contact {
    right: 14px;
    bottom: 14px;
  }

  .float-btn {
    width: 52px;
    height: 52px;
    font-size: 20px;
  }
}