/* ---------- GLOBAL STYLES ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: #ffffff;
  color: #000;
}








/* ---------- DROPDOWN STYLES ---------- */

:root {
    --speed: 0.35s;
    --easing: cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0,0,0,0.3);
    --panel-bg: #050505;
    --text: #ffffff;
    --muted: #aaa;
    --border: rgba(255,255,255,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ============ HAMBURGER - TOP LEFT CORNER ============ */
.hamburger {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    background: rgb(179, 1, 1);
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow);
    transition: all var(--speed) var(--easing);
    z-index: 1001;
}

.hamburger:hover {
    transform: translateY(-2px);
    background: rgb(255, 0, 0);
}

.hamburger span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--speed) var(--easing);
}

.hamburger span:nth-child(2) {
    width: 18px;
}

/* ============ OVERLAY ============ */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(129, 110, 110, 0);
    backdrop-filter: blur(5px);
    opacity: 0;
    pointer-events: none;
    transition: all var(--speed) var(--easing);
    z-index: 999;
}

.overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ============ SLIDE-OUT PANEL ============ */
.slide-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: min(85vw, 380px);
    height: 100vh;
    background: var(--panel-bg);
    border-right: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateX(-100%);
    transition: transform var(--speed) var(--easing);
    z-index: 1000;
    overflow: hidden;
}

.slide-panel.active {
    transform: translateX(0);
}

/* ============ PANEL HEADER ============ */
.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    background: #c10000;
}

.panel-title {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.close-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.532);
    transition: all var(--speed) var(--easing);
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ============ MENU CONTENT ============ */
.menu-container {
    position: relative;
    height: calc(100vh - 80px);
    overflow: hidden;
}

.main-menu {
    position: absolute;
    inset: 0;
    padding: 16px;
    transform: translateX(0);
    opacity: 1;
    transition: all var(--speed) var(--easing);
}

.main-menu.hidden {
    transform: translateX(-20px);
    opacity: 0;
}

.menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    margin-bottom: 8px;
    border-radius: 12px;
    background: #e00000;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all var(--speed) var(--easing);
    text-decoration: none;
    color: inherit;
}

.menu-item:hover {
    background: rgb(255, 111, 111);
    transform: translateX(4px);
}

.menu-item.has-submenu {
    position: relative;
}

.menu-text {
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
}

.arrow {
    width: 20px;
    height: 20px;
    opacity: 0.7;
    transition: transform var(--speed) var(--easing);
}

/* ============ SUBMENU PANELS ============ */
.submenu {
    position: absolute;
    inset: 0;
    padding: 16px;
    background: var(--panel-bg);
    transform: translateX(100%);
    opacity: 0;
    transition: all var(--speed) var(--easing);
}

.submenu.active {
    transform: translateX(0);
    opacity: 1;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
    border-radius: 10px;
    background: #e00000;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all var(--speed) var(--easing);
}

.back-btn:hover {
    background: rgb(255, 98, 98);
}

.back-arrow {
    width: 18px;
    height: 18px;
}

.submenu-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #ffffff;
}

.submenu-content {
    display: grid;
    gap: 12px;
}

.submenu-card {
    padding: 20px;
    border-radius: 12px;
    background: linear-gradient(145deg, #ff0000, #950000);
    border: 1px solid var(--border);
    transition: all var(--speed) var(--easing);
    color: white;        /* Makes text white */
    text-decoration: none; /* Removes underline */
}

.submenu-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.4;
}

/* ============ DEMO CONTENT ============ */
.main-content {
    padding: 100px 40px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    text-align: center;
    margin-bottom: 60px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .main-content {
        padding: 80px 20px 40px;
    }
}


@media (max-width: 640px) {
  .submenu-card {
    padding: 10px 12px;
    min-height: 45px;
  }

  .card-title {
    font-size: 0.85rem;
    margin-bottom: 2px;
  }

  .card-desc {
    font-size: 0.75rem;
    line-height: 1.25;
  }
}



/* ---------- LANDING ---------- */
.landing-page {
  background-color: #5f0101; /* solid red background */
  min-height: 100vh; /* changed from height to min-height */
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.landing-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/image/MGNREGA.jpg"); /* ⬅️ Replace with your actual image path */
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: -1;
}
 
