/* ================================================================================================================================================== */ 
/* ================================================================================================================================================== */ 

/* ===== NAVBAR DESIGN ===== */
.main-header {
  width: 100%;
  background: linear-gradient(to right, #ffcc00, #007bff);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 30px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.logo-section img {
  height: 55px;
}

.logo-section h1 {
  color: white;
  font-size: 22px;
  margin: 0;
  font-weight: 700;
}

/* Desktop Navbar */
#navbar ul {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

#navbar ul li a {
  color: white;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 5px;
  transition: 0.3s;
}

#navbar ul li a:hover {
  opacity: 0.8;
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  background: white;
  min-width: 200px;
  display: none;
  flex-direction: column;
  padding: 10px 0;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.dropdown-menu a {
  padding: 10px 15px;
  display: block;
  color: #333 !important;
}

.dropdown-menu a:hover {
  background: #f5f5f5;
}

/* Show dropdown on hover (desktop) */
.has-dropdown:hover .dropdown-menu {
  display: flex;
}

/* ============================================ */
/*   PROFESSIONAL PREMIUM MOBILE NAVBAR DESIGN  */
/* ============================================ */

@media (max-width: 992px) {

  /* Show Toggle Button */
  .menu-toggle {
    display: block;
    font-size: 25px;
    color: #ffffff;
    cursor: pointer;
    padding: 6px 10px;
  }

  /* Main mobile menu container */
  #navbar {
    position: absolute;
    top: 100%;
    right: 0;
    width: 80%;
    background: #ffffff;
    border-top: 1.5px solid #e6e6e6;
    display: none;
    flex-direction: column;
    box-shadow: 0px 10px 20px rgba(0,0,0,0.12);
    animation: navbarFadeIn 0.25s ease-out;
  }

  #navbar.open {
    display: flex;
  }

  @keyframes navbarFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  #navbar ul {
    width: 100%;
    padding: 10px 18px;   /* Reduced */
    margin: 0;
    flex-direction: column;
}

  #navbar ul li {
    width: 100%;
 
    border-bottom: 1.5px solid #eeeeee;
  }

  /* Main nav links (mobile) */
 #navbar ul li > a {
    padding: 8px 18px;   /* Reduced */
    font-size: 14px;
    font-weight: 600;
    color: #222 !important;
}

  #navbar ul li > a:hover {
    background: #f8f8f8;
  }

  /* Dropdown arrow */
  .has-dropdown > a::after {
    content: "▾";
    font-size: 15px;
    transition: transform 0.25s ease;
  }

  .has-dropdown.active > a::after {
    transform: rotate(180deg);
  }

  /* =================== */
  /* Smoothed dropdown   */
  /* =================== */
  .dropdown-menu {
    background: #fafafa;
    
    max-height: 0;         /* hidden */
    overflow: hidden;  
    transition: max-height 0.35s ease, padding 0.25s ease;
    
    display: flex;
    flex-direction: column;

    padding-left: 22px;
    padding-right: 15px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .has-dropdown.active .dropdown-menu {
    max-height: 500px;  /* enough room for 5–6 items */
    padding-top: 10px;
    padding-bottom: 10px;
  }

  /* Dropdown links */
  .dropdown-menu a {
    padding: 8px 6px;   /* Reduced */
    font-size: 14px;
}

  .dropdown-menu a:hover {
    background: #e0e0e0;
  }
}



/* ================================================================================================================================================== */ 
/* ================================================================================================================================================== */ 
/* ===== HERO BANNER ===== */
.hero-banner {
  position: relative;
  width: 100%;
  height: 70vh; /* adjust height as needed */
  overflow: hidden;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures the image fills area nicely */
  filter: brightness(80%); /* darken a bit for readable text */
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.banner-text h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}


/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-banner {
    height: 50vh;
  }

  .banner-text h2 {
    font-size: 1.8rem;
  }

  .banner-text p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-banner {
    height: 40vh;
  }

  .banner-text h2 {
    font-size: 1.4rem;
  }

  .banner-text p {
    font-size: 0.9rem;
  }
}

/* ================================================================================================================================================== */ 
/* ===== 2nd part ===== */
/* ===== TWO CARDS SECTION (FIXED PERFECT LAYOUT) ===== */

