/* Main Viewport & Reset Styling */
body {
  background-color: #E0E1DD; /* Platinum background */
  width: 100vw;
  height: 100vh;
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  overflow: hidden; /* Prevent scrolling during initial logo animation */
  font-family: "Anta", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* Original Logo Circle Container: Centered on screen, shrinks and moves to top-left on click */
.logo_box {
  background-color: #D9D9D9; /* Light grey base circle */
  width: 250px;
  height: 250px;
  border-radius: 100%;
  position: fixed; /* Keep it fixed so transition to shrunk fixed header is seamless */
  top: 50%;
  left: 50%;  
  transform: translate(-50%, -50%);
  transition: width 0.5s ease-in,
              height 0.5s ease-in,
              top 0.5s ease-in,
              left 0.5s ease-in,
              transform 0.5s ease-in; /* Individual props so we can control transform independently */
  z-index: 150; /* Base layout layer depth initialization */
}

/* Desktop shrunk state: neutralise the centering transform and pin to header */
.logo_box.shrunk {
  position: fixed; /* Fixed position so it stays in the header on scroll */
  transform: none; /* Clear the initial translate(-50%,-50%) centering */
  top: 12px;       /* Visually centred inside the 70px header */
  left: 40px;      /* Aligned with page content margins (40px) */
  width: 46px;
  height: 46px;
  z-index: 210;    /* Keep above the fixed header background */
}

/* Scoped setup forcing images inside the logo block to fit inside bounds properly */
.logo_box img,
.logo_box .logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transition: width 0.5s ease-in, height 0.5s ease-in;
}

/* SPA Wrapper: Starts invisible, fades in when the wrapper is active */
.app-wrapper {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease-in-out;
  width: 100%;
  height: 100%;
}

/* Revealed App Wrapper State */
.app-wrapper.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Top Navigation Bar Header Container */
.app-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  box-sizing: border-box;
  display: flex;
  justify-content: flex-end; /* Nav always right-aligned; logo floats absolutely */
  align-items: center;
  padding: 0 40px 0 110px; /* 110px left padding reserves space for the absolute logo */
  background-color: #e5e5e3;
  z-index: 200; /* Must sit higher than the logo box layer */
}

/* Navigation List Wrapper */
.navbar {
  display: flex;
  gap: 12px;
  position: relative;
  align-items: center;
}

/* Sliding Indicator Background Pill */
.nav-indicator {
  position: absolute;
  background-color: #333333; /* Dark pill background */
  border-radius: 20px;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1); /* Custom transition for smooth sliding */
  z-index: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  pointer-events: none; /* Allows cursor hover triggers to go straight to buttons */
  opacity: 0; /* Stays hidden until first layout computation */
}

/* Reveal Sliding Indicator on Visible App */
.app-wrapper.visible .nav-indicator {
  opacity: 1;
}

/* Navigation Menu Button styling */
.nav-btn {
  background: none;
  border: none;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 20px;
  cursor: pointer;
  position: relative;
  color: #4a4a4a;
  white-space: nowrap;
  transition: color 0.3s ease, transform 0.2s ease;
  z-index: 1; /* Sits above the sliding indicator pill */
}
/* While hovering the navbar, make the active button text dark so it's readable when indicator moves away */
.navbar:hover .nav-btn.active {
  color: #1c1c1c;
}

/* If hovering the active button itself, keep it white */
.navbar:hover .nav-btn.active:hover {
  color: #ffffff;
}

/* Button Hover State: Slight rise lift effect and turn text white for the dark indicator pill */
.nav-btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

/* Active Button State: Highlighted color, scale expansion, and clean text underline */
.nav-btn.active {
  color: #ffffff;
  transform: translateY(-2px) scale(1.05);
  text-decoration: underline;
  text-underline-offset: 4px; /* Leaves a clean spacing below text */
}

