
/*   header  */


:root{
  --maroon:#7a0000;
  --dark:#1f2328;
  --gold:#c59d32;
  --accent:#ffd24c;
}

/* reset / remove white gaps */
html,body,header { margin:0; padding:0; }
*,*::before,*::after { box-sizing:border-box; }

/* TOP BAR */
.top-nav{
  background:var(--maroon);
  color:#fff;
  padding:10px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.top-left { display:flex; align-items:center; gap:12px; }
.top-left img { height:55px; background:#fff; padding:3px; border-radius:6px; }

/* center quick buttons */
.center-buttons { display:flex; gap:10px; }
.center-btn {
  background:#fff; color:var(--maroon);
  padding:8px 14px; border-radius:6px; font-weight:700; text-decoration:none;
  transition:all .18s ease;
}
.center-btn:hover { background:var(--maroon); color:#fff; border:2px solid #fff; }

/* social icons */
.social-icons { display:flex; gap:8px; align-items:center; }
.social-icons img { width:28px; height:28px; border-radius:50%; cursor:pointer; transition:transform .18s; }
.social-icons img:hover { transform:scale(1.12); }

/* marquee */
.marquee-bar { background:#5a0000; padding:6px 0; }
.marquee-bar marquee { color:#fff; font-weight:600; }

/* MAIN NAV */
.main-nav { background:var(--dark); border-bottom:3px solid var(--gold); width:100%; }
.nav-inner {
  max-width:1400px; margin:0 auto; padding:10px 20px;
  display:flex; align-items:center; justify-content:center; position:relative;
}

/* home button fixed left */
.home-btn {
  position:absolute; left:18px; color:#fff; font-size:28px; text-decoration:none;
}

/* menu centered */
.menu-list { list-style:none; display:flex; gap:36px; margin:0; padding:0; align-items:center; }
.menu-list > li { position:relative; }
.menu-list > li > a { color:#fff; text-decoration:none; font-weight:600; padding:8px 0; cursor:pointer; }

/* dropdown panel - anchored directly below trigger (no gap) */
.dropdown-content {
  position:absolute;
  top:calc(100% + 6px);         /* directly below parent, avoids gap */
  left:50%;
  transform:translateX(-50%);
  min-width:220px;
  background:#fff;
  border-radius:8px;
  padding:6px 0;
  box-shadow:0 12px 30px rgba(0,0,0,.22);
  opacity:0;
  visibility:hidden;
  pointer-events:none;          /* disable when hidden */
  transition:opacity .16s ease, visibility .12s ease;
  z-index:99999;
}

/* items */
.dropdown-content li a {
  display:block;
  padding:10px 14px;
  color:#111;
  text-decoration:none;
}
.dropdown-content li a:hover { background:var(--maroon); color:#fff; }

/* show using class or hover - keep pointer events enabled only when visible */
.dropdown.open > .dropdown-content,
.menu-list > li:hover > .dropdown-content,
.dropdown-content:hover {
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

/* small caret spacing */
.menu-list > li > a::after { content:" ▾"; font-size:12px; margin-left:6px; }

/* mobile: stack and make clickable */
@media (max-width:900px){
  .nav-inner { flex-direction:column; gap:10px; padding-bottom:14px; }
  .home-btn { left:10px; top:8px; }
  .menu-list { flex-wrap:wrap; justify-content:center; gap:14px; }
  .dropdown-content { left:50%; transform:translateX(-50%); top:calc(100% + 6px); }
}

/* accessibility focus styles */
.menu-list a:focus { outline:3px solid rgba(197,157,50,.22); outline-offset:2px; border-radius:4px; }







@media (max-width: 900px){

  .menu-toggle{
    display:block;
  }

  /* MENU CLOSED BY DEFAULT */
  .menu-list{
    display:none;
    flex-direction:column;
    width:100%;
    background:var(--dark);
    padding:10px 0;
  }

  /* OPEN ONLY WHEN TOGGLED */
  .menu-list.show{
    display:flex;
  }

  .menu-list > li{
    width:100%;
    text-align:center;
  }

  .menu-list > li > a{
    display:block;
    padding:12px 0;
  }

  /* DROPDOWNS CLOSED BY DEFAULT */
  .dropdown-content{
    display:none;
    position:static;
    transform:none;
    box-shadow:none;
    border-radius:0;
  }

  /* OPEN DROPDOWN ON TAP */
  .dropdown.open > .dropdown-content{
    display:block;
  }
}
/* ===================== SIMPLE RESPONSIVE CAROUSEL ===================== */

.simple-carousel2{
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* slider wrapper */
.sc-wrapper{
  display: flex;
  transition: transform 0.6s ease-in-out;
}

/* each slide */
.sc-slide{
  min-width: 100%;
}

/* image */
.sc-slide img{
  width: 100%;
  height: 520px;               /* DESKTOP HEIGHT */
  object-fit: cover;
  display: block;
}

/* navigation buttons */
.sc-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  font-size: 28px;
  padding: 10px 14px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}

.sc-prev{ left: 15px; }
.sc-next{ right: 15px; }

/* ================= MOBILE FIX ================= */
@media (max-width: 768px){

  .sc-slide img{
    height: 230px;           /* MOBILE HEIGHT */
    object-fit: cover;
  }

  .sc-btn{
    font-size: 20px;
    padding: 6px 10px;
    background: rgba(0,0,0,0.35);
  }

  .sc-prev{ left: 8px; }
  .sc-next{ right: 8px; }
}

/* ===================== NEW ABOUT SECTION ===================== */
.about-section-new {
    padding: 80px 8%;
    background: #f8f2e3;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    animation: fadeSlideUp 1s ease forwards;
}

/* Left Side Text */
.about-left {
    flex: 1;
}

.about-title {
    font-size: 38px;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 20px;
    position: relative;
}

.about-title::after {
    content: "";
    width: 90px;
    height: 5px;
    background: #c59d32;
    position: absolute;
    bottom: -10px;
    left: 0;
    border-radius: 3px;
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}

/* ===================== READ MORE BUTTON ===================== */
.about-readmore-btn {
    display: inline-block;
    padding: 10px 28px;
    background: #c59d32;
    color: white;
    font-size: 17px;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 12px;
    transition: .3s ease;
    box-shadow: 0 5px 18px rgba(0,0,0,0.15);
}

.about-readmore-btn:hover {
    background: #a88429;
    transform: translateY(-3px);
}


/* ================= MOBILE RESPONSIVE FIX ================= */
@media (max-width: 768px){

  .about-section-new{
    flex-direction: column;
    padding: 20px 15px;
  }

  .about-left,
  .about-right{
    width: 100%;
  }

  .about-title{
    font-size: 22px;
    line-height: 1.3;
    text-align: center;
  }

  .about-text{
    font-size: 14px;
    line-height: 1.6;
    text-align: justify;
  }

  .about-readmore-btn{
    display: inline-block;
    margin: 15px auto 0;
  }

  /* Video fix */
  .video-card{
    width: 100%;
    margin-top: 20px;
  }

  .video-card video{
    width: 100%;
    height: auto;
    border-radius: 10px;
  }
}

/* ===================== RIGHT VIDEO CARD ===================== */

 .video-card {
  max-width: 900px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  background: #fff;
}

.video-card video {
  width: 100%;
  height: auto;
  display: block;
}
/* ===================== MENTORS + NEWS WRAPPER BORDER ===================== */


/* =====================================================
   MENTORS + NEWS : MOBILE RESPONSIVE FIX
===================================================== */

/* SECTION STACKING */
@media (max-width: 768px){

  .mentors-section-new{
    display: flex;
    flex-direction: column;
    padding: 20px 15px;
    gap: 30px;
  }

  /* LEFT + RIGHT FULL WIDTH */
  .mentors-left,
  .news-box-new{
    width: 100%;
  }

  /* HEADINGS */
  .mentors-heading{
    font-size: 22px;
    text-align: center;
  }

  .mentors-sub{
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
  }

  /* ================= MENTOR CARDS ================= */

  .mentor-grid{
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .mentor-card{
    width: 100%;
    height: auto;
  }

  /* Disable flip on mobile (VERY IMPORTANT) */
  .mentor-inner{
    transform: none !important;
  }

  .mentor-front,
  .mentor-back{
    position: static;
    transform: none;
    backface-visibility: visible;
    border-radius: 12px;
  }

  .mentor-front img{
    width: 100%;
    height: auto;
    border-radius: 12px;
  }

  .mentor-back{
    padding: 15px;
    margin-top: 10px;
    background: #fff;
    text-align: center;
  }

  .mentor-back h3{
    font-size: 18px;
  }

  .mentor-back p{
    font-size: 14px;
    line-height: 1.5;
  }

  .see-more-btn{
    display: inline-block;
    margin-top: 10px;
  }

  /* ================= NEWS SECTION ================= */

  .news-title-new{
    font-size: 20px;
    text-align: center;
  }

  .news-list-new{
    max-height: none;
  }

  .news-item-new{
    padding: 12px;
    border-radius: 8px;
  }

  .news-text-box p{
    font-size: 14px;
    line-height: 1.5;
  }

  .news-pdf{
    font-size: 12px;
  }
}

.mentors-section-new {
    display: flex;
    justify-content: space-between;
    padding: 70px 8%;
    background: #f8f2e3;
    gap: 50px;

    border: 3px solid #d2b56f;    /* NEW BORDER */
    border-radius: 18px;          /* Smooth round edges */
    padding: 60px 7%;             /* adjusted padding so layout does NOT shift */
    box-shadow: 0 10px 30px rgba(0,0,0,0.10); /* premium look */
}


/* ===================== LEFT SIDE ===================== */
.mentors-left { flex: 1; }

.mentors-heading {
    font-size: 36px;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 10px;
}

.mentors-sub {
    font-size: 18px;
    color: #555;
    margin-bottom: 35px;
}

/* Mentor flip cards */
.mentor-grid {
    display: flex;
    gap: 35px;
}

.mentor-card {
    width: 400px;
    height: 400px;
    perspective: 1000px;
}

.mentor-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform .8s;
    transform-style: preserve-3d;
}

.mentor-card:hover .mentor-inner {
    transform: rotateY(180deg);
}

.mentor-front, .mentor-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
}

/* Front side */
.mentor-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Back side */
.mentor-back {
    background: #262b31;
    color: #fff;
    transform: rotateY(180deg);
    text-align: center;
}

.mentor-back h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.see-more-btn {
    background: #c59d32;
    padding: 8px 18px;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
}

.see-more-btn:hover {
    background: #a78329;
}

/* ===================== NEWS RIGHT SIDE (HEIGHT REDUCED) ===================== */
.news-box-new {
    width: 40%;
    background: #ffffff;
    padding: 22px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    border: 1px solid #e8d9b0;
    position: relative;
    overflow: hidden;
    max-height: 540px;
}

/* Glow decorative background */
.news-box-new::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, rgba(197,157,50,.25), rgba(255,255,255,0));
    border-radius: 50%;
    filter: blur(18px);
}

/* Title smaller height */
.news-title-new {
    font-size: 25px;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 15px;
}

/* News List */
.news-list-new {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 5px;
}

/* Scrollbar style */
.news-list-new::-webkit-scrollbar { width: 6px; }
.news-list-new::-webkit-scrollbar-thumb {
    background: #c59d32;
    border-radius: 10px;
}

/* News Card */
.news-item-new {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 12px;
    background: #fcf8ef;
    border-left: 5px solid #c59d32;
    transition: .3s;
    position: relative;
}

.news-item-new:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* Date Box */
.news-date-box {
    width: 50px;
    height: 50px;
    background: #c59d32;
    color: #fff;
    border-radius: 10px;
    text-align: center;
    padding-top: 5px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(197,157,50,.45);
    transition: .3s;
}

.news-date-box small {
    display: block;
    font-size: 12px;
}

/* Text */
.news-text-box p {
    font-size: 14px;
    color: #333;
    line-height: 1.35;
    margin: 0;
}

/* View More Button */
.view-more-wrap {
    text-align: center;
    margin-top: 15px;
}

.view-more-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #c59d32;
    color: #fff;
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    transition: .3s;
}

.view-more-btn:hover {
    background: #a88429;
}

/* Responsive */
@media(max-width: 900px) {
    .news-box-new {
        width: 100%;
        max-height: unset;
    }

    .mentors-section-new {
        flex-direction: column;
        padding: 40px 5%;
    }
}



/* ===================== EVENTS SECTION ===================== */
/* ===== EVENTS HEADING ===== */
.events-heading-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px auto 25px;
    max-width: 1100px;
    padding: 0 15px;
}

.events-heading {
    font-size: 32px;
    font-weight: 700;
    color: #7a0000;
    position: relative;
}

.events-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 70px;
    height: 4px;
    background: #c59d5f;
    border-radius: 2px;
}

.view-all-events {
    font-size: 16px;
    font-weight: 600;
    color: #7a0000;
    text-decoration: none;
    border: 2px solid #7a0000;
    padding: 8px 18px;
    border-radius: 30px;
    transition: .3s ease;
}

.view-all-events:hover {
    background: #7a0000;
    color: #fff;
}
  
  
/* ===== EVENTS GRID ===== */
.event-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    grid-template-rows: repeat(3, auto);   /* 3 rows */
    gap: 30px;
    max-width: 1100px;
    margin: auto;
    padding: 0 15px 50px;
}

/* ===== EVENT CARD ===== */
.event-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    transition: transform .4s ease, box-shadow .4s ease;
    cursor: pointer;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.event-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.event-card:hover img {
    transform: scale(1.08);
}

.event-card h3 {
    padding: 15px;
    font-size: 18px;
    text-align: center;
    transition: color .3s ease;
}

.event-card:hover h3 {
    color: #7a0000;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .events-heading-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .event-wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
}
/* ===================== GALLERY SECTION ===================== */


/* ===== GALLERY SECTION ===== */
.gallery-section {
    padding: 60px 20px;
    background: #f7f7f7;
}

/* Heading */
.gallery-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.gallery-head h2 {
    font-size: 32px;
    font-weight: 700;
    color: #7a0000;
}

.gh-left, .gh-right {
    width: 60px;
    height: 3px;
    background: #c59d5f;
}

/* Filter Buttons */
.filter-box {
    text-align: center;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 8px 18px;
    margin: 5px;
    border-radius: 25px;
    border: 2px solid #7a0000;
    background: transparent;
    color: #7a0000;
    cursor: pointer;
    transition: .3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: #7a0000;
    color: #fff;
}

/* Gallery Grid */
.gallery-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

.gallery-box img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    cursor: pointer;
    transition: transform .4s ease, box-shadow .4s ease;
}