/* ===== TWO CARDS SECTION ===== */
.two-cards-section {
  width: 100%;
  display: flex;
  justify-content: center;   
  align-items: flex-start;
  gap: 40px;
  padding: 70px 20px;
  background: linear-gradient(to top, #fff9c4, #bbdefb);
  flex-wrap: wrap;
}

/* ========================================================= */
/* 🔵 CARD 1 — IMAGE SLIDER CARD (Independent Sizing)        */
/* ========================================================= */
.card-image {
  background: white;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  overflow: hidden;

  /* 🔧 MANUAL SIZE CONTROL FOR CARD 1 */
  width: 650px;      /* Edit card 1 width */
  height: 580px;     /* Edit card 1 height */

  display: flex;
  flex-direction: column;
  position: relative;
}

.slider-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slides {
  display: flex;
  height: 100%;
  transition: transform 0.8s ease-in-out;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Slider dots */
.dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.7);
}

.dots button.active {
  background: #007bff;
}

/* ========================================================= */
/* 🔵 CARD 2 — TEXT SLIDER CARD (Independent Sizing)         */
/* ========================================================= */

.card-text {
  background: rgb(235, 235, 235);
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);

  /* 🔧 FIXED → FLEXIBLE HEIGHT */
  width: 650px;
  min-height: 580px;     /* default height */
  height: auto;          /* expands when text is long */
  overflow: visible;     /* prevent clipping */

  display: flex;
  flex-direction: column;
  position: relative;
}

.card-text h2 {
  text-align: center;
  color: #003366;
  margin-top: 25px;
}

.text-slider {
  flex: 1;
  overflow: hidden;
  position: relative;
  margin: 15px 0 30px 0;
}

.text-slides {
  display: flex;
  transition: transform 0.8s ease-in-out;
}

.text-slides .slide {
  min-width: 100%;
  padding: 15px 25px;
  text-align: justify;
}

.text-slider .dots {
  bottom: -5px;
}

/* ========================================================= */
/* 🔶 CONTRIBUTION BUTTONS                                   */
/* ========================================================= */
.contribute-buttons {
  text-align: center;
  margin-top: auto;
  padding-bottom: 25px;
}

.contribute-btn {
  display: inline-block;
  padding: 12px 28px;
  margin: 6px;
  border-radius: 30px;
  font-weight: 700;
  background: #ffe38a; 
  color: #111 !important;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.contribute-btn:hover {
  background: #ffcf4d;
  transform: translateY(-3px);
}

