/* global.css - Enhanced styles and overrides */

/* Loader Styles */
#loader-overflow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
#loader3 {
  color: #fff;
  font-size: 1.5rem;
}

/* ========================= */
/* Header & Navigation Styles */
/* ========================= */

/* Base Header Styling */
.header {
  background-color: var(--enhanced-primary, #0f4c75); /* Enhanced primary color */
  color: #fff;
  padding: 10px 20px;
}

/* Container inside header */
.header .header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo Styles */
.logo {
  display: flex;
  align-items: center;
}

.logo-link {
  display: inline-block;
}

.logo-img {
  max-height: 50px; /* Adjust as needed */
}

/* Main Navigation Styles */
.main-nav {
  flex-grow: 1;
  text-align: right;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.nav-item {
  margin-left: 20px;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #d1d1d1;
}

/* Hamburger Icon Styles */
.hamburger {
  display: none; /* Hidden by default on desktop */
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: #fff;
}

/* Responsive Styles for Mobile */
@media (max-width: 768px) {
  /* Show hamburger icon */
  .hamburger {
    display: flex;
  }
  
  /* Hide desktop nav initially */
  .main-nav {
    position: absolute;
    top: 70px; /* Adjust based on header height */
    right: 0;
    background-color: var(--enhanced-primary, #0f4c75);
    width: 200px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    padding: 20px;
    border-radius: 4px;
    z-index: 1000;
  }
  
  /* Display nav when active */
  .main-nav.active {
    transform: translateX(0);
  }
  
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .nav-item {
    margin: 10px 0;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  /* Use a background image if available; replace 'hero-background.jpg' with your image filename */
  background: url('/images/hero-background.jpg') no-repeat center center;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.sm-content-cont {
  width: 100%;
}
.sm-cont-middle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.text-center {
  text-align: center;
}

/* Headline & Animated Words */
.cd-headline {
  font-size: 3rem; /* Adjust as needed */
  color: #073850;
}
.cd-words-wrapper b {
  display: none;
}
.cd-words-wrapper .is-visible {
  display: inline;
}

/* Tagline Styles */
.tagline {
  font-size: 1.25rem;
  margin: 20px 0;
  color: #141313;
}

/* Hero Buttons */
.hero-buttons .btn {
  margin: 10px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .cd-headline {
    font-size: 2.5rem;
  }
  .tagline {
    font-size: 1rem;
  }
}


/* Shared typography, buttons, forms, and tables are normalized in theme.css. */

/* Enhanced Footer */
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 10px 0;
}