.gallery-box img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,.25);
}

/* ===== LIGHTBOX ===== */
#viewer {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

#viewer img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 10px;
}

.viewer-close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    color: #fff;
    font-size: 40px;
    border: none;
    cursor: pointer;
}

#prevBtn { left: 30px; }
#nextBtn { right: 30px; }

/* Responsive */
@media (max-width: 768px) {
    .gallery-box img { height: 180px; }
}

/* =========================================================
                      AUTO POP UP
========================================================= */
.popup-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;              /* hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 999999;
}

.popup-box{
  position: relative;
  background: #fff;
  padding: 10px;
  border-radius: 16px;
  max-width: 90%;
  max-height: 90vh;
}

.popup-box img{
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
}

.popup-close{
  position: absolute;
  top: 8px;
  right: 8px;
  background: #7a0000;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
  z-index: 10;
}

/* FULL SCREEN MOBILE */
@media (max-width:768px){
  .popup-overlay{
    align-items: stretch;
    justify-content: stretch;
  }
  .popup-box{
    width:100%;
    height:100%;
    max-width:100%;
    max-height:100%;
    border-radius:0;
    padding:0;
  }
  .popup-box img{
    width:100%;
    height:100%;
    max-height:100%;
    border-radius:0;
  }
}

body.popup-open{
  overflow: hidden;
}

