
:root{
  --size: 220px;     /* circle size for animal videos */
  --gap: 22px;       /* spacing in the circle row */
  --ibca-brown:#62432c; --ibca-green:#244f29;
}
 
/* RESET */
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Roboto',sans-serif;color:#000000;overflow-x:hidden;background:#fff}
h1,h2,h3,h4,h5,h6{color:rgb(98 67 44)}

/* === Heading #11 === */
.eleven h1{
  font-size:30px;text-align:center;line-height:1.5;padding-bottom:45px;
  font-family:"Playfair Display",serif;text-transform:uppercase;
  letter-spacing:2px;color:#111;position:relative
}
.eleven h1:before{
  content:"";position:absolute;left:50%;bottom:20px;width:60%;height:1px;
  background:#777;transform:translateX(-50%);z-index:4
}
.eleven h1:after{
  content:'🐾';position:absolute;width:50px;height:40px;left:50%;bottom:0;
  font-size:28px;line-height:40px;color:rgb(98,67,44);text-align:center;z-index:5;
  background:#fff;transform:translateX(-50%)
}

/* Navbar */
/* Existing Navbar Base */
.navbar {
  background: #ffffff !important;
  padding: 15px 30px;
}

.navbar-brand img {
  height: 55px;
}

.navbar-nav .nav-link {
  color: #000 !important;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  padding: 10px 15px;
  transition: all 0.3s ease; /* Smooth transition for hover effect */
}

/* Hover Effect — Font grows slightly */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #ae8769 !important;
  font-size: 20px; /* enlarge text slightly */
  transform: scale(1.1); /* adds subtle zoom-in */
}

/* Dropdown Styling */
.dropdown-menu {
  background: #1a1a1a;
  border: none;
  border-radius: 6px;
  padding: 8px 0;
}

.dropdown-menu .dropdown-item {
  color: #ddd;
  font-size: 14px;
  padding: 8px 20px;
  transition: all 0.3s ease;
}

.dropdown-menu .dropdown-item:hover {
  background: transparent;
  color: #ae8769;
}

/* Dropdown submenu fix */
.dropdown-submenu {
  position: relative;
}
.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 0.1rem;
  margin-right: 0.1rem;
}

/* Navbar toggler */
.navbar-toggler {
  border: none;
  outline: none;
}
.navbar-toggler .nav-bars {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px;
  background: #333;
  border-radius: 2px;
}

/* Contact Button */
.btn-contact {
  background: #ae8769;
  color: #fff;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
}
.btn-contact:hover {
  background: #e56d1c;
  color: #fff;
}


/* FLOATING CONTACT BAR */
.social-bar {
  position: fixed;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  z-index: 60;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, background 0.2s ease-out;
  cursor: pointer;
}

.social-btn span {
  font-size: 1.25rem;
}

.social-btn:hover {
  transform: translateX(-4px) translateY(-2px) scale(1.03);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.25);
  background: #eef2ff;
}

/* small label tooltip on hover */
.social-btn[data-label] {
  position: relative;
}

.social-btn[data-label]::after {
  content: attr(data-label);
  position: absolute;
  right: 110%;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: 0.75rem;
  background: #0f172a;
  color: #e5e7eb;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease-out, transform 0.18s ease-out;
}

.social-btn:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(-2px);
}

@media (max-width: 768px) {
  /* tuck it down on mobile so it doesn’t block too much */
  .social-bar {
    top: auto;
    bottom: 22px;
    right: 16px;
    transform: none;
    flex-direction: row;
  }
}

/* Hero */
.hero {
 position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px;
  overflow: hidden;
}

/* Video as background */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Optional overlay for better text visibility */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  
  z-index: 1;
}

/* Content above video */
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}
.hero {
  position: relative;
  width: 100%;
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* vertical center */
  align-items: flex-start;   /* LEFT ALIGN everything */
  padding-left: 60px;        /* space from the left edge */
  overflow: hidden;
}

/* Background video adjustments */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Ensure text stays left aligned */
.hero-content {
  text-align: left !important;
  width: 100%;
  max-width: 600px;
}

/* Bottom buttons also align left */
.hero-bottom {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  padding-left: 60px;
  margin-top: 20px;
}

  /*outline for banner text*/
  .outline {
    text-shadow: 0 0 5px #000, 0 0 5px #000;
  }


.hero::before{content:"";position:absolute;inset:0;}
.hero-content{position:relative;z-index:2;max-width:700px}
.hero-content h1{font-family:'Playfair Display',serif;font-size:50px; margin-bottom:150px; text-align: left;:0 0 20px}
.hero-content h6{font-size:18px;font-weight:400;color:#ffb347}
.hero-bottom{position:relative;z-index:-2;display:flex;justify-content:space-between;align-items:flex-end;margin-top:40px}
.btns{display:flex;align-items:center;gap:20px}
.video-btn{background-color: #6d4f39;width:60px;height:60px;border-radius:50%;border:2px solid rgba(255,255,255,.6);display:flex;justify-content:center;align-items:center;cursor:pointer;transition:.3s}
.video-btn:hover{background:rgba(255,255,255,.2)}
.video-btn img{width:24px;height:24px}
.orange-link{position:relative;font-weight:600;cursor:pointer; color: white;}
.orange-link::after{content:"";position:absolute;bottom:-5px;left:0;height:2px;width:0;background:#ff8c42;transition:.3s}
.orange-link:hover::after{width:100%}

/* Animal slider (placeholder) */
.animal-slider{display:flex;gap:20px;overflow:hidden;width:70%}
.animal-track{display:flex;gap:20px;animation:slide 20s linear infinite}
.animal-card{flex:0 0 260px;height:180px;border-radius:12px;overflow:hidden;position:relative;cursor:pointer}
.animal-card img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease, box-shadow .35s ease}
.animal-card:hover img{transform:scale(1.08); box-shadow:0 12px 30px rgba(0,0,0,.45)}
.animal-card h5{position:absolute;bottom:15px;left:15px;font-size:16px;font-weight:600;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.6)}
@keyframes slide{from{transform:translateX(0)}to{transform:translateX(-50%)}}

@media (max-width:768px){
  .hero{padding:40px 20px}
  .hero-content h1{font-size:42px}
  .hero-bottom{flex-direction:column;align-items:flex-start;gap:20px}
  .animal-slider{width:100%}
}

/* Parallax */
/*.parallax-section{position:relative;height:500px;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#fff}*/
/*.parallax-section::before{*/
/*  content:"";position:absolute;top:0;left:0;height:100%;width:100%;background-color:hsla(200,40%,30%,.4);*/
/*  background-image:url('https://78.media.tumblr.com/cae86e76225a25b17332dfc9cf8b1121/tumblr_p7n8kqHMuD1uy4lhuo1_540.png'),*/
/*    url('https://78.media.tumblr.com/66445d34fe560351d474af69ef3f2fb0/tumblr_p7n908E1Jb1uy4lhuo1_1280.png'),*/
/*    url('https://78.media.tumblr.com/5ecb41b654f4e8878f59445b948ede50/tumblr_p7n8on19cV1uy4lhuo1_1280.png'),*/
/*    url('https://78.media.tumblr.com/28bd9a2522fbf8981d680317ccbf4282/tumblr_p7n8kqHMuD1uy4lhuo3_1280.png');*/
/*  background-repeat:repeat-x;*/
/*  background-position:0 20%,0 100%,0 50%,0 100%,0 0;*/
/*  background-size:2500px,800px,500px 200px,1000px,400px 260px;*/
/*  animation:para 50s infinite linear;z-index:-2*/
/*}*/
/*@keyframes para{*/
/*  100%{background-position:-5000px 20%,-800px 95%,500px 50%,1000px 100%,400px 0}*/
/*}*/
/*.parallax-section::after{content:"";position:absolute;top:0;left:0;height:100%;width:100%;background:rgba(0,0,0,.4);z-index:-1}*/
/*.parallax-content{display:flex;justify-content:space-between;align-items:center;width:85%;max-width:1200px;position:relative;z-index:1}*/
/*.content{flex:1;padding-right:20px}*/
/*.content h1{font-size:2.5rem;margin-bottom:15px}*/
/*.content p{font-size:1.1rem;line-height:1.6}*/
/*.image{flex:1;display:flex;justify-content:center}*/
/*.image img{max-width:100%;height:auto;border-radius:10px;box-shadow:0 6px 18px rgba(0,0,0,.4);transition:transform .35s ease, box-shadow .35s ease}*/
/*.image img:hover{transform:scale(1.06); box-shadow:0 18px 40px rgba(0,0,0,.5)}*/


/* Scroll to top */
#scroll-top{
  position:fixed;bottom:30px;right:30px;background:#fff;border-radius:50%;padding:10px;
  box-shadow:0 4px 15px rgba(0,0,0,.3);cursor:pointer;z-index:9999;transition:.3s;display:none
}
#scroll-top:hover{background:#fafafa}

