/* ===== FORCE MEGA MENU TO IGNORE TEMPLATE CSS ===== */
/* =============================
GENERAL RESET & BASE
============================= */
body, html {
   overflow-x: hidden;
    margin: 0;
    padding: 0;

  /*user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;*/
  
}

/* =============================
NAVBAR & MEGA MENU
============================= */
/* Make navbar stretch full screen */
#ftco-navbar .container,
#ftco-navbar .container-fluid {
    width: 97% !important;
    max-width: 100% !important;
    padding-left: 0px;   /* optional spacing */
    padding-right: 0px;  /* optional spacing */
}

/* Bigger navbar height */
#ftco-navbar {
    min-height: 80px;  /* default is ~60px, adjust as needed */
    padding-top: 10px;
    padding-bottom: 10px;
}
#ftco-navbar .navbar-nav .nav-link {
    padding-top: 18px;
    padding-bottom: 18px;
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* Spread menu items evenly */
#ftco-navbar .navbar-nav {
    display: flex !important;
    justify-content: space-around; /* or space-between */
    width: 100%;
}
/* Ensure navbar flexes fully */
.navbar-nav {
    display: flex !important;
    width: 100%;
    justify-content: space-around; /* spreads items */
    align-items: center;
}

/* Menu item styles */
.navbar-nav > .nav-item > .nav-link {
    font-size: 15px !important;   /* bigger font */
    font-weight: 600 !important;  /* bold */
    font-family: "Poppins", "Open Sans", Arial, sans-serif;
    padding: 6px 10px;           /* adjust vertical/horizontal spacing */
    color: #07294d !important;
    text-transform: none !important; /* removes CAPS */
}

.contact-box h3 {
  color: #ffffff;
}

.navbar-nav > .nav-item {
  position: relative;
  margin: 0 14px;
}

.navbar-nav > .nav-item > .nav-link {
  position: relative;
  padding-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #0f4c75;
  transition: 0.25s ease;
  text-transform: none !important; /* removes CAPS */
}

 /* IMAGE SIZE */
  .navbar-brand img {
    max-height: 60px !important;
    max-width: 180px !important;
    display: block !important;
  }

/* Thicker moving underline */
.navbar-nav > .nav-item > .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 4px;
  background: rgb(7, 41, 77);
  transition: 0.35s ease;
  text-transform: none !important; /* removes CAPS */
}

.navbar-nav > .nav-item:hover > .nav-link::after {
  width: 100%;
}

.navbar-nav:hover > .nav-item.active:not(:hover) > .nav-link::after {
  width: 0% !important;
}

.navbar-nav > .nav-item.active > .nav-link::after {
  width: 100%;
}

.navbar-nav > .nav-item > .nav-link:hover {
  color: rgb(7, 41, 77);
}

.navbar-nav > .nav-item.cta > a {
    padding-top: 10px !important;  
    padding-bottom: 10px !important; 
    padding-left: 18px;            
    padding-right: 18px;
    font-size: 14px;               
    margin-top: 2px;  
    background-color: #0f4c75 !important; 
    color: #fff !important;
    border-radius: 4px;
    text-decoration: none !important; /* remove underline */
    display: inline-block;
    transition: background 0.3s ease;
    border-bottom: none !important; /* remove horizontal line if any */
}

.navbar-nav > .nav-item.cta > a,
.navbar-nav > .nav-item.cta > a span {
    color: #fff !important; /* default text color */
    text-decoration: none !important;
}

.navbar-nav > .nav-item.cta > a:hover,
.navbar-nav > .nav-item.cta > a:hover span {
    background-color: #0f4c75 !important; /* hover background */
    color: #fff !important;               /* text turns black */
    text-decoration: none !important;     /* remove underline */
    border: none !important;
}

.navbar-nav > .nav-item.cta > a::after {
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    background: none !important;
}
/* =============================
MEGA MENU LAYOUT
============================= */

/* Force mega dropdown ignore template CSS */
.navbar-nav .mega-dropdown {
  position: static !important;
}

.mega-dropdown .mega-menu {
  position: absolute !important;
  top: 100%;
  left: 0;
  width: 100%;
  max-width: 1100px;
  margin: 0;
  padding: 45px 60px;
  background: #fff;
  border: none;
  border-radius: 0;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  z-index: 9999;
}

.mega-dropdown:hover .mega-menu {
  opacity: 1 !important;
  visibility: visible !important;
  top: 100%;
}

/* Columns */
.mega-menu .row > div {
  padding: 0 35px;
}

/* Vertical lines between columns */
.mega-menu .row > div:not(:last-child) {
  border-right: 1px solid #e8e8e8;
}

/* Headings in mega menu */
.mega-menu .dropdown-header {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 14px;
  color: #07294d;
}

/* Links in mega menu */
.mega-menu .dropdown-item {
  font-size: 17px;
  padding: 8px 0;
  color: #07294d;
  transition: 0.25s;

}

.mega-menu .dropdown-item:hover {
  color: rgb(160, 133, 133);
  padding-left: 8px;
}

.navbar-nav > .nav-item.mega-dropdown > .nav-link::after {
    content: none !important;   /* remove underline */
    width: 0 !important;
    height: 0 !important;
    background: none !important;
    bottom: auto !important;
}


/* Enroll box */
.enroll-box {
  text-align: center;
  padding: 10px 18px;
}

.enroll-box h6 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
}

.enroll-box p {
  font-size: 15px;
  color: #07294d;
  line-height: 1.6;
}

.enroll-box .btn {
  background: rgb(160, 133, 133) !important;
  border: none;
  color: #fff;
  padding: 12px 26px;
  font-size: 15px;
  border-radius: 4px;
}

.enroll-box .btn:hover {
  background: rgb(7, 41, 77)!important;
}

/* Keep About menu aligned with logo */
.navbar .container,
.navbar .container-fluid {
    position: relative;
}

/* FULL WIDTH FACULTY MEGA MENU */
.mega-dropdown.faculty .mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  padding: 10px 30px;
  margin: 0;
  box-shadow: 0 5px 5px rgba(160,133,133,0.4);
  display: flex;
  justify-content: flex-start;
}

