/*
    
TemplateMo 557 Grad School

https://templatemo.com/tm-557-grad-school

*/

@import url(fontawesome.css);
@import url(
  "<link href="https://fonts.googleapis.com/css?family=Montserrat:100,
  200,
  300,
  400,
  500,
  600,
  700,
  800,
  900" rel="stylesheet">"
);
body {
  font-family: "Montserrat", sans-serif;
}

/* Basic */

a {
  color: #3cf;
  text-decoration: none;
}

a:hover {
  color: #eb0a29;
  text-decoration: none;
}

ul {
  padding: 0px;
  margin: 0px;
  list-style: none;
}

p {
  font-size: 13px;
  line-height: 22px;
}

.section-heading {
  text-align: center;
  margin-bottom: 70px;
}

.section-heading h2:before {
  width: 1px;
  height: 100px;
  position: absolute;
  top: -102px;
  content: "";
  left: 50%;
  transform: translate(-50%);
}

.section-heading h2 {
  margin-top: 10px;
  position: relative;
  font-size: 18px;
  font-weight: 500;
  color: #f0f0f0;
  background-color: #0a1428;
  letter-spacing: 0.5px;
  display: inline-block;
  padding: 15px 20px;
  border: 5px solid #0a1428;
}

/* ===== Enhanced Modern Navbar with Semi-Transparent Background ===== */

/* Main header structure */
.main-header {
  background: #f0f0f0c0; /* Semi-transparent light background */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Lighter shadow for brighter feel */
  border-bottom: 2px solid rgba(235, 10, 41, 0.7); /* Red accent border */
  backdrop-filter: blur(8px); /* Modern blur effect for semi-transparent background */
  -webkit-backdrop-filter: blur(8px); /* Safari support */
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Logo styling */
.logo {
  position: relative;
  z-index: 1001;
}

.logo img {
  height: 102px;
  width: auto;
  display: block;
  filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.15));
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy effect */
}

.logo img:hover {
  transform: scale(1.03);
}

/* Hamburger button */
.menu-link {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  outline: none;
  position: relative;
  z-index: 999;
}

.hamburger-line {
  display: block;
  width: 28px;
  height: 2px; /* Thinner lines for modern look */
  margin: 6px 0;
  background-color: #222; /* Darker for better contrast */
  color: #0a1428;
  border-radius: 4px;
  transition: all 0.3s ease;
}

/* Main navigation */
.main-nav {
  display: block;
}

.main-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px; /* Slightly more spacing between items */
  padding: 0;
  margin: 0;
  list-style: none;
  font-family: 'Poppins', sans-serif;
}

.main-menu > li {
  position: relative;
}

/* Menu links */
.main-menu > li > a {
  display: block;
  padding: 12px 16px;
  font-size: 13.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: #222; /* Darker text for better contrast */
  text-decoration: none;
  letter-spacing: 0.6px;
  transition: all 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: none;
  border-radius: 6px; /* Slightly more rounded */
  cursor: pointer;
  position: relative;
}

/* Modern underline effect */
.main-menu > li > a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 6px;
  left: 50%;
  background-color: #e94a47; /* Softer red */
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* Bouncy animation */
  transform: translateX(-50%);
  opacity: 0;
  border-radius: 2px;
}

.main-menu > li:hover > a::after,
.main-menu > li.active > a::after {
  width: 60%;
  opacity: 1;
}

.main-menu > li:hover > a,
.main-menu > li.active > a {
  color: #111;
  background: rgba(233, 74, 71, 0.08); /* Very subtle background */
  transform: translateY(-2px);
}

