/* Custom CSS for Land Pages with Bootstrap 5 and Tailwind-inspired utilities */

:root {
  --primary-color: #0062E6;
  --secondary-color: #17a2b8;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --font-family: 'Prompt', 'Source Sans Pro', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--dark-color);
  line-height: 1.6;
}

/* Header Styles */
#header {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

#header.scrolled {
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.logo {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.logo a:hover {
  color: var(--secondary-color);
  transform: scale(1.05);
}

.logo img {
  max-height: 50px;
  margin-right: 10px;
}

/* Navbar Styles */
#navbar {
  display: flex;
  align-items: center;
}

#navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

#navbar ul li {
  position: relative;
}

#navbar ul li a {
  color: var(--dark-color);
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

#navbar ul li a:hover,
#navbar ul li a.active {
  color: var(--primary-color);
  background: rgba(0, 98, 230, 0.1);
}

#navbar ul li.dropdown ul {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  padding: 10px 0;
  margin-top: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  flex-direction: column;
  gap: 0;
}

#navbar ul li.dropdown:hover ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#navbar ul li.dropdown ul li a {
  padding: 10px 20px;
  border-radius: 0;
  width: 100%;
}

#navbar ul li.dropdown ul li a:hover {
  background: rgba(0, 98, 230, 0.1);
}

#navbar ul li img {
  border-radius: 50%;
  object-fit: cover;
}

.mobile-nav-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark-color);
}

/* Hero Section */
#hero {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 500px;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-container {
  position: relative;
  width: 100%;
  height: 100%;
}

#heroCarousel {
  width: 100%;
  height: 100%;
}

#heroCarousel .carousel-inner {
  height: 100%;
}

.carousel-item {
  height: 100% !important;
  min-height: 500px;
  width: 100%;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  position: relative;
  display: block;
}

/* Ensure background image shows even with inline styles */
.carousel-item[style*="background-image"] {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #667eea; /* Fallback color */
}

/* Fix for carousel inner height */
#heroCarousel .carousel-inner {
  height: 100%;
}

#heroCarousel .carousel-inner .carousel-item {
  height: 100%;
}

.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(1, 71, 162, 0.887) 0%, rgba(2, 75, 185, 0.6) 100%);
  /*background: var(--primary-color);*/
  z-index: 1;
  pointer-events: none;
}

.carousel-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 20px;
}

.carousel-inner {
  height: 100%;
}

.carousel-inner .carousel-item {
  height: 100%;
}

.carousel-container h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.carousel-container p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.btn-get-started {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-get-started:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  color: white;
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.carousel-control-prev {
  left: 30px;
}

.carousel-control-next {
  right: 30px;
}

/* Featured Services Section */
#featured-services {
  padding: 80px 0;
  background: #f8f9fa;
}

#featured-services .box {
  padding: 40px 20px;
  border-radius: 15px;
  transition: all 0.3s ease;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  height: 100%;
}

#featured-services .box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

#featured-services .box i {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

#featured-services .box .title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
}

#featured-services .box .title a {
  text-decoration: none;
  transition: all 0.3s ease;
}

#featured-services .box .description {
  font-size: 1rem;
  line-height: 1.6;
}

/* Facts/Skills Section */
#facts {
  padding: 80px 0;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.2rem;
  color: #6c757d;
  max-width: 800px;
  margin: 0 auto;
}

/* Small Box Stats */
.small-box {
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 30px;
}

.small-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.small-box .inner {
  padding: 30px 20px;
  color: white;
}

.small-box .inner h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
}

.small-box .inner p {
  font-size: 1.1rem;
  margin-top: 10px;
  margin-bottom: 0;
}

.small-box .icon {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 4rem;
  opacity: 0.3;
  color: white;
}

.small-box-footer {
  display: block;
  padding: 15px 20px;
  background: rgba(0, 0, 0, 0.1);
  color: white;
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  transition: all 0.3s ease;
}

.small-box-footer:hover {
  background: rgba(0, 0, 0, 0.2);
  color: white;
}