/* Main Content Wrapper Card: Houses all SPA page divs (full screen width, starts from bottom, no scrollbar) */
.content-container {
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #D9D9D9; /* Matches logo box background */
  border-radius: 24px 24px 0 0; /* Rounded top corners only */
  padding: 0px !important;
  overflow-y: auto;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.03); /* Soft shadow on the top edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.content-container::-webkit-scrollbar {
  display: none;
}

/* Page Section Base: Hidden by default */
.page-section {
  display: none;
  color: #1c1c1c;
  padding: 30px 40px;
  box-sizing: border-box;
  width: 100%;
}

/* Active Page State: Revealed with fadeInUp motion */
.page-section.active {
  display: block;
  animation: fadeInUp 0.5s ease forwards;
}

/* Smooth active page slide-up fade-in transition */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page Title styling */
.page-title {
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: 700;
}

/* Page Description Description */
.page-desc {
  font-size: 16px;
  margin-bottom: 30px;
  color: #4a4a4a;
  line-height: 1.5;
}

/* Home page title: centered, sits above the hero strip */
.home-title {
  text-align: center;
  margin-bottom: 24px;
}

/* ============================================= */
/* HOME PAGE: Hero strip + carousel sections      */
/* Uses the same palette as the rest of the app:  */
/* #E0E1DD platinum / #D9D9D9 grey / #333333 dark /*/
/* #1c1c1c text / #4a4a4a muted text              */
/* ============================================= */

.home-hero {
  background-color: #E0E1DD;
  border-radius: 18px;
  padding: 32px;
  margin-bottom: 36px;
}

.home-hero .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4a4a4a;
  margin-bottom: 10px;
}

.home-hero .hero-heading {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
  color: #1c1c1c;
  margin: 0 0 14px 0;
}

.home-hero .hero-sub {
  font-size: 15px;
  color: #4a4a4a;
  line-height: 1.5;
  max-width: 520px;
  margin: 0;
}

/* Mission & Vision: two-column cards directly under the hero */
.mission-vision .mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.mv-card {
  background-color: #E0E1DD;
  border-radius: 16px;
  padding: 24px;
}

.mv-card .block-tag {
  margin-bottom: 10px;
}

.mv-text {
  font-size: 14.5px;
  color: #1c1c1c;
  line-height: 1.6;
  margin: 0;
}

/* Carousel section shell */
.home-block {
  margin-bottom: 44px;
}

.home-block .block-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 18px;
}

.home-block .block-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4a4a4a;
  margin-bottom: 4px;
}

.home-block .block-title {
  font-size: 22px;
  font-weight: 700;
  color: #1c1c1c;
  margin: 0;
}

/* Carousel arrows: same dark pill language as nav-indicator */
.arrow-group {
  display: flex;
  gap: 8px;
}

.arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #1c1c1c;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.2s ease;
}

.arrow-btn:hover {
  background-color: #333333;
  border-color: #333333;
  transform: translateY(-2px);
}

.arrow-btn svg {
  width: 15px;
  height: 15px;
  stroke: #1c1c1c;
  transition: stroke 0.25s ease;
}

.arrow-btn:hover svg {
  stroke: #ffffff;
}

/* Carousel track */
.carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 18px;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  user-select: none;
  -webkit-user-drag: none;
}
.carousel-track img {
  pointer-events: none;
  -webkit-user-drag: none;
}

/* Event & highlight cards */
.card {
  flex: 0 0 300px;
  background-color: #E0E1DD;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-media {
  height: 140px;
  background-color: #1c1c1c;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 14px;
}

.card-media .tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  background-color: #333333;
  padding: 5px 10px;
  border-radius: 20px;
}

.card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-date {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4a4a4a;
}

.card-body h4 {
  font-size: 17px;
  font-weight: 700;
  color: #1c1c1c;
  line-height: 1.25;
  margin: 0;
}

.card-body p {
  font-size: 13.5px;
  color: #4a4a4a;
  line-height: 1.5;
  flex: 1;
  margin: 0;
}

