

/* =============== GLOBAL =============== */
body { font-family: 'Poppins', sans-serif; }
.section-title { font-weight:700; color:#002060; }
.section-title1 { font-weight:700; color:#fff; }
.bg-theme { background:#002060; }
.text-theme { color:#002060; }

/* =============== HERO =============== */
.hero-section {
  background: url('images/campus.jpg') center center/cover no-repeat;
  height: 90vh;
  position: relative;
}
.hero-overlay {
  background: rgba(0,32,96,0.75);
  height:100%;
  display:flex;
  align-items:center;
}

/* =============== CARD HOVER =============== */
.card-modern {
  border:none;
  border-radius:15px;
  transition:0.4s;
}
.card-modern:hover {
  transform:translateY(-8px);
  box-shadow:0 20px 40px rgba(0,0,0,0.12);
}


/* QUICK LINKS CARD */



.quick-links-card{
background:#fff;
border-radius:10px;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
overflow:hidden;
}

/* HEADER */

/* QUICK LINKS HEADER */

.quick-links-header{
background:#002060;
color:#fff;
padding:12px 18px;
font-weight:600;
font-size:16px;

display:flex;
justify-content:space-between;
align-items:center;
}

/* RIGHT SIDE ICON */

.header-icon{
font-size:14px;
opacity:0.8;
transition:0.3s;
}

.quick-links-header:hover .header-icon{
transform:translateX(4px);
opacity:1;
}

/* LINKS */

.quick-links{
list-style:none;
margin:0;
padding:15px;
}

.quick-links li{
margin-bottom:10px;
}

.quick-links a{
display:block;
padding:8px 10px;
border-radius:6px;
color:#002060;
text-decoration:none;
transition:0.2s;
}

.quick-links a:hover{
background:#f2f5ff;
padding-left:15px;
}

.quick-links i{
margin-right:8px;
color:#c82333;
}
/* =============== Kavi's section =============== */
.img-highlight {
  background: #ffffff;
  padding: 8px;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}
.img-highlight {
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
}

/* Image refinement */
.kavi-img {
    max-width: 100%;
    height: auto;

    /* 🔥 control size on large screens */
    max-height: 320px;

    object-fit: cover;

    /* optional polish */
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Mobile adjustment */
@media (max-width: 768px) {
    .kavi-img {
        max-height: 220px;
    }
}
/* =============== hero/carousel section =============== */
.hero-slide {
  height: 90vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  background: rgba(0, 32, 96, 0.65);
  height: 100%;
}

.carousel-item {
  transition: transform 1s ease, opacity .5s ease-out;
}
/* Mobile auto height */
@media (max-width: 768px) {
  .hero-slide {
    height: 70vh;
    min-height: 400px;
  }
}
/* ================= HERO RESPONSIVE TEXT ================= */

.hero-slide h1 {
  font-size: 3rem;
}

.hero-slide p {
  font-size: 1.2rem;
}

/* Tablets */
@media (max-width: 992px) {
  .hero-slide h1 {
    font-size: 2.2rem;
  }
  .hero-slide p {
    font-size: 1rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero-slide {
    height: 70vh;
    min-height: 420px;
  }

  .hero-slide h1 {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .hero-slide p {
    font-size: 0.95rem;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .hero-slide h1 {
    font-size: 1.3rem;
  }

  .hero-slide p {
    font-size: 0.85rem;
  }
}
/* ================= GOOGLE MAP ================= */
.map-responsive {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.map-responsive iframe {
  width: 100%;
  height: 450px;
  border: 0;
}

/* Mobile Adjustment */
@media (max-width: 768px) {
  .map-responsive iframe {
    height: 300px;
  }
}

/* ================= CONTACT SECTION ================= */

.text-theme {
  color: #002060;
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border-radius: 10px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .map-container iframe {
    height: 300px;
  }
}
/* =============== RECRUITERS =============== */
.recruiter-logo {
  filter: grayscale(100%);
  transition:0.3s;
}
.recruiter-logo:hover { filter: grayscale(0%); }

/* =============== FOOTER =============== */
.footer { background:#002060; color:white; padding:40px 0; }


/*===============Gallery section================*/
/* GALLERY GRID IMAGE SIZE */

.gallery-item{
position:relative;
overflow:hidden;
border-radius:10px;
height:220px;
margin-bottom:20px;
}

.gallery-img{
width:100%;
height:100%;
object-fit:cover;
cursor:pointer;
transition:transform .4s ease;
}

.gallery-item:hover .gallery-img{
transform:scale(1.08);
}

/* MOBILE */

@media(max-width:768px){

.gallery-item{
height:180px;
}

}

/* hover zoom */

.gallery-item:hover img{
transform:scale(1.08);
}

/* title overlay */

.gallery-overlay{
position:absolute;
bottom:0;
left:0;
right:0;
background:rgba(0,0,0,0.55);
color:#fff;
padding:8px 10px;
font-size:14px;
opacity:0;
transition:.3s;
}

.gallery-item:hover .gallery-overlay{
opacity:1;
}

.gallery-view-all{
color:#fff;
font-weight:600;
text-decoration:none;
}

.gallery-view-all:hover{
text-decoration:underline;
}

/* MODAL CLOSE BUTTON */

.modal-close{
position:absolute;
top:10px;
right:15px;
font-size:28px;
color:#fff;
background:none;
border:none;
z-index:10;
}
/* MODAL IMAGE WRAPPER */

.modal-image-wrapper{
width:100%;
height:75vh;
display:flex;
align-items:center;
justify-content:center;
background:#000;
}

/* IMAGE */

.modal-gallery-img{
max-width:100%;
max-height:100%;
object-fit:contain;
}

/* MOBILE OPTIMIZATION */

@media(max-width:768px){

.modal-image-wrapper{
height:60vh;
}

}
/* NAVIGATION BUTTONS */

.gallery-prev,
.gallery-next{
position:absolute;
top:50%;
transform:translateY(-50%);
font-size:40px;
color:#fff;
background:rgba(0,0,0,0.4);
border:none;
padding:10px 15px;
cursor:pointer;
z-index:10;
}

.gallery-prev{ left:10px; }
.gallery-next{ right:10px; }
.gallery-prev{
left:10px;
}


.gallery-prev:hover,
.gallery-next:hover{
background:rgba(0,0,0,0.7);
}
.gallery-img{
cursor:pointer;
}

/* New gallery */
/* EVENT CARD */
/* CARD */
.event-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 10px;
    text-align: center;
}

/* MODAL */
.gallery-modal{
    display:none;
    position:fixed;
    top:0; left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.9);
    justify-content:center;
    align-items:center;
    flex-direction:column;
    z-index:9999;
}

.gallery-modal img{
    max-width:90%;
    max-height:80%;
    border-radius:10px;
}

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

.gallery-prev,
.gallery-next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    font-size:35px;
    background:rgba(0,0,0,0.5);
    color:#fff;
    border:none;
    padding:10px;
    cursor:pointer;
}

.gallery-prev{ left:20px; }
.gallery-next{ right:20px; }

.caption{
    color:#fff;
    margin-top:10px;
}
.gallery-modal img{
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-modal img.loaded{
    opacity: 1;
}
/*----scroll button top-----*/
#scrollProgressBtn{
    position: fixed;

    right: clamp(14px,2vw,28px);
    bottom: clamp(14px,2vw,28px);

    width: clamp(48px,5vw,65px);
    height: clamp(48px,5vw,65px);

    display: grid;
    place-items: center;

    border-radius: 50%;

    backdrop-filter: blur(10px);
    background: rgba(15,118,110,0.75);

    box-shadow: 
        0 8px 22px rgba(0,0,0,0.25),
        inset 0 0 8px rgba(255,255,255,0.15);

    cursor: pointer;
    z-index: 999;

    opacity:0;
    transform: translateY(20px);
    transition: all .35s ease;
}

/* visible state */

#scrollProgressBtn.show{
    opacity:1;
    transform: translateY(0);
}

/* svg scaling */

#scrollProgressBtn svg{
    position:absolute;
    width:100%;
    height:100%;
    transform: rotate(-90deg);
}

/* background ring */

#scrollProgressBtn .bg{
    fill:none;
    stroke: rgba(255,255,255,0.2);
    stroke-width:8;
}

/* progress ring */

#scrollProgressBtn .progress{
    fill:none;
    stroke: #FFC000;
    stroke-width:8;
    stroke-linecap:round;

    stroke-dasharray:339;
    stroke-dashoffset:339;

    transition: stroke-dashoffset .15s linear;
}

/* percentage text */

#scrollPercent{
    color:white;
    font-weight:600;
    font-size: clamp(10px,1.2vw,14px);
}

/* hover animation */

#scrollProgressBtn:hover{
    transform: scale(1.08);
    box-shadow:
        0 10px 28px rgba(0,0,0,0.35),
        0 0 12px rgba(20,184,166,0.6);
}

/*========Course Section Started here======*/
/* SECTION BACKGROUND */
.programs-modern{
background:linear-gradient(135deg,#e0f2fe,#f0fdf4);
}
/* TITLE */
.programs-title{

font-weight:700;
color:#0f172a;
}
.programs-subtitle{

color:#64748b;
}


/* PROGRAM CARD */

.program-box{

background:white;

padding:30px 22px;

border-radius:16px;

text-align:center;

height:100%;

display:flex;
flex-direction:column;

justify-content:space-between;

transition:0.35s;

box-shadow:0 10px 25px rgba(0,0,0,0.1);

position:relative;

overflow:hidden;

}

.program-box:hover{

transform:translateY(-8px);

box-shadow:0 20px 40px rgba(0,0,0,0.15);

}


/* SEAT BADGE */

.seat-badge{

position:absolute;

top:15px;
right:15px;

background:#ef4444;

color:white;

font-size:12px;

padding:4px 10px;

border-radius:20px;

font-weight:600;

}


/* ICON */

.program-icon{

width:70px;
height:70px;

margin:auto;
margin-bottom:18px;

border-radius:50%;

display:flex;

align-items:center;
justify-content:center;

font-size:28px;

color:white;

}


/* DEPARTMENT COLORS */

.program-computer .program-icon{

background:linear-gradient(135deg,#3b82f6,#06b6d4);

}

.program-auto .program-icon{

background:linear-gradient(135deg,#f97316,#ef4444);

}

.program-civil .program-icon{

background:linear-gradient(135deg,#f59e0b,#facc15);

}

.program-electronics .program-icon{

background:linear-gradient(135deg,#10b981,#14b8a6);

}

/* TEXT */

.program-box h5{

font-weight:600;

margin-bottom:10px;

color:#1e293b;

}

.program-box p{

font-size:14px;

color:#64748b;

}

/* PROGRAM BUTTON */

.program-btn{

display:inline-block;

margin-top:14px;

padding:8px 18px;

font-size:14px;

font-weight:600;

color:white;

background:linear-gradient(135deg,#2563eb,#3b82f6);
border-radius:25px;
text-decoration:none;
transition:0.3s;
box-shadow:0 4px 10px rgba(0,0,0,0.15);

}

.program-btn i{
margin-left:6px;
transition:0.3s;
}

.program-btn:hover{
background:linear-gradient(135deg,#1d4ed8,#2563eb);
transform:translateY(-2px);
text-decoration:none !important;   /* prevents underline on hover */
color:white;

}

.program-btn:hover i{
transform:translateX(4px);

}
.program-content{

flex-grow:1;

}


/* SECTION BACKGROUND */

/* BRIGHT SECTION BACKGROUND */

.programs-modern{

background:linear-gradient(135deg,#e0f2fe,#f0fdf4);

}


/* TITLE */

.programs-title{

font-weight:700;
color:#0f172a;

}

.programs-subtitle{

color:#64748b;

}


/* PROGRAM CARD */

.program-box{

background:white;

padding:30px 22px;

border-radius:16px;

text-align:center;

height:100%;

display:flex;
flex-direction:column;

justify-content:space-between;

transition:0.35s;

box-shadow:0 10px 25px rgba(0,0,0,0.1);

position:relative;

overflow:hidden;

}

.program-box:hover{

transform:translateY(-8px);

box-shadow:0 20px 40px rgba(0,0,0,0.15);

}


/* SEAT BADGE */

.seat-badge{

position:absolute;

top:15px;
right:15px;

background:#ef4444;

color:white;

font-size:12px;

padding:4px 10px;

border-radius:20px;

font-weight:600;

}


/* ICON */

.program-icon{

width:70px;
height:70px;

margin:auto;
margin-bottom:18px;

border-radius:50%;

display:flex;

align-items:center;
justify-content:center;

font-size:28px;

color:white;

}


/* DEPARTMENT COLORS */

.program-computer .program-icon{

background:linear-gradient(135deg,#3b82f6,#06b6d4);

}

.program-auto .program-icon{

background:linear-gradient(135deg,#f97316,#ef4444);

}

.program-civil .program-icon{

background:linear-gradient(135deg,#f59e0b,#facc15);

}

.program-electronics .program-icon{

background:linear-gradient(135deg,#10b981,#14b8a6);

}


/* TEXT */

.program-box h5{

font-weight:600;

margin-bottom:10px;

color:#1e293b;

}

.program-box p{

font-size:14px;

color:#64748b;

}


/* PROGRAM BUTTON */

.program-btn{

display:inline-block;

margin-top:14px;

padding:8px 18px;

font-size:14px;

font-weight:600;

color:white;

background:linear-gradient(135deg,#2563eb,#3b82f6);
border-radius:25px;
text-decoration:none;
transition:0.3s;
box-shadow:0 4px 10px rgba(0,0,0,0.15);

}

.program-btn i{
margin-left:6px;
transition:0.3s;
}

.program-btn:hover{
background:linear-gradient(135deg,#1d4ed8,#2563eb);
transform:translateY(-2px);
text-decoration:none !important;   /* prevents underline on hover */
color:white;

}

.program-btn:hover i{
transform:translateX(4px);

}
.program-content{

flex-grow:1;

}

/*========about us, vision and mission=====*/
/* SECTION BACKGROUND */
.about-vision-section{
    background:#f9fafb;
}

/* ABOUT CARD */
.about-card{
    background:white;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    transition:0.4s;
}

.about-card:hover{
    transform:translateY(-6px);
}

/* SECTION TITLE */
.section-header h3{
    font-weight:700;
}

/* GRADIENT ACCENT LINE */
.accent-line{
    display:block;
    width:70px;
    height:4px;
    margin-top:6px;
    background:linear-gradient(90deg,#0F766E,#22C55E);
    border-radius:10px;
}

/* BUTTON */
.about-btn{
    background:linear-gradient(45deg,#0F766E,#22C55E);
    border:none;
    color:white;
    border-radius:25px;
    padding:8px 22px;
    font-weight:600;
}

.about-btn:hover{
    opacity:0.9;
}

/* VISION MISSION CARDS */
.vm-card {
    display:flex;
    gap:18px;
    padding:22px;
    background:white;
    border-radius:12px;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    will-change: transform;
}

.vm-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}


.vm-card::after {
    content:'';
    position:absolute;
    inset:0;
    border-radius:12px;
    background:linear-gradient(120deg, transparent, rgba(15,118,110,0.1));
    opacity:0;
    transition:0.4s;
}

.vm-card:hover::after {
    opacity:1;
}
/* ICON STYLE */
.vm-icon{
    width:55px;
    height:55px;
    background:linear-gradient(45deg,#0F766E,#22C55E);
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    border-radius:50%;
}

/* TEXT */
.vm-content h4{
    font-weight:700;
}

/* SCROLL REVEAL */
/* ============================= */
/* UNIVERSAL REVEAL ANIMATION   */
/* ============================= */

.reveal{
opacity:0;
transform:translate3d(0,60px,0);
transition:
transform 0.8s cubic-bezier(.2,.65,.3,1),
opacity 0.8s cubic-bezier(.2,.65,.3,1);
will-change:transform,opacity;
}

.reveal.show{
opacity:1;
transform:translate3d(0,0,0);
}
/* Direction variants */

.reveal-left{
transform:translate3d(-60px,0,0);
}

.reveal-right{
transform:translate3d(60px,0,0);
}

.reveal-up{
transform:translate3d(0,60px,0);
}

.reveal-down{
transform:translate3d(0,-60px,0);
}

.reveal-scale{
transform:scale(0.9);
}

/* Stagger delay system */

.reveal{
transition-delay:calc(var(--delay,0) * 120ms);
}
/* QUICK LINKS SECTION */
.quicklink-card{
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
text-align:center;
background:#fff;
padding:22px 18px;
border-radius:12px;
text-decoration:none;
box-shadow:0 8px 22px rgba(0,0,0,0.08);
transition:all .35s ease;
border:1px solid #e5e7eb;
}

.quicklink-card span{
margin-top:10px;
font-weight:600;
font-size:14px;
}

/* CIRCULAR LOGO BADGE */

.ql-logo{
width:60px;
height:60px;
border-radius:50%;
background:#f1f5f9;
display:flex;
align-items:center;
justify-content:center;
box-shadow:0 4px 10px rgba(0,0,0,0.1);
transition:.3s;
}

.ql-logo img{
width:34px;
height:34px;
object-fit:contain;
}

/* HOVER EFFECT */

.quicklink-card:hover{
transform:translateY(-6px);
box-shadow:0 12px 30px rgba(0,0,0,0.15),
0 0 12px rgba(15,118,110,0.35);
text-decoration:none;
}

.quicklink-card:hover .ql-logo{
background:#e0f2f1;
}
.doc-item a {
    color: #002060;
    text-decoration: none;
    display: block;
    padding: 8px 10px;
    border-radius: 6px;
}

.doc-item a:hover {
    background: #f2f5ff;
    padding-left: 15px;
}

/* ================= QUICK LINK TOOLTIP ================= */
.quicklink-card {
    position: relative;
    z-index: 1;
}

/* IMPORTANT: allow tooltip to escape ONLY inside quicklink grid */
.quicklink-card,
.quicklink-card * {
    overflow: visible;
}

.link-tooltip {
    position: absolute;
    left: 50%;
    bottom: -40px;
    transform: translateX(-50%) translateY(5px);

    background: #111;
    color: #fff;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;

    white-space: nowrap;
    pointer-events: none;

    opacity: 0;
    transition: 0.25s ease;
    z-index: 9999;
}

.link-tooltip::after {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #111 transparent;
}

.quicklink-card:hover .link-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ================= MODAL FIX ================= */
body.modal-open {
    overflow: hidden;
}

#galleryModal {
    z-index: 99999;
}

#galleryModal img {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-width: 90%;
    max-height: 80%;
    z-index: 10000;
}

#modalImg {
    transition: opacity 0.3s ease;
}

/* ================= GLOBAL CARD UI ================= */
.about-card,
.notice-card,
.vm-card,
.quick-links-card {
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.about-card:hover,
.notice-card:hover,
.vm-card:hover,
.quick-links-card:hover {
    transform: translateY(-5px);
}


/* ================= NOTICE CARD ================= */
.notice-card {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e2e6ea;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ================= HEADER ================= */
.notice-header {
  background: #002060;
  color: #fff;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
}

.notice-icon {
  width: 30px;
  height: 30px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notice-view-all {
  font-size: 13px;
  color: #fff;
  text-decoration: none;
}

.notice-view-all:hover {
  text-decoration: underline;
}

/* ================= SCROLL AREA ================= */
.notice-scroll {
  height: 260px;
  overflow: hidden;   /* ðŸ”¥ CRITICAL FIX */
  position: relative;
}

/* ================= LIST ================= */
#noticeList {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ================= ITEM ================= */
.notice-item {
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  background: #fff;
  transition: background 0.2s ease;
}

/* HOVER */
.notice-item:hover {
  background: #f5f8ff;
}

/* ================= CONTENT ================= */
.notice-content {
  flex: 1;
}

/* TITLE */
.notice-title {
  font-weight: 500;
  color: #002060;
  line-height: 1.4;
}

/* DEPARTMENT */
.notice-dept {
  font-size: 12px;
  color: #6c757d;
}

/* DATE */
.notice-date {
  font-size: 12px;
  color: #999;
  white-space: nowrap;
}

/* ================= BADGE ================= */
.notice-badge {
  background: #d9534f;
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

/* OPTIONAL PULSE */
.notice-badge.active {
  animation: badgePulse 1.2s infinite;
}

@keyframes badgePulse {
  0%   { transform: scale(1); opacity: 0.9; }
  50%  { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 0.9; }
}

/* ================= LOADING ================= */
.notice-item.loading {
  text-align: center;
  color: #888;
}

/* ================= FADE MASK (TOP & BOTTOM) ================= */
.notice-scroll::before,
.notice-scroll::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 30px;
  z-index: 2;
  pointer-events: none;
}

.notice-scroll::before {
  top: 0;
  background: linear-gradient(to bottom, #fff, transparent);
}

.notice-scroll::after {
  bottom: 0;
  background: linear-gradient(to top, #fff, transparent);
}
/*=========principal section======= */

/* ================= SECTION ================= */
.recruiters-section,
.bg-light {
    background: #f8f9fa;
}

/* ================= PRINCIPAL FRAME ================= */
.principal-frame {
    position: relative;
    display: inline-block;
    padding: 8px;
    border-radius: 16px;
    background: #ffffff;
    overflow: hidden;

    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

/* IMAGE */
.principal-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
    display: block;

    transition: transform 0.4s ease;
}

/* HOVER EFFECT */
.principal-frame:hover .principal-img {
    transform: scale(1.06);
}

/* OVERLAY */
.principal-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 14px 12px;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.9),
        rgba(0,0,0,0.5),
        transparent
    );

    color: #fff;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* OVERLAY TEXT */
.principal-overlay h6 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

.principal-overlay small {
    font-size: 12px;
    opacity: 0.85;
}

/* ================= PRINCIPAL CARD ================= */
.principal-card {
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.principal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

/* ================= QUOTE BLOCK ================= */
.principal-quote {
    position: relative;
    background: linear-gradient(135deg, #e8f5e9, #ffffff);
    padding: 18px 20px 18px 45px;
    border-left: 4px solid #198754;
    border-radius: 12px;

    font-style: italic;
    color: #444;

    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.quote-icon {
    position: absolute;
    left: 12px;
    top: 14px;
    font-size: 20px;
    color: #198754;
    opacity: 0.7;
}

.principal-quote p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

/* ================= VISION / MISSION ================= */
.vm-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
    background: #ffffff;

    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

/* HOVER */
.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* ICON */
.vm-icon {
    font-size: 28px;
    color: #0d6efd;
    min-width: 40px;
}

/* CONTENT */
.vm-content h5 {
    margin-bottom: 6px;
}

.vm-content p {
    font-size: 14px;
    line-height: 1.6;
}

/* ================= SECTION HEADER ================= */
.section-header .accent-line {
    width: 60px;
    height: 3px;
    background: #0d6efd;
    margin: 8px auto 0;
    border-radius: 2px;
}

/* ================= REVEAL ANIMATION ================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

    .principal-img {
        height: 200px;
    }

    .vm-card {
        flex-direction: row;
        gap: 12px;
        padding: 16px;
    }

    .vm-icon {
        font-size: 22px;
    }

    .principal-quote {
        font-size: 13px;
        padding: 16px 16px 16px 40px;
    }
}
/* TYPOGRAPHY IMPROVEMENT */
p {
  line-height: 1.7;
  font-size: 15px;
}

/* BUTTON CONSISTENCY */
.btn {
  font-size: 14px;
}
/* TITLE */
.notice-title {
  font-weight: 500;
  font-size: 14px;
}

/* DEPARTMENT 
.notice-dept {
  font-size: 12px;
  color: #6c757d;
}*/

/* DATE 
.notice-date {
  font-size: 12px;
  color: #999;
  white-space: nowrap;
}*/

/* BADGE 
.notice-badge {
  background: #dc3545;
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 6px;
}*/

@media (max-width: 576px) {
  .hero-section p,
  .carousel p {
    font-size: 14px;
  }
}
/* ================= RESPONSIVE TYPOGRAPHY FIX ================= */

/* HERO HEADINGS (override bootstrap display-4 safely) */
.hero-slide h1,
.carousel h1,
.display-4 {
  font-size: clamp(22px, 4vw, 42px) !important;
  line-height: 1.2;
}

/* HERO PARAGRAPH */
.hero-slide p,
.carousel p,
.lead {
  font-size: clamp(14px, 1.5vw, 18px);
}

/* SECTION HEADINGS */
h2, .section-title {
  font-size: clamp(20px, 3vw, 32px);
}

h3 {
  font-size: clamp(18px, 2.5vw, 26px);
}

h4 {
  font-size: clamp(16px, 2.2vw, 22px);
}

h5 {
  font-size: clamp(14px, 2vw, 18px);
}

h6 {
  font-size: clamp(13px, 1.8vw, 16px);
}

/* BODY TEXT */
p {
  font-size: clamp(14px, 1.2vw, 15px);
  line-height: 1.7;
}

/* PREVENT TEXT OVERFLOW */
h1,h2,h3,h4,h5,h6,p {
  word-wrap: break-word;
}

@media (max-width: 576px) {
  .hero-slide h1 {
    margin-bottom: 10px;
  }

  .section-title {
    margin-bottom: 8px;
  }
}

/* ===== Recruiters Section ===== */
/* ===== SECTION ===== */
.recruiters-section {
    background: linear-gradient(180deg, #f8f9fa, #ffffff);
}

/* ===== MARQUEE ===== */
.logo-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* ===== TRACK ===== */
.logo-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scrollSmooth 30s linear infinite;
}

/* ===== LOGO CARD ===== */
.logo-track img {
    height: 80px;   /*  increased */
    margin: 0 30px;
    padding: 12px 22px;

    background: #ffffff;
    border-radius: 14px;

    box-shadow: 0 6px 18px rgba(0,0,0,0.1);

    object-fit: contain;
    transition: all 0.3s ease;
}
.logo-track img {
    max-width: 140px;
}
/* ===== HOVER EFFECT ===== */
.logo-track img:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 22px rgba(0,0,0,0.15);
}

/* ===== ANIMATION ===== */
@keyframes scrollSmooth {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* ===== PAUSE ON HOVER ===== */
.logo-marquee:hover .logo-track {
    animation-play-state: paused;
}

/* ===== EDGE FADE ===== */
.logo-marquee::before,
.logo-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
}

.logo-marquee::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.logo-marquee::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .logo-track img {
        height: 40px;
        margin: 0 15px;
        padding: 8px 12px;
    }
}
@media (max-width: 768px){
  .logo-track { animation: none; }
}
.recruiterSwiper {
    padding: 20px 0;
}

.swiper-slide {
    width: 180px;
    display: flex;
    justify-content: center;
    align-items: center;

    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0.5;
}

/* 🔥 CENTER SLIDE */
.swiper-slide-active {
    transform: scale(1.25);
    opacity: 1;
    z-index: 2;
}

/* SIDE SLIDES */
.swiper-slide-prev,
.swiper-slide-next {
    transform: scale(1);
    opacity: 0.7;
}

/* LOGO CARD */
.swiper-slide img {
    height: 70px;
    padding: 12px 20px;

    background: #fff;
    border-radius: 14px;

    box-shadow: 0 6px 18px rgba(0,0,0,0.1);

    object-fit: contain;
}
/* CARD */
.recruiter-card {
    text-align: center;
    padding: 12px 16px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

/* LOGO */
.recruiter-card img {
    height: 60px;
    object-fit: contain;
    margin-bottom: 6px;
}

/* NAME */
.recruiter-name {
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* CENTER EMPHASIS */
.swiper-slide-active .recruiter-card {
    transform: scale(1.1);
    box-shadow: 0 10px 28px rgba(0,0,0,0.15);
}

.swiper-slide-active .recruiter-name {
    color: #198754; /* Bootstrap success green */
    font-weight: 600;
}

/* SIDE FADE */
.swiper-slide {
    opacity: 0.6;
}

.swiper-slide-active {
    opacity: 1;
}
.recruiter-card:hover {
    border: 1px solid #198754;
}
.recruiter-name {
    font-size: 12px;
    line-height: 1.3;
    color: #444;

    display: -webkit-box;
    -webkit-line-clamp: 2;   /* 🔥 limit to 2 lines */
    -webkit-box-orient: vertical;

    overflow: hidden;
    white-space: normal;
}
.swiper-slide-active .recruiter-name {
    /*font-size: 13px;
    font-weight: 600;*/
    color: #198754;
}
@media (max-width: 768px) {
    .recruiter-card img {
        height: 45px;
    }

    .recruiter-name {
        font-size: 11px;
    }
}

/*==============About and notice section===================*/
/* ICON BASE */
.vm-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;
    font-size: 22px;

    position: relative;
    transition: all 0.3s ease;
}

/* ===== VISION (Blue Gradient) ===== */
.vm-vision .vm-icon {
    color: #0d6efd;
    background: linear-gradient(135deg, #e7f1ff, #d0e3ff);
}

/* ===== MISSION (Green Gradient) ===== */
.vm-mission .vm-icon {
    color: #198754;
    background: linear-gradient(135deg, #e6f4ea, #ccebd8);
}

/* ===== SOFT GLOW ===== */
.vm-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    opacity: 0;
    transition: 0.3s;
}

/* Glow colors */
.vm-vision .vm-icon::after {
    box-shadow: 0 0 20px rgba(13, 110, 253, 0.25);
}

.vm-mission .vm-icon::after {
    box-shadow: 0 0 20px rgba(25, 135, 84, 0.25);
}

/* ===== HOVER EFFECT ===== */
.vm-card:hover .vm-icon {
    transform: scale(1.1) rotate(3deg);
}

.vm-card:hover .vm-icon::after {
    opacity: 1;
}
/* =========================================
   FULLY RESPONSIVE ABOUT SECTION
   INDUSTRY STANDARD UI
========================================= */

.about-section {
    background: linear-gradient(to bottom, #f4f8ff, #ffffff);
    position: relative;
    overflow: hidden;
    padding: 70px 0;
}

/* CONTAINER SAFETY */
.about-section .container {
    width: 100%;
    max-width: 1320px;
    margin: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* =========================================
   SECTION TITLE
========================================= */

.section-title {
    position: relative;
    z-index: 2;
}

.section-title .subtitle {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(13, 110, 253, 0.08);
    color: #0d6efd;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title h2 {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 16px;
    line-height: 1.2;
}

.title-line {
    width: 90px;
    height: 4px;
    margin: auto;
    border-radius: 50px;
    background: linear-gradient(to right, #0d6efd, #00c6ff);
}

/* =========================================
   COMMON CARD STYLE
========================================= */

.about-card,
.notice-card {
    background: #fff;
    border-radius: 24px;
    border: 1px solid rgba(13, 110, 253, 0.08);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
    transition: all 0.35s ease;
    overflow: hidden;
    height: 100%;
}

.about-card:hover,
.notice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

/* =========================================
   ABOUT CARD
========================================= */

.about-card {
    padding: clamp(22px, 3vw, 38px);
}

/* TOP AREA */
.about-top {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.about-icon {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0d6efd, #00b4ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.7rem;
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.25);
}

/* CONTENT */
.about-content p {
    color: #475569;
    line-height: 1.9;
    font-size: clamp(0.95rem, 1vw, 1rem);
    margin-bottom: 18px;
}

/* BUTTON */
.about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    padding: 13px 28px;
    border-radius: 50px;
    background: linear-gradient(135deg, #0d6efd, #009dff);
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(13, 110, 253, 0.25);
}

.about-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(13, 110, 253, 0.35);
}

/* =========================================
   NOTICE BOARD
========================================= */
/* =========================================================
   NOTICE BOARD - INDUSTRY STANDARD MODERN UI
========================================================= */

/* CARD */
.notice-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(13, 110, 253, 0.08);
    box-shadow:
        0 12px 40px rgba(15, 23, 42, 0.08),
        0 2px 6px rgba(15, 23, 42, 0.04);
    transition: all 0.35s ease;
    position: relative;
}

.notice-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.12),
        0 4px 12px rgba(15, 23, 42, 0.06);
}

/* =========================================================
   HEADER
========================================================= */

.notice-header {
    background: linear-gradient(135deg, #0f172a, #0d6efd);
    padding: 22px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.notice-header h5 {
    font-size: 1.1rem;
    line-height: 1.3;
}

/* ICON */
.notice-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 18px;
    background: rgba(255,255,255,0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.3rem;
    backdrop-filter: blur(12px);
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,0.15),
        0 4px 12px rgba(0,0,0,0.12);
}

/* VIEW ALL */
.notice-view-all {
    text-decoration: none;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.notice-view-all:hover {
    color: #ffffff;
    opacity: 0.82;
    transform: translateX(2px);
}

/* =========================================================
   BODY
========================================================= */

.notice-body {
    position: relative;
    overflow: hidden;
    height: 430px;
    background: #ffffff;
}

/* SCROLL CONTAINER */
.notice-scroll {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* REMOVE SCROLLBAR */
.notice-scroll::-webkit-scrollbar {
    display: none;
}

/* =========================================================
   NOTICE LIST
========================================================= */

.notice-list {
    list-style: none;
    margin: 0;
    padding: 0;

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;

    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* =========================================================
   NOTICE ITEM
========================================================= */

.notice-item {
    position: relative;

    padding: 18px 24px;

    border-bottom: 1px solid #eef2f7;

    background: #ffffff;

    transition:
        background 0.3s ease,
        padding 0.3s ease,
        transform 0.3s ease;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.notice-item:last-child {
    border-bottom: none;
}

/* HOVER */
.notice-item:hover {
    background: #f8fbff;
    padding-left: 30px;
}

/* =========================================================
   CONTENT
========================================================= */

.notice-content {
    flex: 1;
    min-width: 0;
}

/* TITLE */
.notice-title {
    font-size: 0.97rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.6;
    word-break: break-word;
}

/* DEPARTMENT */
.notice-dept {
    margin-top: 5px;
    font-size: 0.84rem;
    color: #64748b;
    line-height: 1.4;
}

/* DATE */
.notice-date {
    font-size: 0.78rem;
    color: #94a3b8;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 2px;
}

/* =========================================================
   BADGE
========================================================= */

.notice-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-left: 8px;
    padding: 3px 9px;

    border-radius: 50px;

    background: linear-gradient(135deg, #ff3b30, #ff6b60);

    color: #ffffff;

    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.4px;

    vertical-align: middle;

    animation: pulseBadge 1.5s infinite;
}

/* ACTIVE */
.notice-badge.active {
    transform: scale(1.05);
}

/* BADGE ANIMATION */
@keyframes pulseBadge {

    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.08);
        opacity: 0.92;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* =========================================================
   LOADING / EMPTY STATE
========================================================= */

.notice-item.loading,
.notice-item.text-center {
    justify-content: center;
    text-align: center;
    color: #64748b;
    padding: 40px 20px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

/* LARGE DEVICES */
@media (max-width: 1199px) {

    .notice-body {
        height: 400px;
    }
}

/* TABLETS */
@media (max-width: 991px) {

    .notice-card {
        border-radius: 22px;
    }

    .notice-body {
        height: 360px;
    }

    .notice-header {
        padding: 20px 22px;
    }

    .notice-item {
        padding: 17px 20px;
    }
}

/* MOBILE */
@media (max-width: 767px) {

    .notice-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .notice-view-all {
        margin-left: 0;
    }

    .notice-body {
        height: 340px;
    }

    .notice-item {
        padding: 16px 18px;
        gap: 12px;
    }

    .notice-item:hover {
        padding-left: 22px;
    }

    .notice-title {
        font-size: 0.93rem;
    }

    .notice-date {
        font-size: 0.72rem;
    }
}

/* SMALL MOBILE */
@media (max-width: 575px) {

    .notice-card {
        border-radius: 18px;
    }

    .notice-header {
        padding: 18px;
    }

    .notice-icon {
        width: 52px;
        height: 52px;
        min-width: 52px;
        font-size: 1.1rem;
        border-radius: 15px;
    }

    .notice-body {
        height: 320px;
    }

    .notice-item {
        padding: 15px 16px;
    }

    .notice-title {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .notice-dept {
        font-size: 0.8rem;
    }

    .notice-badge {
        font-size: 0.6rem;
        padding: 2px 8px;
    }
}

/* EXTRA SMALL */
@media (max-width: 380px) {

    .notice-body {
        height: 300px;
    }

    .notice-item {
        padding: 14px 14px;
        gap: 10px;
    }

    .notice-title {
        font-size: 0.87rem;
    }

    .notice-date {
        font-size: 0.68rem;
    }

    .notice-dept {
        font-size: 0.76rem;
    }
}