/* row layout */
.mega-dropdown.faculty .mega-menu .row {
  display: flex;
  align-items: flex-start; /* top-aligned columns */
  width: 100%;
  margin: 0;
  gap: 10px; /* smaller gap prevents wrapping */
  flex-wrap: nowrap; /* prevent columns from dropping down */
}

/* Column widths - sum must not exceed 100% */
.mega-dropdown.faculty .mega-menu .row > div:nth-child(1) {
  flex: 0 0 22%;  /* Allied Health Sciences */
  max-width: 22%;
  padding: 0 10px;
}

.mega-dropdown.faculty .mega-menu .row > div:nth-child(2) {
  flex: 0 0 18%;  /* Basic Medical Sciences smaller */
  max-width: 18%;
  padding: 0 10px;
}

.mega-dropdown.faculty .mega-menu .row > div:nth-child(3) {
  flex: 0 0 25%;  /* Natural & Applied Sciences */
  max-width: 25%;
  padding: 0 10px;
}

.mega-dropdown.faculty .mega-menu .row > div:nth-child(4) {
  flex: 0 0 35%;  /* Engineering & Built Environment wider */
  max-width: 35%;
  padding: 0 10px;
}
/* ===== Normal Dropdown Menus ===== */

/* Parent nav item */
.navbar-nav .dropdown-normal {
  position: relative;
}

/* Dropdown menu */
.navbar-nav .dropdown-normal .dropdown-menu {
  position: absolute;
  top: 100%;          /* below the parent link */
  left: 0;
  min-width: 180px;   /* small width, adjust as needed */
  padding: 0;
  background: #ffffff;
  border: 1px solid #ddd;
  display: none;
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Show menu on hover (desktop) */
.navbar-nav .dropdown-normal:hover .dropdown-menu {
  display: block;
}

/* Links inside dropdown */
.navbar-nav .dropdown-normal .dropdown-menu a {
  display: block;
  padding: 8px 15px;
  color: #333;
  text-decoration: none;
  font-size: 15px;
}

/* Hover effect */
.navbar-nav .dropdown-normal .dropdown-menu a:hover {
  background-color: #f2f2f2;
  color: #007bff;
}

@media (max-width: 991px) {

  /* BACKGROUND */
  .navbar,
  .navbar-collapse {
    background: #fff !important;
  }

  /* LEFT DRAWER MENU */
  .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    height: 100vh;              /* IMPORTANT: keep full height */
    background: #fff;
    overflow-y: auto;
    z-index: 99999;
    padding: 20px 0;           /* REDUCED (fixes gap issue) */
    box-shadow: 5px 0 25px rgba(0,0,0,0.1);
    display: none;
    visibility: hidden;
  }

  .navbar-collapse.show {
    display: block;
    visibility: visible;
  }

  /* MENU STACK */
  .navbar-nav {
    flex-direction: column !important;
    width: 100%;
    gap: 0 !important;        /* IMPORTANT FIX */
  }

  .navbar-nav .nav-item {
    width: 100%;
    margin: 0 !important;     /* REMOVE GAP */
      height: auto !important;
  }

  
  /* REMOVE BIG SPACING EFFECTS */
  .navbar-nav > .nav-item > .nav-link::after {
    display: none !important;
  }

  /* MEGA MENU */
  .mega-dropdown .mega-menu {
    position: static !important;
    display: none;
    background: #fff !important;
    padding: 0 !important;
  }

  .mega-dropdown.open .mega-menu {
    display: block !important;
  }

  .mega-menu .row {
    flex-direction: column !important;
    margin: 0 !important;
    gap: 0 imo !important;
  }

  .mega-menu .row > div {
    width: 100% !important;
    padding: 4px 15px !important;
    border-bottom: 1px solid #eee;
  }

  .mega-menu a {
  padding: 6px 0 !important;
  display: block;
} 

  /* DROPDOWN */
  .dropdown-normal .dropdown-menu {
    position: static !important;
    display: none;
    box-shadow: none;
  }

  .dropdown-normal.open .dropdown-menu {
    display: block !important;
  }

  /* CTA */
  .navbar-nav > .nav-item.cta > a {
    width: 90%;
    margin: 10px auto;
    display: block;
  }


   /* FORCE TIGHT LIST */
  .navbar-nav {
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

   .navbar-nav .nav-item {
    margin-bottom: 10px !important;
  }

  /* MAIN MENU LINKS */
  .navbar-nav .nav-link {
    padding: 12px 20px !important;
    display: block;
    border-radius: 6px;
  }

  /* DROPDOWN BOX */
  .dropdown-menu {
    margin-top: 6px !important;
    padding: 8px 0 !important;
    border-radius: 6px;
  }

  /* DROPDOWN LINKS */
  .dropdown-menu a {
    display: block;
    padding: 10px 20px !important;
  }
  .navbar-collapse:not(.show) .mega-menu,
.navbar-collapse:not(.show) .dropdown-menu {
  display: none !important;
}

.mega-menu .dropdown-header {
  margin-bottom: 1px !important;
  padding: 6px 15px !important;
  font-size: 15px !important; /* optional for better fit */
  line-height: 1.2 !important;
}
 /* MENU ICON */
/* REMOVE DEFAULT BOOTSTRAP ICON */
/* REMOVE BOOTSTRAP DEFAULT ICON STYLE */
.navbar-toggler::after,
.navbar-toggler::before {
    display: none !important;
}

/* TOGGLER BUTTON */
.navbar-toggler {
    order: 3 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: auto !important;
    height: 45px !important;

    padding: 10px 14px !important;

    border: 1px solid #ccc !important;
    border-radius: 6px;
    background: #fff;
}

/* HAMBURGER ICON */
.custom-toggler-icon {
    position: relative;
    display: inline-block;

    width: 42px;
    height: 4px;

    background: #000;
    border-radius: 4px;
}

/* TOP + BOTTOM */
.custom-toggler-icon::before,
.custom-toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;

    width: 42px;
    height: 4px;

    background: #000;
    border-radius: 4px;
}

/* TOP */
.custom-toggler-icon::before {
    top: -12px;
}

/* BOTTOM */
.custom-toggler-icon::after {
    top: 12px;
}


/* MOBILE NAVBAR LAYOUT */
.navbar {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

 .navbar,
  .navbar .container,
  .navbar .container-fluid {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    width: 100%;
  }

  /* LOGO AT LEFT */
  .navbar-brand {
    order: 1 !important;
    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;

    margin-right: auto !important; /* pushes menu to right */
  }

  /* IMAGE SIZE */
  .navbar-brand img {
    max-height: 80px !important;
    width: auto !important;
    display: block !important;
  }

  /* MENU BUTTON AT RIGHT */
  .navbar-toggler {
    order: 2 !important;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    margin-left: auto !important;
  }


}




/* =============================
HERO SECTION & BUTTONS
============================= */
.hero-wrap {
  position: relative;
  width: 100%;
  min-height: 500px;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

.hero-wrap .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
}

.hero-wrap h1 {
  font-size: 40px;
  color: #fff;
  font-weight: 700;
}

.hero-wrap .btn {
  margin: 10px 5px;
}

/* =============================
COURSE CARDS
============================= */
.course {
  margin-bottom: 30px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: all 0.3s;
}

.course .img {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center center;
}

.course .text {
  padding: 20px;
}

.course .text h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.course .text p {
  font-size: 15px;
  color: #555;
}

.course .btn {
  background: rgb(160, 133, 133);
  border: none;
  color: #fff;
  padding: 8px 20px;
  border-radius: 4px;
}

.course .btn:hover {
  background: rgb(140, 110, 110);
}

/* =============================
TESTIMONIALS & STAFF
============================= */
.testimony-wrap .user-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-size: cover;
  background-position: center center;
  margin: 0 auto;
}