.card-link {
  font-size: 13px;
  font-weight: 700;
  color: #1c1c1c;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link svg {
  width: 13px;
  height: 13px;
}

/* Highlight card variant */
.highlight-card .card-media {
  height: 170px;
  background: linear-gradient(135deg, #1c1c1c, #333333);
}
.card-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.card-media .tag {
  z-index: 2;
  position: relative;
}

/* Photo carousel cards */
.photo-card {
  flex: 0 0 280px;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  background-color: #1c1c1c; /* Shows as a dark placeholder until an image src is set */
}

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

.about-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.para-container {
    width: 90%;
    margin-top: 40px;
}

.para-container .para {
    text-align: center;
    font-size: large;
    margin: 5px 0px;
}

.gallery-container {
    width: 85%;
    margin-top: 40px;
    background-color: #E4DAC1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 50px;
}

.gallery-container .gallery {
    width: 90%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.gallery-container .gallery img {
    width: clamp(150px, 25%, 300px);
}

@media (max-width:700px) {
    .gallery-container {
        width: 80%;
        padding: 40px 40px;
    }

    .gallery-container .gallery {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .gallery-container .gallery img {
        width: clamp(200px, 25%, 300px);
    }
}

@media (max-width:500px){
    .about-container .heading{
        font-size: x-large;
    }
    .about-container .sub-heading{
        font-size: large;
    }
    .para-container {
        margin-top: 15px;
    }
    .para-container .para {
        font-size: medium;
        margin: 10px 0px;
    }
    .gallery-container{
        width: 70%;
        padding: 40px 30px;
    }
    .gallery-container .gallery img {
        width: 150px;
    }
} 

/* Executive Member Cards Layout Styling */
.gallery-container .gallery {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start; /* Aligns cards evenly from the top edge */
  flex-wrap: wrap;
  gap: 30px;
}

.member-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: clamp(150px, 25%, 300px);
}

.member-card .member-img {
  width: 100% !important; /* Forces the image to inherit the parent card width layout bound */
  height: auto;
  border-radius: 12px; /* Smooth card image corner masking */
  margin-bottom: 12px;
  object-fit: cover;
}

.member-name {
  font-size: 16px;
  font-weight: 700;
  color: #1c1c1c;
  margin: 4px 0 2px 0;
}

.member-role {
  font-size: 13px;
  font-weight: 600;
  color: #4a4a4a; /* Dimmer secondary accent variant for clean hierarchy */
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Responsiveness adjustments */
@media (max-width: 700px) {
  .member-card {
    width: clamp(200px, 40%, 300px);
  }
}

@media (max-width: 500px) {
  .member-card {
    width: 150px;
  }
  .member-name {
    font-size: 14px;
  }
  .member-role {
    font-size: 11px;
  }
}

/* ============================================= */
/* EVENTS PAGE SPECIFIC STYLES                   */
/* ============================================= */

/* Main list container for stacking multiple event entries */
#event .events-list-container {
  display: flex;
  flex-direction: column;
  gap: 80px;
  width: 100%;
  max-width: 900px; 
  margin: 60px auto;
}

/* Base structural row wrapper */
#event .event-row {
  display: flex;
  align-items: center; 
  position: relative;
  width: 100%;
}

/* Floating Image Frame — Fixed dimensions */
#event .event-img-frame {
  flex: 0 0 35%;      
  min-width: 240px;   
  height: 320px;      
  border-radius: 16px;
  overflow: hidden;
  z-index: 2;
  box-shadow: 0 12px 30px rgba(0,0,0,0.100);
}

/* Core Image Component and Zoom Transition Engine */
#event .event-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Smooth zoom trigger on image frame hover */
#event .event-img-frame:hover img {
  transform: scale(1.08);
}