/* Contact link special styling */
.contact-link {
  background: linear-gradient(135deg, #e94a47 0%, #d13e3b 100%); /* Gradient background */
  border-radius: 6px;
  padding: 12px 20px !important;
  color: #fff !important; /* White text on red background */
  box-shadow: 0 4px 12px rgba(233, 74, 71, 0.3);
  transition: all 0.3s ease !important;
  font-weight: 700 !important;
  letter-spacing: 0.8px !important;
}

.contact-link:hover {
  background: linear-gradient(135deg, #d13e3b 0%, #c13532 100%) !important;
  box-shadow: 0 6px 15px rgba(233, 74, 71, 0.4) !important;
  transform: translateY(-3px) !important;
}

.contact-link::after {
  display: none !important;
}

/* Submenu caret */
.main-menu > li.has-submenu > a:after {
  content: "\f107";
  font-family: "FontAwesome";
  margin-left: 6px;
  font-size: 14px;
  vertical-align: middle;
  opacity: 0.9;
  position: static;
  width: auto;
  height: auto;
  background: none;
}

/* Dropdown menus */
.main-menu .sub-menu {
  min-width: 240px;
  max-width: 280px;
  background: rgba(255, 255, 255, 0.95); /* Slightly transparent */
  position: absolute;
  left: 50%;
  top: 100%;
  opacity: 0;
  visibility: hidden;
  z-index: 100;
  border-radius: 10px; /* More rounded */
  margin-top: 7px;
  padding: 10px 0;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.05); /* Multi-layered shadow */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Smooth animation */
  overflow-y: auto;
  max-height: 400px;
  transform: translateX(-50%) translateY(10px);
  border: 1px solid rgba(229, 229, 229, 0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

/* Desktop hover behavior */
@media (min-width: 951px) {
  .main-menu li:hover > .sub-menu,
  .main-menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}

.main-menu .sub-menu li {
  display: block;
  margin: 0;
  border-bottom: 1px solid rgba(238, 238, 238, 0.7); /* Lighter border */
}

.main-menu .sub-menu li:last-child {
  border-bottom: none;
}

.main-menu .sub-menu a {
  display: block;
  width: 100%;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 500;
  color: #333; /* Dark text on light background */
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  border: none;
  background: none;
  transition: all 0.3s ease;
  text-decoration: none;
}

.main-menu .sub-menu a:hover {
  color: #e94a47; /* Updated red color */
  background: rgba(233, 74, 71, 0.05);
  padding-left: 25px;
}

/* Scroll effect for header */
.main-header.scrolled {
  background: rgba(240, 240, 240, 0.95); /* More opaque when scrolled */
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* Add subtle animation to menu items for staggered effect */
.main-menu > li {
  animation: fadeInDown 0.4s ease forwards;
  opacity: 0;
  animation-delay: calc(0.05s * var(--item-index, 0));
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Language selector styling */
.language a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.language a:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.language a span {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}

/* Mobile styles */
@media (max-width: 950px) {
  /* Header adjustments */
  .header-inner {
    height: 70px;
    padding: 0 15px;
  }
  
  .logo img {
    height: 75px;
    margin: 10px 0;
  }
  
  /* Show hamburger */
  .menu-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: auto;
  }
  
  /* Mobile nav positioning */
  .main-nav {
    position: fixed;
    left: 0;
    top: 70px;
    width: 100%;
    background: rgba(245, 245, 245, 0.98); /* Almost opaque */
    transform: translateY(-150%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.3s ease; /* Smooth animation */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    z-index: 900;
    height: calc(100vh - 70px);
    overflow-y: auto;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  
  /* Active state */
  .main-nav.active {
    transform: translateY(0);
    opacity: 1;
      z-index: 9999;

  }
   .menu-link.active .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .menu-link.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  
  .menu-link.active .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  } 
 
  
  /* Mobile menu layout */
  .main-menu {
    flex-direction: column;
    align-items: center;
    padding: 20px 0 30px 0;
    gap: 0;
  }
  
  .main-menu > li {
    width: 90%;
    text-align: center;
 animation: none !important;
    opacity: 1 !important;
    }

  .main-menu > li > a {
    max-width: 100%;
    width: 100%;
    padding: 16px 20px;
    font-size: 15px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0;
  }
  
  .main-menu > li > a::after {
    display: none;
  }
  
  .contact-link {
    margin-top: 15px;
  }
  
  /* Mobile submenu */
  .main-menu .sub-menu {
    position: static;
    width: 100%;
    max-width: 100%;
    opacity: 1;
    visibility: hidden;
    display: none;
    box-shadow: none;
    margin: 0;
    border-radius: 8px;
    background: rgba(232, 232, 232, 0.7);
    transform: none;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  /* When submenu is open */
  .main-menu .sub-menu.submenu-open {
    display: block;
    visibility: visible;
    animation: fadeInSubmenu 0.3s ease forwards;
  }
  
  @keyframes fadeInSubmenu {
    from {
      opacity: 0;
      transform: translateY(-5px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .main-menu .sub-menu a {
    max-width: 100%;
    text-align: center;
    padding: 14px 20px;
    font-size: 14px;
  }
  
  .main-menu .sub-menu a:hover {
    padding-left: 20px;
  }
  
  /* Handle the caret in mobile */
  .main-menu > li.has-submenu > a {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* Fixed flag positioning on mobile */
  .language a {
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }
}

@media (min-width: 951px) {
  .main-menu > li {
    animation: fadeInDown 0.4s ease forwards;
    opacity: 0;
    animation-delay: calc(0.05s * var(--item-index, 0));
  }
}

/* Extra small screens */
@media (max-width: 600px) {
  .header-inner {
    padding: 0 12px;
    height: 65px;
  }
  
  .logo img {
    height: 60px;
  }
  
  .main-nav {
    top: 65px;
    height: calc(100vh - 65px);
  }
  
  .main-menu > li {
    width: 96%;
  }
}

/* Modern Slider Styles */
.main-banner {
  position: relative;
  height: 100vh;
  overflow: hidden;
  margin: 0;
}

#bg-video {
  min-width: 100%;
  min-height: 100vh;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(16, 24, 40, 0.75);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Slider container */
.modern-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Slider items */
.slider-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: scale(1.05);
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-item.active {
  opacity: 1;
  transform: scale(1);
  visibility: visible;
}

/* Caption content */
.caption {
  text-align: center;
  width: 80%;
  max-width: 800px;
  color: #fff;
  padding: 30px;
  border-radius: 8px;
  /*background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);*/
}

.caption h6 {
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 15px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s;
}

.caption h2 {
  font-size: 72px;
  text-transform: uppercase;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
  margin: 20px 0 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease 0.6s, transform 0.5s ease 0.6s;
}

.caption h2 em {
  font-style: normal;
  color: #eb0a29;
  font-weight: 900;
  text-shadow: 0 0 20px rgba(235, 10, 41, 0.3);
}

/* Button styling */
.main-button {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease 0.9s, transform 0.5s ease 0.9s;
}

.main-button a {
  display: inline-block;
  padding: 12px 30px;
  background: #eb0a29;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(235, 10, 41, 0.3);
}

.main-button a:hover {
  background: #fff;
  color: #eb0a29;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(235, 10, 41, 0.4);
}

/* Animate content when slide is active */
.slider-item.active .animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Arrow Navigation */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.left-arrow {
  left: 30px;
}

.right-arrow {
  right: 30px;
}

.slider-arrow:hover {
  background: #eb0a29;
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

/* Dots Navigation */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #eb0a29;
  transform: scale(1.2);
}

/* Responsive adjustments */
@media screen and (max-width: 1180px) {
  .caption h2 {
    font-size: 60px;
  }
}

@media screen and (max-width: 992px) {
  .caption {
    width: 90%;
    padding: 20px;
  }
  
  .caption h6 {
    font-size: 18px;
  }
  
  .caption h2 {
    font-size: 48px;
    margin: 15px 0 25px;
  }
  
  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

@media screen and (max-width: 768px) {
  .caption h6 {
    font-size: 16px;
    letter-spacing: 1px;
  }
  
  .caption h2 {
    font-size: 36px;
    margin: 10px 0 20px;
  }
  
  .main-button a {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  
  .left-arrow {
    left: 15px;
  }
  
  .right-arrow {
    right: 15px;
  }
}

@media screen and (max-width: 576px) {
  .caption {
    width: 95%;
    padding: 15px;
  }
  
  .caption h6 {
    font-size: 14px;
  }
  
  .caption h2 {
    font-size: 28px;
  }
  
  .main-button a {
    padding: 8px 16px;
    font-size: 13px;
  }
}

/* Features */

section.features .col-4 {
  padding-left: 0px;
  padding-right: 0px;
}

.features-post {
  position: relative;
  margin-bottom: 0px;
}

.features-thumb {
  overflow: hidden;
  position: relative;
}

.features-thumb img {
  width: 100%;
}

.features-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #0c1228;
  color: #fff;
  padding: 40px;
}

.features-content:hover {
  background-color: #eb0a29;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
}

.features-content h4 {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 0px;
}

.features-content h4 i {
  margin-right: 15px;
  font-size: 24px;
}

.features-content p {
  margin-bottom: 0px;
}

.features-content a {
  margin-top: 15px;
  display: inline-block;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.5px;
  font-weight: 700;
  font-size: 14px;
  border-bottom: 2px solid #fff;
}

.features-content p.hidden-sm {
  display: none;
}

.second-features,
.third-features {
  border-left: 1px solid rgba(250, 250, 250, 0.1);
}

.content-hide {
  margin-top: 15px;
  display: none;
}

.content-hide p {
  color: #fff;
}

@media screen and (max-width: 767px) {
  .features-content {
    padding: 15px;
  }
  .features-content h4 i {
    display: block;
    margin-bottom: 10px;
  }
  .features-content h4 {
    font-size: 14px;
  }
  .features-content p {
    display: none;
  }
  .features-content p.hidden-sm {
    display: block;
  }
  .features-content a {
    letter-spacing: 0px;
    font-size: 13px;
    font-weight: 600;
  }
}

/* Why Choosing Us */

section.why-us {
  background-image: url(../images/choosing-bg.jpg);
  background-color: #172238;
  background-repeat: no-repeat;
  background-size: cover;
  padding-bottom: 100px;
}

#tabs {
  text-align: center;
}
#tabs ul {
  margin: 0;
  padding: 0;
  -webkit-column-count: 3;
  -moz-column-count: 3;
  column-count: 3;
  -webkit-column-gap: 0;
  -moz-column-gap: 0;
  column-gap: 0;
}
#tabs ul::after {
  clear: both;
  content: "";
  display: table;
}
#tabs ul li {
  display: block;
  font-weight: 400;
  font-size: 1.2em;
  letter-spacing: 1px;
  text-align: center;
}
#tabs ul li a {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  outline: 0;
  padding-bottom: 30px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  position: relative;
}
#tabs ul li a:after {
  transition: all 0.3s;
  width: 10px;
  height: 10px;
  background-color: #fff;
  content: "";
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  bottom: 0;
}
#tabs ul li a:before {
  transition: all 0.3s;
  width: 25px;
  height: 25px;
  border: 2px solid transparent;
  background-color: transparent;
  content: "";
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  bottom: -5px;
}
#tabs ul li span {
  display: block;
  margin-bottom: 0.75em;
}
#tabs ul .ui-tabs-active {
}
#tabs ul .ui-tabs-active a {
  color: #eb0a29;
}
#tabs ul .ui-tabs-active a:after {
  background-color: #eb0a29;
  width: 15px;
  height: 15px;
}
#tabs ul .ui-tabs-active a:before {
  border-color: #eb0a29;
}
#tabs h4 {
  margin-top: 60px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 30px;
}

