

.info-card {
    font-family: 'Roboto', sans-serif;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: start;
  background-color: #ffffff;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

body {
  font-family: 'Roboto', sans-serif;
}


html {
  font-size: 16px;
}
body {
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
}
.abc{
  text-align: justify; 
  font-size: 15px;
   line-height: 1.8;
    color: #363333;
}
.auto-min-height {
    min-height: auto;
}
 .custom-btn {
  background-color: #cd4c1e;
  border-color: #cd4c1e;
  color: #ffffff;
}

.btn-trending{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #00b09b, #96c93d);
    color: #2c2c2c;
    font-weight: 700;
    padding: 22px 28px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 176, 155, 0.35);
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}

.btn-trending::before{
    content: "🔥";
    margin-right: 6px;
}

.btn-trending:hover{
    color: #fff;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 28px rgba(0, 176, 155, 0.45);
}

.btn-trending:active{
    transform: scale(.98);
}

.new-gif img {
    width: 40px;
    height: auto;
    vertical-align: middle;
}

.new-gif {
    margin-left: 8px;
}


.custom-btn:hover {
  background-color: #b84319;
  border-color: #b84319;
  color: #ffffff;
}
.apply-btn {
  background: linear-gradient(135deg, #007bff, #00c4b4);
  border: none;
  color: #ffffff;
  font-weight: 500;
  transition: all 0.3s ease;
}

.apply-btn:hover {
  background: linear-gradient(135deg, #0069d9, #00a89c);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}










/* Container style */
.notice-card {
  background-color: #ffeee9;
  border-color: #ffdad0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Date text */
.notice-card .notice-date {
  font-size: 15px;
  color: #6c757d; /* text-muted equivalent */
  margin-bottom: 0.25rem;
}

/* Title text */
.notice-card .notice-title {
  font-size: 15px;
  color: #ff0018;
  font-weight: 500; /* fw-semibold */
  margin-bottom: 0.5rem;
}
/* Alternate notice card (lighter background) */
.notice-card-alt {
  background-color: #f8f9fa;
  border-color: #dee2e6;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Date text */
.notice-card-alt .notice-date {
  font-size: 15px;
  color: #6c757d; /* muted text */
  margin-bottom: 0.25rem;
}

/* Title / advertisement number */
.notice-card-alt .advt-text {
  font-size: 15px;
  color: #ff0018;
  font-weight: 500; /* fw-semibold */
  margin-bottom: 0.5rem;
}

/* Description text */
.notice-card-alt .notice-desc {
  font-size: 15px;
  color: #000000;
  text-align: justify;
  margin-bottom: 0;
}

/* Green notice card */
.notice-card-green {
  background-color: #e4ffe5;
  border-color: #c8f5c8;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Date text */
.notice-card-green .notice-date {
  font-size: 15px;
  color: #6c757d; /* muted gray */
  margin-bottom: 0.25rem;
}

/* Advertisement number */
.notice-card-green .advt-text {
  font-size: 15px;
  color: #ff0018;
  font-weight: 500; /* fw-semibold */
  margin-bottom: 0.5rem;
}

/* Notification description text */
.notice-card-green .notification-text {
  font-size: 15px;
  color: #000000;
  text-align: justify;
  margin-bottom: 0.5rem;
}

/* Closing date */
.notice-card-green .closing-date {
  font-size: 14px;
  color: #ff0018;
  font-weight: 400;
}


.custom-heading-black {
    text-align: -webkit-center;
  color: white !important;
  border-radius: 13px;
  border-bottom: 2px solid #002c61;
  padding-bottom: 10px;
   padding-top: 10px;
  background: linear-gradient(90deg, #332abb, #000000);
  font-weight: initial;
  margin-bottom: 1rem; /* Equivalent to Bootstrap’s mb-3 */
}



/* Header Banner Styling */
.header-banner {
  background: url('your-banner-image.jpg') no-repeat center center;
  background-size: cover;
  padding: 30px 0;
  color: #fff;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header-banner .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.header-banner h1 {
  margin: 0;
  font-size: 26px;
  font-weight: bold;
  line-height: 1.3;
}

.header-banner p {
  margin: 5px 0 0;
  font-size: 16px;
  line-height: 1.4;
}

/* Emblem or Logo */
.header-banner img {
  height: 60px;
  max-width: 100%;
}




/* ====== */
/* Optional: Font Awesome icon (include this in your <head>) */
/* @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css'); */

/* Local Font Awesome */
@import url('<?php echo $baseURLDashboardAssets; ?>vendor/fontawesome/css/all.min.css');





.owl-theme .owl-nav {
    background-color: #cd4c1e;
    margin-top: 10px;
}
.border-bottom {
    border-bottom: 1px solid #1d4a76 !important;
}

.banner .owl-carousel .item-first,
.banner .owl-carousel .item-second,
.banner .owl-carousel .item-third {
  background-size: cover;
  background-position: center;
  /* height: 500px;  */
    min-height: 60vh;
}

.banner-no-padding {
  padding-top: 0px;
}

.banner .owl-carousel .item-first,
.banner .owl-carousel .item-second,
.banner .owl-carousel .item-third {
  background-size: cover;
  background-position: center;
  /* height: 500px;  */
}
    
.banner-item-01,
.banner-item-02,
.banner-item-03,
.banner-item-04,
.banner-item-05,
.banner-item-06,
.banner-item-07,
.banner-item-08{
  min-height: 60vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;   /* prevents clipping */
  background-color: #7487a1;  /* optional background */
}


/* 
.banner-item-01, 
.banner-item-02, 
.banner-item-03, 
.banner-item-04 ,
.banner-item-05 ,
.banner-item-06 


 {
  min-height: 60vh;            
  background-size: contain;      
  background-position: center center;
  background-repeat: no-repeat;

}
.banner-item-07

 {
  min-height: 60vh;              
  background-size: cover;       
  background-position: center center;
  background-repeat: no-repeat;
     background-color: #7487a1;
}
.banner-item-08

 {
  background-size: cover;
  min-height: 60vh;             
    
  background-position: center center;
  background-repeat: no-repeat;
     background-color: #7487a1;
} */




    
/* All banners use the same image */
.banner-item-06 {
  
  background-image: url(https://ksrec.kerala.gov.in/website/assets/newdashboard/images/ba.png);
  /* background-image: url('<?php echo $baseURLDashboardAssets; ?>images/ba.png'); */
}

.banner-item-03 {
  /* background-image: url('<?php echo $baseURLDashboardAssets; ?>images/zx4.png'); */
  
  background-image: url(https://ksrec.kerala.gov.in/website/assets/newdashboard/images/zx4.png);

}

.banner-item-01 {

  background-image: url(https://ksrec.kerala.gov.in/website/assets/newdashboard/images/ban1111.png);
  /* background-image: url('<?php echo $baseURLDashboardAssets; ?>images/ban1111.png'); */
}
.banner-item-04{
  /* background-image: url('<?php echo $baseURLDashboardAssets; ?>images/bannerrre1.png'); */
  
  background-image: url(https://ksrec.kerala.gov.in/website/assets/newdashboard/images/bannerrre1.png);
}
.banner-item-02 {
  /* background-image: url('<?php echo $baseURLDashboardAssets; ?>images/BANNERR24.png'); */
    background-image: url(https://ksrec.kerala.gov.in/website/assets/newdashboard/images/BANNERR24.png);

}

.banner-item-05{
  /* background-image: url('<?php echo $baseURLDashboardAssets; ?>images/bannera1.png'); */
    background-image: url(https://ksrec.kerala.gov.in/website/assets/newdashboard/images/bannera1.png);

}
.banner-item-08 {
  /* background-image: url('<?php echo $baseURLDashboardAssets; ?>images/onambanner1.png'); */
    background-image: url(https://ksrec.kerala.gov.in/website/assets/newdashboard/images/onambanner1.png);

}
.banner-item-07 {
  /* background-image: url('<?php echo $baseURLDashboardAssets; ?>images/banner12345679.png'); */
    background-image: url(https://ksrec.kerala.gov.in/website/assets/newdashboard/images/banner12345679.png);

}
/* banner123.png */


.owl-theme .owl-nav {
    background-color: #cd4c1e;
    margin-top: 10px;
}






.border-bottom {
    border-bottom: 1px solid #1d4a76 !important;
}
 

  /* Container styling */
/* Tabs container */
#careerTabs {
  display: flex;
  gap: 1.5rem;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

/* Tab buttons as text links */
#careerTabs .btn {
  background: none !important;
  border: none !important;
  color: #555 !important;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.25rem 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  transition: color 0.3s ease;
  position: relative;
}
.bg-light {
    background-color: #fff4d6 !important;
}
/* Hover effect */
#careerTabs .btn:hover {
  color: #007bff !important;
}

/* Active tab underline */
#careerTabs .btn.active {
  color: #007bff !important;
}

#careerTabs .btn.active::after {
  /* content: ""; */
  /* position: absolute; */
  /* left: 0; */
  /* bottom: -2px; */
  width: 100%;
  height: 3px;
  background: #f52323ff;
  border-radius: 3px 3px 0 0;
}

/* Optional: smooth underline animation on hover */
#careerTabs .btn::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 3px;
  background: #85203eff;
  border-radius: 3px 3px 0 0;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

#careerTabs .btn:hover::after {
  width: 100%;
  left: 0;
  transform: none;
}



  .tab-content p {
    font-size: 17px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 0;
  }

  .check-icon {
    background-color: #1e2b55;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    flex-shrink: 0;
    margin-right: 14px;
    margin-top: 4px;
  }

  .whats-new-box ul li {
    display: flex;
    gap: 10px;
  }
/* Whats New Box – Red Variant */
.whats-new-red {
  background-color: #ffd6d5;
}

/* Optional: common styling for all whats-new-boxes */
.whats-new-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  height: 100%;
  padding: 1.5rem;
  background-color: #e4ffe5; /* default */
}
/* Full flex container */
.flex-container {
  display: flex;
  width: 100%;
  gap: 20px;
  align-items: flex-start;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Flex ratios */
.flex-5 { flex: 5; }
.flex-3 { flex: 3; }
.flex-4 { flex: 4; }

/* Video */
.video-module{
background:#fff;
padding:70px 0;
}

/* VIDEO */

.video-box video{
width:100%;
height:auto;
border-radius:12px;
box-shadow:0 4px 12px rgba(0,0,0,0.3);
}

/* DESCRIPTION */

.video-content{
padding:30px 20px;
}

.video-content h2{
font-size:22px;
font-weight:700;
margin-bottom:20px;
}

.video-content p{
line-height:1.7;
font-size:16px;
margin-bottom:12px;
}


/* MODULE SECTION */

.tourism-module{
padding:20px;
border-radius:20px;
box-shadow:0 8px 20px rgba(0,0,0,0.08);
position:relative;
overflow:hidden;
}

/* BACKGROUND IMAGE */

.tourism-bg{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
object-fit:cover;
z-index:0;
}

/* CONTENT ABOVE IMAGE */

.tourism-content{
position:relative;
z-index:1;
color:#fff;
}


/* GRID FOR MODULES */

.module-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:12px;
}


/* MODULE BOX */

.tourism-box{
background:linear-gradient(135deg,#42a5f5,#478ed1);
color:white;
padding:18px 10px;
border-radius:14px;
text-align:center;
font-weight:600;
font-size:14px;
cursor:pointer;
transition:all .3s ease;
}

.tourism-box i{
font-size:22px;
display:block;
margin-bottom:8px;
}

.tourism-box:hover{
transform:translateY(-5px);
box-shadow:0 8px 20px rgba(0,0,0,0.2);
}


/* COLORS */

.tourism-box:nth-child(1){background:linear-gradient(135deg,#98e29c,#43a047);}
.tourism-box:nth-child(2){background:linear-gradient(135deg,#ec8e8d,#c62828);}
.tourism-box:nth-child(3){background:linear-gradient(135deg,#80cef1,#0288d1);}
.tourism-box:nth-child(4){background:linear-gradient(135deg,#e284f3,#7b1fa2);}
.tourism-box:nth-child(5){background:linear-gradient(135deg,#f5c75e,#f57c00);}
.tourism-box:nth-child(6){background:linear-gradient(135deg,#919feb,#283593);}


/* RESPONSIVE */

@media (max-width:992px){

.module-grid{
grid-template-columns:repeat(2,1fr);
}

}

@media (max-width:576px){

.module-grid{
grid-template-columns:1fr;
}

.video-content{
text-align:center;
}

}
.video-module {
    background-color: #f3f2fb;
    position: relative;
    padding: 40px 0;
    color: #000000ff;
    font-family: 'Roboto', sans-serif;
}
.custom-video {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.video-title {
    font-size: 20px; /* Reduced size */
}

.video-text {
    font-size: 14px; /* Reduced paragraph size */
    text-align: justify;
}



  .pastel-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    color: #002c61;
  }

  .pastel-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
  }

  .emoji {
    font-size: 40px;
    margin-bottom: 10px;
  }

  /* Pastel color classes */
  .pastel-pink    { background-color: #fde2e4; }
  .pastel-green   { background-color: #e3aa9a; }
  .pastel-blue    { background-color: #dbeafe; }
  .pastel-purple  { background-color: #e0bbf9; }
  .pastel-grey    { background-color: #f9efab; }
  .pastel-cyan    { background-color: #c2f0f7; }
  .pastel-mint    { background-color: #daf5dc; }
  .pastel-beige   { background-color: #fdf6e3; }
  .pastel-red     { background-color: #ffe0e0; }

  .card-body h5 {
    font-weight: bold;
    color: #002c61;
  }

  .card-body p {
    font-size: 0.9rem;
    color: #555;
  }

/* ====================== */
/* what do we do  */

/* Replaces the former inline max-width + centering */
.constrained-container {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

/* Optional: make sure it behaves well on very wide screens */
@media (min-width: 1441px) {
    .constrained-container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Optional: tighter gutters on smaller screens if you want */
@media (max-width: 575px) {
    .constrained-container {
        padding-left: 0;
        padding-right: 0;
    }
}
.what-we-do-section {
  background-image: url(https://ksrec.kerala.gov.in/website/assets/newdashboard/images/bg5.jpg);
/* background-image: url('website/assets/newdashboard/images/bg5.jpg'); */

    /* Choose ONE of the path variants below that works on your server: */

    /* Variant A - root-relative (usually best for most projects) */
    /* background-image: url('/assets/newdashboard/images/bg5.jpg'); */

    /* Variant B - if CSS is in /assets/newdashboard/css/ (sibling folder) */
    /* background-image: url('../images/bg5.jpg'); */

    /* Variant C - full path using your PHP variable (if you must keep logic in CSS) */
    /* background-image: url('<?php echo $baseURLDashboardAssets; ?>images/bg5.jpg'); */
  

  font-family: 'Roboto', sans-serif;
  background-color: #e8f1ff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 0;
}



/* .what-we-do-section .section-title {
  font-weight: bold;
  color: #fff;
  margin-bottom: 1.5rem;
} */
.what-we-do-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.what-we-do-section .card-wrapper {
  height: 100%;   /* helps equal height cards in row */
}
.what-we-do-section .card {
  border-radius: 12px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
  /* background-color: #c0d3a1; */
  height: 100%;
  border: none;
  padding: 25px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  margin: 15px;
    overflow: hidden;
}


.what-we-do-section .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

/* Base pastel colors (used as default background) */
/* .what-we-do-section .pastel-pink  { background-color: #ec9f6b; }linear-gradient(135deg, #0c459d, #1e88e5) */
/* .what-we-do-section .pastel-pink {background: linear-gradient(135deg, #0c459d, #1e88e5);} */
.what-we-do-section .pastel-pink  { background-color: #eed5de; }
.what-we-do-section .pastel-green { background-color: #a9e0ae; }
.what-we-do-section .pastel-blue  { background-color: #9fc0d8; }
.what-we-do-section .pastel-purple{ background-color: #c096c7; }
.what-we-do-section .pastel-grey  { background-color: #f5f5f5; }
.what-we-do-section .pastel-cyan  { background-color: #ee7971; }
.what-we-do-section .pastel-mint  { background-color: #e0f2e9; }
.what-we-do-section .pastel-beige { background-color: #e0d2a4; }
.what-we-do-section .pastel-red   { background-color: #e0a2ab; }

/* Optional: stronger hover contrast (you can keep or remove) */
.what-we-do-section .pastel-pink:hover  { background-color: #ec9f6b; }
.what-we-do-section .pastel-green:hover { background-color: #cde0ce; }
.what-we-do-section .pastel-blue:hover  { background-color: #bbdefb; }
.what-we-do-section .pastel-purple:hover{ background-color: #ead4ee; }
.what-we-do-section .pastel-grey:hover  { background-color: #eee2e2; }
.what-we-do-section .pastel-cyan:hover  { background-color: #ccebf0; }
.what-we-do-section .pastel-mint:hover  { background-color: #d6f1d7; }
.what-we-do-section .pastel-beige:hover { background-color: #e4dcbf; }
.what-we-do-section .pastel-red:hover   { background-color: #f1d7da; }

.what-we-do-section .card-body {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 260px; /* adjust depending on your longest text */
}

.what-we-do-section .emoji {
  font-size: 3.2rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.what-we-do-section h5 {
  color: #002c61;
  font-weight: 700;
  margin-bottom: 0.85rem;
  font-size: 1.35rem;
}

.what-we-do-section p {
  color: #333;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Container max-width helper if you don't want to keep inline */
@media (min-width: 1400px) {
  .container-fluid.px-0 {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Your existing responsive rules can stay */
@media (min-width: 992px) {
  .what-we-do-section .col-lg-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
}


/* ======= */
.video-module {
    background-color: #f3f2fb;
    position: relative;
    padding: 40px 0;
    color: #000000ff;
    font-family: 'Roboto', sans-serif;
}

/* .flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; 
} */

/* .video-box {
    flex: 1 1 50%; 
} */



/* ... keep your other media queries and animations ... */

/* <!-- ======= Portal Cards Section ======= --> */
.highlights-slider {
  background: linear-gradient(135deg, #fff5f7, #fce8ff);
  border-radius: 15px;
  /* padding: 15px; */
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}


.highlights-carousel .highlight-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.highlights-carousel .highlight-item img {
  width: 100%;
  height: 415px;
  object-fit: contain;
  display: block;
}
.highlights-carousel .highlight-item img.contain-img {
  object-fit: contain;
}
.highlight-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.5);
  padding: 10px 15px;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
}

.highlights-carousel .owl-nav button {
  position: absolute;
  top: 40%;
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
  width: 35px;
  height: 35px;
}

.highlights-carousel .owl-nav .owl-prev { left: -15px; }
.highlights-carousel .owl-nav .owl-next { right: -15px; }
.highlights-carousel .owl-dots .owl-dot span {
  background: #ff6f61;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.portal-card {
  position: relative;
  height: 210px; /* increased height */
  perspective: 1000px;
}

.portal-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.portal-card:hover .portal-card-inner {
  transform: rotateY(180deg);
}

.portal-card-front,
.portal-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  padding: 40px;
  color: #000000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portal-card-back {
  background: linear-gradient(135deg, #1f4037, #99f2c8);
  
  /* background: linear-gradient(135deg, #ff4b1f, #1fddff); */
  transform: rotateY(180deg);
}

.portal-icon {
  position: absolute;
  bottom: 15px;
  right: 15px;
  font-size: 60px;
  /* opacity: 0.2; */
}

.portal-title {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1.1rem;
}

.portal-desc {
  font-size: 0.9rem;
}

.portal-link {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.carousel-caption {
    background-color: #709eff;
    position: absolute;
    right: 15%;
    bottom: 20px;
    left: 15%;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #000000;
    text-align: center;
}
  .carousel-control-next, .carousel-control-prev {
    position: absolute;
    top: 0;
    bottom: 0;
    display: -ms-flexbox;
    display: flex
;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 15%;
    color: #fff;
    text-align: center;
    opacity: -.5;
}
.accordion-gallery-section {
  padding: 40px 0;
  /* background: linear-gradient(135deg, #f7f9fc, #e6f2ef); */
  background: linear-gradient(135deg, #ffffff, #e6f2ef)
}

.accordion-container {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.accordion-item {
  border-bottom: 1px solid #ddd;
}

.accordion-header {
  background: linear-gradient(90deg, #332abb, #000000);
  color: white;
  padding: 15px 18px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: all 0.3s ease;
}
.accordion-header:hover {
  background: linear-gradient(90deg, #000000, #00a97f);
  transform: scale(1.01);
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  background: #f9f9f9;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.accordion-content ul {
  margin: 0;
  padding: 10px 20px;
  list-style: none;
}
.accordion-content li {
  padding: 6px 0;
}
.accordion-content a {
  text-decoration: none;
  color: #333;
}
.accordion-content a:hover {
  color: #ff6600;
}


.gradient-caption {
      
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 14px;
  display: inline-block;

  /* Animated Gradient */
  background: linear-gradient(
    270deg,
    #2f00ff,
    #00c6ff,
    #ee0979,
    #ff6a00
  );
  background-size: 800% 800%;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: gradientMove 6s ease infinite;

  /* Soft glow */
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Smooth animation */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Optional hover effect */
.gradient-caption:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}









.events-gallery {
  background: #e5e5ff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 15px;
}
.events-gallery .carousel-item img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 8px;
}



/* Accordion content pastel backgrounds */
.accordion-content.tender-content       { background: #f5e7fb; }
.accordion-content.eoi-content          { background: rgb(246 255 247); }
.accordion-content.quotation-content    { background: rgb(255 241 232); }
.accordion-content.circular-content     { background: rgb(255 217 238); }
.accordion-content.notification-content { background: rgb(235 229 199); }
.accordion-content.result-content       { background: #f5e7fb; }

/* Archives & Downloads — keep default or assign if needed */
.accordion-content.archive-content,
.accordion-content.download-content     { background: #f9f9f9; }

/* Portal card specific gradients */
.portal-card.photo-album    .portal-card-front { background: linear-gradient(135deg, #ff5fd7, #feb47b); }
.portal-card.publications   .portal-card-front { background: linear-gradient(135deg, #43cea2, #185a9d); }
/* .portal-card.learning-centre .portal-card-front { background: linear-gradient(135deg, #00c6ff, #0072ff); } */
/* .portal-card.learning-centre .portal-card-front { background: linear-gradient(135deg, #2e7d32, #66bb6a); } */
.portal-card.learning-centre .portal-card-front { background: linear-gradient(135deg, #f57c00, #ffb74d) }
.portal-card.mobile-apps    .portal-card-front { background: linear-gradient(135deg, #a35bcd, #12001e); color: white; }

/* Fix text color for dark background card */
.portal-card.mobile-apps .portal-title,
.portal-card.mobile-apps .portal-desc,
.portal-card.mobile-apps .portal-link {
  color: white;
}

/* Highlights images default styling (override inline if any still exist) */
.highlights-carousel .highlight-item img {
  width: 100%;
  height: 415px;
  /* object-fit: cover;            */
  display: block;
}

/* .highlights-carousel .highlight-item img.contain-img {
  object-fit: cover;
} */

/* Optional: make sure front side text is readable on all gradients */
.portal-card-front {
  /* color: white;               */
  background-blend-mode: overlay;
}

/* If you want Archives/Downloads to have unique colors too, just add them like above */

  
.project-showcase {
  padding: 40px 20px;
  max-width: 2375px;
  /* max-width: 1800px; More stretched width */
  margin: 0 auto;
  /* background: linear-gradient(135deg, #f0f4f8, #dbe6f6); */
  background:linear-gradient(135deg, #efebeb, #f1d1d1);
  border-radius: 8px;
}

.section-title {
  text-align: center;
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #b90101;
}

.filter-buttons {
  text-align: center;
  margin-bottom: 25px;
}

.filter-btn {
  background: #315af3;
  color: white;
  border: none;
  padding: 10px 20px;
  margin: 0 6px;
  cursor: pointer;
  border-radius: 14px;
  transition: background 0.3s, transform 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: #002d5a;
  transform: translateY(-2px);
}

.projects-flex {
      /* animation: scrollLinks 50s linear infinite; */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px; /* Adjust spacing */
}




.project-card {
    position: relative;

  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  width: 420px; 
    /* width: 100px;  */
  height: 420px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
   display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}


.project-card img {
   /* position: absolute; */
  top: 0;
  left: 0;
  width: 100%;
  /* height: 222px; */
    height: 222px !important;
    /* height: 100px !important; */
  object-fit: cover;
  display: block;
}
.proj-card-title { /* Custom class to avoid conflicts */
  padding: 12px;
  font-size: 21px;
  margin: 0;
  font-weight: bold;
  color: #000000ff;
  background: linear-gradient(90deg, #ffeded, #ffffff);
  letter-spacing: 0.5px;
}

.project-card.hidden {
  display: none;
}

.project-card p {
  /* padding-top: 1px; */
  padding-left: 21px;
    padding-right: 19px;
      TEXT-ALIGN: justify;
    /* font-family: 'Roboto'; */
    margin-bottom: 0px;
    font-size: 17px;
    font-weight: 200;
    color: #000000;
    line-height: 27px;
}

/* =================================== */
.quick-links-container {
  /* background: #c97f72; */
  padding: 20px;                /* increased from 10px */
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  margin: 20px auto;            /* spacing around the container */
  max-width: 100%;              /* ensures responsiveness */
}

.quick-links-slider {
  display: flex;
  gap: 50px;                    /* more space between logos */
  animation: scrollLinks 25s linear infinite;
  align-items: center;
  padding: 10px 0;
}

.quick-links-slider a img {
  max-height: 110px;             /* increased from 50px */
  transition: transform 0.3s ease-in-out;
}

.quick-links-slider a:hover img {
  transform: scale(1.1);
}

@keyframes scrollLinks {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}





.best-features-custom {
  background-color: #879ab7;
  margin-top: 0;
}
.constrained-fluid {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.best-features-custom .container-fluid {
  max-width: 100%;
}
/* Custom Info Card Styles */
.info-card-custom {
  min-height: auto; /* optional, can set a fixed height if needed */
  font-family: 'Roboto', sans-serif;
}

.info-card-bg1 { background-color: #ffeee9; }
.info-card-bg2 { background-color: #f8f9fa; }
.info-card-bg3 { background-color: #e4ffe5; }
/* Career Tabs */
.career-tab-btn {
  background: linear-gradient(135deg,#004080,#007bff);
  border: none;
  color: #fff;
  font-weight: 500;
}

.career-tab-btn.active {
  /* optional: different style for active tab */
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
}

/* Tab content */
.tab-content {
  display: none; /* default hidden */
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  text-align: justify;
}

.tab-content.active {
  display: block;
}
.custom-heading-black {
    text-align: -webkit-center;
  color: white !important;
  border-radius: 13px;
  border-bottom: 2px solid #002c61;
  padding-bottom: 10px;
   padding-top: 10px;
  background: linear-gradient(90deg, #332abb, #000000);
  font-weight: initial;
  margin-bottom: 1rem; 
}
.owl-theme .owl-nav {
    background-color: #cd4c1e;
    margin-top: 10px;
}
.border-bottom {
    border-bottom: 1px solid #1d4a76 !important;
}
/* ===== Career / Notification Section ===== */

.advt-text {
    font-size: 14px;
    color: #ff0018;
    font-weight: 500;
}

.notification-text {
    font-size: 15px;
    margin-bottom: 0;
    text-align: justify;
}

.closing-date {
    font-size: 14px;
    color: #ff0018;
    font-weight: 400;
}

.btn-custom-orange {
    background-color: #cd4c1e;
}



/* footer css */


  
.ksrec-footer {
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(135deg, #0b1e36, #002d5a);
  color: white;
  font-size: 1.1rem;
  line-height: 1.6;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.5rem;           /* 40px */
  max-width: 1400px;
  margin: 0 auto;
  padding: 3.125rem 1.25rem 0;   /* 50px 20px top only – bottom padding added later if needed */
}

.footer-col {
  flex: 1;
  min-width: 220px;
}

.institution {
  flex: 1.5;           /* slightly wider for address/contact */
}

.map-col {
  flex: 1.2;
  max-width: 420px;
}

/* Headings */
.footer-heading {
  font-weight: 600;
  font-size: 1.15rem;
  text-transform: uppercase;
  margin-bottom: 1rem;           /* 16px */
  padding-bottom: 0.3125rem;     /* 5px */
  border-bottom: 2px solid #ffcc00;
  display: inline-block;
  letter-spacing: 0.5px;
}

/* Links & Lists */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;        /* ~12px */
  font-size: 1.05rem;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover,
.footer-links a:focus {
  color: #ffcc00;
  padding-left: 0.3125rem;       /* 5px */
}

/* Institution / Contact */
.institution h5 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.3125rem;      /* 21px */
  text-transform: uppercase;
}

.footer-address {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;        /* 20px */
  text-align: justify;
}

.contact-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;                  /* 20px */
  margin-top: 0.625rem;          /* 10px */
  font-size: 1.05rem;
}

.contact-inline span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-inline i {
  color: #ffcc00;
  font-size: 1.2rem;
}

/* Bottom Bar */
.footer-bottom {
  text-align: center;
  padding: 1rem 0;
  margin-top: 2.5rem;
  background-color: #cd4c1e;
  font-size: 1.05rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom small {
  opacity: 0.95;
}

/* Map Wrapper */
.map-col .map-wrapper {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  margin-top: 1rem;
}

.map-col iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .footer-container {
    gap: 2rem;
    padding: 2.5rem 1.5rem 0;
  }
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
  }

  .footer-col,
  .map-col {
    min-width: 100%;
    max-width: 100%;
  }

  .institution h5 {
    font-size: 1.4rem;
  }

  .contact-inline {
    justify-content: center;
    gap: 1.5rem;
  }

  .footer-links {
    text-align: center;
  }

  .footer-heading {
    display: block;
    margin: 0 auto 1rem;
  }

  .map-col iframe {
    height: 220px;
  }
}
.tab-hidden {
    display: none;
}
@media (max-width: 576px) {
  .footer-bottom {
    font-size: 0.95rem;
    padding: 1.2rem 0.8rem;
  }
}

/* Prevent horizontal scroll – good practice */
html, body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