/* Premium Glassmorphism Text Card Component */
#event .event-text-card {
  flex: 1; 
  /* CHANGE CARD COLOR PROFILE HERE */
  background-color: #E0E1DD; /* Card Fill (Adjust RGBA or Hex) */
  border: 1px solid #E0E1DD;   /* Hairline edge accent color */
  
  backdrop-filter: blur(12px); 
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
  min-height: 240px;
  display: flex;
  flex-direction: column; 
  justify-content: center; 
  padding: 40px 40px 40px 75px; 
}

/* Alternating Modifier (Card Left / Image Right Layout) */
#event .event-row.reverse-row .event-text-card {
  padding: 40px 75px 40px 40px; 
}

/* Overlap Spacing Modifiers */
#event .margin-right-neg { margin-right: -40px; } 
#event .margin-left-neg { margin-left: -40px; }

/* Padding compensation for overlapping image */
#event .padding-left-large { padding-left: 75px; }
#event .padding-right-large { padding-right: 75px; }

/* Premium Accent Pillar Pill Tag for Dates */
#event .event-meta {
  /* ADJUST ACCENT PILL COLORS HERE */
  background-color: #1c1c1c;       /* Pill Background Color */
  color: #ffffff !important;        /* Pill Text Color */
  
  padding: 5px 12px;
  border-radius: 6px;
  width: fit-content;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 14px;
  text-transform: uppercase;
}

#event .event-heading {
  font-size: 26px;
  font-weight: 700;
  color: #111111;                   /* Main Title Heading Color */
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
}

#event .event-desc-text {
  font-size: 14.5px;
  color: #555555;                   /* Paragraph Body text color */
  line-height: 1.6;
  margin: 0 0 20px 0;
  max-width: 480px; 
}

/* ============================================= */
/* CORE HIGH-END ANIMATED BUTTON INITIALIZATION  */
/* ============================================= */
#event .animated-button {
  position: relative;
  display: inline-flex;  
  align-items: center;
  justify-content: center;
  width: fit-content;    
  padding: 10px 24px;    
  height: 40px;          
  
  /* ADJUST DEFAULT BUTTON COLORS HERE */
  border: 1.5px solid #1c1c1c;      /* Outlined baseline edge color */
  color: #1c1c1c;                   /* Default text string color */
  background-color: transparent;
  
  border-radius: 30px;
  font-size: 11px;       
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  overflow: hidden;
  margin-top: 14px;
  
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Vector Inline Arrow Configuration */
#event .animated-button svg {
  position: absolute;
  width: 14px;          
  height: 14px;
  fill: #1c1c1c;                    /* Default inline SVG vector arrow color */
  z-index: 2;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Arrow 1: Visible by default on the right hand side */
#event .animated-button .arr-1 {
  right: 18px;
}

/* Arrow 2: Hidden off-canvas to the left side */
#event .animated-button .arr-2 {
  left: -30%;
}

/* The Animated Filling Core Background Flash Circle */
#event .animated-button .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1px;
  height: 1px;
  
  /* ADJUST FILL FLASH COLOR HERE */
  background-color: #1c1c1c;        /* Color that slides out from center on hover */
  
  border-radius: 50%;
  opacity: 0;
  z-index: 1;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Text Element Label Wrapper */
#event .animated-button .text {
  position: relative;
  z-index: 2;
  transform: translateX(-6px); 
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ============================================= */
/* INTERACTIVE BUTTON HOVER ACTIONS STATES       */
/* ============================================= */

#event .animated-button:hover {
  /* ADJUST ACTIVE HOVER TEXT COLOR HERE */
  color: #ffffff;                   /* Color of text when button is active */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

#event .animated-button:hover .arr-1 {
  right: -30%;
}

#event .animated-button:hover .arr-2 {
  left: 18px;
}

#event .animated-button:hover .text {
  transform: translateX(8px);
}

/* ADJUST ACTIVE HOVER ARROW COLOR HERE */
#event .animated-button:hover svg {
  fill: #ffffff;                    /* Color of the arrow icon during hover state */
}