.testimony-wrap .quote {
  font-size: 30px;
  color: rgb(160, 133, 133);
}

/* Staff */
.staff .img {
  width: 120px;
  height: 120px;
  background-size: cover;
  background-position: center;
  border-radius: 50%;
}

/* =============================
COUNTER SECTION
============================= */
.block-18 strong.number {
  font-size: 40px;
  color: rgb(7, 41, 77);
}

/* =============================
FOOTER OR OTHER ELEMENTS
============================= */
.bg-light {
  background: #f9f9f9;
}

/* TOP UTILITY NAVIGATION BAR */
.top-utility-bar {
  background-color: #0f4c75;
  color: #fff;
  font-size: 16px;
  padding: 20px 35px;
  border-bottom: 2px solid #0f4c75;
  -fa-style-family-classic: 'Font Awesome 6 Free'; --fa-font-solid: normal 900 1em/1 'Font Awesome 6 Free';

}

/* Links styling */
.top-utility-bar .utility-links {
  font-weight: 500;
  white-space: nowrap;
}

.top-utility-bar .utility-links li {
  margin-right: 15px;
}

.top-utility-bar .utility-links li.separator {
  color: #ccc;
  margin-right: 6px;
  margin-left: 6px;
  pointer-events: none;
}

.top-utility-bar .utility-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.top-utility-bar .utility-links a:hover {
  color: #ffc107;
}

/* Social media icons */
.top-utility-bar .utility-links i {
  font-size: 14px;
  vertical-align: middle;
}

/* Hide top utility bar on mobile */
@media (max-width: 991px) {
    .top-utility-bar {
        display: none !important;
    }
}
/* RESET */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

/* NAVBAR FULL WIDTH BACKGROUND */
.top-navbar{
  width:100%;
  background:#07294d;
}

/* INNER NAVBAR CONTENT aligned with slider */
.top-navbar .nav-inner{
  width:92%;              /* SAME width as slider */
  margin:0 auto;          /* center like slider */
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:8px 0;
}

/* LOGO */
.navbar-brand{
  margin-left:0;          /* remove space */
  padding-left:0;
  display:flex;
  align-items:center;
}

.navbar-brand img{
  height:65px;
  width:auto;
  display:block;
}

/* MENU */
.nav-menu{
  list-style:none;
  display:flex;
  gap:30px;
}

.nav-menu li a{
  color:white;
  text-decoration:none;
  font-weight:600;
  font-size:16px;
  font-family:"Poppins", Arial, sans-serif;
}

/* HOVER EFFECT */
.nav-menu li a:hover{
  color:#07294d;
}

/* RESPONSIVE */
@media(max-width:991px){

  .top-navbar{
    padding:10px 20px;
  }

  .navbar-brand img{
    height:50px;
  }

  .nav-menu{
    gap:20px;
  }

  .nav-menu li a{
    font-size:15px;
  }
}

/* MOBILE VIEW */
@media(max-width:768px){

  .top-navbar{
    flex-direction:column;
    align-items:flex-start;
  }

  .navbar-brand img{
    height:45px;
    margin-bottom:10px;
  }

  .nav-menu{
    flex-direction:column;
    width:100%;
    gap:12px;
  }
}

/* Make the container full width */
.ftco-section .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important; 
    padding-right: 15px !important;
}

/* DESKTOP VIEW */
.ftco-section .row {
    display: flex;
    flex-wrap: nowrap; 
    justify-content: space-between;
    width: 100%;
    gap: 15px;
    margin-left: 0;
    margin-right: 0;
}

/* section style */
.services-section{
  background:#f5f5f5;
  padding:20px 0;
}

.services-box{
  background:#ffffff;
  padding:25px 15px;
  border-radius:8px;
  box-shadow:0 4px 15px rgba(0,0,0,0.07);
}

/* cards */
.service-card{
  padding:15px 10px;
  border-radius:6px;
  transition:0.3s;
  height:100%;
}

/* icon */
.service-card .icon{
  font-size:30px;
  color:#0f4c75;
}

/* heading */
.service-card .heading{
  font-size:18px;
  font-weight:600;
  margin-bottom:5px;
}

/* text */
.service-card p{
  font-size:14px;
  margin:0;
  color:#666;
}

/* hover */
.service-card:hover{
  background:#fafafa;
  transform:translateY(-3px);
}

/* ======================
TABLET VIEW
====================== */
@media (max-width: 991px){

.ftco-section .row{
    flex-wrap: wrap; /* allow wrapping */
}

.ftco-section .col-md-3{
    width:48%;
    margin-bottom:15px;
}

}