#tabs p {
  color: #fff;
  font-size: 15px;
  line-height: 28px;
}

.tabs-content {
  margin-top: 60px;
  text-align: left;
}

@media screen and (max-width: 767px) {
  .tabs-content {
    text-align: center;
  }
}

.tabs-content img {
  width: 100%;
  overflow: hidden;
  padding-right: 45px;
}

@media screen and (max-width: 767px) {
  .tabs-content img {
    padding-right: 0px;
  }
}

/* Coming Soon */

section.coming-soon {
  background-image: url(../images/coming-soon-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #172238;
  padding: 120px 0px;
}

section.coming-soon .continer .counter div {
  display: inline-block;
}
section.coming-soon .continer h4 {
  margin-top: 100px;
  font-size: 30px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 40px;
  margin-bottom: 50px;
}
section.coming-soon .continer h4 em {
  font-style: normal;
  color: #eb0a29;
}

@media screen and (max-width: 767px) {
  section.coming-soon .continer h4 {
    text-align: center;
  }
}

section.coming-soon .continer .counter .days,
section.coming-soon .continer .counter .hours,
section.coming-soon .continer .counter .minutes,
section.coming-soon .continer .counter .seconds {
  width: 22%;
  height: 140px;
  float: left;
  text-align: center;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  background-color: rgba(250, 250, 250, 0.1);
}
@media screen and (max-width: 992px) {
  section.coming-soon .continer .counter .days,
  section.coming-soon .continer .counter .hours,
  section.coming-soon .continer .counter .minutes,
  section.coming-soon .continer .counter .seconds {
    font-size: 26px;
  }

  section.coming-soon .continer .counter .days .value,
  section.coming-soon .continer .counter .hours .value,
  section.coming-soon .continer .counter .minutes .value,
  section.coming-soon .continer .counter .seconds .value {
    margin-top: 40px !important;
  }

  section.coming-soon .continer .counter span {
    font-size: 14px !important;
  }
}
section.coming-soon .continer .counter .days,
section.coming-soon .continer .counter .hours,
section.coming-soon .continer .counter .minutes {
  margin-right: 4%;
}
section.coming-soon .continer .counter .days .value,
section.coming-soon .continer .counter .hours .value,
section.coming-soon .continer .counter .minutes .value,
section.coming-soon .continer .counter .seconds .value {
  margin-top: 15px;
  display: block;
  width: 100%;
}

section.coming-soon .continer .counter span {
  font-size: 18px;
  text-transform: uppercase;
  color: #eb0a29;
  font-weight: 500;
  letter-spacing: 1px;
  margin-top: 0px;
  display: block;
}

section.coming-soon .right-content {
  margin-left: 30px;
}

@media screen and (max-width: 767px) {
  section.coming-soon .right-content {
    margin-top: 60px;
    margin-left: 0px;
  }
}

section.coming-soon .top-content {
  margin-bottom: -8px;
}

section.coming-soon .top-content h6 {
  font-size: 14px;
  color: #fff;
  background-color: rgba(250, 250, 250, 0.2);
  padding: 40px;
  text-align: center;
  line-height: 24px;
}

section.coming-soon .top-content h6 em {
  font-style: normal;
  font-weight: 600;
}

section.coming-soon form {
  background-color: rgba(250, 250, 250, 0.1);
  padding: 60px 40px;
  width: 100%;
  text-align: center;
}

section.coming-soon form input {
  width: 100%;
  height: 40px;
  background-color: rgba(250, 250, 250, 0.1);
  border-radius: 0px;
  border: none;
  outline: none;
  color: #fff;
  font-size: 13px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

section.coming-soon form input:focus {
  outline: none;
  border: none;
  box-shadow: none;
  color: #fff;
  background-color: rgba(250, 250, 250, 0.1);
}

section.coming-soon form::placeholder {
  color: #fff;
}
section.coming-soon form input::placeholder {
  color: #fff;
}
section.coming-soon form input::placeholder {
  color: #fff;
}

section.coming-soon form button {
  margin-top: 10px;
  background-color: #eb0a29;
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  padding: 12px 20px;
  display: inline-block;
  outline: none;
  box-shadow: none;
  border: none;
}

/* ===== Services Section ===== */
.services-section {
  background-color: #0a1428;
  padding: 90px 0 20px;
  overflow: hidden; /* Prevent any overflow */
}

.services-section .container-fluid {
  padding: 0 40px; /* Add more horizontal padding to container */
}

/* Section header */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 32px;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
}

/* Services carousel */
.services-carousel {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

/* Language button - Fixed positioning and styles */
.language {
  margin-left: 8px;
}

.language a {
  width: 42px;
  height: 42px;
}


/* Fix for flag icon */
.language .fi {
  font-size: 20px;
}

/* Remove any dots/periods after flag */
.language a:after {
  display: none !important;
}

.language a:hover {
  background: none !important;/* Ensure no background on hover */
  color: #fff; /* Keep text color unchanged */
}

.service-card {
  background-color: #0f192d;
  border-radius: 0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  height: 640px;
  padding: 25px;
  text-align: center;
}

.card-header{  
    flex:0 0 120px;          /* reserve exactly 120 px for every card     */  
    display:flex;  
    flex-direction:column;  
    justify-content:flex-end;/* keep divider on the same horizontal line */  
    align-items:center;      /* horizontal centering of text + divider   */  
}  

.card-header h3{  
    margin:0;  
    font-size:22px;  
    line-height:1.2;  
    color:#fff;  
    text-transform:uppercase;  
    letter-spacing:.5px;  
}  

.red-divider{  
    width:100px;  
    height:3px;  
    background:#eb0a29;  
    margin:8px auto 0;  
}  



/* 2) IMAGE */
.card-image {
  flex: 0 0 200px;  /* fixed 200px tall */
  overflow: hidden;
  margin-bottom: 25px;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

/* 3) DESCRIPTION */
.card-description {
  flex: 1;                   /* take up all remaining space */
  overflow-y: auto;
  padding: 0 5px;
  margin-bottom: 25px;
}
.card-description p {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* 4) ACTION BUTTON */
.action-button {
  margin-top: auto;          /* stick to bottom */
  align-self: center;
  background-color: #eb0a29;
  color: #fff;
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 30px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
}
.action-button i { margin-left: 4px; }
.action-button:hover {
  background-color: #fff;
  color: #eb0a29;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(235,10,41,0.3);
}


/* Owl Carousel customization - FIX OVERFLOW ISSUES */
.owl-carousel .owl-stage-outer {
  overflow: visible;
}
.owl-item { padding: 15px 0; }
.owl-dots { text-align: center; margin-top: 40px; }
.owl-dot {
  display: inline-block;
  width: 12px; height: 12px;
  margin: 0 5px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  transition: background 0.3s;
}
.owl-dot.active { background: #eb0a29; }

/* Responsive fixes */
@media (max-width: 992px) {
  .service-card {
    height: 600px;
  }
  
  .card-image {
    height: 150px;
  }

 /* Action button - matches the red button in image */
.action-button {
  display: inline-block;
  background-color: #eb0a29; /* Red button */
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
  margin-top: auto; /* Push to bottom */
  font-size: 16px;
  max-width: fit-content; /* Limits width to content */
  align-self: center; /* Centers the button in the flex container */
}
}

@media (max-width: 768px) {
  .service-card {
    height: 580px;
  }
  
  .card-image {
    height: 130px;
  }
}

@media (max-width: 576px) {
  .service-card {
    height: 580px;
  }
  
  .card-image {
    height: 130px;
  }
  
  .service-card h3 {
    font-size: 18px;
  }
}
@media (max-width:992px){  
    .service-card {height:600px;}  
    .card-header  {flex:0 0 105px;}    /* 120 → 105                        */  
    .card-image   {flex:0 0 150px;}  
}  

@media (max-width:768px){  
    .service-card {height:580px;}  
    .card-header  {flex:0 0 95px;}     /* 120 →  95                        */  
    .card-image   {flex:0 0 130px;}  
}  

@media (max-width:576px){  
    .service-card {height:580px;}  
    .card-header  {flex:0 0 90px;}     /* 120 →  90                        */  
    .card-image   {flex:0 0 130px;}  
}
/* Video */

section.video {
  background-image: url(../images/video-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #172238;
  padding: 120px 0px;
}

section.video .left-content {
  color: #fff;
}

section.video .left-content span {
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
}

section.video .left-content h4 {
  margin-top: 20px;
  margin-left: 16px;
  font-size: 30px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 40px;
  margin-bottom: 30px;
}
section.video .left-content h4 em {
  font-style: normal;
  color: #eb0a29;
}

section.video .left-content .main-button {
  margin-top: 50px;
  margin-left: 20px;
}

.video-item {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0px auto 0;
}

@media screen and (max-width: 767px) {
  section.video .left-content {
    margin-bottom: 45px;
  }

  section.video .first-item .first-content h4,
  section.video .second-item .second-content h4 {
    text-align: center;
  }
}

.video-item figure {
  position: relative;
  width: 100%;
  font-size: 0;
}
.video-item figure img {
  width: 100%;
}
.video-item figure a:before {
  content: "";
  position: absolute;
  bottom: 10px;
  right: 15px;
  width: 60px;
  height: 60px;
  margin-top: -32.5px;
  margin-left: -32.5px;
  border-radius: 50%;
  background-color: #eb0a29;
  z-index: 10;
}
.video-item figure a:after {
  content: "";
  position: absolute;
  bottom: 27.5px;
  right: 20px;
  margin-top: -12.5px;
  margin-left: -7px;
  border: solid 13px transparent;
  border-left: solid 20px;
  border-left-color: #fff;
  z-index: 10;
}
.video-item figure a:hover:before {
  background-color: #172238;
}

.video-item .video-caption {
  position: absolute;
  z-index: 10;
  background-color: rgba(250, 250, 250, 0.75);
  height: 80px;
  width: 100%;
  padding: 27px 30px;
  bottom: 0;
}

.video-item .video-caption h4 {
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Contact */

section.contact {
  background-image: url(../images/contact-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #f0f0f0c0;
  padding-bottom: 120px;
  padding-top: 30px;
}

section.contact form {
  background-color: #0a1428;
  padding: 30px;
  width: 100%;
}

@media screen and (max-width: 767px) {
  section.contact form {
    margin-bottom: 30px;
  }
}

section.contact form input {
  width: 100%;
  height: 40px;
  background-color: rgba(250, 250, 250, 0.1);
  border-radius: 0px;
  border: none;
  outline: none;
  color: #fff;
  font-size: 13px;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
}

section.contact form textarea {
  width: 100%;
  height: 220px;
  max-height: 280px;
  min-height: 220px;
  background-color: rgba(250, 250, 250, 0.1);
  border-radius: 0px;
  border: none;
  outline: none;
  color: #fff;
  font-size: 13px;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
}

section.contact form input:focus,
section.contact form textarea:focus {
  outline: none;
  border: none;
  box-shadow: none;
  color: #fff;
  background-color: rgba(250, 250, 250, 0.1);
}

section.contact form::placeholder {
  color: #fff;
}
section.contact form input::placeholder {
  color: #fff;
}
section.contact form input::placeholder {
  color: #fff;
}

section.contact form::placeholder {
  color: #fff;
}
section.contact form textarea::placeholder {
  color: #fff;
}
section.contact form textarea::placeholder {
  color: #fff;
}

section.contact form button {
  background-color: #eb0a29;
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  padding: 12px 20px;
  display: inline-block;
  outline: none;
  box-shadow: none;
  border: none;
}

/* Footer */

.social-icon {
  font-size: 30px; /* increase size for prominence */
  margin-left: 15px; /* more spacing between icons */
  color: #444; /* darker color for visibility */
  text-decoration: none;
  transition: color 0.3s, transform 0.2s; /* smooth effects */
}

.social-icon:hover {
  color: #eb0a29; /* bright color on hover to draw attention */
  transform: scale(1.2); /* slightly enlarge on hover for emphasis */
}

footer {
  background-color: #152036;
  text-align: center;
}

footer p {
  margin-bottom: 0px;
  padding: 25px 0px;
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

footer p a,
footer p a:hover {
  color: #eb0a29;
}

@media screen and (max-width: 992px) {
  .features {
    background-color: #0c1228;
  }
  .features-content {
    position: relative;
  }
  .features-post {
    border-left: 0;
  }
}

@media screen and (max-width: 950px) and (max-height: 400px) {
  nav[role="navigation"].active {
    max-height: calc(80px + 100vh);
    overflow-y: auto;
  }
}

@media screen and (max-width: 767px) {
  footer p {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.25px;
  }
}
