/* Global Styles */
:root {
    --primary-color: #ff6b35;  /* Orange */
    --secondary-color: #1e88e5; /* Blue */
    --text-dark: #333333;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 56px;
    background-color: white;
    color: var(--text-dark);
}

/* Ensure consistent font family across all elements */
* {
    font-family: inherit;
}

h1, h2, h3, h4, h5, h6, p, span, div, a, button, input, textarea, select {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Bootstrap class overrides for consistent font */
.lead {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.card-title, .card-text {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.text-muted, .text-center, .text-left, .text-right {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

small, .small {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.navbar-brand, .nav-link, .navbar-nav {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.btn:not(.fab):not(.fas):not(.far):not(.fal), .btn-primary:not(.fab):not(.fas):not(.far):not(.fal), .btn-secondary:not(.fab):not(.fas):not(.far):not(.fal), .btn-light:not(.fab):not(.fas):not(.far):not(.fal), .btn-dark:not(.fab):not(.fas):not(.far):not(.fal) {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

/* Exclude Font Awesome icons from font changes */
.fab, .fas, .far, .fal, .fa {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 5 Free", "Font Awesome 5 Brands" !important;
}

/* Specific About section font fixes */
.about-content p, .about-content .lead {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.hero-content, .slide-title, .slide-text {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

strong, b, em, i {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

/* Parallax Sections */
.parallax-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

/* Navbar Styles */
.navbar {
    background-color: rgba(0, 0, 0, 0.8) !important;
}

.navbar-brand {
    padding: 0;
}

.navbar-brand img {
    height: 40px;
    width: auto;
}

.navbar-dark .navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    padding: 1rem 1.2rem;
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    color: white;
    position: relative;
    overflow: hidden;
    background-color: #000;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 0; 
    transition: opacity 1.2s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: opacity;
    display: none;
}

.hero-slide.next {
    z-index: 1;
    display: block;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
    display: block;
}

.hero-slide.fade-out {
    opacity: 0;
    z-index: 1;
    transition: opacity 1.2s ease-in-out;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    color: white;
    text-align: center;
    width: 100%;
    padding: 0 20px;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translate(-50%, -50%) scale(0.95);
}

.hero-content.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.slide-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(20px);
}

.slide-title.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-text {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(20px);
}

.slide-text.active {
    opacity: 1;
    transform: translateY(0);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    opacity: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero .slide-text {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    transition: opacity 0.5s ease-in-out;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Project Image Styles */
.card-img-top {
    height: 200px; /* Fixed height */
    width: 100%; /* Full width of card */
    object-fit: cover; /* Maintain aspect ratio and cover the container */
    object-position: center; /* Center the image within the container */
}

/* Ensure consistent card height */
.card {
    display: flex;
    flex-direction: column;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-img-top {
        height: 150px;
    }
}

@media (max-width: 576px) {
    .card-img-top {
        height: 120px;
    }
}

/* Services Preview Section */
.services-preview {
    background: linear-gradient(rgba(30, 136, 229, 0.9), rgba(30, 136, 229, 0.9)),
                url('https://source.unsplash.com/1600x900/?technology,map');
    min-height: 400px;
}

.services-preview .btn-light {
    transition: transform 0.3s ease;
}

.services-preview .btn-light:hover {
    transform: translateY(-3px);
}

/* Services Header */
.services-header {
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)),
                url('https://source.unsplash.com/1600x900/?data,technology');
    height: 60vh;
    color: white;
    display: flex;
    align-items: center;
    padding: 0;
}

/* Services Section */
.card {
    border: none;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-5px);
}

.card-title {
    color: var(--primary-color);
}

/* Map Section */
#map-section {
    padding: 2rem 0;
}

#map {
    height: 400px;
    width: 100%;
}

/* Parallax Sections */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Contact Form */
.form-control {
    border-radius: 0;
    border: 1px solid #ddd;
    padding: 0.8rem;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--secondary-color);
}

.bt.navbar-dark {
    background-color: white !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-dark .navbar-brand,
.navbar-dark .nav-link {
    color: var(--text-dark) !important;
}

.navbar-dark .nav-link:hover {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}

    .product-section {
      padding: 60px 20px;
      background-color: #fff;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
      margin-bottom: 40px;
    }

    .product-section img {
      max-width: 180px;
      margin-right: 20px;
    }

    .product-title {
      font-size: 1.5rem;
      font-weight: 600;
      margin-bottom: 15px;
    }

    .feature {
      display: flex;
      align-items: start;
      gap: 12px;
      margin-top: 20px;
    }

    .feature i {
      font-size: 1.5rem;
      color: #f47b20;
    }

    .feature-title {
      font-weight: 600;
    }

    .back-link {
      margin: 20px;
    }

    .back-link a {
      text-decoration: none;
      color: #007bff;
    }

    .back-link a:hover {
      text-decoration: underline;
    }

    
    
        .product-section {
          padding: 60px 20px;
          background-color: #fff;
          border-radius: 10px;
          box-shadow: 0 4px 10px rgba(0,0,0,0.05);
          margin-bottom: 40px;
        }
    
        .product-section img {
          max-width: 180px;
          margin-right: 20px;
        }
    
        .product-title {
          font-size: 1.5rem;
          font-weight: 600;
          margin-bottom: 15px;
        }
    
        .feature {
          display: flex;
          align-items: start;
          gap: 12px;
          margin-top: 20px;
        }
    
        .feature i {
          font-size: 1.5rem;
          color: #f47b20;
        }
    
        .feature-title {
          font-weight: 600;
        }
    
        .back-link {
          margin: 20px;
        }
    
        .back-link a {
          text-decoration: none;
          color: #007bff;
        }
    
        .back-link a:hover {
          text-decoration: underline;
        }


        /* Fullscreen Hero Section */
    .esri-hero-video {
        position: relative;
        width: 100vw;
        height: 100vh;
        overflow: hidden;
      }
  
      /* Background Video Styling */
      .esri-hero-video video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
        filter: brightness(0.4); /* dim the video for text visibility */
      }
  
      /* Text on Top of Video */
      .hero-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
        color: white;
        text-align: center;
        padding: 20px;
        text-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
        
      }
  
      .hero-content h1 {
        font-size: 3.5rem;
        font-weight: bold;
        margin-bottom: 20px;
      }
  
      .hero-content .lead {
        font-size: 1.5rem;
        font-weight: 300;
      }

/* About Section Video Styles */
.about-content {
    padding-right: 2rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.video-container {
    position: relative;
    padding-left: 2rem;
}

.video-container video {
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #000;
}

.video-container video:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.video-container video:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

.video-caption {
    font-style: italic;
    color: #6c757d;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Responsive adjustments for about section */
@media (max-width: 991px) {
    .about-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .video-container {
        padding-left: 0;
    }
    
    .video-container video {
        max-height: 300px;
    }
}

@media (max-width: 576px) {
    .video-container video {
        max-height: 250px;
    }
    
    .about-content p {
        font-size: 0.95rem;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
}

/* Custom video controls styling */
video::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.8);
}

video::-webkit-media-controls-play-button,
video::-webkit-media-controls-volume-slider,
video::-webkit-media-controls-timeline,
video::-webkit-media-controls-current-time-display,
video::-webkit-media-controls-time-remaining-display {
    filter: invert(1);
}

/* Fullscreen button enhancement */
video::-webkit-media-controls-fullscreen-button {
    filter: invert(1);
}
  
  
    