:root {
  --primary: #1b1515;  /* deep blue */
  --secondary: #e8e4ec;  /* soft light gray */
  --accent: #b4dd21;
  --dark: #031f1f;
  --light: #f70808;
  --text-muted: #0cecec;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--secondary);
  color: var(--dark);
  scroll-behavior: smooth;
}

.navbar {
  background-color:  #fffffff6 !important;
}

.navbar-brand img {
  max-height: 40px;
}

.hero {
  background: linear-gradient(rgba(19, 96, 145, 0.8), rgba(230, 234, 238, 0.8)), url('../img/hero.jpg') center/cover no-repeat;
  min-height: 80vh;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: #05d3ee;
}

footer {
  background-color: var(--primary);
  color: var(--light);
}

footer a {
  color: var(--light);
  text-decoration: underline;
}

.card-title {
  color: var(--primary);
}

.card {
  border-radius: 12px;
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary);
  color: rgb(247, 244, 244);
}

.accordion-button:focus {
  box-shadow: none;
}

iframe {
  border-radius: 10px;
  border: none;
}


.card-img-top {
  height: 200px;
  object-fit: cover;
}
.card:hover {
  transform: translateY(-15px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.card {
  transition: all 0.3s ease;
}


.about-box {
  border: 1px solid #97a1aa;
  background-color: rgb(184, 178, 178);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}




.partner-logo {
  max-height: 40px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.85;
}

.partner-logo:hover {
  transform: scale(1.05);
  opacity: 1;
}


.partner-logo {
  max-height: 70px;
  margin: 0 5px;
}



.hero {
  height: 100vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.6;
  filter: brightness(0.7) contrast(1.2);
}

.hero .container {
  z-index: 1;
  position: relative;
}


.custom-footer {
  background-color:  #928d8df6; /* Navy blue - you can change this */
  color: #131111;
}

.custom-footer a {
  color: #ffcc00; /* If you add links in footer later */
}


.nav-logo {
  height: 500px  ;       /* increase size */
  width: auto ;
  margin-right: -20px; /* space between logo and text */
}

/* Allow taller logos by increasing navbar height and alignment */
.navbar {
  padding-top: 1rem;
  padding-bottom: 1rem;
  min-height: 40px; /* or whatever height fits your logo */
}

.navbar .nav-logo {
  height: 500px; /* your desired logo height */
  width: auto;
}


/* Show dropdown on hover */
.navbar .dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0; /* optional: remove dropdown jump */
}

.dropdown-menu .dropdown-item {
  padding-top: 10px;
  padding-bottom: 10px;
}


.dropdown-menu {
  background-color: var(--primary);
}

.dropdown-menu .dropdown-item {
  color: white;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #333; /* Optional: darker hover */
  color: #d8d1b5;          /* Optional: highlight text on hover */
}


html {
  scroll-padding-top: 350px; /* adjust this value based on navbar height */
}


/* Normal navbar padding */
#navbar {
  transition: all 0.3s ease;
  padding: 20px 0;
}

/* Shrunk version when scrolling */
#navbar.navbar-shrink {
  padding: 3px 0;
}



/* Default nav link color */
.navbar-nav .nav-link {
  color: rgb(68, 53, 53) !important;
  transition: color 0.3s ease, background-color 0.3s ease;
}

/* On hover */
.navbar-nav .nav-link:hover {
  color: #ffc107 !important;  /* Yellow or any hover color */
}

/* When active (clicked/current page) */
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:focus {
  color: #ffffff !important;
  background-color: #0a58ca !important; /* Different background to show it's active */
  border-radius: 0.25rem;
}

 /* partner page background color to sync with the logos */
.bg-custom {
  background-color: #ffffff; /* Replace with any color you want */
}


 /* Your custom highlight color */
::selection {
  background-color: #00080f; /* Your custom highlight color */
  color: #ffffff;            /* Text color when highlighted */
}

html {
  scroll-behavior: smooth;
}

/*for footer to be low */
/* Make sure the body takes full height of the viewport */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Make the content fill remaining space */
.main-content {
  min-height: calc(100vh - 100px); /* Adjust 100px if your footer is taller */
}




/* Offset scroll so headings sit just below navbar */
.solutions-page [id] {
  scroll-margin-top: -300px; /* Adjust this to match your navbar height */
}


.services-page [id] {
  scroll-margin-top: -500px; /* Adjust this to match your navbar height */
}


.solutions-section {
    min-height: 100vh; /* Full screen height */
    display: flex;
    align-items: center; /* Center vertically */
    padding-top: 100px; /* Space from navbar */
    padding-bottom: 100px;
}


.services-section {
    min-height: 100vh; /* Full screen height */
    display: flex;
    align-items: center; /* Center vertically */
    padding-top: 100px; /* Space from navbar */
    padding-bottom: 100px;
}