/* Marquee */
/* Marquee */
.marquee-container{
  width:100%;
  overflow:hidden;
  background:#62432d;
  color:#ffffff;
  padding:10px 0;
}

.marquee{
  display:inline-block;
  white-space:nowrap;
  animation:scroll-left 60s linear infinite; /* much slower */
}

@keyframes scroll-left{
  0%{ transform:translateX(100%); }
  100%{ transform:translateX(-100%); }
}

.new-sup{
  color:#e80303;
  font-weight:700;
  font-size:12px;
  margin-left:4px;
  animation:beep 1s infinite;
  display:inline-block;
}

@keyframes beep{
  0%,100%{ transform:scale(1); opacity:1; }
  25%{ transform:scale(1.2); opacity:.6; }
  50%{ transform:scale(1); opacity:1; }
  75%{ transform:scale(1.2); opacity:.6; }
}

#about{
  background: #f1f5f9;
  padding: 100px 20px;
}


/* MAIN CARD */
.content-card{
  background: white;
  border-radius: 18px;
  overflow: hidden;

  box-shadow: 0 20px 60px rgba(0,0,0,0.12);

  display: flex;
  align-items: stretch;
}


/* VIDEO SIDE */
.card-video{
  flex: 1;
  min-height: 400px;
}

.card-video iframe{
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}


/* CONTENT SIDE */
.card-content{
  flex: 1;
  padding: 40px 50px;
}


/* TITLE */
.card-content h1{
  font-size: 32px;
  margin-bottom: 20px;
}


/* LIST */
.card-content ul{
  padding-left: 20px;
}

.card-content li{
  margin-bottom: 10px;
}


/* MOBILE */
@media(max-width:991px){

  .content-card{
    flex-direction: column;
  }

  .card-video{
    height: 250px;
  }

}