/* ===================== ACTIVITIES SECTION ===================== */

.activities-section {
    padding: 60px 5%;
    background: #fdf5f3;
}

/* Heading */
.activities-head {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-bottom: 40px;
}

.activities-head h2 {
    font-size: 42px;
    font-weight: 800;
    color: #c00000;
    text-transform: uppercase;
}

.activities-head span {
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, #c59d32, transparent);
    border-radius: 10px;
}

.activities-head .ah-right {
    background: linear-gradient(90deg, transparent, #c59d32);
}

/* Grid Layout */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 25px;
}

/* Cards */
.act-card {
    background: white;
    padding-bottom: 25px;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    text-align: center;
    transition: .35s ease;
    overflow: hidden;
    position: relative;
}

.act-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Image */
.act-img {
    width: 100%;
    height: 230px;
    overflow: hidden;
}

.act-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s ease;
}

.act-card:hover img {
    transform: scale(1.08);
}

/* Title */
.act-card h3 {
    margin: 18px 0 5px;
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

/* "Details" Small Link */
.view-link {
    color: #7a0000;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 12px;
}

/* Read More Button */
.read-btn {
    display: inline-block;
    padding: 10px 35px;
    border: 2px solid #7a0000;
    color: #7a0000;
    font-weight: 700;
    text-decoration: none;
    transition: .3s;
    border-radius: 6px;
}

.read-btn:hover {
    background: #7a0000;
    color: white;
}













:root{
  --maroon:#7a0000;
  --dark:#1f2328;
  --gold:#c59d32;
  --accent:#ffd24c;
}

/* reset / remove white gaps */
html,body,header { margin:0; padding:0; }
*,*::before,*::after { box-sizing:border-box; }

/* TOP BAR */
.top-nav{
  background:var(--maroon);
  color:#fff;
  padding:10px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.top-left { display:flex; align-items:center; gap:12px; }
.top-left img { height:55px; background:#fff; padding:3px; border-radius:6px; }

/* center quick buttons */
.center-buttons { display:flex; gap:10px; }
.center-btn {
  background:#fff; color:var(--maroon);
  padding:8px 14px; border-radius:6px; font-weight:700; text-decoration:none;
  transition:all .18s ease;
}
.center-btn:hover { background:var(--maroon); color:#fff; border:2px solid #fff; }

/* social icons */
.social-icons { display:flex; gap:8px; align-items:center; }
.social-icons img { width:28px; height:28px; border-radius:50%; cursor:pointer; transition:transform .18s; }
.social-icons img:hover { transform:scale(1.12); }

/* marquee */
.marquee-bar { background:#5a0000; padding:6px 0; }
.marquee-bar marquee { color:#fff; font-weight:600; }

/* MAIN NAV */
.main-nav { background:var(--dark); border-bottom:3px solid var(--gold); width:100%; }
.nav-inner {
  max-width:1400px; margin:0 auto; padding:10px 20px;
  display:flex; align-items:center; justify-content:center; position:relative;
}

/* home button fixed left */
.home-btn {
  position:absolute; left:18px; color:#fff; font-size:28px; text-decoration:none;
}

/* menu centered */
.menu-list { list-style:none; display:flex; gap:36px; margin:0; padding:0; align-items:center; }
.menu-list > li { position:relative; }
.menu-list > li > a { color:#fff; text-decoration:none; font-weight:600; padding:8px 0; cursor:pointer; }

/* dropdown panel - anchored directly below trigger (no gap) */
.dropdown-content {
  position:absolute;
  top:calc(100% + 6px);         /* directly below parent, avoids gap */
  left:50%;
  transform:translateX(-50%);
  min-width:220px;
  background:#fff;
  border-radius:8px;
  padding:6px 0;
  box-shadow:0 12px 30px rgba(0,0,0,.22);
  opacity:0;
  visibility:hidden;
  pointer-events:none;          /* disable when hidden */
  transition:opacity .16s ease, visibility .12s ease;
  z-index:99999;
}

/* items */
.dropdown-content li a {
  display:block;
  padding:10px 14px;
  color:#111;
  text-decoration:none;
}
.dropdown-content li a:hover { background:var(--maroon); color:#fff; }

/* show using class or hover - keep pointer events enabled only when visible */
.dropdown.open > .dropdown-content,
.menu-list > li:hover > .dropdown-content,
.dropdown-content:hover {
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

/* small caret spacing */
.menu-list > li > a::after { content:" ▾"; font-size:12px; margin-left:6px; }

/* mobile: stack and make clickable */
@media (max-width:900px){
  .nav-inner { flex-direction:column; gap:10px; padding-bottom:14px; }
  .home-btn { left:10px; top:8px; }
  .menu-list { flex-wrap:wrap; justify-content:center; gap:14px; }
  .dropdown-content { left:50%; transform:translateX(-50%); top:calc(100% + 6px); }
}

/* accessibility focus styles */
.menu-list a:focus { outline:3px solid rgba(197,157,50,.22); outline-offset:2px; border-radius:4px; }






/* ================= TOP BAR MOBILE FIX ================= */
@media (max-width: 768px){

  .top-nav{
    flex-direction: column;
    align-items: center;
    padding: 12px 10px;
    gap: 12px;
    text-align: center;
  }

  /* LOGO */
  .top-left img{
    height: 45px;
  }

  /* BUTTONS STACK */
  .center-buttons{
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .center-btn{
    width: 100%;
    max-width: 320px;
    padding: 10px;
    font-size: 14px;
  }

  /* SOCIAL ICONS */
  .social-icons{
    justify-content: center;
    gap: 12px;
  }

  .social-icons img{
    width: 26px;
    height: 26px;
  }
}


/* ================= CSS ================= */

.hw-wrapper{
    width:100%;
    padding:60px 5%;
    background:linear-gradient(180deg,#fff4ea,#ffebd6);
    min-height:90vh;
    font-family:"Poppins",sans-serif;
}

.hw-title{
    font-size:34px;
    text-align:center;
    font-weight:800;
    color:#7a0000;
    margin-bottom:10px;
}

.hw-sub{
    text-align:center;
    color:#555;
    margin-bottom:35px;
    font-size:18px;
}

.hw-table-box{
    background:#fff;
    padding:25px;
    border-radius:15px;
    box-shadow:0 10px 35px rgba(0,0,0,.12);
    overflow-x:auto;
}

.hw-table{
    width:100%;
    border-collapse:collapse;
    font-size:16px;
}

.hw-table thead{
    background:#7a0000;
    color:#fff;
}

.hw-table thead th{
    padding:14px;
    font-weight:600;
}

.hw-table tbody td{
    padding:14px 12px;
    border-bottom:1px solid #eee;
    text-align:center;
}

.hw-table tbody tr:hover{
    background:#fff4e1;
    transform:scale(1.01);
    transition:.3s ease;
}

.view-btn{
    padding:8px 16px;
    background:#fff;
    color:#7a0000;
    border-radius:30px;
    border:2px solid #7a0000;
    cursor:pointer;
    font-weight:600;
}

.view-btn:hover{
    background:#7a0000;
    color:#fff;
}

.hw-download-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 16px;
    background:#c59d32;
    color:#fff;
    font-weight:600;
    border-radius:30px;
    text-decoration:none;
    font-size:14px;
}

.hw-download-btn:hover{
    background:#a88429;
    transform:translateY(-3px);
}

.fade-row{
    opacity:0;
    transform:translateY(20px);
    transition:.6s ease;
}

.fade-row.visible{
    opacity:1;
    transform:translateY(0);
}

/* MODAL */
.pdf-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.75);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:99999;
}

.pdf-box{
    width:90%;
    max-width:900px;
    height:85vh;
    background:#fff;
    border-radius:12px;
    position:relative;
}

.pdf-box iframe{
    width:100%;
    height:100%;
    border:none;
}

.pdf-close{
    position:absolute;
    top:10px;
    right:15px;
    cursor:pointer;
    font-size:22px;
}

@media(max-width:768px){
    .hw-title{font-size:28px;}
    .hw-table{font-size:14px;}
}

/* ===================== Carrier Footer ===================== */


.career-hero {
    background: linear-gradient(rgba(122,0,0,.85), rgba(122,0,0,.85)),
                url("images/career-bg.jpg") center/cover no-repeat;
    padding: 80px 20px;
    text-align: center;
    color: #fff;
}

.career-hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.career-hero p {
    font-size: 18px;
    opacity: .95;
}

/* ================= SECTION ================= */
.career-section {
    padding: 70px 6%;
    background: #f8f8f8;
}

/* ================= WHY JOIN ================= */
.why-join {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.why-card {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
    text-align: center;
}

.why-card h3 {
    color: #7a0000;
    margin-bottom: 10px;
}

/* ================= JOB LIST ================= */
.job-list {
    max-width: 1100px;
    margin: auto;
}

.job-card {
    background: #fff;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
}

.job-card h3 {
    color: #7a0000;
    margin-bottom: 6px;
}

.job-meta {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
}

.apply-btn {
    background: #7a0000;
    color: #fff;
    padding: 8px 18px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

/* ================= APPLY FORM ================= */
.apply-section {
    background: #fff;
    margin-top: 60px;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.apply-section h2 {
    text-align: center;
    color: #7a0000;
    margin-bottom: 25px;
}

.apply-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 20px;
}

.apply-form input,
.apply-form select,
.apply-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 15px;
}

.apply-form textarea {
    grid-column: 1/-1;
    min-height: 120px;
}

.apply-form button {
    grid-column: 1/-1;
    background: #7a0000;
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 30px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

.apply-form button:hover {
    background: #5f0000;
}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){
    .career-hero h1{font-size:32px;}
}








/* ==============Contact Us Page =============*/


/* ================= CONTACT PAGE ================= */
.contact-hero{
  background:linear-gradient(rgba(122,0,0,.85),rgba(122,0,0,.85)),
             url("images/contact-bg.jpg") center/cover no-repeat;
  padding:90px 20px;
  text-align:center;
  color:#fff;
}
.contact-hero h1{font-size:42px;margin-bottom:10px;}
.contact-hero p{font-size:18px;opacity:.95;}

.contact-wrapper{
  padding:70px 6%;
  background:#f8f8f8;
}

.contact-cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:25px;
  margin-bottom:60px;
}

.contact-card{
  background:#fff;
  padding:30px;
  border-radius:16px;
  box-shadow:0 8px 25px rgba(0,0,0,.12);
  text-align:center;
}

.contact-card h3{
  color:#7a0000;
  margin-bottom:8px;
}

.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
}

.contact-form{
  background:#fff;
  padding:35px;
  border-radius:18px;
  box-shadow:0 10px 30px rgba(0,0,0,.15);
}

.contact-form h2{
  text-align:center;
  color:#7a0000;
  margin-bottom:25px;
}

.contact-form input,
.contact-form textarea{
  width:100%;
  padding:12px;
  margin-bottom:15px;
  border-radius:8px;
  border:1px solid #ccc;
  font-size:15px;
}

.contact-form textarea{min-height:120px;}

.contact-form button{
  width:100%;
  background:#7a0000;
  color:#fff;
  padding:14px;
  border:none;
  border-radius:30px;
  font-size:17px;
  font-weight:700;
  cursor:pointer;
}

.contact-form button:hover{background:#5f0000;}

.form-msg{
  text-align:center;
  color:green;
  margin-bottom:15px;
  font-weight:600;
}

.map-box{
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.15);
}

.map-box iframe{
  width:100%;
  height:420px;
  border:0;
}

@media(max-width:900px){
  .contact-grid{grid-template-columns:1fr;}
}
@media(max-width:768px){
  .contact-hero h1{font-size:32px;}
}