/* ======================
MOBILE VIEW
====================== */
@media (max-width: 576px){

.ftco-section .col-md-3{
    width:100%;
}

    .service-card {
        max-width: 350px;
        margin: auto;
    }

    .service-card .heading {
        font-size: 18px;
    }

    .service-card p {
        font-size: 14px;
    }


}

/* reduce space below slider */
.slider-container{
    margin-bottom:15px !important;   /* reduce gap */
}

/* reduce top space of about section */
.ftco-section{
    padding-top:30px !important;
    padding-bottom:30px !important;
}

/* remove extra bootstrap spacing */
.ftco-section:first-of-type{
    margin-top:0 !important;
}

/* optional: tighter spacing specifically for about section */
.about-section{
    margin-top:10px !important;
    padding-top:30px !important;
}
/* Increase logo size on mobile */
@media (max-width: 768px) {
    .navbar-brand img {
        height: 70px;   /* increase from default */
        width: auto;    /* maintain aspect ratio */
    }
}

.about-section{
  background:#f5f5f5; /* light outer background */
  padding:60px 0;
}

.about-box{
  background:#ffffff; /* pure white */
  padding:20px;
  border-radius:8px;

  /* soft border shadow */
  box-shadow:0 4px 15px rgba(0,0,0,0.08);

  transition:0.3s;
}

.about-box:hover{
  box-shadow:0 8px 25px rgba(0,0,0,0.12);
}

/* heading */
.about-section h2{
  font-size:32px;
  font-weight:700;
  color:#07294d;
}
.abouth2{
  font-size: 42px;
  font-weight: 400;
  color: #3e4095;
  line-height: 1.3;
 margin-bottom: 4px;
}

.about-link{
  display:inline-block;
  margin-top:15px;
  padding:10px 22px;
  background:#0f4c75;
  color:#fff;
  font-weight:600;
  text-decoration:none;
  border-radius:4px;
  transition:0.3s ease;
  text-transform: uppercase;
  text-align: center;
}

.about-link:hover{
  background:#0f4c75;
  color:#fff;
}

.about-text{
  font-size:19px;          /* increase size */
  line-height:1.9;         /* improve readability */
  color:#333;
  max-width:850px;
  padding: 7px;
  text-align: justify;
}


*::before,
*::after {
    box-sizing: border-box;
}

.vc-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0;
    min-height: 700px;
}

.vc-image,
.vc-content {
    flex: 1 1 50%; /* allow shrinking and growing */
    min-height: 700px;
    max-width: 100%; /* prevent overflow */
}

/* Add padding inside vc-content safely */
.vc-content {
    padding: 40px 60px;
}

.vc-section{
    width:100%;
    padding:50px 0;
    box-sizing:border-box;
}



/* left image */
.vc-image{
    flex:1;
    min-height:700px;
    background-image:url("images/rector-espoly.jpeg");
    background-size:cover;
    background-position:center;
}

/* right content */
.vc-content{
    flex:1;
    min-height:700px;
    padding:40px 60px;
    background-image:url("images/bg.png");
    background-size:cover;
    background-position:center;
    color:#ffffff;
    display:flex;
    align-items:center; /* vertically center text */
}

/* wrap text for proper alignment like SUMAS.edu.ng */
.vc-text-wrapper{
    max-width:550px; /* limit width like SUMAS.edu.ng */
}

/* caption */
.vc-caption{
    font-size:20px;
    color:#adcd23;
    font-weight:500;
    display:block;
    margin-bottom:10px;
    text-transform:none;
}

/* caption */
.vc-caption1{
    font-size:20px;
    color:#c5d215;
    font-weight:500;
    display:block;
    margin-bottom:25px;
    text-transform:none;
}

/* main title */
.vc-title{
    font-size:28px;
    font-weight:900; /* thick */
    color:#ffffff;
    margin-bottom:5px;
    line-height:1.2;
}

/* description text */
.vc-description{
    font-size:18px;
    line-height:1.8;
    margin-bottom:25px;
}

/* VC name */
.vc-vc{
    color:#ffffff;
    font-size:20px;
    font-weight:600;
    text-decoration:none;
    display:block;
    margin-top:10px;
    margin-bottom:20px;
}


/* Apply Now button */
.vc-apply-btn{
    display:inline-block;
    padding:15px 35px;
    background-color:#0f4c75;
    color:#fff;
    font-weight:700;
    text-transform:uppercase;
    text-decoration:none;
    border-radius:5px;
    transition:0.3s;
}

.vc-apply-btn:hover{
    background-color:#0f4c75;
    color:#fff;
}

@media(max-width:768px){
    .vc-container{
        flex-direction:column;
    }

    .vc-image{
        min-height:600px;       /* ensure enough height */
        width:100%;             /* full width */
        background-size:cover;  /* cover the div */
        background-position:center;
        display:block;          /* ensure it renders */
    }

    .vc-content{
        padding:40px 25px;
        text-align:center;
        align-items:center; /* center on mobile */
    }

    .vc-text-wrapper{
        max-width:100%;
    }

    .vc-title{
        font-size:36px;
    }

    .vc-description,
    .vc-vc a{
        font-size:16px;
    }

    .vc-apply-btn{
        padding:12px 25px;
        font-size:14px;
    }


     .about-box {
        flex-direction: column;
        text-align: center;
    }

    .img-about {
        width: 100% !important;
        min-height: 250px;
        margin-bottom: 20px;
        margin-left: 3px;
        margin-right: 3px;
    }

    .about-section h2 {
        font-size: 26px;
    }

    .abouth2 {
        font-size: 20px;
    }

    .about-text {
        font-size: 18px;
    }

    .about-link {
        margin: 3px;
    }
}

.parallax {
    background-image: url('images/tourpic.png');
    min-height: 800px;
    margin-top: 55px;

    /* Keep image stable and clear */
    background-attachment: scroll;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;

    /* Improve image rendering */
    image-rendering: auto;
    backface-visibility: hidden;
    transform: translateZ(0);

    position: relative;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    flex-direction: column;
    padding: 40px 20px;
}

/* Light overlay only */
.parallax::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.12);
}