/* Gallery (bigger images) */
.gallery_title{text-align:center;padding:40px 0 20px;font-size:2em;font-weight:600}
.gallery-slider{max-width:1200px;margin:0 auto 70px;position:relative;overflow:hidden}
.gallery-track{display:flex;gap:20px;transition:transform .5s ease}
.gallery .item{min-width:calc((100% - 3*20px)/4);cursor:pointer;filter:grayscale(40%);transition:transform .3s ease,filter .3s ease}
.gallery .item:hover{transform:scale(1.05);filter:none}
.gallery img{width:100%;height:300px;object-fit:cover;border-radius:10px;box-shadow:rgba(0,0,0,.35) 0 6px 20px;transition:transform .35s ease, box-shadow .35s ease}
.gallery .item:hover img{transform:scale(1.06); box-shadow:rgba(0,0,0,.5) 0 14px 34px}
.slider-buttons{position:absolute;top:50%;width:100%;display:flex;justify-content:space-between;transform:translateY(-50%);pointer-events:none}
.slider-buttons button{pointer-events:all;background:rgba(0,0,0,.35);border:none;color:#fff;font-size:2em;width:50px;height:50px;border-radius:50%;cursor:pointer}
@media (max-width:992px){.gallery .item{min-width:calc((100% - 2*16px)/3)}.gallery img{height:260px}}
@media (max-width:576px){.gallery .item{min-width:calc((100% - 1*12px)/2)}.gallery img{height:220px}}

/* ===== 7 Animals Row (videos in circles) ===== */
.circle-row{
  display:flex;flex-wrap:nowrap;gap:var(--gap);padding:16px;
  overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:thin
}
.circle-row::-webkit-scrollbar{height:8px}
.circle-row::-webkit-scrollbar-thumb{background:#c9c9c9;border-radius:999px}

.circle{
  flex:0 0 var(--size);
  width:900px;height:150px;
  overflow:hidden;position:relative;cursor:pointer;background:#ddd;
  box-shadow:0 6px 14px rgba(0,0,0,.12);
  transition:transform .35s ease, box-shadow .35s ease;
  opacity:0;transform:translateY(24px)
}
.circle video{width:100%;height:100%;object-fit:cover;display:block}
.circle:hover{transform:translateY(-6px) scale(1.04);box-shadow:0 16px 34px rgba(0,0,0,.22)}
.label{position:absolute;left:50%;bottom:-8px;transform:translateX(-50%);background:rgba(0,0,0,.65);color:#fff;font-size:12px;padding:3px 8px;border-radius:999px}

/* ===== Scroll Reveal Animations ===== */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease, transform .7s ease}
.reveal.show{opacity:1;transform:none}
.reveal[data-anim="fade-left"].show{transform:translateX(0)}
.reveal[data-anim="fade-right"].show{transform:translateX(0)}
.reveal[data-anim="fade-up"].show{transform:translateY(0)}
.reveal[data-anim="fade-down"].show{transform:translateY(0)}
/* initial offsets */
.reveal[data-anim="fade-left"]{transform:translateX(-40px)}
.reveal[data-anim="fade-right"]{transform:translateX(40px)}
.reveal[data-anim="fade-down"]{transform:translateY(-40px)}

/* small screens: smaller circles */
@media (max-width:520px){
  :root{--size:160px;--gap:16px}
}
.topbar {
  background: #62432c; /* matches your brownish theme */
  color: #fff;
  font-size: 14px;
  padding: 6px 0;
}
.topbar a {
  color: #fff;
  transition: color .3s;
}
.topbar a:hover {
  color: #fafafa; /* highlight on hover */
}
.topbar i {
  color: #ffffff; /* icons with golden accent */
}

.marquee-strip {
  background: #f8f8f8;
  color: #62432c;
  font-weight: 600;
  overflow: hidden;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.marquee {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  padding: 8px 0;
  font-size: 18px;
}

.marquee span {
  display: inline-block;
  padding-right: 60px;
}

.marquee-left {
  animation: scroll-left 48s linear infinite;
}
.marquee-right {
  animation: scroll-right 40s linear infinite;
}

@keyframes scroll-left {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}
@keyframes scroll-right {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.notify-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #62432c; /* matches your theme */
}

.notify-text i {
  color: #e80303;   /* red bell */
  font-size: 16px;
  animation: ring 1.5s infinite;
}

/* Ring animation for the bell */
@keyframes ring {
  0%   { transform: rotate(0); }
  15%  { transform: rotate(15deg); }
  30%  { transform: rotate(-15deg); }
  45%  { transform: rotate(10deg); }
  60%  { transform: rotate(-10deg); }
  75%  { transform: rotate(5deg); }
  90%  { transform: rotate(-5deg); }
  100% { transform: rotate(0); }
}
/* ===== Footer theme ===== */
.ibca-footer{position:relative;background:#63442d;color:#e9f1ea;overflow:hidden}
.ibca-wrap{max-width:1200px;margin:0 auto;padding:36px 20px 18px}

/* wave */
.ibca-wave{position:absolute;top:-1px;left:0;right:0;height:90px;filter:drop-shadow(0 -2px 10px rgba(0,0,0,.25))}
.ibca-wave svg{width:100%;height:100%}
@keyframes ibca-drift{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.ibca-wave .w1{animation:ibca-drift 24s linear infinite}
.ibca-wave .w2{animation:ibca-drift 36s linear infinite reverse}

/* newsletter card */
.ibca-news-card{
  max-width:780px;margin:0 auto;transform:translateY(-38px);
  background:#173d22;color:#fff;border-radius:14px;padding:20px 22px;box-shadow:0 14px 26px rgba(0,0,0,.28)
}
.ibca-news-card h3{font-family:"Playfair Display",serif;margin:0 0 10px;text-align:center}
.ibca-news-row{display:flex;gap:10px}
.ibca-news-row input{
  flex:1;padding:12px 14px;border-radius:10px;border:1px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.08);color:#fff;outline:none
}
.ibca-news-row input::placeholder{color:#d9e7db}
.ibca-news-row input:focus{border-color:#6fe3a7;box-shadow:0 0 0 6px rgba(111,227,167,.12)}
.ibca-news-row button{
  padding:12px 16px;border-radius:10px;border:0;font-weight:700;cursor:pointer;
  background:linear-gradient(90deg,#0f3a20,#2c6e3b);color:#fff;transition:transform .2s,filter .2s
}
.ibca-news-row button:hover{transform:translateY(-2px)}
.ibca-news-card small{display:block;margin-top:6px;opacity:.9}

/* brand & contact */
.ibca-brand{display:flex;gap:14px;align-items:center;margin-bottom:10px}
.ibca-brand img{width:200px;height:200px;object-fit:contain;}
.ibca-brand h4{margin:0;font-weight:700}
.ibca-brand h5{margin:2px 0 0;font-weight:700}
.ibca-contact{list-style:none;margin:16px 0;padding:0;display:grid;gap:10px}
.ibca-contact i{color:rgb(243, 243, 243);margin-right:8px}
.ibca-contact a{color:#fff;text-decoration:none;border-bottom:1px dashed transparent}
.ibca-contact a:hover{border-bottom-color:#fff}

/* links */
.ibca-head{font-family:"Playfair Display",serif;margin-bottom:12px}
.ibca-links{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.ibca-links a{color:#eef6f0;text-decoration:none;position:relative;padding-left:16px}
.ibca-links a:before{content:"›";position:absolute;left:0;color:rgb(255, 255, 255)}
.ibca-links a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}

/* social icons */
.ibca-social{display:flex;gap:10px;margin-top:10px}
.ibca-social a{
  width:36px;height:36px;display:grid;place-items:center;border-radius:50%;
  background:rgba(0,0,0,.15);color:#fff;border:1px solid rgba(255,255,255,.15);
  transition:transform .2s,border-color .2s,background .2s
}
.ibca-social a:hover{transform:translateY(-3px);border-color:#fff;background:rgba(0,0,0,.25)}

/* map */
.ibca-map{border-radius:10px;overflow:hidden;border:1px solid rgba(255,255,255,.25);box-shadow:0 10px 20px rgba(0,0,0,.25)}
.ibca-map iframe{width:100%;height:180px;border:0}

/* bottom bar */
.ibca-bottom{
  margin-top:24px;padding-top:12px;border-top:1px dashed rgba(255,255,255,.25);
  display:flex;gap:10px;justify-content:space-between;align-items:center;flex-wrap:wrap
}
.ibca-bottom a{color:#ffe6a2;text-decoration:none}
.ibca-bottom a:hover{text-decoration:underline}

/* back-to-top */
.ibca-to-top{
  position:fixed;right:22px;bottom:22px;width:56px;height:56px;border-radius:50%;
  background:#2f5e40;color:#fff;border:0;display:grid;place-items:center;
  box-shadow:0 12px 26px rgba(0,0,0,.35);cursor:pointer;opacity:0;pointer-events:none;
  transition:opacity .25s,transform .25s
}
.ibca-to-top.show{opacity:1;pointer-events:auto}
.ibca-to-top:hover{transform:translateY(-4px)}

/* reveal helper (works with your global IntersectionObserver) */
.ibca-footer .reveal{opacity:1;transform:none}
p{ text-align: justify;}


/* about us css start from here */
    .text-brand{ color:var(--brand)!important; }
    .text-justify{ text-align:justify; }
    .section-card{ background:rgba(0,0,0,.02); border:1px solid rgba(0,0,0,.06); border-radius:16px; }
    .video-wrap{ border-radius:16px; overflow:hidden; border:1px solid rgba(98,67,44,.25); }
    @media (min-width: 992px){ .sticky-lg{ position:sticky; top:24px; } }

.banner{
  /* image + sizing */
  background: url("../images/Group 84.png") center/cover no-repeat;
height: 200px;

  /* center the heading */
  display: grid;
  place-items: center;

  /* overlay for contrast */
  position: relative;
  color: #fff;
}
.banner::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35); /* darken image */
}
.banner > *{
  position: relative;          /* sit above overlay */
  z-index: 1;
}
.banner h1{
  margin: 0;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0,0,0,.45);
  color: white;
}


/* tiger page  */

.info-card .card-header { font-size: 18px; letter-spacing: 0.5px; background: #62432c; }
.info-card .card-body { font-size: 16px; color: #333; line-height: 1.6; }
.info-card { border-radius: 10px; transition: all 0.3s ease; }
.info-card:hover { transform: translateY(-4px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1); }

/* Taxonomy */
.taxonomy-box { background: #f6f6f6; border-left: 5px solid #62432c; border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1); font-size: 16px; color: #333; }
.taxonomy-row span { margin: 5px 10px; white-space: nowrap; }
.taxonomy-row strong { color: #62432c; }
@media (max-width: 768px){ .taxonomy-row { flex-direction: column; align-items: flex-start; } }

/* Preview thumbnails */
.preview{
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  cursor: zoom-in;
  transition: transform .25s ease, box-shadow .25s ease;
  margin: 8px;
}
.preview:hover{ transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }

/* Modal shell */
.img-modal{
  position: fixed; inset: 0;
  display: none; /* toggled via JS */
  align-items: center; justify-content: center;
  background: rgba(0,0,0,.7);
  padding: clamp(8px, 3vw, 24px);
  z-index: 1050;
}
.img-modal.is-open{ display: flex; }

/* Modal content */
.img-modal__content{
  position: relative;
  background: #111;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  overflow: hidden;
  max-width: min(95vw, 1400px);
  max-height: min(90vh, 900px);
  width: 100%;
  aspect-ratio: 16/9; /* remove if you want natural ratio */
}

/* Close button */
.img-modal__close{
  position: absolute; top: 8px; right: 8px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: #fff; border: 0; cursor: pointer;
  font-size: 22px; line-height: 36px; text-align: center;
  backdrop-filter: blur(4px);
  transition: background .2s ease, transform .2s ease;
  z-index: 2;
}
.img-modal__close:hover{ background: rgba(255,255,255,.25); transform: scale(1.05); }

/* Zoomed image */
#zoomedImage{
  width: 100%; height: 100%; object-fit: contain;
  transform-origin: center center;
  transform: scale(1);
  transition: transform .15s ease;
  cursor: zoom-out;
  user-select: none;
  -webkit-user-drag: none;
}



.card-header{ background:#62432c; }
.info-card { border-radius:10px; transition:.3s ease; }
.info-card:hover{ transform:translateY(-4px); box-shadow:0 6px 18px rgba(0,0,0,.1); }

.taxonomy-box{ background:#f6f6f6; border-left:5px solid #62432c; border-radius:8px; box-shadow:0 2px 8px rgba(0,0,0,.1); }
.taxonomy-row span{ margin:5px 10px; white-space:nowrap; }
.taxonomy-row strong{ color:#62432c; }

/* Map previews + modal */
.preview{ cursor:zoom-in; transition:transform .25s, box-shadow .25s; }
.preview:hover{ transform:translateY(-2px); box-shadow:0 10px 24px rgba(0,0,0,.18); }

.img-modal{ position:fixed; inset:0; display:none; align-items:center; justify-content:center; background:rgba(0,0,0,.7); padding:clamp(8px,3vw,24px); z-index:1050; }
.img-modal.is-open{ display:flex; }
.img-modal__content{ position:relative; background:#111; border-radius:12px; overflow:hidden; max-width:min(95vw,1400px); max-height:min(90vh,900px); width:100%; aspect-ratio:16/9; box-shadow:0 20px 60px rgba(0,0,0,.5); }
.img-modal__close{ position:absolute; top:8px; right:8px; width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.15); color:#fff; border:0; cursor:pointer; font-size:22px; line-height:36px; text-align:center; backdrop-filter:blur(4px); transition:background .2s, transform .2s; z-index:2; }
.img-modal__close:hover{ background:rgba(255,255,255,.25); transform:scale(1.05); }
#zoomedImage{ width:100%; height:100%; object-fit:contain; transform-origin:center center; transform:scale(1); transition:transform .15s ease; cursor:zoom-out; user-select:none; -webkit-user-drag:none; }

/* 
accordaton start from here */

  .accordion {
    width: 90%;
    max-width: 1000px;
    margin: 2rem auto;
  }

  .accordion-item {
    background-color: #63442d;
    color: white;
    margin: 1rem 0;
    border-radius: 0.5rem;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.25);
  }

  .accordion-item-header {
    padding: 0.5rem 3rem 0.5rem 1rem;
    min-height: 3.5rem;
    line-height: 1.25rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
  }

  .accordion-item-header::after {
    content: "\002B";
    font-size: 2rem;
    position: absolute;
    right: 1rem;
  }

  .accordion-item-header.active::after {
    content: "\2212";
  }

  .accordion-item-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
  }

  .accordion-item-body-content {
    padding: 1rem;
    line-height: 1.5rem;
    border-top: 1px solid;
    background-color: white;
    color: black;
    border-image: linear-gradient(to right, transparent, #fefeff, transparent) 1;
  }

  @media(max-width:767px) {
    html {
      font-size: 14px;
    }
  }

  /* become member */
  .ibca-card{
    position: relative;
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.25rem 1.25rem 1.1rem;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }
  .ibca-card:hover{
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(0,0,0,.10);
    border-color: rgba(36,79,41,.25);
  }

  .ibca-card-icon{
    flex: 0 0 56px;
    height: 56px;
    border-radius: 12px;
    background: #62432c;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
  }
  .ibca-card-icon i{
    font-size: 22px;
    line-height: 1;
  }

  .ibca-card-body{ flex: 1 1 auto; }
  .ibca-card-title{
    margin: 0 0 .25rem 0;
    font-weight: 700;
    color: #62432c;
  }

  /* Step badge */
  .ibca-step{
    position: absolute;
    top: -10px;
    right: -10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background:#62432c;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(0,0,0,.15);
  }

  /* Make headings consistent with your header color if you want */
  .card-header { background-color: #62432c; color: #fff; }

  /* Small screens */
  @media (max-width: 575.98px){
    .ibca-card{ padding: 1rem; }
    .ibca-card-icon{ flex-basis: 48px; height: 48px; border-radius: 10px; }
    .ibca-card-icon i{ font-size: 20px; }
    .ibca-step{ width: 32px; height: 32px; font-size: .9rem; }
  } 


  /* founding member css */

   /* Keep global resets minimal to avoid side-effects */
  .members-div .member-item .inner-div{
    gap: .75rem;
    padding: .75rem .875rem;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: .75rem;
    background: #fff;
    height: 100%;
    transition: transform .16s ease, box-shadow .16s ease;
  }
  .members-div .member-item .inner-div:hover{
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
  }
  .members-div .flag{
    width: 50px; height: 30px; flex: 0 0 auto;
    border-radius: 4px; overflow: hidden; border: 1px solid rgba(0,0,0,.06);
  }
  .members-div .flag img{
    width: 80%; height: 80%; object-fit: cover; display: block;
  }
  .members-div .country-name{
    font-weight: 600; line-height: 1.2;
    color: #63442d; /* deep green to match your palette */
    font-size: .98rem;
  }

  /* Section spacing (kept from your original) */ 
  section { padding: 60px 0; }

  /* Headings */
  .sec-title { margin-bottom: 10px; }
  .sec-title h2{
    font-size: 40px; line-height: 1.28; font-weight: 600; padding-bottom: 0;
    color: #222;
  }

  /* Optional: responsive downsize for smaller screens */
  @media (max-width: 575.98px){
    .sec-title h2{ font-size: 30px; }
    .members-div .country-name{ font-size: .95rem; }
  }

  /* observer countries */


  .country-list{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    justify-items: center;
  }
  @media (max-width:1199.98px){ .country-list{ grid-template-columns: repeat(5,1fr);} }
  @media (max-width:991.98px){  .country-list{ grid-template-columns: repeat(4,1fr);} }
  @media (max-width:767.98px){  .country-list{ grid-template-columns: repeat(3,1fr);} }
  @media (max-width:575.98px){  .country-list{ grid-template-columns: repeat(2,1fr);} }

  .country-card{
    width:100%;
    max-width:180px;
    text-decoration:none;
    color:inherit;
    background:#fff;
    border:1px solid rgba(0,0,0,.08);
    border-radius:14px;
    padding:12px 12px 14px;
    box-shadow:0 6px 18px rgba(0,0,0,.06);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  }
  .country-card:hover{
    transform: translateY(-3px);
    box-shadow:0 12px 26px rgba(0,0,0,.10);
    border-color: rgba(36,79,41,.25);
  }

  .flag-box{
    display:block;
    width:100%;
    aspect-ratio:4/3;
    border-radius:10px;
    overflow:hidden;
    background:#e6e6e6;
    border:1px solid #fff;
  }
  .flag-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #fff;
}

  .country-name{
    font-weight:700; color:#244f29; margin-top:10px; letter-spacing:.2px;
  }

  /* partner organisation css strat from here  */
 .partner-intro .card-header{
    background: var(--ibca-brown);
    color:#fff;
    font-weight:700;
    letter-spacing:.3px;
  }
  .partner-card{
    display:flex; gap:14px; align-items:center;
    padding:14px; border:1px solid rgba(0,0,0,.08); border-radius:14px; background:#fff;
    box-shadow:0 6px 18px rgba(0,0,0,.06);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  }
  .partner-card:hover{
    transform: translateY(-3px);
    box-shadow:0 12px 26px rgba(0,0,0,.10);
    border-color: rgba(98,67,44,.25);
  }
  .partner-logo{
    width:100px; height:100px; border-radius:12px; overflow:hidden; flex:0 0 64px;
    background:#f3f3f3; border:1px solid #fff; display:grid; place-items:center;
  }
  .partner-logo img{ width:100%; height:100%; object-fit:contain; display:block; }
  .partner-meta{ min-width:0; }
  .partner-name{
    margin:0 0 6px 0; font-weight:700; color:var(--ibca-brown);
    font-size:1rem; line-height:1.25; word-break:break-word;
  }
  .partner-country{
    background: rgba(36,79,41,.08); color: var(--ibca-green);
    font-weight:600;
  }
  @media (max-width:575.98px){
    .partner-logo{ width:56px; height:56px; flex-basis:56px; }
    .partner-name{ font-size:.98rem; }
  }


  /* assembly css start from here  */

   .assembly-card .card-header{
    background: var(--ibca-brown);
    color:#fff;
    font-weight:700;
    letter-spacing:.3px;
  }

  /* Styled checklist */
  .custom-list{
    list-style:none;
    margin:0;
    padding-left:0;
    display:grid;
    gap:.6rem;
  }
  .custom-list > li{
    position:relative;
    padding-left:1.9rem;
    line-height:1.6;
  }
  .custom-list > li::before{
    content:"";
    position:absolute; left:0; top:.2rem;
    width:1.15rem; height:1.15rem; border-radius:50%;
    background:rgba(98,67,44,.35);
    border:2px solid rgba(36,79,41,.35);
    box-shadow: inset 0 0 0 4px #fff;
  }
  .custom-list > li::after{
    content:"";
    position:absolute; left:.42rem; top:.55rem;
    width:.45rem; height:.25rem; border-left:2px solid var(--ibca-green); border-bottom:2px solid var(--ibca-green);
    transform:rotate(-45deg);
  }

  /* Nested list aligns under text, not under bullet */
  .custom-list .custom-list{
    padding-left:0;
    margin-top:.35rem;
  }
  .custom-list .custom-list > li::before{
    background:rgba(98,67,44,.1);
    border-color:rgba(98,67,44,.35);
  }
  .custom-list .custom-list > li::after{
    border-color: var(--ibca-brown);
  }

  /* Minor typography polish */
  .banner header p{ opacity:.9; }


  /* director general css start from here  */

   /* Card layout */
  .dg-card{
    display:grid;
    grid-template-columns: 380px 1fr;
    gap: 24px;
    background: var(--card-bg);
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0,0,0,.08);
    overflow: hidden;
  }
  @media (max-width: 992px){
    .dg-card{ grid-template-columns: 1fr; }
  }

  /* Media */
  .dg-media{
    position: relative;
    background: #f5f2ef;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
  }
  .dg-media img{
    width: 85%;
    max-width: 320px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
    transform: translateZ(0) translateY(30px);
    opacity: 0;
    animation: fadeUp .8s ease forwards;
    transition: transform .3s ease, box-shadow .3s ease;
  }
  .dg-media img:hover{
    transform: translateZ(0) scale(1.03);
    box-shadow: 0 10px 25px rgba(0,0,0,.2);
  }
  .dg-badge{
    position: absolute;
    left: 16px; top: 16px;
    background: linear-gradient(90deg, var(--ibca-brown), #7a5840);
    color: #fff; font-weight: 700; letter-spacing: .2px;
    padding: 6px 10px; border-radius: 999px; font-size: .85rem;
    box-shadow: 0 6px 14px rgba(0,0,0,.18);
  }

  /* Body */
  .dg-body{ padding: 20px 22px 24px; }
  .dg-header{ margin-bottom: 10px; }
  .dg-name{
    margin: 0;
    font-size: clamp(1.6rem, 2.2vw, 2rem);
    font-weight: 800;
    color: var(--ibca-brown);
    letter-spacing: .2px;
  }
  .dg-title{
    margin: 2px 0 10px 0;
    font-weight: 700;
    color: var(--ibca-green);
  }

  /* Meta */
  .dg-meta{
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-wrap: wrap; gap: 10px 16px;
    transform: translateX(-28px);
    opacity: 0;
    animation: fadeInLeft .9s ease .15s forwards;
  }
  .dg-meta li{
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(36,79,41,.06);
    color: #18321f;
    border: 1px solid rgba(36,79,41,.18);
    padding: 6px 10px; border-radius: 999px;
    font-weight: 600; font-size: .92rem;
  }
  .dg-meta li span{ font-size: 1rem; }

  /* Bio */
  .dg-bio{
    text-align: justify;
    line-height: 1.7;
    margin-top: 12px;
    transform: translateY(16px);
    opacity: 0;
    animation: fadeUp .8s ease .2s forwards;
  }

  /* Chips */
  .dg-highlights{
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-top: 16px;
  }
  .chip{
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f0ebe6;
    border: 1px solid rgba(98,67,44,.22);
    font-weight: 700; color: #5a3d29; font-size: .9rem;
  }

  /* Awards */
  .dg-awards{
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
    margin-top: 18px;
  }
  @media (max-width: 768px){
    .dg-awards{ grid-template-columns: 1fr; }
  }
  .award{
    display: flex; gap: 12px; align-items: center;
    padding: 10px 12px; border-radius: 12px;
    background: #fbfaf9;
    border: 1px solid rgba(0,0,0,.06);
  }
  .award .icon{
    font-size: 22px; display: inline-grid; place-items: center;
    width: 38px; height: 38px; border-radius: 12px;
    background: rgba(98,67,44,.08); color: var(--ibca-brown);
  }
  .award strong{ display:block; color: #2f2a27; }
  .award small{ color: #6d5a4d; }

  /* Animations */
  @keyframes fadeInLeft { to { opacity:1; transform: translateX(0); } }
  @keyframes fadeUp      { to { opacity:1; transform: translateY(0); } }
  
  
  /*FAQ STRT here*/
   .accordion {
        width: 90%;
        max-width: 1000px;
        margin: 2rem auto;
     
    }

    .accordion-item {
        background-color: #62432c
        color: white;
        margin: 1rem 0;
        border-radius: 0.5rem;
        box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.25);
    }

    .accordion-item-header {
        padding: 0.5rem 3rem 0.5rem 1rem;
        min-height: 3.5rem;
        line-height: 1.25rem;
        font-weight: bold;
        display: flex;
        align-items: center;
        position: relative;
        cursor: pointer;
    }

    .accordion-item-header::after {
        content: "\002B";
        font-size: 2rem;
        position: absolute;
        right: 1rem;
    }

    .accordion-item-header.active::after {
        content: "\2212";
    }

    .accordion-item-body {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.2s ease-out;
    }

    .accordion-item-body-content {
        padding: 1rem;
        line-height: 1.5rem;
        border-top: 1px solid;
        background-color: white;
        color: #62432c
        border-image: linear-gradient(to right, transparent, #fefeff, transparent) 1;
            text-align: left;
    }

    @media(max-width:767px) {
        html {
            font-size: 14px;
        }
    }
    
    /*gallery css start from here*/
    

  /* Thumbs inside carousels */
  .carousel-image{height:200px;object-fit:cover;width:100%;border-radius:8px}

  /* Global img behavior */
  .img-fluid{object-fit:cover}

  /* Cards / titles */
  
  .card{border:none;border-radius:12px;overflow:hidden;box-shadow:0 6px 18px rgba(0,0,0,.06);transition:transform .2s ease, box-shadow .2s ease}
  .card:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(0,0,0,.12)}
  .card-title{text-align: center;
    line-height: 1.25;
    /* display: -webkit-box; */
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 1.2rem;}

  /* Brand buttons */
  .btn-primary{background:#62432c;border-color:#62432c;border-radius:999px;font-weight:600}
  .btn-primary:hover{background:#3d281a;border-color:#3d281a}

  /* Horizontal scroller in Curtain Raiser */
  .gallery-img{height:250px;object-fit:cover;width:100%;border-radius:6px}
  
  
  /*contact us style*/
.real {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}



.connn {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-weight: bold;
  font-size: 3em;
  color: #62432c;
  position: relative;
}

.section-header h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #62432c;
  margin: 10px auto 0;
  border-radius: 2px;
}

.section-header p {
  color: #3c2a20;
  font-size: 1.1em;
  margin-top: 10px;
  line-height: 1.6em;
}

.row {
  display: flex;
  flex-wrap: wrap;

}

.cont-info {
  width: 48%;
}

.cont-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  background: #fff;
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(98, 67, 44, 0.15);
  transition: all 0.3s ease;
}

.cont-info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(98, 67, 44, 0.25);
}

.cont-info-icon {
  height: 70px;
  width: 70px;
  color: white;
  background-color: #62432c;
  text-align: center;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.cont-info-icon i {
  font-size: 28px;
  line-height: 70px;
}

.cont-info-content {
  margin-left: 20px;
}

.cont-info-content h4 {
  color: #62432c;
  font-size: 1.3em;
  margin-bottom: 5px;
}

.cont-info-content p {
  color: #333;
  font-size: 1em;
  margin: 5px 0;
}

.cont-info-content h6 {
  color: #7a5742;
  font-weight: bold;
  margin-top: 8px;
}

.cont-info-content a {
  text-decoration: none;
  color: #62432c;
}

.cont-info-content a:hover {
  text-decoration: underline;
}

.cont-form {
  background-color: #62432c;
  padding: 40px;
  width: 48%;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(98, 67, 44, 0.3);
  color: #fff;
}

.cont-form h2 {
  font-weight: bold;
  font-size: 2em;
  margin-bottom: 25px;
  text-align: center;
}

.cont-form .input-box {
  position: relative;
  width: 100%;
  margin-top: 20px;
}

.cont-form .input-box input,
.cont-form .input-box textarea {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  margin: 10px 0;
  border: none;
  border-bottom: 2px solid #d4b9a2;
  background: transparent;
  color: #fff;
  outline: none;
  resize: none;
  transition: border-color 0.3s;
}

.cont-form .input-box input:focus,
.cont-form .input-box textarea:focus {
  border-color: #fff;
}

.cont-form .input-box span {
  position: absolute;
  left: 0;
  padding: 6px 15px;
  font-size: 16px;
  pointer-events: none;
  transition: 0.4s ease;
  color: #f3e5da;
}

.cont-form .input-box input:focus ~ span,
.cont-form .input-box textarea:focus ~ span,
.cont-form .input-box input:valid ~ span,
.cont-form .input-box textarea:valid ~ span {
  font-size: 12px;
  transform: translateY(-18px);
  color: #fff;
}

.cont-form .input-box input[type="submit"] {
  background: #fff;
  color: #62432c;
  border: none;
  cursor: pointer;
  padding: 12px;
  font-size: 18px;
  border-radius: 8px;
  transition: 0.4s;
  margin-top: 15px;
}

.cont-form .input-box input[type="submit"]:hover {
  background: #d4b9a2;
  color: #fff;
}

@media (max-width: 991px) {
  .row {
    flex-direction: column;
  }

  .cont-info, .cont-form {
    width: 100%;
  }

  .cont-form {
    margin-top: 40px;
  }
}

/* gallery css*/
  .cz-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.85); display: none; align-items: center; justify-content: center; z-index: 1060; }
  .cz-overlay.open { display: flex; }
  .cz-overlay img { max-width: 90vw; max-height: 90vh; box-shadow: 0 10px 30px rgba(0,0,0,0.6); border-radius: 6px; }
  .carousel-inner img { cursor: default; }
  
  /* Make all cards equal height */
.gallery-item .card {
    height: 300px;          /* adjust if needed */
    display: flex;
    flex-direction: column;
}


/* Equal image height */
.gallery-item .card-img-top {
    height: 300px;          /* same height for all images */
    object-fit: cover;
    width: 100%;
}

.gallery-item .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 15px;
    gap: 10px;              
}

.gallery-item .card-title {
    font-size: 18px;
    margin-bottom: 4px;
}

.gallery-item .card-body .btn-primary {
    margin-top: auto !important;
}


/*index css*/
.ac-prev,
.ac-next {
  display: none !important;
}

/*itec css*/
 .event-card{
    background:var(--card);
    border-radius:var(--radius);
    overflow:hidden;
    border:1px solid var(--edge);
    box-shadow:var(--shadow);
    transition: transform .18s ease, box-shadow .18s ease;
  }
  .event-card:hover{
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }
  
  .img-wrap{
    position:relative;
    aspect-ratio: 16/9;          /* keeps image heights consistent */
    overflow:hidden;
  }
  .event-img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transform: scale(1.02);
    transition: transform .25s ease;
  }
  .event-card:hover .event-img{
    transform: scale(1.06);
  }

  .img-gradient{
    position:absolute;
    inset:0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.35) 100%);
    pointer-events:none;
  }
  
  .date-badge{
    position:absolute;
    left:14px;
    bottom:14px;
    background: rgba(255,255,255,.92);
    color: var(--brand);
    border: 1px solid rgba(36,79,41,.18);
    backdrop-filter: blur(6px);
    padding: 6px 10px;
    font-weight:700;
    font-size:.9rem;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
  }
  
  /* Side boxes match card height */
.side-box {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: .2s ease;
}

.side-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.side-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
/* ===== Card ===== */
 


  .event-body{
    padding: 20px 18px 22px;
  }
  .event-title{
    color: var(--ink);
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 .35rem;
  }
  .event-meta{
    color: var(--muted);
    margin: 0 0 1rem;
  }

  .event-actions{
    display:flex;
    gap:.6rem;
    justify-content:center;
    flex-wrap:wrap;
  }
  .event-btn{
    min-width: 160px;
  }
   /* ===== Modal ===== */
  .event-modal .modal-title{
    color: var(--brand);
    font-size: 1.2rem;
    letter-spacing:.2px;
  }
  .event-modal .modal-body{
    padding-top: 0;
  }
  .modal-scroll{
    max-height: 420px;
    overflow-y: auto;
    padding-right: .25rem;
  }
  .modal-scroll p{
    color: var(--ink);
  }

/*MAGAZINE CSS*/
.btn-custom {
        background-color: #62432c;
        color: white;
        font-weight: bold;
        border-radius: 25px;
        padding: 10px 30px;
        border: none;
        transition: all 0.3s ease;
        font-size: 16px;
    }

    .btn-custom:hover {
        background-color: #503422;
        color: #fff;
    }
    
    /* Popup Styling */
    .popup-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
    }

    .popup {
        background: #fff;
        padding: 25px;
        width: 350px;
        border-radius: 10px;
        text-align: center;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    }

    .popup h2 {
        color: #62432c;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .popup input[type="text"],
    .popup input[type="email"] {
        width: 100%;
        padding: 10px;
        margin: 10px 0;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    .popup input[type="submit"] {
        background: #62432c;
        color: #fff;
        border: none;
        padding: 10px 15px;
        cursor: pointer;
        border-radius: 5px;
        width: 100%;
        font-size: 16px;
        transition: background 0.3s ease;
    }

    .popup input[type="submit"]:hover {
        background: #503422;
    }
        .box {
        border: 1px solid #ddd;
        padding: 20px;
        text-align: center;
        border-radius: 10px;
        transition: all 0.3s ease;
    }

    .box:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px #62432c;;
  }

    /* MISSION CSS*/
    .objectives-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 1.15rem;
    font-weight: 600;
    color: #4a4a4a;
  }
  .objectives-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .35em;
    width: 6px;
    height: 1.2em;
    border-radius: 2px;
    background: var(--brand, #62432c); /* fallback color */
    opacity: .9;
  }
    
  .object-fit-cover {
    object-fit: cover;
    height: 100%;
  }
  .rounded-4 { border-radius: 1rem; }
  
  /*NEWS CSS*/
   .news-thumb{
    width:100%;
    height:300px;           /* uniform thumbnails */
    object-fit:cover;
    display:block;
    background:#f5f2ef;
  }
  
  
  .page-link { color: #62432c; }
  .page-link:hover { color: #3d281a; }
  .pagination .page-item.active .page-link{
    background:#62432c; border-color:#62432c; color:#fff;
  }
  
  /*OBJECTIVE CSS*/
  /* Wrapper to control hover popup */
.image-popup-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
}

/* BIG popup image (Hover Preview) */
.popup-image {
  position: absolute;
  top: 50%;
  left: 110%;                        /* popup on right side */
  transform: translateY(-50%) scale(0.7);
  width: 520px;                      /* BIG SIZE */
  max-width: 520px;
  opacity: 0;
  pointer-events: none;
  border-radius: 14px;
  transition: all 0.35s ease;
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
  z-index: 999;
}

/* Hover: Show popup */
.image-popup-wrapper:hover .popup-image {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

/*PRESS CSS*/

  .card-press {
    border-radius: 14px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
    background: #fff;
  }

  .card-press:hover,
  .card-press:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(98, 67, 44, 0.18);
  }

  .card-press .card-body {
    padding: 1.35rem;
  }
  

  .btn-outline-brown {
    border: 1.5px solid var(--ibca-brown);
    color: var(--ibca-brown);
    font-weight: 600;
    border-radius: 8px;
    padding: .6rem .75rem;
    transition: all 0.25s ease;
  }

  .btn-outline-brown:hover,
  .btn-outline-brown:focus {
    background: var(--ibca-brown);
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(98, 67, 44, 0.25);
  }
  

  .badge {
    font-size: .75rem;
    padding: .45rem .65rem;
    border: 1px solid rgba(98, 67, 44, 0.2);
    background: #fff8f3;
    color: var(--ibca-brown);
  }

  .press-releases .display-5 {
    letter-spacing: -0.5px;
  }
  
  /*RANGE COUNTRIES CSS*/
   .map-zoom-frame{
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
    cursor: zoom-in;
    /* optional fixed height — remove if you want natural height */
    /* max-height: 70vh; */
  }
  #mapImage{
    display: block;
    width: 100%;
    height: auto;
    transform-origin: center center;
    transform: scale(1);
    transition: transform .15s ease;
    user-select: none;
    -webkit-user-drag: none;
  }
  @media (prefers-reduced-motion: reduce){
    #mapImage{ transition: none; }
  }
  
  /*SECRETARIAT CSS*/
  .secretariat-section {
    background: radial-gradient(1200px 600px at 10% -10%, rgba(98,67,44,.05), transparent 60%),
                radial-gradient(900px 500px at 110% 10%, rgba(36,79,41,.05), transparent 55%),
                #faf8f6;
 
  }

  .text-secretariat-brown { color: #62432c; }

  .secretariat-subtitle {
    margin-top: .25rem;
    color: rgba(0,0,0,.6);
    font-weight: 600;
    letter-spacing: .2px;
  }

  /* Callout Box */
  .secretariat-callout {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-left: 6px solid #62432c;
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: 0 10px 24px rgba(0,0,0,.06);
  }

  .secretariat-callout-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #fff;
    background: #62432c;
    border-radius: 10px;
    flex: 0 0 42px;
    box-shadow: 0 6px 14px rgba(0,0,0,.1);
  }

  /* Card Style */
  .secretariat-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    padding: 14px;
    height: 100%;
    box-shadow: 0 8px 22px rgba(0,0,0,.06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }

  .secretariat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(0,0,0,.10);
    border-color: rgba(98,67,44,.22);
  }

  .secretariat-card-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: grid;
    place-items: center;
    color: #fff;
    background: #62432c;
    border-radius: 12px;
  }

  .secretariat-card-icon i { font-size: 20px; }

  .secretariat-card-body { min-width: 0; }

  .secretariat-card-title {
    margin: 0 0 4px 0;
    color: #62432c;
    font-weight: 800;
    letter-spacing: .2px;
  }

  .secretariat-card-body p {
    color: #2b2b2b;
    line-height: 1.55;
    margin: 0;
    text-align: justify;
  }

  @media (max-width: 768px) {
    .secretariat-callout { padding: 14px; }
    .secretariat-card { padding: 12px; }
  }
  
  /*STEERING COMMITTEE CSS*/
  .sc-section { background: #fff; }
  .sc-copy p { text-align: justify; line-height: 1.75; margin-bottom: 12px; }

  .sc-btn i { margin-right: 6px; }

  .sc-hero {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 10px 26px rgba(0,0,0,.08);
    background: #f7f7f7;
  }
  .sc-hero img {
    display: block;
    height: auto;
    object-fit: cover;
  }

  /* Carousel grid inside each slide */
  .sc-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, 1fr);
  }
  @media (max-width: 991.98px) { .sc-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 575.98px) { .sc-grid { grid-template-columns: 1fr; } }

  .sc-thumb {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #eaeaea;
    border: 1px solid #fff;
    box-shadow: 0 8px 18px rgba(0,0,0,.06);
  }
  .sc-thumb img {
    width: 100%; height: 240px; object-fit: cover; display: block;
    transition: transform .35s ease;
  }
  .sc-thumb:hover img { transform: scale(1.03); }
  
  /*TEAM CSS*/
  
  .team-sectio {
      display: flex;
      justify-content: center;
    }
    
    .imgbox {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom: 15px;
    }
    
    .contentBox h3 {
      font-size: 16px;
      font-weight: 600;
      color: #2d2d2d;
      margin: 10px 0 4px;
      line-height: 1.3;
    }

    .contentBox span {
      font-size: 11px;
      font-weight: 400;
      color: #3b3b3b;
    }

    /* Optional hover text color */
    .card:hover .contentBox h3 {
      color: #000;
    }
       
.cont {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.team-sectio {
  text-align: center;
  margin-top: 50px;
}

/* Container for cards */
.cont {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px; /* controls the spacing between cards */
  margin-top: 30px;
}
  /* SHOW/HIDE */
.profile-modal{ 
  position: fixed; inset: 0;
  display: none; align-items: center; justify-content: center;
  padding: 24px; z-index: 9999;
}
.profile-modal[aria-hidden="false"]{ display: flex; }

/* BACKDROP */
.profile-modal__backdrop{
  position: absolute; inset: 0;
  background: rgba(0,0,0,.6);
}

/* FIXED-SIZE DIALOG (content scrolls inside) */
.profile-modal__dialog{
  position: relative;
  background: #fff;
  border-radius: 12px;
  width: min(1000px, 95vw);         /* fixed-ish width */
  height: min(55vh, 500px);         /* fixed-ish height */
  overflow: hidden;                 /* contain internal scrolls */
  display: grid;
  grid-template-columns: 1fr 360px; /* left content, right image */
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
}

/* SCROLL ONLY THE BODY */
.profile-modal__body{
  padding: 24px;
  overflow: auto;                   /* <— internal scroll here */
}

/* IMAGE PANE */
.profile-modal__media{
  overflow: hidden;
}
.profile-modal__media img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* CLOSE BTN */
.profile-modal__close{
  position: absolute; top: 10px; right: 10px;
  border: 0; background: #fff; cursor: pointer;
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 22px; line-height: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

/* Responsive: stack on small screens */
@media (max-width: 900px){
  .profile-modal__dialog{
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 240px; /* content on top, image bottom */
    height: min(85vh, 820px);
  }
  .profile-modal__media{ max-height: 240px; }
}

@media (max-width: 767.98px){
    .team-sectio {
        flex-wrap: wrap;
        padding: 35px 0;
    }
}

.team-sectio .card {
  margin: 15px;
}

/*VISION CSS*/
  #ibca-objective {
    background-color: #62432c45; /* Soft purple overlay */
  }



  /* Ensure proper spacing for text on small screens */
  @media (max-width: 991px) {
    #ibca-objective .col-lg-7 {
      padding: 1.5rem;
    }
  }
  
  /*WHY WORK WITH US CSS*/
  
.section-title h1 {
  color: #62432c;
  font-weight: 700;
  position: relative;
}

.underline {
  width: 100px;
  height: 4px;
  background-color: #62432c;
  border-radius: 3px;
  margin-top: 10px;
}

.why-content {
  background-color: #fff;
  border-left: 6px solid #62432c;
  line-height: 1.8;
  color: #2b1d14;
  font-size: 1.05rem;
  transition: all 0.3s ease-in-out;
}

.why-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(98, 67, 44, 0.25);
}

.why-content p {
  text-align: justify;
  margin-bottom: 1.2rem;
}

/* === Marquee Bar === */
.job-marquee {
  background-color: #62432c;
  color: #fff;
  padding: 12px 0;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0;
  letter-spacing: 0.5px;
  display: block;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.job-marquee strong {
  color: #f4d8b5;
}

.job-alert-icon {
  margin-left: 10px;
  animation: ring 1.5s infinite;
}

/* === Bell Animation === */
@keyframes ring {
  0% { transform: rotate(0); }
  10% { transform: rotate(15deg); }
  20% { transform: rotate(-10deg); }
  30% { transform: rotate(5deg); }
  40% { transform: rotate(-5deg); }
  50% { transform: rotate(0); }
  100% { transform: rotate(0); }
}

/* === Responsive === */
@media (max-width: 768px) {
  .section-title h1 {
    font-size: 2.2rem;
  }
  .why-content {
    padding: 25px;
  }
  .job-marquee {
    font-size: 1rem;
  }
}
/*upcoming event*/

  
/* Force row to stretch columns equally */
.events-grid {
  align-items: stretch;
}

/* Make each column flex so card fills full height */
.events-grid > [class*="col-"] {
  display: flex;
}

/* Card setup */
.event-card {
  width: 100%;
  height: 100%;              /* KEY: same height */
  min-height: 260px;         /* optional – keeps visual balance */
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  padding: 24px;

  display: flex;
  flex-direction: column;
  justify-content: space-between; /* arrow sticks to bottom */

  transition: all 0.3s ease;
}

.event-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transform: translateY(-3px);
}

/* Date row */
.event-date-row {
  display: flex;
  align-items: center;
  border-bottom: 2px solid #A35512;
  padding-bottom: 6px;
  margin-bottom: 14px;
}

.event-date-row i {
  color: #A35512;
  font-size: 18px;
  margin-right: 8px;
}

.event-date {
  font-size: 14px;
  font-weight: 600;
  color: #A35512;
}

/* Title */
.event-title {
  font-size: 16px;
  font-weight: 700;
  color: #333;
}

.real {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

section {
  position: relative;
  z-index: 3;
  padding-top: 50px;
  padding-bottom: 50px;
}

.connn {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-weight: bold;
  font-size: 3em;
  color: #62432c;
  position: relative;
}

.section-header h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #62432c;
  margin: 10px auto 0;
  border-radius: 2px;
}

.section-header p {
  color: #3c2a20;
  font-size: 1.1em;
  margin-top: 10px;
  line-height: 1.6em;
}

.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.cont-info {
  width: 48%;
}

.cont-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  background: #fff;
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(98, 67, 44, 0.15);
  transition: all 0.3s ease;
}

.cont-info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(98, 67, 44, 0.25);
}

.cont-info-icon {
  height: 70px;
  width: 70px;
  color: white;
  background-color: #62432c;
  text-align: center;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.cont-info-icon i {
  font-size: 28px;
  line-height: 70px;
}

.cont-info-content {
  margin-left: 20px;
}

.cont-info-content h4 {
  color: #62432c;
  font-size: 1.3em;
  margin-bottom: 5px;
}

.cont-info-content p {
  color: #333;
  font-size: 1em;
  margin: 5px 0;
}

.cont-info-content h6 {
  color: #7a5742;
  font-weight: bold;
  margin-top: 8px;
}

.cont-info-content a {
  text-decoration: none;
  color: #62432c;
}

.cont-info-content a:hover {
  text-decoration: underline;
}

.cont-form {
  background-color: #62432c;
  padding: 40px;
  width: 48%;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(98, 67, 44, 0.3);
  color: #fff;
}

.cont-form h2 {
  font-weight: bold;
  font-size: 2em;
  margin-bottom: 25px;
  text-align: center;
}

.cont-form .input-box {
  position: relative;
  width: 100%;
  margin-top: 20px;
}

.cont-form .input-box input,
.cont-form .input-box textarea {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  margin: 10px 0;
  border: none;
  border-bottom: 2px solid #d4b9a2;
  background: transparent;
  color: #fff;
  outline: none;
  resize: none;
  transition: border-color 0.3s;
}

.cont-form .input-box input:focus,
.cont-form .input-box textarea:focus {
  border-color: #fff;
}

.cont-form .input-box span {
  position: absolute;
  left: 0;
  padding: 6px 15px;
  font-size: 16px;
  pointer-events: none;
  transition: 0.4s ease;
  color: #f3e5da;
}

.cont-form .input-box input:focus ~ span,
.cont-form .input-box textarea:focus ~ span,
.cont-form .input-box input:valid ~ span,
.cont-form .input-box textarea:valid ~ span {
  font-size: 12px;
  transform: translateY(-18px);
  color: #fff;
}

.cont-form .input-box input[type="submit"] {
  background: #fff;
  color: #62432c;
  border: none;
  cursor: pointer;
  padding: 12px;
  font-size: 18px;
  border-radius: 8px;
  transition: 0.4s;
  margin-top: 15px;
}

.cont-form .input-box input[type="submit"]:hover {
  background: #d4b9a2;
  color: #fff;
}

@media (max-width: 991px) {
  .row {
    flex-direction: column;
  }

  .cont-info, .cont-form {
    width: 100%;
  }

  .cont-form {
    margin-top: 40px;
  }
}

.payment-card {
    transition: all 0.3s ease;
    border-radius: 12px;
  }

  .text-muted {
    color: #62432c !important;
  }

  .payment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 2rem rgba(0,0,0,0.15);
  }
  
    /* PRESS SECTION */
.press-section{
  padding:30px 0;
}

.press-title{
  font-size:36px;
  font-weight:700;
  color:var(--ibca-brown);
}

/* TABS */
.press-tabs{
  border-bottom:none;
}

.press-tabs .nav-link{
  border:none;
  border-radius:40px;
  padding:12px 26px;
  font-weight:600;
  font-size:15px;
  color:#fff;
  background:var(--ibca-green);
  margin-left:10px;
  transition:all .3s ease;
}

.press-tabs .nav-link.active{
  background:var(--ibca-brown);
}

.press-tabs .nav-link:hover{
  opacity:.9;
}

/* DIVIDER */
.press-divider{
  margin-top:18px;
  height:2px;
  width:100%;
  background:var(--ibca-brown);
}

   /* ===== Overlay ===== */
.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  visibility: hidden;
  opacity: 0;
  transition: 0.3s;
  z-index: 999;
}

.overlay.active {
  visibility: visible;
  opacity: 1;
}

/* ===== Popup ===== */
/* Popup container – ONLY for positioning */
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;

  /* REMOVE THESE if you have them:
     background, padding, border-radius, box-shadow */
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  display: none;
}

.popup[aria-hidden="false"] {
  display: block;
}

/* Actual modal box */
.popup-content {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  width: 200%;
  max-width: 1300px;   /* ADJUST HERE */
  margin: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  position: relative;
}

.close-btn {
  font-size: 24px;
  background: none;
  border: none;
  position: absolute;
  top: 10px; right: 15px;
  cursor: pointer;
}


  .section-title {
    margin: 0;
    font-weight: 800;
    letter-spacing: .2px;
    color: var(--brand);
  }

  .section-subtitle {
    margin: .35rem 0 0;
    color: var(--muted);
  }

  .event-card {
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--edge);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }

  .event-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(36, 79, 41, .18);
  }

  .img-wrap {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
  }

  .event-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform .25s ease;
  }

  .event-card:hover .event-img {
    transform: scale(1.07);
  }

  .img-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .35) 100%);
    pointer-events: none;
  }

  .date-badge {
    position: absolute;
    left: 14px;
    bottom: 14px;
    background: rgba(255, 255, 255, .96);
    color: var(--brand);
    border: 1px solid rgba(36, 79, 41, .18);
    backdrop-filter: blur(6px);
    padding: 6px 10px;
    font-weight: 700;
    font-size: .9rem;
    border-radius: 10px;
    box-shadow: 0 10px 18px rgba(0, 0, 0, .14);
  }

  .event-body {
    padding: 18px 18px 22px;
  }

  .event-title {
    color: var(--ink);
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 .35rem;
    word-break: break-word;
  }

  .event-meta {
    color: var(--muted);
    margin: 0 0 1rem;
    min-height: 40px;
    /* keeps rows even */
  }

  .event-btn {
    min-width: 160px;
  }

  /* Buttons */
  .btn-primary {
    background: #62432c;
    border: none;
    font-weight: 700;
    border-radius: 999px;
    box-shadow: 0 12px 22px rgba(36, 79, 41, .20);
  }


  /* Modal polish */
  .modal-content {
    border-radius: 16px;
  }

  .modal-header .modal-title {
    color: var(--brand);
    font-weight: 800;
  }

  .modal-header {
    border: 0;
  }

  .modal-footer {
    border: 0;
  }

  .btn-close {
    outline: none !important;
  }

  /* Accessibility helpers */
  .event-card:focus-within {
    outline: 2px solid var(--brand-2);
    outline-offset: 2px;
  }

  /* Optional: subtle logo animation from your original */
  .logo-container {
    text-align: center;
  }

  .logo {
    width: 200px;
    animation: bounce 2s infinite ease-in-out;
  }

  @keyframes bounce {

    0%,
    100% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(-4px);
    }
  }

  /* Small screens spacing */
  @media (max-width: 576px) {
    .event-meta {
      min-height: auto;
    }
  }

  /* Respect reduced motion */
  @media (prefers-reduced-motion: reduce) {

    .event-card,
    .event-img {
      transition: none !important;
    }
  }
  
  .payment-card {
    transition: all 0.3s ease;
    border-radius: 12px;
  }
  .text-muted { color: #62432c !important; }
  .payment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 2rem rgba(0,0,0,0.15);
  }
  
   .events-grid { display:flex; flex-wrap:wrap; }
  .events-grid > div { display:flex; }

  .event-card {
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:12px;
    padding:24px;
    transition:0.3s ease;
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
  }

  .event-card:hover {
    box-shadow:0 6px 20px rgba(0,0,0,0.15);
  }

  .event-date-row {
    border-bottom:2px solid #A35512;
    padding-bottom:6px;
    margin-bottom:16px;
    display:flex;
    align-items:center;
  }

  .event-date-row i {
    font-size:18px;
    color:#A35512;
    margin-right:8px;
  }

  .event-date {
    font-size:20px;
    font-weight:600;
    color:#A35512;
  }

  .event-title {
    font-size:18px;a
    font-weight:700;
    color:#333;
  }

  .event-arrow {
    width:36px;
    height:36px;
    border:2px solid #A35512;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#A35512;
    font-size:18px;
    cursor:pointer;
    background:#fff;
  }