/* ========================================================= */
/* 🔁 RESPONSIVE DESIGN                                      */
/* ========================================================= */
@media (max-width: 992px) {

  .two-cards-section {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  .card-image,
  .card-text {
    width: 90%;
    height: auto;
  }

  .slider-container {
    height: 300px;
  }
}



/* ================================================================================================================================================== */ 
/* ===== FOOTER ===== */
/* ===== FOOTER SECTION ===== */
.site-footer {
  background: linear-gradient(to right, #ffeb3b, #2196f3);
  color: #fff;
  padding: 60px 40px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: flex-start;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column h3 {
  font-size: 1.2rem;
  font-weight: 600;
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.footer-column p,
.footer-column li,
.footer-column a {
  color: #f5f5f5;
  font-size: 0.95rem;
  line-height: 1.6;
  text-decoration: none;
}

.footer-column a:hover {
  text-decoration: underline;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Map Styling */
.map-column iframe {
  width: 100%;
  height: 250px;
  border: none;
  border-radius: 10px;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a {
  background: rgba(255, 255, 255, 0.2);
  padding: 10px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  transition: background 0.3s, transform 0.3s;
}

.social-icons a:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

/* Copyright */
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin-top: 40px;
  font-size: 0.9rem;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablets */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }

  .map-column iframe {
    height: 220px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-column {
    align-items: center;
  }

  .social-icons {
    justify-content: center;
  }

  .map-column iframe {
    height: 200px;
  }

  .footer-bottom {
    font-size: 0.85rem;
  }
}

/* ================================================================================================================================================== */ 
/* ===== ABOUT PAGE HERO ===== */
.about-hero {
  position: relative;
  height: 60vh;
  background: url("../img/banner/banner.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
}

.about-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
}

.about-hero .hero-content {
  position: relative;
  z-index: 2;
}

.about-hero h1 {
  font-size: 3rem;
  font-weight: 700;
}

.about-hero p {
  font-size: 1.2rem;
  margin-top: 10px;
}

/* ===== OBJECTIVES SECTION ===== */
.about-section {
  background: linear-gradient(to top, #e3f2fd, #fffde7); /* light blue → light yellow */
  padding: 80px 40px;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0056b3;
  margin-bottom: 20px;
}

.intro-text {
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
}

.objectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.objective-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.objective-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.objective-card i {
  font-size: 2rem;
  color: #007bff;
  margin-bottom: 15px;
}

.objective-card p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .about-hero h1 {
    font-size: 2.2rem;
  }

  .about-hero p {
    font-size: 1rem;
  }

  .about-section {
    padding: 60px 20px;
  }

  .intro-text {
    font-size: 0.95rem;
  }
}

/* ================================================================================================================================================== */ 
/* === Sikhism & Dharam Parchaar Section === */
/* === Enhanced Sikhism & Dharam Parchaar Section === */
.info-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  padding: 80px 10%;
  background: linear-gradient(135deg, #fff8e1, #e3f2fd);
}

.info-card {
  position: relative;
  flex: 1 1 45%;
  min-height: 350px;
  color: white;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background-size: cover;
  background-position: center;
}

.info-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 35px rgba(0,0,0,0.25);
}

.info-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  transition: background 0.4s ease;
}

.info-card:hover .info-overlay {
  background: rgba(0, 0, 0, 0.25);
}

.info-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 30px;
  max-width: 500px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.info-card:hover .info-content {
  opacity: 1;
  transform: translateY(0);
}

.info-content h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: 700;
  letter-spacing: 1px;
}

.info-content p {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.info-btn {
  background: linear-gradient(90deg, #ffcc00, #007bff);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  transform: scale(0.9);
}

.info-card:hover .info-btn {
  opacity: 1;
  transform: scale(1);
}

.info-btn:hover {
  background: linear-gradient(90deg, #007bff, #ffcc00);
  transform: scale(1.1);
}

/* Background Images */
.sikhism-card {
  background-image: url("../img/goldeentemple.jpg");  /* replace with actual file you put */
}

.dharam-card {
  background-image: url("../img/guru.jpeg");
}

/* Responsive */
@media (max-width: 992px) {
  .info-card {
    flex: 1 1 100%;
  }

  .info-content h2 {
    font-size: 1.7rem;
  }
}

/* ================================================================================================================================================== */ 
/* sikhism.html */
/* Hero Section */
.sikhism-hero {
  position: relative;
  height: 60vh;
  background: url("../img/banner.jpg") center/cover no-repeat;
}
.sikhism-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.sikhism-hero .hero-content {
  position: relative;
  z-index: 2;
}

/* Basic Articles */
.article-card {
  border: 1px solid #eee;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
}
.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* === Main Articles Section === */
.main-articles {
  background: linear-gradient(180deg, #fdfdfd 0%, #f4f8ff 100%);
}

.sub-article-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 30px 25px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.sub-article-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(0, 123, 255, 0.15));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.sub-article-card:hover::before {
  opacity: 1;
}

.sub-article-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.sub-article-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #d4a017;
  margin-bottom: 15px;
}

.sub-article-card p {
  color: #444;
  line-height: 1.8;
  margin-bottom: 15px;
}

.sub-article-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sub-article-card ul li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
  color: #333;
}

.sub-article-card ul li::before {
  content: "•";
  color: #007bff;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* Icon styling */
.icon-box {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ffcc00, #007bff);
  color: white;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.sub-article-card:hover .icon-box {
  transform: rotate(10deg) scale(1.1);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .sub-article-card {
    text-align: center;
  }
  .icon-box {
    margin: 0 auto 20px auto;
  }
  .sub-article-card h4 {
    font-size: 1.3rem;
  }
}


/* ================================================================================================================================================== */ 
/* ===== Dharam Parchaar Modal - Fixed Position (content scrollable) ===== */
.dharam-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(6px);
  z-index: 9999;
  justify-content: center;
  align-items: center; /* fixed center position */
  padding: 20px;
}

/* visible state */
.dharam-modal.active {
  display: flex;
}

/* CONTENT BOX (fixed in place, internal scroll) */
.dharam-modal-content {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,250,252,0.98));
  color: #222;
  border-radius: 16px;
  max-width: 1100px;
  width: 100%;
  max-height: 90vh; /* 👈 keeps modal from exceeding viewport */
  overflow-y: auto; /* 👈 only inside scrolls */
  padding: 30px 32px;
  box-shadow: 0 18px 50px rgba(3,10,23,0.45);
  transform-origin: center center;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: all 220ms ease;
  z-index: 10001;
  outline: none;
  scrollbar-width: thin;
  scrollbar-color: #d4a017 #f5f5f5;
}

/* Custom scrollbar for WebKit browsers */
.dharam-modal-content::-webkit-scrollbar {
  width: 8px;
}
.dharam-modal-content::-webkit-scrollbar-thumb {
  background-color: #d4a017;
  border-radius: 4px;
}
.dharam-modal-content::-webkit-scrollbar-track {
  background: #f5f5f5;
}

/* visible animation */
.dharam-modal.active .dharam-modal-content {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Exit Button */
.modal-exit {
  position: absolute;
  top: 14px;
  left: 14px;
  background: transparent;
  border: none;
  color: #333;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 10010;
}
.modal-exit:hover {
  color: #d4a017;
  transform: scale(1.05);
}

/* Modal Body */
.modal-body {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Section Layouts */
.modal-section {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}
.modal-section.reverse {
  flex-direction: row-reverse;
}

/* Image Styling */
.modal-image img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
}

/* Text Styling */
.modal-text {
  flex: 1;
  color: #111;
}
.modal-text h2 {
  color: #d4a017;
  margin-bottom: 10px;
  font-size: 1.6rem;
}
.modal-text p, .modal-text ul {
  color: #333;
  line-height: 1.7;
  font-size: 1rem;
}
.modal-text ul {
  padding-left: 18px;
  margin-top: 8px;
}
.modal-text ul li::before {
  content: "✦";
  color: #d4a017;
  margin-right: 8px;
  display: inline-block;
  transform: translateY(-1px);
}

/* Responsive Tweaks */
@media (max-width: 880px) {
  .dharam-modal-content { padding: 20px; max-width: 95%; max-height: 92vh; }
  .modal-image img { max-width: 320px; }
  .modal-text h2 { font-size: 1.35rem; }
}

@media (max-width: 520px) {
  .dharam-modal-content { padding: 18px; border-radius: 12px; }
  .modal-image img { max-width: 100%; height: auto; margin: 0 auto; display: block; }
  .modal-section { flex-direction: column; text-align: center; gap: 18px; }
  .modal-exit { top: 10px; left: 10px; font-size: 1.4rem; }
}













.timeline-section {
  background: linear-gradient(to bottom, #fff, #f9fafc);
  padding: 80px 0;
}
.timeline {
  position: relative;
  margin: 40px auto;
  padding: 20px 0;
  max-width: 900px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  width: 4px;
  background: #FBBE36;
  top: 0;
  bottom: 0;
  transform: translateX(-50%);
}
.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
}
.timeline-item.left {
  left: 0;
}
.timeline-item.right {
  left: 50%;
}
.timeline-item::before {
  content: '';
  position: absolute;
  top: 30px;
  right: -10px;
  width: 20px;
  height: 20px;
  background: #00205B;
  border-radius: 50%;
  border: 3px solid #fff;
}
.timeline-item.right::before {
  left: -10px;
  right: auto;
}
.timeline-item .content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.timeline-item h3 {
  color: #00205B;
  font-weight: 700;
}
.timeline-item p {
  color: #555;
}
@media (max-width: 768px) {
  .timeline::before { left: 8px; }
  .timeline-item { width: 100%; padding-left: 40px; margin-bottom: 20px; }
  .timeline-item.right { left: 0; }
  .timeline-item::before, .timeline-item.right::before {
    left: 0;
  }
}




.gallery-section {
  background: #f8f9fa;
  padding: 80px 0;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 35px; /* increased spacing */
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  background: #fff;
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,32,91,0.85);
  color: #fff;
  font-weight: 600;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .caption {
  opacity: 1;
}






/* ===== SOCIAL MEDIA FEED SECTION ===== */
.social-feed {
  background: linear-gradient(180deg, #f9fafc 0%, #eef1f6 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.social-feed::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('assets/img/patterns/texture-light.png') center/cover no-repeat;
  opacity: 0.15;
  z-index: 0;
}

.social-feed .container {
  position: relative;
  z-index: 1;
}

.social-feed .section-title {
  font-weight: 700;
  font-size: 2.2rem;
  color: #0a1830;
  letter-spacing: 0.5px;
  margin-bottom: 3rem;
}

/* ===== SOCIAL PANELS ===== */
.social-panel {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
  overflow: hidden;
  position: relative;
}

.social-panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.social-panel h4 {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.3px;
}

.social-panel .ratio {
  border-radius: 14px;
  overflow: hidden;
}

.social-panel iframe {
  border-radius: 14px;
  transition: transform 0.3s ease;
}

.social-panel:hover iframe {
  transform: scale(1.015);
}

/* ===== PANEL COLOR THEMES ===== */
.social-panel .text-primary {
  background: linear-gradient(90deg, #1977f3 0%, #0a58ca 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.social-panel .text-danger {
  background: linear-gradient(90deg, #e1306c 0%, #fd1d1d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
  .social-feed .section-title {
    font-size: 1.8rem;
  }
  .social-panel {
    margin-bottom: 2rem;
  }
  .social-panel iframe {
    height: 480px;
  }
}

@media (max-width: 576px) {
  .social-feed {
    padding: 60px 0;
  }
  .social-panel {
    padding: 1.25rem;
  }
  .social-panel h4 {
    font-size: 1.1rem;
  }
  .social-panel iframe {
    height: 400px;
  }
}