/* Card Styles */
.card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 20px;
  border-radius: 15px 15px 0 0 !important;
  border: none;
}

.card-header h3,
.card-header h4 {
  margin: 0;
  font-weight: 600;
}

.card-body {
  padding: 30px;
}

/* Table Styles */
.table {
  border-radius: 10px;
  overflow: hidden;
}

.table thead {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
}

.table thead th {
  border: none;
  padding: 15px;
  font-weight: 600;
}

.table tbody tr {
  transition: all 0.3s ease;
}

.table tbody tr:hover {
  background: rgba(0, 98, 230, 0.05);
  transform: scale(1.01);
}

.table tbody td {
  padding: 15px;
  vertical-align: middle;
}

/* Call to Action Section */
#call-to-action {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  text-align: center;
}

#call-to-action h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

#call-to-action p {
  font-size: 1.2rem;
  max-width: 900px;
  margin: 0 auto 30px;
  line-height: 1.8;
}

.cta-btn {
  display: inline-block;
  padding: 15px 50px;
  background: white;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  color: var(--primary-color);
}

/* Skills/Map Section */
#skills {
  padding: 80px 0;
  background: #f8f9fa;
}

.gmap3 {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100% !important;
  height: 600px !important;
  min-height: 500px !important;
  position: relative;
}

#map_canvas {
  width: 100% !important;
  height: 600px !important;
  min-height: 500px !important;
  border-radius: 15px;
  overflow: hidden;
}

/* Google Maps InfoWindow Styles */
.gm-style .gm-style-iw-c {
  padding: 0;
  border-radius: 10px;
}

.gm-style .gm-style-iw-d {
  overflow: auto !important;
}

/* Button Styles */
.btn {
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.875rem;
}

.btn-info {
  background: var(--info-color);
  color: white;
}

.btn-info:hover {
  background: #138496;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }

  #navbar ul {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 80%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
  }

  #navbar ul.active {
    right: 0;
  }

  #navbar ul li.dropdown ul {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: #f8f9fa;
    margin-top: 0;
  }

  .carousel-container h2 {
    font-size: 2rem;
  }

  .carousel-container p {
    font-size: 1.1rem;
  }

  .section-header h3 {
    font-size: 2rem;
  }

  #call-to-action h3 {
    font-size: 2rem;
  }
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate__animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.animate__fadeInDown {
  animation-name: fadeInDown;
}

.animate__fadeInUp {
  animation-name: fadeInUp;
}

/* Footer Styles */
#footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

#footer .footer-top {
  padding: 60px 0 40px;
}

#footer .footer-info h3 {
  color: white;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 20px;
}

#footer .footer-info p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

#footer .footer-contact h4 {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
}

#footer .footer-contact p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

#footer .social-links a {
  transition: all 0.3s ease;
}

#footer .social-links a:hover {
  transform: translateY(-3px);
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

#footer .border-secondary {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Google Maps Marker Styles */
.marker-label {
  background: rgba(255, 255, 255, 0.9);
  padding: 2px 6px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}

/* Google Maps InfoWindow Custom Styles */
.gm-style .gm-style-iw-c {
  padding: 0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.gm-style .gm-style-iw-d {
  overflow: auto !important;
  max-height: 500px;
}

.gm-style .gm-style-iw-t::after {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Custom InfoWindow Content Styles */
.gm-style-iw {
  font-family: 'Prompt', sans-serif;
}

.gm-style-iw a {
  color: #0062E6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.gm-style-iw a:hover {
  color: #0052cc;
  text-decoration: underline;
}

/* Breadcrumb Styles */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb-item a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #6c757d;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  color: #6c757d;
  padding: 0 0.5rem;
}

/* Badge Styles */
.badge {
  padding: 0.5rem 0.75rem;
  font-weight: 600;
  border-radius: 8px;
}

/* Additional Utility Classes */
.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.shadow-sm {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

/* Form Improvements */
.form-select {
  border-radius: 8px;
  border: 2px solid #e0e0e0;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(0, 98, 230, 0.25);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