/* Container styling */
.container {
  display: flex;
  flex-direction: column;   /* Stack items vertically */
  align-items: center;      /* Center horizontally */
  justify-content: center;  /* Center vertically (if full height) */
  text-align: center;
  padding: 20px;
}

/* Logo image */
.logo {
  width: 400px;
  transition: filter 0.4s ease, transform 0.4s ease;
  animation: logoFade 2s ease-out forwards;
}
.logo:hover {
  filter: drop-shadow(0 0 20px white) brightness(1.2);
  transform: scale(1.05);
}

/* Text section */
.text-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* MKSS text */
.fade-text {
  font-size: 2.5rem;
  font-weight: bold;
  color: rgb(255, 255, 255); /* <-- Set default text color to white */
  opacity: 0;
  animation: fadeText 1.5s forwards;
  animation-delay: 1s;
  transition: transform 0.3s, color 0.3s;
}
.fade-text:hover {
  color: #de7e00; /* <-- Yellow on hover */
  transform: scale(1.05);
}

.slide-from-behind {
  font-size: 1.5rem;
  font-weight: 400;
  color: white; /* <-- Set default text color to white */
  opacity: 0;
  transform: translateX(-50px) scale(0.8);
  z-index: -1;
  position: relative;
  animation: comeFromBehind 2s ease-out forwards;
  animation-delay: 2s;
  transition: transform 0.3s, color 0.3s;
}
.slide-from-behind:hover {
  color: #ffff00; /* <-- Yellow on hover */
  transform: scale(1.05);
}

/* Keyframe Animations */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
@keyframes logoFade {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes fadeText {
  to {
    opacity: 1;
  }
}
@keyframes comeFromBehind {
  0% {
    opacity: 0;
    transform: translateX(-50px) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 1;
  }
}

/* Responsive background image for phones */
@media (max-width: 600px) {
  .landing-page::before {
    background-size: cover;
    background-position: center;
    opacity: 0.3;
  }

  .container {
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
  }

  .logo {
    width: 250px;
  }

  .fade-text {
    font-size: 1.8rem;
  }

  .slide-from-behind {
    font-size: 1rem;
  }
}


/* Logo */
.logo {
  max-width: 350px;
  margin-bottom: 15px;
}

/* Group styling */
.text-group {
  display: inline-block;
}

/* Main heading */
.fade-text h1,
.fade-text {
  font-weight: bold;
  color: #fff;
  opacity: 0;
  animation: fadeText 1.5s forwards;
  animation-delay: 1s;
  transition: transform 0.3s, color 0.3s;
}

/* Specific size for H1 */
.text-group h1.fade-text {
  font-size: 3rem;   /* Bigger title */
  margin-bottom: 10px;
}

/* Specific size for P */
.text-group p.fade-text {
  font-size: 1.5rem; /* Smaller subtitle */
  font-weight: normal;
  font-style: italic;
}

/* Hover effect */
.fade-text:hover {
  color: #de7e00;
  transform: scale(1.05);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .text-group h1.fade-text {
    font-size: 2.2rem;
  }
  .text-group p.fade-text {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .text-group h1.fade-text {
    font-size: 1.8rem;
  }
  .text-group p.fade-text {
    font-size: 1rem;
    margin-top: 20px;
  }
}

/* Keyframes for fade effect */
@keyframes fadeText {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .logo {
    width: 140px; /* smaller on tablets */
  }
}

@media (max-width: 480px) {
  .logo {
    width: 110px; /* smaller on phones */
  }
}












/* ============ MKSS — Anthology Section ============ */
/* ============ MKSS — Anthology Section ============ */
:root{
  --mkss-red: #ffffff;
  --text-on-red: #000000;
  --panel-shadow: 0 18px 50px rgba(0,0,0,.25);
  --btn-shadow: 0 10px 24px rgba(0,0,0,.18);
  --radius: 16px;
}

/* Section with red background + 50% opaque background photo */
.anthology-section{
  position: relative;
  isolation: isolate;
  background: var(--mkss-red);
  color: var(--text-on-red);
  padding: clamp(36px, 6vw, 72px) 16px;
  overflow: hidden;
}

/* Background photo at 50% opacity */
.anthology-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/image/30jpg"); /* 👈 put your image link here */
  background-size: cover;
  background-position: center;
  opacity: .5;
  z-index: -2;
}


/* ✅ Red overlay on top of background image */
.anthology-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.5); /* MKSS red at 50% opacity */
  z-index: -1;
}