.parallax > * {
    position: relative;
    z-index: 1;
}

/* Play Button */
.play-btn {
    width: 80px;
    height: 80px;
    background: url('images/icon-play.png') no-repeat center;
    background-size: contain;
    margin-bottom: 20px;
}

/* Text Content */
.parallax h2 {
    font-size: 38px;
    margin: 10px 0;
}

.parallax p {
    font-size: 18px;
    max-width: 600px;
}

/* Base Section */
.sumas-news {
    width: 100%;
    max-width: 1580px;
    margin: 0 auto;
    padding: 50px 15px;
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-sizing: border-box;
}


/* Header */
.sumas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.sumas-header h2 {
    font-size: 28px;
    color: #0f4c75;
    font-weight: 700;
}

.sumas-header h2::after {
    content: '';
    width: 60px;
    height: 3px;
    background-color: #0f4c75;
    display: block;
    margin-top: 8px;
    border-radius: 2px;
}

.sumas-header a {
    color: #0f4c75;
    text-decoration: none;
    font-weight: 500;
}

/* ===== SECTION ===== */
.sumas-news {
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

/* ===== HEADER ===== */
.sumas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.sumas-header h2 {
    margin: 0;
    font-size: 26px;
}

.sumas-header a {
    text-decoration: none;
    color: #0f4c75;
    font-weight: 500;
}

/* ===== CONTAINER ===== */
.sumas-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

/* ===== FEATURED ===== */
.sumas-featured-column {
    width: 100%;
}

.sumas-featured {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    height: 100%;
}

.sumas-featured a {
    display: block;
    height: 100%;
}

.sumas-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.sumas-featured:hover img {
    transform: scale(1.05);
}

.sumas-featured-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
    color: #fff;
    padding: 20px;
    font-size: 20px;
    font-weight: 600;
}


/* ===== NEWS LIST ===== */
.sumas-newslist-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sumas-item {
    display: flex;
    gap: 15px;
    align-items: flex-start; /* aligns text with image top */
    text-decoration: none;
    transition: transform 0.3s ease;
}

.sumas-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.sumas-item p {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 18px;       /* slightly larger */
    font-weight: 600;       /* bold for headline effect */
    color: #1a1a1a;         /* dark text */
    margin: 0;
    line-height: 1.5;       /* clean spacing */
    transition: color 0.3s ease;
}

.sumas-item:hover {
    transform: translateX(5px); /* subtle hover movement */
}

.sumas-item:hover p {
    color: #0f4c75; /* SUMAS-blue accent on hover */
}



/* ===== QUICK LINKS ===== */
.sumas-links {
    background-color: #0f4c75;
    padding: 25px 20px;
    border-radius: 5px;
}

.sumas-links h3 {
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
}

.sumas-links a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 10px 0;
    font-size: 18px;
    border-bottom: 1px solid #53607a;
    transition: all 0.3s ease;
}

.sumas-links a:hover {
    color: #fff;
    padding-left: 5px;
}

/* ===== LOAD MORE ===== */
.sumas-loadmore {
    text-align: center;
    margin-top: 30px;
}