#event .animated-button:active {
  transform: scale(0.97);
}

#event .animated-button:hover .circle {
  width: 240px; 
  height: 240px;
  opacity: 1;
}

/* ========================================================================= */
/* CONTACT CORE LAYOUT & TITLE                                            */
/* ========================================================================= */
.contact-page {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
    padding: 0 20px;
}

.contact-title {
    font-family: 'Anta', sans-serif;
    font-size: 60px;
    color: #000;
    text-align: center;
}

.contact-rule {
    width: 600px;
    max-width: 90%;
    height: 1px;
    background: #666;
    margin-top: 15px;
    margin-bottom: 30px;
}

.contact-card, .address-box {
    background: #D1D8DB;
    border-radius: 18px;
    margin: 0 auto;
}

.contact-card {
    width: 570px;
    max-width: 95%;
    padding: 50px;
}

/* ========================================================================= */
/* CONTACT ENTRIES / LIST                                                */
/* ========================================================================= */
.contact-entry {
    margin-bottom: 30px;
}

.contact-link-full {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: #000;
    width: 100%;
}

.contact-link-full:hover {
    color: #000;
}

.contact-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: #8D8D8D;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-icon i {
    font-size: 26px;
    color: #000;
}

.contact-link-full span {
    font-size: 20px;
    font-weight: 500;
    color: #000;
    line-height: 1.3;
}

/* ========================================================================= */
/* CONTACT BOXES GRID                                                     */
/* ========================================================================= */
.contact-boxes {
    width: 90%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.info-box {
    width: 220px;
    min-height: 180px;
    background: #D1D8DB;
    border-radius: 16px;
    text-decoration: none;
    color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: 0.3s;
}

.info-box:hover {
    transform: translateY(-5px);
}

.info-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.info-box h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    margin-bottom: 10px;
}

.info-box p {
    text-align: center;
    font-size: 14px;
    word-break: break-word;
}

/* ========================================================================= */
/* ADDRESS BOX                                                            */
/* ========================================================================= */
.address-box {
    width: 900px;
    max-width: 90%;
    padding: 25px;
    text-align: center;
    margin-bottom: 35px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.address-box h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #111;
    margin-bottom: 10px;
}

.address-box p {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    color: #444;
    line-height: 1.6;
    margin: 0;
}

/* ========================================================================= */
/* QUERY SECTION / FORM                                                   */
/* ========================================================================= */
.query-section {
    width: 100%;
    max-width: 900px;
    margin: 70px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.query-header {
    text-align: center;
    margin-bottom: 35px;
}

.query-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.query-header p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    max-width: 700px;
    margin: auto;
}

.query-form {
    width: 90%;
    max-width: 700px;
    background: #D2D9DC;
    border-radius: 18px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 auto;
}

.query-form input,
.query-form textarea {
    width: 100%;
    border: none;
    outline: none;
    border-radius: 12px;
    background: #ffffff;
    padding: 18px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #333;
}

.query-form textarea {
    resize: none;
    min-height: 150px;
}

.query-form button {
    width: 100%;
    height: 55px;
    border: none;
    border-radius: 12px;
    background: #8D8D8D;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

.query-form button:hover {
    background: #767676;
    opacity: 0.9;
}

/* ========================================================================= */
/* LATEST NEWS / UPDATES (NP)                                               */
/* ========================================================================= */
#news {
  padding: 30px 40px;
}

.np {
  background: #E0E1DD;
  border-radius: 18px;
  padding: 32px;
  font-family: "Anta", sans-serif;
  color: #1C1C1C;
  overflow: hidden;
}

.np-header {
  padding: 1.75rem 0 1.25rem;
  border-bottom: 1px solid rgba(0,0,0,0.12);
  margin-bottom: 1.25rem;
}
.np-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4a4a4a;
  margin-bottom: 4px;
}
.np-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 6px;
  color: #1C1C1C;
}
.np-desc {
  font-size: 16px;
  color: #4a4a4a;
  line-height: 1.5;
  max-width: 520px;
}