/* Layout */
.anthology-wrap{
  max-width: 1200px;
  margin: 0 auto;
}

.anthology-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}

/* Poster frame (clean, no white border/outline) */
.poster {
  margin: 0;
  border-radius: 14px;
  box-shadow: var(--panel-shadow);
  overflow: hidden;
  max-width: 400px;   /* 👈 limit poster size */
  justify-self: center; /* keep it centered in its column */
}


.poster img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  aspect-ratio: 639 / 910; /* keeps exact poster proportion */
  object-fit: cover;
}

/* Right side content */
.content h2{
  margin: 0 0 28px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif;
  font-weight: 800;
  line-height: 1.15;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  letter-spacing: .2px;
}

/* View Button */
.btn-view{
  display: inline-block;
  background: #b40000;   /* default dark red */
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 999px;
  box-shadow: var(--btn-shadow);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;


}

.btn-view:hover{
  background: #ff0000;   /* lighter red on hover */
  transform: translateY(-3px);
}

.btn-view:active{
  background: #e23a3a;   /* even lighter red when pressed */
  transform: translateY(-1px);
}


.btn-view:active{
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 980px){
  .anthology-grid{ grid-template-columns: 1fr; }
  .content{ text-align: center; }
  .content h2{ margin-bottom: 22px; }
  .poster{ justify-self: center; max-width: 520px; }
}

@media (max-width: 420px){
  .btn-view{ width: 40%; text-align: center; }
  
}







/* Thin 50px red section with background image + 50% opacity */
.mkss-banner {
  position: relative;
  height: 150px;                  /* fixed height */
  background: #b30000;           /* fallback red */
  overflow: hidden;
}

/* Background image */
.mkss-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/image/bguse.png") no-repeat center/cover; /* 👈 change with your image */
  opacity: 0.5;                  /* 50% opacity image */
  z-index: 0;
}

/* Red overlay on top of image */
.mkss-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(179, 0, 0, 0.5); /* semi-transparent red overlay */
  z-index: 1;
}

/* Text inside banner */
.mkss-banner .banner-text {
  position: relative;
  z-index: 2;                 /* Make sure it's above overlays */
  color: #ffffff;             /* White text */
  font-size: 20px;            /* Big, bold slogan */
  font-weight: 800;
  text-align: center;
  margin-top: 50px;
  letter-spacing: 3px;

  /* Smooth + crisp rendering */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}






/* ---------- CAMPAIGNS SECTION ---------- */
.campaigns-section {
  padding: 60px 20px;
  text-align: center;
}

.campaigns-section {
  position: relative;
  padding: 60px 20px;
  text-align: center;
  z-index: 1;
  overflow: hidden;
}

/* Add background image with 50% opacity */
.campaigns-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('ladingpic.png'); /* Replace with your actual image path */
  background-size: cover;
  background-position: center;
  opacity: 0.; /* 50% transparency */
  z-index: -1;
}

.campaign-heading {
   font-size: 2.5rem;
  margin-bottom: 40px;
  color: #333;
}

/* Slider Container */
.slider {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: auto;
}

/* Image Box */
.image-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #ccc;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  transform: translateZ(0); /* Keeps GPU acceleration */
  transition: box-shadow 0.5s ease;
  will-change: box-shadow;
}

.image-box:hover {
  /* Removed transform: scale(...) */
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  opacity: 0;
  transition: opacity 1s ease;
}
.image-box img.active {
  opacity: 1;
  z-index: 2;
  transform: translateX(0%);
}

.image-box:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Controls */
.controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 5;
}

