/* ==========================================================================
   1. GLOBAL RESET & THEME VARIABLES
   ========================================================================== 
*/
:root {
  --primary-cobalt: #1e3a8a;    
  --accent-cyan: #0ea5e9;      
  --bg-dark: #0f172a;          
  --text-main: #334155;        
  --white: #ffffff;
}
html, body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
}
body, h1, h2, h3, h4, h5, h6, p, span, div {
  font-family: 'Inter', 'Roboto', sans-serif !important;
}

/* Fix for broken layout/margins */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  color: var(--text-main);
  background-color: #fff;
}

/* ==========================================================================
   2. DYNAMIC TRANSPARENT NAVBAR
   ========================================================================== 
*/

/* Reset any previous background colors */
.navbar {
  background: transparent !important; 
  box-shadow: none !important;
  transition: all 0.4s ease-in-out !important;
  padding: 20px 0 !important;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1050; /* Ensure it stays above everything */
}

/* The "Scrolled" state applied via JS */
.navbar.nav-scrolled {
  background: #162a63 !important;
  padding: 10px 0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

.navbar-brand img {
  min-height: 75px;
  transition: all 0.3s ease;
}

/* Reset for Mobile (Small screens) */
@media (max-width: 991.98px) {
    .navbar-brand img {
        /* This kills the 75px rule so the logo can actually shrink */
        min-height: 0 !important; 
        height: 55px; /* Adjust this to your preferred mobile height */
        width: auto;
    }
}

.nav-link {
  color: var(--white) !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 10px;
}

.nav-link:hover {
  color: var(--accent-cyan) !important;
}

/* ==========================================================================
   3. HERO & CONTENT OVERLAP
   ========================================================================== 
*/

/* This removes the "gap" at the top so the banner slides under the nav */
#pageContent {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#heroCarousel .carousel-item img {
  height: 100vh;
  width: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.7));
  z-index: 1;
}

/* ==========================================================================
   4. BUTTONS & UI ELEMENTS (BLUE THEME)
   ========================================================================== 
*/

.btn-success, .btn-custom-green, .about-btn, .fleet-btn, .blog-btn, .btn-destination, .btn-custom-blue {
  background: var(--primary-cobalt) !important;
  border: 1px solid var(--primary-cobalt) !important;
  color: var(--white) !important;
  border-radius: 50px !important; /* Modern Pill Shape */
  padding: 12px 28px !important;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-success:hover, .btn-custom-blue:hover {
  background: var(--accent-cyan) !important;
  border-color: var(--accent-cyan) !important;
  transform: translateY(-2px);
}

/* Counter Box Styling */
.counter-box {
  background: var(--bg-dark) !important;
  color: #fff !important;
  border-radius: 15px;
  padding: 40px 20px;
  border-bottom: 4px solid var(--accent-cyan);
}

/* ==========================================================================
   5. MOBILE FIXES
   ========================================================================== 
*/

@media (max-width: 991px) {
  .navbar {
    background: var(--bg-dark) !important; /* Keep solid on mobile for readability */
    padding: 15px 0 !important;
  }
  
  .navbar-collapse {
    background: var(--bg-dark);
    padding: 20px;
  }
  
  #heroCarousel .carousel-item img {
    height: 70vh;
  }
}

.offcanvas {
	background-color: #1e3a8a !important;
}

/* ==========================================================================
   6. FORMINATOR & FOOTER
   ========================================================================== 
*/

#forminator-module-248 .forminator-button-submit {
  background: linear-gradient(135deg, var(--primary-cobalt), var(--bg-dark)) !important;
  border-radius: 8px !important;
	color: white;
}

.footer {
  background: var(--bg-dark) !important;
  color: #fff;
  padding: 60px 0;
}


/* --- ABOUT SECTION ENHANCEMENTS --- */
.about-section {
    background-color: #ffffff;
    padding: 100px 0;
}

/* Background shape for visual interest */
.about-bg-shape {
    position: absolute;
    top: 10%;
    left: 5%;
    width: 400px;
    height: 400px;
    background: rgba(30, 58, 138, 0.03); /* Very subtle primary blue tint */
    border-radius: 50%;
    z-index: 0;
}

/* Image Frame Effect */
.about-image-wrapper {
    padding: 20px;
    z-index: 1;
}

.about-main-img {
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.about-img-frame {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 80%;
    border: 10px solid #1e3a8a; /* Theme Blue */
    z-index: 1;
}

/* Typography Enhancements */
.about-badge {
    background: rgba(30, 58, 138, 0.1);
    color: #1e3a8a;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 4px;
}

.about-heading {
    font-size: 3rem;
    line-height: 1.1;
    color: #0f172a; /* Slate Dark */
}

.about-description {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
    border-left: 4px solid #e2e8f0;
    padding-left: 20px;
}

/* Button Refinement */
.about-section .btn-primary {
    background-color: #1e3a8a !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Mobile Fixes */
@media (max-width: 991px) {
    .about-heading {
        font-size: 2.2rem;
    }
    .about-img-frame {
        display: none;
    }
    .about-section {
        padding: 60px 0;
    }
}