.filter-bar {
  display: flex;
  gap: 7px;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}
.fl {
  font-size: 13px;
  color: #4a4a4a;
  font-weight: 500;
  margin-right: 2px;
}
.fp {
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.18);
  background: transparent;
  font-size: 13px;
  color: #555;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.fp.on {
  background: #1C1C1C;
  color: #fff;
  border-color: #1C1C1C;
}

.feat {
  background: #D0D0CE;
  border-radius: 13px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1.5rem;
  min-height: 280px;
  overflow: hidden;
}
.feat-img {
  background: #BBBBB8;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 280px;
}
.feat-img-actual {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
}
.feat-img-ph {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-img-ph svg {
  width: 22px;
  height: 22px;
  stroke: #888;
  fill: none;
  stroke-width: 1.5;
}
.feat-body {
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.tag-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.tp {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.tp.ann { background: #2C2C2C; color: #E8E8E5; }
.tp.evt { background: #444; color: #E8E8E5; }
.tp.ach { background: #555; color: #E8E8E5; }
.tp.wsh { background: rgba(0,0,0,0.07); color: #333; border: 1px solid rgba(0,0,0,0.13); }

.mdate { font-size: 12px; color: #4a4a4a; }
.feat-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: #2C2C2C;
  color: #E8E8E5;
}
.feat-date {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4a4a4a;
}
.ctag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #2C2C2C;
  color: #E8E8E5;
}
.cdate {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4a4a4a;
}
.ltag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #2C2C2C;
  color: #E8E8E5;
  margin-bottom: 4px;
}
.ldate {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4a4a4a;
}
.feat-ttl {
  font-size: 17px;
  font-weight: 700;
  color: #1C1C1C;
  line-height: 1.35;
}
.feat-exc {
  font-size: 14.5px;
  color: #4a4a4a;
  line-height: 1.5;
}
.rbtn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #1C1C1C;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}
.rbtn svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

.slbl {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4a4a4a;
  margin-bottom: 0.75rem;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin-bottom: 1.5rem;
}
.acard {
  background: #D0D0CE;
  border-radius: 11px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-img {
  background: #BBBBB8;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.c-ph {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.c-ph svg {
  width: 14px;
  height: 14px;
  stroke: #999;
  fill: none;
  stroke-width: 1.5;
}
.cbody {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.cmeta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.cttl {
  font-size: 15px;
  font-weight: 700;
  color: #1C1C1C;
  line-height: 1.3;
}
.cexc {
  font-size: 13.5px;
  color: #4a4a4a;
  line-height: 1.5;
  flex: 1;
}
.clnk {
  font-size: 13px;
  font-weight: 700;
  color: #1C1C1C;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 3px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}
.clnk svg {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.nlist {
  display: flex;
  flex-direction: column;
}
.nitem {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.nitem:last-child {
  border-bottom: none;
}
.lthumb {
  width: 60px;
  height: 60px;
  background: #D0D0CE;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.lthumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lthumb svg {
  width: 18px;
  height: 18px;
  stroke: #999;
  fill: none;
  stroke-width: 1.5;
}
.lbody {
  flex: 1;
  min-width: 0;
}
.lmeta {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-bottom: 2px;
  flex-wrap: wrap;
}
.lttl {
  font-size: 15px;
  font-weight: 700;
  color: #1C1C1C;
  margin-bottom: 2px;
  line-height: 1.3;
}
.lexc {
  font-size: 13.5px;
  color: #4a4a4a;
  line-height: 1.5;
}

.cta {
  background: #1C1C1C;
  border-radius: 13px;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}
.cta-txt h3 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.cta-txt p {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  max-width: 280px;
}
.cta-form {
  display: flex;
  gap: 7px;
  flex-shrink: 0;
}
.cta-input {
  padding: 8px 12px;
  border-radius: 7px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 12px;
  font-family: inherit;
  width: 165px;
  outline: none;
}
.cta-input::placeholder {
  color: rgba(255,255,255,0.32);
}
.cta-btn {
  padding: 8px 16px;
  background: #E0E1DD;
  color: #1C1C1C;
  border: none;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

/* ========================================================================= */
/* RESPONSIVE BREAKPOINTS — Mobile-First                                     */
/* ========================================================================= */


/* ---- Tablet & smaller (≤768px) ----------------------------------------- */
@media (max-width: 768px) {
  body {
    overflow: hidden;
  }

  /* Fixed header — left padding reserves space for the absolutely-positioned logo */
  .app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 65px;
    padding: 0 20px 0 80px; /* 80px = 20px edge + 45px logo + 15px gap */
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 200;
    background-color: #e5e5e3;
    box-sizing: border-box;
  }

  /* Scrollable horizontal navbar — left edge reserved for 45px logo + 12px gap + 12px padding = 69px */
  .navbar {
    width: 100%;
    overflow-x: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
    padding: 4px 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .navbar::-webkit-scrollbar { display: none; }

  .nav-btn {
    padding: 6px 10px;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Shrunk logo — fixed, vertically centred inside the 65px mobile header */
  .logo_box.shrunk {
    position: fixed;
    left: 20px;         /* Aligned with tablet padding (20px) */
    top: 10px;          /* (65px header - 45px logo) / 2 = 10px */
    width: 45px;
    height: 45px;
    transform: none;    /* Clear the initial translate(-50%,-50%) */
    z-index: 210;
  }
  .logo_box.shrunk .logo {
    width: 45px;
    height: 45px;
    transform: none;
  }

  /* Content area sits flush below header */
  .content-container {
    position: absolute;
    top: 65px;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px 16px 0 0;
    z-index: 10;
    box-sizing: border-box;
  }

  /* Section padding — comfortable on tablet */
  .page-section {
    padding: 24px 20px;
  }

  /* News (NP) responsive layout */
  .np {
    padding: 0 0 1.5rem 0; /* Clear horizontal padding to avoid double-padding on tablet */
  }
  .feat {
    grid-template-columns: 1fr;
  }
  .feat .feat-img {
    min-height: 220px;
  }
  .grid3 {
    grid-template-columns: 1fr 1fr;
  }

  /* Home hero */
  .home-hero {
    padding: 22px;
    margin-bottom: 24px;
  }
  .home-hero .hero-heading {
    font-size: 26px;
  }
  .home-hero .hero-sub {
    font-size: 14px;
  }

  /* Mission / Vision: single column */
  .mission-vision .mv-grid {
    grid-template-columns: 1fr;
  }

  /* Carousel cards */
  .card        { flex: 0 0 240px; }
  .photo-card  { flex: 0 0 200px; height: 150px; }

  /* Events — stack vertically */
  #event .events-list-container {
    gap: 40px;
    margin: 30px auto;
    padding: 0 4px;
  }
  #event .event-row {
    flex-direction: column;
    gap: 0;
  }
  #event .event-row.reverse-row {
    flex-direction: column;
  }
  #event .event-row > div {
    flex: initial;
    width: 100%;
    min-width: 0;
    margin: 0;
  }
  #event .event-img-frame {
    height: 220px;
    border-radius: 16px 16px 0 0;
    box-shadow: none;
  }
  #event .event-text-card {
    padding: 22px;
    min-height: initial;
    border-radius: 0 0 16px 16px;
    background-color: #E0E1DD;
  }
  #event .padding-left-large { padding-left: 22px; }
  #event .padding-right-large { padding-right: 22px; }
  #event .event-row.reverse-row .event-text-card {
    padding: 22px;
    border-radius: 16px 16px 0 0;
  }
  #event .event-row.reverse-row .event-img-frame {
    border-radius: 0 0 16px 16px;
  }
  #event .event-heading { font-size: 20px; }
  #event .event-desc-text { font-size: 14px; }

  /* About */
  .gallery-container {
    width: 95%;
    padding: 24px 16px;
  }
  .gallery-container .gallery {
    gap: 16px;
  }

  /* Contacts */
  .contact-title     { font-size: 38px; }
  .contact-boxes     { gap: 14px; }
  .info-box          { width: 150px; min-height: 150px; }
  .info-icon         { font-size: 30px; }
  .info-box h3       { font-size: 15px; }
  .info-box p        { font-size: 12px; }
  .address-box       { padding: 18px; }
  .address-box h3    { font-size: 20px; }
  .address-box p     { font-size: 15px; }
  .query-section     { width: 100%; margin: 40px auto; }
  .query-header h2   { font-size: 24px; }
  .query-header p    { font-size: 14px; }
  .query-form        { padding: 24px; width: 100%; box-sizing: border-box; }
  .query-form input,
  .query-form textarea { font-size: 14px; box-sizing: border-box; }
}

/* ---- Mobile (≤480px) --------------------------------------------------- */
@media (max-width: 480px) {
  /* Very small screen nav: smaller pills */
  .nav-btn {
    padding: 5px 8px;
    font-size: 12px;
  }

  /* Tighter section padding */
  .page-section {
    padding: 16px 14px;
  }

  /* Mobile header & logo alignment overrides */
  .app-header {
    padding: 0 14px 0 70px; /* left: 14px logo + 45px width + 11px gap = 70px; right: 14px */
  }
  .logo_box.shrunk {
    left: 14px; /* Aligned with mobile padding (14px) */
  }

  /* News (NP) mobile responsive layout */
  .grid3 {
    grid-template-columns: 1fr;
  }
  .np-title {
    font-size: 1.5rem;
  }

  /* Hero heading */
  .home-hero {
    padding: 18px;
    border-radius: 14px;
  }
  .home-hero .hero-heading {
    font-size: 22px;
  }
  .page-title {
    font-size: 22px;
  }

  /* Carousel cards — nearly full width */
  .card        { flex: 0 0 calc(100vw - 60px); }
  .photo-card  { flex: 0 0 calc(100vw - 60px); height: 180px; }

  /* Events */
  #event .events-list-container {
    gap: 30px;
    margin: 20px auto;
    padding: 0;
  }
  #event .event-img-frame {
    height: 180px;
  }
  #event .event-text-card {
    padding: 18px;
  }
  #event .event-heading    { font-size: 18px; }
  #event .event-desc-text  { font-size: 13px; }

  /* About */
  .about-container .heading    { font-size: x-large; }
  .about-container .sub-heading { font-size: large; }
  .para-container              { margin-top: 16px; }
  .para-container .para        { font-size: medium; }
  .gallery-container           { width: 100%; padding: 18px 10px; border-radius: 12px; }
  .gallery-container .gallery img { width: 130px; }
  .member-card                 { width: 130px; }
  .member-name                 { font-size: 13px; }
  .member-role                 { font-size: 11px; }

  /* Contacts */
  .contact-title  { font-size: 28px; }
  .contact-boxes  { gap: 10px; }
  .info-box       { width: calc(50% - 8px); min-height: 130px; padding: 14px 10px; }
  .info-icon      { font-size: 26px; margin-bottom: 10px; }
  .info-box h3    { font-size: 13px; margin-bottom: 6px; }
  .info-box p     { font-size: 11px; }
  .address-box h3 { font-size: 16px; }
  .address-box p  { font-size: 13px; }
  .query-form     { padding: 18px; border-radius: 14px; }
  .query-form input,
  .query-form textarea { padding: 14px 16px; font-size: 14px; }
  .query-form button   { font-size: 14px; height: 48px; }
  .query-header h2     { font-size: 20px; }
}