.sumas-loadmore a {
    display: inline-block;
    padding: 10px 25px;
    background-color: #0f4c75;
    color: #fff;
    font-weight: 500;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sumas-loadmore a:hover {
    background-color: #0f4c75;
    transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .sumas-container {
        grid-template-columns: 1fr;
    }

    .sumas-links {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .sumas-container {
        grid-template-columns: 1fr;
    }

    .sumas-links {
        margin-top: 30px;
    }

}

@media (max-width: 768px) {

    /* Make the featured column full width */
    .sumas-featured-column {
        width: 100%;
        margin-bottom: 20px;
    }

    /* Use aspect-ratio to make image responsive */
    .sumas-featured {
        position: relative;
        width: 100%;
        aspect-ratio: 16 / 9;  /* keeps 16:9 ratio on mobile */
        border-radius: 5px;
        overflow: hidden;
    }

    /* Image fills the container without distortion */
    .sumas-featured img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* Scale overlay text for mobile */
    .sumas-featured-title {
        font-size: 16px;
        padding: 10px 15px;
        bottom: 0;
    }
}

/* VIDEO */
.video-section {
  padding: 40px;
  text-align: center;
}

.video-wrapper {
  position: relative;
  width: 80%;
  margin: auto;
  padding-top: 56.25%; /* 16:9 ratio */
}

.video-wrapper iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border: none;
}

.intro {
      background: #ffffff;
      width: 100%;
      padding: 40px 20px;
      box-shadow: 0 0 15px rgba(0,0,0,0.08);
      text-align: center;
      margin-top:40px; /* adjust value as needed */
    }

    .intro h2,
    .intro p {
      max-width: 900px;
      margin: 0 auto 20px auto;
    }

    .intro h2 {
      color: #0f4c75;
      font-size: 36px;
    }

    .intro p {
      font-size: 18px;
      color: #333;
    }

    /* GRID - 4 COLUMNS */
    .personnel {
      display: grid;
      grid-template-columns: repeat(4, 1fr); /* 4 cards per row */
      gap: 25px;
      max-width: 1400px;
      margin: 40px auto 0;
      padding: 0 10px;
    }

    /* CARD STYLING */
    .card {
      background: #fff;
      padding: 15px;
      text-align: center;
      border-radius: 10px;
      border: 1px solid #eee;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
      transition: 0.3s;
    }

    .card:hover {
      transform: translateY(-5px);
    }

.card-image{
  width: 100%;
  height: 300px !important;
  background: #f5f5f5;
  overflow: hidden;
  position: relative;
}

/* IMAGE */
.card-image img{
  width: 100%;
  height: 300px !important;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* CARD TEXT */
.card h3{
  font-size:20px;
  margin:10px 0 5px;
  color:#222;
}

/* TITLE */
.card .title{
  font-size:18px;     /* increased size */
  font-style:italic;  /* italic */
  color:#07294d;
  margin-bottom:8px;
}
@media (max-width: 576px) {

  .personnel {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card {
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
  }

   .card-image {
    width: 100%;
    height: auto !important;         /* 🔥 let image define height */
    overflow: hidden !important; 
  }

  .card-image img {
    width: 100%;
    height: auto !important;         /* 🔥 no forced cropping */
    object-fit: contain !important;  /* 🔥 show full image */
    display: block !important; 
  }

  .card h3 {
    font-size: 18px;
    margin: 10px 0 5px;
  }

  .card .title {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .details-link {
    display: inline-block;
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {

  /* STACK EVERYTHING */
  .container1 {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  /* TITLE */
  .course-title {
    position: static;       /* 🔥 remove absolute positioning */
    text-align: center;
    font-size: 22px;
    margin-bottom: 10px;
    background: none;
    color: #3e4095;
  }

  /* IMAGE */
  .course-search-left {
    width: 100%;
    margin: 0 -20px; /* matches container padding */
  }

  .course-search-left img {
    width: 100%;
    height: auto;
    object-fit: cover;         /* better fill */
    border-radius: 0;          /* remove rounded edges */
    display: block;
  }

  /* FORM CONTAINER */
  .course-search-right {
    width: 100%;
    margin: 0;
    padding: 25px 20px;
  }

  .course-search-right h3 {
    font-size: 22px;
    margin-bottom: 20px;
  }

  /* FORM ROWS STACK */
  .form-row {
    flex-direction: column;
    gap: 15px;
  }

  .course-search-form input,
  .course-search-form select {
    width: 100%;
    font-size: 15px;
    padding: 12px;
  }

  /* BUTTON */
  .course-search-form button {
    width: 100%;
    font-size: 16px;
    padding: 14px;
  }
}
/* MORE DETAILS LINK */
.details-link{
  display: inline-block;
    padding: 10px 25px;
    background-color: #0f4c75;
    color: #fff;
    font-weight: 500;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.details-link:hover{
  background-color: #0f4c75;
    transform: translateY(-2px);
    color: #fff;
}
    /* CARD TEXT */
    .card h3 {
      margin: 10px 0 5px;
    }

    .card p {
      color: gray;
      font-size: 14px;
    }

    /* RESPONSIVE DESIGN */
    @media (max-width: 1200px) {
      .personnel {
        grid-template-columns: repeat(3, 1fr); /* 3 per row on smaller desktops */
      }
    }

    @media (max-width: 992px) {
      .personnel {
        grid-template-columns: repeat(2, 1fr); /* 2 per row on tablets */
      }
    }

    @media (max-width: 768px) {
      .personnel {
        grid-template-columns: 1fr; /* 1 per row on mobile */
      }
    }

/* COURSE SEARCH SECTION WITH UPPER BACKGROUND IMAGE */
.course-search-section{
  padding: 120px 20px 60px 20px;
  position: relative;
  
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.95) 40%, #ffffff 100%),
    url('images/vaccine-5103088_1920.png') top center/cover no-repeat;
}

/* Container */
.container1{
  display: flex;
  gap: 60px;
  width: 100%;
  max-width: 100%;   /* remove limit */
  margin: 0;
  padding: 40px 0 40px 0; /* no left padding */
}

/* COURSE SEARCH SECTION BACKGROUND IMAGE */
.course-search-section{
  padding: 10px 20px 20px 20px;
  /* space above and below the section */
  margin-top: 30px;
  margin-bottom: 30px;
  /* crop image height from bottom */
  background: url("images/face1.png") center top/cover no-repeat;
  background-size: 100% 70%;   /* reduces visible height of image */
  background-color: #ffffff;
  /* shadow box */
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  border-radius: 0px;
  max-width: 1580px;
}


.course-search-left img{
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: center top;
  border-radius: 0; /* optional for edge-to-edge look */
}
/* RIGHT FORM - wider and positioned well */
.course-search-right{
  flex: 1.0;
  min-width: 350px;
  margin-right: 20px;

  background: rgba(255,255,255,0.97);
  padding: 55px 45px;
  border-radius: 12px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

/* LEFT IMAGE - wider and flush to left */
.course-search-left{
  flex: 1.2;
  margin-left: 0;           /* touches left edge */
  position: relative;
}


/* TITLE OVER IMAGE AREA */
.course-title{
  position: absolute;
  top: 15px;
  left: 20px;

  font-size: 28px;
  font-weight: 600;
  color: #ffffff;

  background: rgba(0,0,0,0.45);
  padding: 8px 15px;
  border-radius: 6px;

  z-index: 2;
  letter-spacing: 1px;
}

.course-search-right h3 {
  font-size: 30px;
  font-weight: 500;
  color: #222;
  margin-bottom: 35px;
  text-align: center;
}

/* Form Layout */
.course-search-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.form-row.full-width {
  justify-content: center;
}

.course-search-form input,
.course-search-form select {
  flex: 1;
  padding: 15px 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: all 0.3s;
}

.course-search-form input:focus,
.course-search-form select:focus {
  border-color: #0f4c75;
  box-shadow: 0 0 5px rgba(62,64,149,0.3);
  outline: none;
}

.course-search-form button {
  padding: 15px 25px;
  background-color: #0f4c75;
  color: white;
  font-size: 18px;
  font-weight: 500;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
}

.course-search-form button:hover {
  background-color: #0f4c75;
}

/* Newsletter Section */
.newsletter-section {
  padding: 140px 20px; /* taller height */
  text-align: center;
  color: #fff;
  background: url('images/vaccine-5103088_1920.png') center/cover no-repeat;
}

.newsletter-section h3 {
  font-size: 36px;
  margin-bottom: 20px;
}

.newsletter-section p {
  font-size: 20px;
  margin-bottom: 40px;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
  padding: 15px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
}

.newsletter-form button {
  padding: 15px 30px;
  background-color: #3e4095;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.newsletter-form button:hover {
  background-color: #0f4c75;
}

/* Footer */
.footer-widget {
  background-color: #f3f3f3;
  padding: 40px 20px;
  text-align: center;
}

.footer-widget img {
  width: 100px;
  height: auto;
}

/* Responsive */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
  }
}

/* Footer Main */
.footer {
  background-color: #0f4c75;
  color: #ccc;
  padding-top: 50px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 90%;
  margin: auto;
}

/* Contact */
.contact-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-info img {
  width: 100px;
  height: 200px;
  object-fit: contain;
}

/* Columns */
.footer-column {
  width: 23%;
  min-width: 220px;
  margin-bottom: 30px;
  padding-right: 20px;
  position: relative;
}

/* 🔥 Vertical Line */
.footer-column:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.15);
}

/* Headings */
.footer-column h3 {
  color: #fff;
  font-size: 20px; /* increased */
  margin-bottom: 18px;
  font-family: "Jost",sans-serif;
  font-weight: bold;
}

/* Remove default bullet dots */
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* List items */
.footer-column ul li {
  position: relative;
  margin-bottom: 14px;
  padding-left: 22px; /* space for arrow */
  padding-bottom: 6px;
}

/* Thick arrow */
.footer-column ul li::before {
  content: "➜"; /* thicker arrow */
  position: absolute;
  left: 0;
  top: 0;
  font-size: 16px; /* increase size for thickness */
  font-weight: bold;
}

/* Line under each item */
.footer-column ul li::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 0;
  bottom: 0;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
}

/* Links */
.footer-column ul li a {
  color: #bbb;
  font-size: 19px;
  text-decoration: none;
  transition: 0.3s;
}

.footer-column ul li a:hover {
  color: #b69f70;
}

/* Remove arrow and line only for Campus Life */
.footer-column.no-style ul li::before,
.footer-column.no-style ul li::after {
  content: none;
}

/* Remove extra spacing from arrow */
.footer-column.no-style ul li {
  padding-left: 0;
}

/* Optional: cleaner look */
.footer-column.no-style ul li a {
  text-decoration: none;
}
/* Text */
.footer-column p {
  font-size: 20px; /* increased */
  line-height: 1.5;
  font-family: "Jost",sans-serif;
}

/* Email */
.email {
  color: #daca18;
  font-size: 15px;
}

/* Bottom Bar */
.footer-bottom {
  background-color: #0f4c75; /* slightly darker for contrast */
  padding: 18px 0;
  margin-top: 20px;
}

.footer-bottom-container {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom .left {
  font-size: 18px;
}

/* Social Icons */
.social-icons a {
  color: #ccc;
  margin-left: 15px;
  font-size: 18px; /* bigger icons */
  transition: 0.3s;
}

.social-icons a:hover {
  color: #07294d;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-column {
    width: 100%;
    padding-right: 0;
  }

  /* ❌ Remove vertical lines on mobile */
  .footer-column::after {
    display: none;
  }

  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
  }

  .social-icons {
    margin-top: 10px;
  }
}


.kingster-page-wrapper{
    width:100%;
}

.kingster-blog-title-wrap{
    background: url('images/face1.png') no-repeat center center;
    background-size: cover;   /* fills without distortion */
    color:#fff !important;
    padding:40px 0;
    position:relative;
    height: 340px;
    overflow: hidden;
}

.kingster-container{
    width:95%;
    margin:auto;
}

.kingster-single-article-title{
    font-size:50px;
    font-weight:bold;
    margin-top:15px;
    color: #ffff;
    font-family: "Jost", sans-serif;
}

.kingster-blog-info-wrapper{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
    font-size:13px;
    opacity:0.9;
}

.kingster-blog-info{
    display:flex;
    align-items:center;
    gap:5px;
   
    font-weight: normal;
    font-size: 15px;
    font-family: "Jost", sans-serif;
    margin-top:110px;
}

.kingster-blog-info-sep{
    margin-right:1px;
}

/* CONTENT */
.kingster-content-container{
    width:100%;
    margin:auto;
    background:#fff;
    padding:30px;
    margin-top:0px;
    border-radius:1px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.kingster-content-container img{
    width: 100%;
    height: auto;          /* keeps full image */
    max-height: 500px;     /* controls excessive height */
    object-fit: contain;   /* ensures no cropping */
    border-radius: 5px;
    margin-bottom: 15px;
    display: block;
}

.entry-content{
    font-size:16px;
    line-height:1.8;
    color:#333;
    text-align: justify;
}

/* RESPONSIVE */
@media(max-width:768px){

    /* Containers */
    .kingster-container,
    .kingster-content-container{
        width:95%;
        padding:15px;
    }

    /* Header section */
    .kingster-blog-title-wrap{
        height: 200px;   /* reduce height for mobile */
        padding:20px 0;
    }

    /* Title */
    .kingster-single-article-title{
        font-size:29px;
        line-height:1.3;
    }

    /* Blog info */
    .kingster-blog-info-wrapper{
       display: flex;
        align-items: flex-end;
        padding-bottom: 5px; /* adjust as needed */
    }

    .kingster-blog-info{
        margin-top:5px;   /* FIX: remove excessive spacing */
        font-size:15px;
    }

    /* Content box */
    .kingster-content-container{
        margin-top:5px;
        border-radius:1px;
    }

    /* Images */
    .kingster-content-container img{
        width:100%;        /* full width on mobile */
        height:auto;
    }

    /* Text */
    .entry-content{
        font-size:17px;
        line-height:1.7;
    }
}

/* GENERAL */
.social-share,
.post-nav,
.related-posts {
  max-width: 1600px;
  margin: 40px auto;
  padding: 0 0px;
  font-family: "Poppins", sans-serif;
}

/* ===================== */
/* SOCIAL SHARE */
/* ===================== */
.social-share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 20px 0;
}

.share-count {
  font-weight: 600;
  color: #333;
  font-size: 16px;
}

.icons a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-left: 10px;
  color: #fff;
  font-size: 14px;
  transition: 0.3s;
}

.icons a:hover {
  transform: translateY(-3px);
}

.fb { background: #3b5998; }
.pin { background: #bd081c; }
.tw { background: #000; }

/* ===================== */
/* POST NAVIGATION */
/* ===================== */
/* =========================
   POST NAV (FULL WIDTH EDGE)
========================= */


  .post-nav{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;   /* 👈 small gap */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 48%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.post-nav a{
    height: 220px;
    position: relative;
    display: block;
    overflow: hidden;
    color: #fff;
}

/* DARK OVERLAY */
.post-nav .overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    transition: 0.3s ease;
}

/* HOVER EFFECT */
.post-nav a:hover .overlay{
    background: rgba(0,0,0,0.35);
}

/* CONTENT POSITION */
.post-nav .content{
    position: absolute;
    bottom: 50px;
    left: 25px;
    right: 25px;
    z-index: 2;
}

/* LABEL */
.post-nav .content span{
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
}

/* TITLE */
.post-nav .content h4{
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    color: #fff;
}

/* LEFT ALIGN */
.post-nav .prev .content{
    text-align: left;
}

/* RIGHT ALIGN */
.post-nav .next .content{
    text-align: right;
}

/* OPTIONAL ARROWS */
.post-nav .prev .content::before{
    content: "← ";
    font-size: 25px;
    font-weight: bolder;
}

.post-nav .next .content::after{
    content: " →";
    font-size: 25px;
    font-weight: bolder;
}

/* DIVIDER LINE BETWEEN BOTH */
.post-nav .prev{
    border-right: 2px solid rgba(255,255,255,0.12);
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 768px){
    .post-nav{
        grid-template-columns: 1fr;
    }

    .post-nav .next .content{
        text-align: left;
    }

    .post-nav .prev{
        border-right: none;
        border-bottom: 2px solid rgba(255,255,255,0.12);
    }
}
/* ===================== */
/* RELATED POSTS */
/* ===================== */
.related-posts h3 {
  font-size: 22px;
  margin-bottom: 25px;
  font-weight: 600;
  border-left: 4px solid #b19777;
  padding-left: 10px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* CARD */
.card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  transition: 0.3s;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.card:hover {
  transform: translateY(-5px);
}

/* IMAGE */
.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* CONTENT */
.card-body {
  padding: 18px;
}

.card-body .date {
  font-size: 13px;
  color: #888;
}

.card-body h4 {
  font-size: 16px;
  margin-top: 10px;
  font-weight: 600;
  color: #222;
  line-height: 1.4;
}

.card-body h4:hover {
  color: #07294d;
}

/* ===================== */
/* MOBILE RESPONSIVE */
/* ===================== */
@media (max-width: 992px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .social-share {
    flex-direction: column;
    gap: 10px;
  }
}

/* MAIN CONTAINER */
.comment-section{
    max-width: 1300px;
    margin: 60px auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    font-family: "Poppins", sans-serif;
}

/* TITLE */
.comment-title{
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #222;
}

/* TEXTAREA */
.comment-form textarea{
    width: 100%;
    height: 140px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    resize: none;
    outline: none;
    transition: 0.3s;
}

.comment-form textarea:focus{
    border-color: #333;
}

/* ROW INPUTS */
.comment-row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

/* INPUTS */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"]{
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    margin-top: 15px;
    outline: none;
}

/* CONSENT */
.comment-consent{
    display: flex;
    align-items: center;   /* 🔥 fixes vertical alignment */
    gap: 10px;
    margin-top: 15px;
    font-size: 14px;
    color: #555;
}
.comment-consent input[type="checkbox"]{
    margin: 0;
    transform: translateY(1px);
}
/* BUTTON */
.comment-form button{
    margin-top: 20px;
    background: #111;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.comment-form button:hover{
    background: #333;
}

/* MOBILE */
@media (max-width: 768px){
    .comment-row{
        grid-template-columns: 1fr;
    }
}

/* =========================
   MAIN WRAPPER
========================= */
.sumas-profile-wrapper{
  width: 100%;
  background: #f5f5f5;
  padding: 0px 0;
}

/* =========================
   CONTAINER
========================= */
.sumas-profile-container{
  max-width: 1600px;

  margin: auto;
  display: flex;
  gap: 40px;
  background: #fff;
  padding-top: 70px;
  padding-left: 30px;
  padding-right: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* =========================
   LEFT PANEL
========================= */
.sumas-left{
  flex: 1;
  text-align: left;
}

/* IMAGE */
.sumas-image img{
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: center -2%; /* shifts image downward to keep head visible */
  border-radius: 6px;
  display: block;
  transform: none !important;
  filter: brightness(1.2);
}

/* SOCIAL ICONS */
.sumas-social{
  margin-top: 30px;
  text-align: left;   /* forces icons to start from left */
}

.sumas-social a{
  display: inline-block;
  margin: 0 10px 0 0;  /* remove left spacing, keep right spacing */
  font-size: 22px;
  color: #07294d;
  transition: 0.3s;
}

.sumas-social a:hover{
  color: #3e4095;
}

/* CONTACT */
.sumas-contact{
  margin-top: 15px;
  font-size: 18px;
  color: #444;
  text-align: left;
}

.sumas-contact i{
  color: #07294d;
  margin-right: 6px;
}

/* BUTTON */
.sumas-btn{
  display: inline-block;
  margin-top: 15px;
  padding: 10px 18px;
  background: #3e4095;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: 0.3s;
}

.sumas-btn:hover{
  background: #b69f70;
  color: #000;
}

/* =========================
   RIGHT PANEL
========================= */
.sumas-right{
  flex: 2;
}

/* NAME */
.sumas-name{
  font-size: 38px;
  font-weight: 700;
  color: #161616;
}

/* ROLE */
.sumas-role{
  font-size: 25px;
  color: #07294d;
  font-weight: 600;
}

/* DIVIDER */
.sumas-divider{
  width: 1000px;
  height: 5px;
  background: #b69f70;
  margin: 15px 0;
}

/* CREDENTIALS */
.sumas-credentials{
  font-size: 20px;
  color: #666;
  margin-bottom: 20px;
}

/* TITLE */
.sumas-title{
  font-size: 30px;
  font-weight: 600;
  margin-top: 25px;
}

/* TEXT */
.sumas-text p {
  font-size: 20px !important;
  line-height: 1.8 !important;
  color: #000 !important;
  text-align: justify !important;
}

.sumas-text * {
  font-size: 20px !important;
  line-height: 1.8 !important;
  color: #000 !important;
  text-align: justify !important;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px){

  .sumas-profile-container{
    flex-direction: column;
  }

  .sumas-name{
    font-size: 26px;
    text-align: center;
  }

  .sumas-role{
    text-align: center;
  }

  .sumas-right{
    text-align: center;
  }

  .sumas-text{
    text-align: left;
  }
}