.controls button {
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background: #444;
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.controls button:hover {
  transform: scale(1.2);
}

/* Info Box */
.info-box {
  background-color: #b30000;
  color: white;
  margin: 30px auto;
  padding: 25px 30px;
  border-radius: 12px;
  max-width: 800px;
  font-size: 1rem;
  transition: opacity 0.4s ease;
}

.info-box.fade-out {
  opacity: 0;
}

.info-box.fade-in {
  opacity: 1;
}

/* Topic Box */
.topic-box-wrapper {
  margin: 30px 0;
  height: 80px;
  position: relative;
}

.topic-box {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: bold;
  text-decoration: none;
  color: #ff0000;
  box-shadow: 0 4px 12px rgba(218, 71, 71, 0.543);
  opacity: 0;
  z-index: 5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.topic-box:hover {
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.topic-box.active {
  opacity: 1;
  transform: translateX(-50%);
}

.topic-box.exit-left {
  transform: translateX(-150%);
  opacity: 0;
}

.slide-left {
  transform: translateX(-150%);
  opacity: 0;
}

.slide-right {
  transform: translateX(150%);
  opacity: 0;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .campaign-heading {
    font-size: 32px;
    margin-bottom: 30px;
  }

  .image-box {
    height: 250px;
  }

  .topic-box {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .info-box {
    font-size: 0.95rem;
  }

  .controls button {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
}

/* ---------- TIMELINE ---------- */

/* 📍 Timeline Section Styles */
.timeline-section {
  background-color: #b10000;
  color: white;
  padding: 60px 100px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.timeline-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/image/RTIbook.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: -1;
}

.timeline-heading {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.text-box h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 8px;
  color: #ffffff;
}



.timeline-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.timeline-row .image-box,
.timeline-row .text-box {
  flex: 1 1 100%;
  max-width: 518px;
  height: 300px;
  box-sizing: border-box;
}

/* ✅ FIX: Show background images */
.image-box {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 🔗 Add your image paths here */
.box1 { background-image: url('/image/devhome-modified.jpg'); }
.box2 { background-image: url('/image/jansunvai2.jpg'); }
.box3 { background-image: url('/image/1990.avif'); }
.box4 { background-image: url('/image/sohangarh.jpg'); }
.box5 { background-image: url('/image/RTIcampaigne.webp'); }
.box6 { background-image: url('/image/neraga1.jpg'); }
.box7 { background-image: url('/image/g2-modified.jpg'); }

.timeline-row .text-box {
  display: flex;
  flex-direction: column; /* 🔥 stacks heading above paragraph */
  align-items: flex-start; /* aligns text to the left */
  justify-content: center;
  background: transparent;
  opacity: 0;
  transform: translateX(-100%);
  transition: transform 0.5s, opacity 0.5s;
  padding: 20px;
}


.timeline-row:hover .text-box {
  transform: translateX(0);
  opacity: 1;
}


.timeline-row .text-box {
  opacity: 0;
  transform: translateX(-100%);
  transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

.timeline-row.in-view .text-box {
  transform: translateX(0);
  opacity: 1;
}


/*.image-box:hover {
  /* /*box-shadow: 0 0 60px 20px rgba(3, 3, 3, 0.5); *
  transition: box-shadow 0.2s ease-in;
}*/

@media (max-width: 768px) {
  .timeline-section {
    padding: 40px 20px;
  }

  .timeline-heading {
    font-size: 2rem;
  }

  .timeline-row {
    flex-direction: column;
    gap: 30px;
  }

  .timeline-row .image-box,
  .timeline-row .text-box {
    max-width: 100%;
    height: auto;
  }

  /* ✅ DO NOT disable transform/opacity here */
}


/* ---------- ABOUT US ---------- */
/* Global */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
}

/* About Section */
.about-section {
  padding: 60px 20px;
  text-align: center;
  background-image: url("your-background.jpg"); /* Replace with your background */
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Fade-in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Heading */
.about-heading {
  font-size: 2.5rem;
  font-weight: bold;
  color: #000;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
  animation-delay: 0.2s;
  animation-fill-mode: forwards;
}

/* Image */
.about-image {
  width: 100%;
  max-width: 684px;
  height: auto;
  border-radius: 16px;
  margin-top: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.4s;
  opacity: 0;
  animation-fill-mode: forwards;
}

.about-image:hover {
  transform: scale(1.08); /* 👆 Pop-up effect */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s cubic-bezier(0.25, 1.5, 0.5, 1), box-shadow 0.25s ease;
}


/* Caption Text */
.caption-text {
  font-size: 1.4rem;
  color: #990000;
  margin-top: 30px;
  font-weight: bold;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.6s;
  animation-fill-mode: forwards;
}

/* View More Button */
.view-more-btn {
  margin-top: 30px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: bold;
  background-color: #b30000;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.9s;
  animation-fill-mode: forwards;
}

.view-more-btn:hover {
  background-color: #ff1a1a;
  transform: scale(1.05);
  box-shadow: 0 8px 18px rgba(255, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .about-heading {
    font-size: 2rem;
  }

  .caption-text {
    font-size: 1.2rem;
  }

  .view-more-btn {
    padding: 12px 22px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .about-section {
    padding: 40px 15px;
  }

  .about-heading {
    font-size: 1.8rem;
  }

  .caption-text {
    font-size: 1rem;
  }

  .view-more-btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}



/* AUDIO & MUSIC SECTION */
.music-section {
  padding: 100px 20px;
  background: #fcfcfc;
  text-align: center;

}

.music-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.music-heading {
  font-size: 2.8rem;
  color: #b30000;
  margin-bottom: 40px;
}

.music-content {
 position: relative;
  display: block;          /* was inline-block */
  max-width: 600px;
  margin: 0 auto;          /* keep it centered */
}

.music-image {
  width: 100%;
  max-width: 600px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}


.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #b30000;
  color: white;
  font-size: 3rem;
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.play-button:hover {
  background-color: #ff0000;
  transform: translate(-50%, -50%) scale(1.1);
}

.audio-btn {
  display: inline-block;   /* compact size */
  margin-top: 46px;        /* reduce spacing */
  padding: 10px 20px;      /* normal size */
  background-color: #b30000;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.audio-btn:hover {
  background-color: #ff0000;
  transform: scale(1.05);
}


/* Responsive */
@media (max-width: 768px) {
  .music-heading {
    font-size: 2rem;
  }

  .play-button {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
}




/* ===== GALLERY MKSS SECTION ===== */

.gallery-mkss {
  background-color: #9d0000;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;             /* ✅ make it flex */
  flex-direction: column;    /* stack heading + image */
  align-items: center;       /* ✅ center horizontally */
}

/* Background image with opacity + blur */
.gallery-mkss::before {
 content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/image/contactusbg.webp"); /* 🔁 Replace with your image path */
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: -1;
}

/* Heading */
.gallery-heading {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 50px;
  text-align: center;
  z-index: 2;
  position: relative;
}

/* Image box */
.gallery-image-box {
  position: relative;
  width: 700px;     /* ✅ default desktop size */
  max-width: 100%;  /* ✅ shrink on small screens */
  height: auto;     /* ✅ keep ratio on smaller screens */
  aspect-ratio: 16 / 9;  /* ✅ maintain correct height */
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0px 8px 20px rgba(0,0,0,0.3);
  cursor: pointer;
  z-index: 2;
  transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center; 
  margin: 0 auto; /* ✅ force horizontal centering */
}

.gallery-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.5s ease; /* ✅ only brightness transition */
}

/* Hover effect */
.gallery-image-box:hover {
  box-shadow: 0px 0px 40px rgb(40, 40, 40);  /* ✅ white glow */
  transform: scale(1.05);  /* ✅ zoom the whole box (image included) */
}

.gallery-image-box:hover img {
  filter: brightness(1.1);  /* ✅ brighten image only */
}


/* =================== Responsive Design =================== */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .gallery-heading {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .gallery-image-box {
    width: 90%;   /* shrink to fit screen */
    height: auto; /* keep ratio flexible */
    max-width: 600px;
    aspect-ratio: 16/9; /* maintain shape */
  }
}

/* Mobile (max-width: 600px) */
@media (max-width: 600px) {
  .gallery-heading {
    font-size: 1.8rem;
    margin-top: -30px;
  }

  .gallery-image-box {
    width: 95%; 
    height: auto;
    max-width: 400px;
    aspect-ratio: 16/9;
    border-radius: 10px;
  }
}


/* ---------- ASSOCIATION ---------- */

.section-title {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 60px;
}
.association-section {
  background-color: #9d0000;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.association-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/image/contactusbg.webp"); /* 🔁 Replace with your image path */
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: -1;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.card {
  background: white;
  border-radius: 12px;
  width: 300px;
  height: 500px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.718);
}
.card-image {
  height: 500px;
  background-size: cover;
  background-position: center;
  /* animation: shimmer 2s infinite linear; */  /* REMOVE or COMMENT this */
}

.card-content {
  padding: 20px;
}
.card h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 20px;
}

.view-more {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 24px;
  background-color: #ae1d1d;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.view-more:hover {
  background-color: #ff0000; /* Brighter red on hover */
  transform: scale(1.05);    /* Slight zoom */
  box-shadow: none;          /* No shadow on hover */
}


/* ===== Tablet (max-width: 1024px) ===== */
@media (max-width: 1024px) {
  .card {
    width: 45%;      /* two cards per row */
    height: auto;    /* flexible height */
  }
  .card-image {
    height: 300px;   /* shrink image area */
  }
}



/* ---------- MEDIA ---------- */
.media-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #ffffff; /* red background */
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.media-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("landinpi.png"); /* 🔁 Replace with your actual image path */
  background-size: cover;
  background-position: center;
  opacity: 0.;
  z-index: -1;
}

.media-heading {
  font-size: 36px;
  font-weight: bold;
  margin-top: -10px;
  margin-bottom: 50px;
  color: #111;  /* ✅ force dark text so it's visible on white */
  position: relative;
  z-index: 2;   /* ✅ stays above background overlay */
}
.media-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
}
.media-card {
  width: 250px;
  background-color: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.384);
}

.media-card:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.media-image {
  width: 100%;
  height: 400px; /* 🔁 Set fixed height */
  display: block;
  object-fit: cover; /* Or 'contain' based on your need */
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.media-text {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 30px;
  margin-top: 30px;
}
.media-button {
  display: inline-block;
  margin-top: 12px;
  margin-bottom: 20px;
  padding: 12px 30px;
  background-color: #b30000;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}


.media-button:hover {
 background-color: #ff0000; /* Brighter red on hover */
  transform: scale(1.05);    /* Slight zoom */
  box-shadow: none;          /* No shadow on hover */
}

/* ===== Tablet (≤1024px) ===== */
@media (max-width: 1024px) {
  .media-heading {
    font-size: 30px;
    margin-bottom: 30px;
  }
  .media-card {
    width: 45%;         /* two cards per row */
    max-width: 360px;   /* avoid being too wide on large tablets */
  }
  .media-image {
    height: 260px;
  }
  .media-text {
    font-size: 18px;
  }
  .media-button {
    padding: 10px 22px;
    font-size: 0.95rem;
  }
}

/* ===== Mobile (≤600px) ===== */
@media (max-width: 600px) {
  .media-cards {
    flex-direction: column;  /* stack vertically */
    align-items: center;
    gap: 24px;
  }

  .media-card {
    width: 180px;            /* smaller card only on phone */
  }

  .media-image {
    height: 200px;           /* shrink image */
  }

  .media-heading {
    font-size: 29px;
    margin-bottom: 40px;
    margin-top: -20px;
  }

  .media-text {
    font-size: 16px;
    margin: 12px 0 6px;
  }

  .media-button {
    padding: 8px 18px;
    font-size: 0.9rem;
  }
}

/* ---------- FOOTER ---------- */

/* ---------- CONTACT RED BOX ---------- */
.contact-footer-box {
  position: relative;
  background-color: #B71C1C;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: -30px;
  border: 4px solid #B71C1C;
  flex-wrap: wrap;
  overflow: hidden; /* ensures overlay doesn't spill out */
}

/* 🔴 Background Image with 50% opacity overlay */
.contact-footer-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/image/contactusbg.webp'); /* 🔁 Your image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1; /* 🔥 50% fade effect */
  z-index: 0;
}

/* Keep content above the faded image */
.contact-footer-box > * {
  position: relative;
  z-index: 1;
}

.contact-left {
  max-width: 600px;
}

.contact-left h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact-left ul {
  list-style-type: disc;
  padding-left: 20px;
}

.contact-left li {
  margin-bottom: 12px;
  font-size: 1rem;
}

.contact-left a {
  color: white;
  text-decoration: underline;
}

.contact-left a:hover {
  color: #FFEB3B;
}

.contact-right img {
  max-width: 200px;
  height: auto;
}

/* ---------- FOOTER CREDITS ---------- */
.footer-credits {
  background-color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.87rem;
  color: #000000;
}

.footer-line {
  border: none;
  height: 3px;
  background-color: #000000;
  width: 80%;
  margin: 20px auto;
}

.footer-credit-content strong {
  color: #ff4d4d; /* Highlighted color for names */
}

.moon-name {
  color: #000;
}

/* 📱 Responsive for small screens */
@media (max-width: 600px) {
  .footer-credit-content {
    font-size: 0.60rem;
    padding: 15px;
  }
}

/* ---------- SOCIAL FOOTER (optional if you need it elsewhere) ---------- */
.footer {
  background-color: #B71C1C;
  color: #fff;
  padding: 40px 0 10px 0;
}

.footer-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  text-align: left;
  padding: 0 40px;
}

.footer-section {
  max-width: 300px;
  margin-bottom: 20px;
}

.footer-section h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.footer-section p {
  margin: 5px 0;
  font-size: 0.95rem;
}

.social-icons a {
  margin-right: 15px;
  color: #d2b48c;
  font-size: 24px;
  text-decoration: none;
  transition: transform 0.3s;
}

.social-icons a:hover {
  transform: scale(1.2);
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 0.9rem;
  color: #f5f5f5;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes logoFade {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeText {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0% { background-position: -500px 0; }
  100% { background-position: 500px 0; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .contact-footer-box {
    flex-direction: column;
    text-align: center;
  }

  .contact-left {
    padding-bottom: 20px;
  }

  .contact-right img {
    max-width: 150px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .logo {
    width: 250px;
  }

  .card, .media-card {
    width: 90%;
    max-width: 440px;
  }

  .media-image {
    height: auto;
    max-height: 500px;
  }

  .nav-buttons {
    top: 20px;
    right: 20px;
    flex-direction: column;
    gap: 10px;
  }
}



/* ---------- HAMBURGER DROPDOWN POSITION ---------- */
.dropdown-wrapper {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 999;
}

/* Adjust the button inside it if needed */
#menuToggle.btn-danger {
  background-color: #b30000;
  border: none;
  padding: 10px 16px;
  font-size: 20px;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, transform 0.2s ease;
}

#menuToggle.btn-danger:hover {
  background-color: #990000;
  transform: scale(1.1);
}

















/* ===== COntact us page ===== */
:root{
  --red: #b10000;
  --red-dark: #8a0000;
  --bg: #ffffff;
  --text: #111111;
  --muted: #444444;
  --stroke: #e5e5e5;
  --radius: 18px;

  /* Change this path to update the left panel image */
  --branding-image: url("/image/logo.png");
}

/* ===== Base ===== */
* { box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* ===== Shell (page padding) ===== */
.contact-shell{
  padding: clamp(16px, 3vw, 32px);
  display: grid;
  place-items: center;
}

/* ===== Card ===== */
.contact-card{
  width: min(1100px, 100%);
  background: #fff;
  border: 2px solid var(--red);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  overflow: hidden;

  display: grid;
  grid-template-columns: 1.1fr 1fr; /* left a bit wider */
  min-height: 480px;
}

/* ===== Branding (left) ===== */
.branding {
  position: relative;
  /* background image as panel */
  background: url("/image/g3-modified.jpg") center/cover no-repeat;
  
  display: grid;
  align-content: end;
  justify-items: center;
  gap: 18px;
  padding: clamp(18px, 3.6vw, 28px);
  overflow: hidden;
}

/* Red overlay with 50% opacity */
.branding::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--red);
  opacity: 0.5;     /* 50% transparent red */
  z-index: 0;
}


/* Changeable background image on red panel */
.branding-art{
  position: absolute;
  inset: 0;
  background-image: var(--branding-image);
  background-repeat: no-repeat;
  background-position: center 28%;
  background-size: 60%;  /* smaller */
 background-position: center;       /* middle */
 background-position: top center;   /* top */
 background-position: bottom center;/* bottom */
 background-position: 50% 38%;      /* custom X% Y% */

  opacity: 1;
  pointer-events: none;
}


/* White heading at bottom */
.branding h2{
  position: relative;
  margin-bottom: 40px;
  color: #fff;
  text-align: center;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: clamp(18px, 2.1vw, 24px);
  text-shadow: 0 1px 0 rgba(0,0,0,0.15);
}

/* ===== Form pane (right) ===== */
.form-pane{
  background: #fff;
  padding: clamp(18px, 3.6vw, 28px);
  display: grid;
  align-content: start;
}

.form-pane h3{
  margin: 0 0 16px;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 800;
  color: var(--text);
}

.contact-form{
  display: grid;
  gap: 14px;
}

/* Inputs */
.field input,
.field textarea{
  width: 100%;
  padding: 14px 14px;
  border: 2px solid #d9d9d9;
  border-radius: 12px;
  font-size: 16px;
  outline: none;
  color: var(--text);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field textarea{ resize: vertical; min-height: 160px; }

.field input::placeholder,
.field textarea::placeholder{
  color: #9aa0a6;
}

/* Focus state */
.field input:focus,
.field textarea:focus{
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(177,0,0,0.12);
}

/* Actions */
.actions{
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
}

.btn-send{
  appearance: none;
  border: none;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  padding: 12px 26px;
  border-radius: 999px; /* pill */
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(177,0,0,0.28);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-send:hover{ transform: translateY(-1px); box-shadow: 0 10px 22px rgba(177,0,0,0.32); }
.btn-send:active{ transform: translateY(0); box-shadow: 0 4px 12px rgba(177,0,0,0.24); background: var(--red-dark); }

/* A11y hidden labels (placeholders visible) */
.visually-hidden{
  position:absolute!important;
  height:1px;width:1px;
  overflow:hidden;
  clip:rect(1px,1px,1px,1px);
  white-space:nowrap; border:0; padding:0; margin:-1px;
}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .contact-card{
    grid-template-columns: 1fr; /* stack */
  }
  .branding{
    min-height: 320px;
    border-bottom: 2px solid var(--red);
  }
}

/* Small phones */
@media (max-width: 420px){
  .btn-send{ width: 100%; }
}


/* Small phones */
@media (max-width: 480px) {
  .branding-art {
    background-size: 65%;      /* slightly bigger but still contained */
    background-position: center 20%; /* move up */
  }
}


/* Extra small phones */
@media (max-width: 360px) {
  .branding-art {
    background-size: 75%;      /* adjust size */
    background-position: center 18%;
  }
}

/* Tablet adjustments */
@media (max-width: 980px) {
  .branding h2 {
    font-size: 18px;       /* smaller font */
    line-height: 1.2;      /* tighter spacing */
    margin-top: 10px;      /* extra breathing room */
  }
}

/* Phone adjustments */
@media (max-width: 480px) {
  .branding h2 {
    font-size: 16px;       /* even smaller */
    line-height: 1.15;
    margin-top: 6px;
    letter-spacing: 0.3px; /* reduce spacing for narrow screens */
  }
}

/* Extra small phones */
@media (max-width: 360px) {
  .branding h2 {
    font-size: 14px;       /* compact */
    line-height: 1.1;
    margin-bottom: 20px;
  }
}



/* Phone */
@media (max-width: 480px) {
  .branding h2 {
    margin-top: 20px;    /* less space for phones */
  }
}

/* Button container */
.actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

/* Send button */
#send-btn {
  appearance: none;
  border: none;
  outline: none;
  cursor: pointer;

  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 16px;

  padding: 12px 30px;
  border-radius: 999px; /* pill */

  box-shadow: 0 6px 16px rgba(177,0,0,0.28);
  transition: all 0.25s ease-in-out;
}

/* Hover with tomato glow */
#send-btn:hover {
  background: rgb(255, 38, 0);
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(1, 0, 0, 0), /* outer glow */
              0 0 24px rgba(255, 99, 71, 0), 
              0 6px 22px rgba(177, 0, 0, 0);
}

/* Active (click) effect */
#send-btn:active {
  transform: translateY(0);
  background: var(--red-dark);
  box-shadow: 0 0 8px rgba(255, 99, 71, 0),
              0 4px 12px rgba(177, 0, 0, 0);
}

/* Mobile: full width */
@media (max-width: 480px) {
  .actions {
    justify-content: center;
  }
  #send-btn {
    width: 100%;
  }
}



#form-alert {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #fff;
  color: #b30000;
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  font-weight: 600;
  z-index: 9999;
}

