:root {
    --primary-blue: #155dfc;
    --dark-blue: #193cb8;
    --red-primary: #e7000b;
    --red-dark: #c10007;
    --text-dark: #101828;
    --text-gray: #4a5565;
    --text-light-gray: #364153;
    --bg-gray: #f8f9fa;
    --color-blue-300: #8ec5ff;
}

body {
font-family: 'Figtree', Arial, sans-serif;
    line-height: 1.6;
}

/* Add scroll padding to account for fixed navbar */
html {
    scroll-padding-top: 80px;
}

/* Alternative method for older browsers */
section[id] {
    scroll-margin-top: 80px;
}

.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.text-blue-300 {
    color: var(--color-blue-300);
}

.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-carousel .carousel-item {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 1.5s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
}

.hero-carousel .carousel-item.active {
  opacity: 1;
  position: relative;
}

.hero-carousel .carousel-inner {
  height: 100vh;
  position: relative;
}

/* Ensure first slide is visible on load */
.hero-carousel .carousel-item:first-child {
  opacity: 1 !important;
}

/* Fallback for carousel items */
.hero-carousel .carousel-item {
  min-height: 100vh;
}

/* Custom carousel indicators */
.hero-carousel .carousel-indicators {
  bottom: 30px;
  z-index: 10;
}

.hero-carousel .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.hero-carousel .carousel-indicators button.active {
  background-color: rgba(255, 255, 255, 0.9);
  transform: scale(1.2);
}

.hero-carousel .carousel-indicators button:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* Smooth fade transition override */
.hero-carousel.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-carousel.carousel-fade .carousel-item.active {
  opacity: 1;
}

.hero-carousel.carousel-fade .carousel-item-next.carousel-item-start,
.hero-carousel.carousel-fade .carousel-item-prev.carousel-item-end {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(28, 57, 142, 0.8) 0%,
    rgba(25, 60, 184, 0.7) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: -1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><rect width="1920" height="1080" fill="%23f0f0f0"/></svg>');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-content h1 {
    font-size: 2.75rem;
    font-weight: bold;
    line-height: 1.1;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.hero-content .text-blue {
    color: #8ec5ff;
}

.hero-content p {
    font-size: 1.5rem;
    color: #e5e7eb;
    margin-bottom: 2rem;
}

.btn-primary-custom {
    background-color: var(--primary-blue);
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 0.625rem;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #0d47a1;
    transform: translateY(-2px);
}

.btn-outline-white {
    border: 2px solid white;
    color: white;
    background: transparent;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 0.625rem;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary-blue);
}

.stats-card {
background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
background: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.section-title .text-blue {
    color: var(--primary-blue);
}

.feature-card {
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 0.875rem;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.feature-card:hover {
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary-blue);
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-card {
    background: white;
    border-radius: 0.875rem;
box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.1),
  0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.service-icon {
    width: 4rem;
    height: 4rem;
    background-color: var(--primary-blue);
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.price-tag {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.gradient-section {
background: linear-gradient(
  135deg,
  var(--primary-blue) 0%,
  var(--dark-blue) 100%
);
    color: white;
    padding: 5rem 0;
    border-radius: 1rem;
    margin: 5rem 0;
}

.emergency-section {
background: linear-gradient(
  135deg,
  var(--red-primary) 0%,
  var(--red-dark) 100%
);
    color: white;
    padding: 5rem 0;
    border-radius: 1rem;
    margin: 4rem 0;
}

.testimonial-card {
    background: #f8f9fa;
    border-radius: 0.625rem;
    padding: 1.5rem;
    height: 100%;
}

.contact-section {
    background-color: var(--text-dark);
    color: white;
    padding: 5rem 0;
}

.form-control-custom {
    background-color: #1e2939;
    border: 1px solid #364153;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.625rem;
}

.form-control-custom:focus {
    background-color: #1e2939;
    border-color: var(--primary-blue);
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(21, 93, 252, 0.25);
}

.form-control-custom::placeholder {
    color: #757575;
}

.footer {
    background-color: #000;
    color: #99a1af;
    padding: 3rem 0 2rem;
}

.footer h5 {
    color: white;
    margin-bottom: 1rem;
}

.footer a {
    color: #99a1af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: white;
}

.navbar-custom {
    background: transparent;
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    line-height: 2.5rem
}

.navbar-brand .subtitle {
    font-size: 0.875rem;
    color: #d1d5dc;
    font-weight: normal;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #8ec5ff !important;
}

.gallery-filter {
    background: white;
    border-radius: 0.625rem;
    padding: 0.25rem;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: inline-flex;
}

.gallery-filter .btn {
    border: none;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.gallery-filter .btn.active {
    background-color: var(--primary-blue);
    color: white;
}

.gallery-filter .btn:not(.active) {
    background: transparent;
    color: var(--text-gray);
}

/* Gallery thumbnails - uniform height */
#galleryPhotos img {
width: 100%;
height: 260px;
object-fit: cover;
display: block;
}

#galleryPhotos a {
display: block;
border-radius: 0.375rem;
overflow: hidden;
}

#galleryPhotos img {
transition: transform 0.35s ease;
}

#galleryPhotos a:hover img,
#galleryPhotos a:focus img {
transform: scale(1.05);
}

@media (max-width: 992px) {
#galleryPhotos img {
height: 220px;
}
}

@media (max-width: 576px) {
#galleryPhotos img {
height: 180px;
}
}

/* Fancybox overflow handling to prevent page scrollbars */
html.fancybox-active,
body.fancybox-active {
height: 100%;
overflow: hidden !important;
}

.fancybox__container {
width: 100vw !important;
height: 100vh !important;
overflow: hidden !important;
}

.fancybox__slide {
overflow: hidden !important;
}

.fancybox__image,
.fancybox__content img {
max-width: 100vw !important;
max-height: 100vh !important;
width: auto !important;
height: auto !important;
object-fit: contain !important;
}

.fancybox__caption {
max-height: 25vh;
overflow: auto;
}

/* Prevent initial zoom/animation flash */
.fancybox__container *,
.fancybox__backdrop,
.fancybox__content,
.fancybox__image {
transition: none !important;
animation: none !important;
}

.fancybox__image {
transform: none !important;
}

.service-area-tag {
    background: white;
    border-radius: 0.625rem;
    padding: 0.75rem 1rem;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.service-area-tag:hover {
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Responsive 16:9 YouTube embeds */
.video-embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
    overflow: hidden;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.floating-buttons {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.floating-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.floating-btn:hover {
    transform: translateY(-2px);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.floating-btn.whatsapp {
    background-color: #00c950;
}

.floating-btn.phone {
    background-color: var(--primary-blue);
}

/* Navbar toggler (hamburger) in white for dark hero header */
.navbar-custom .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.6);
}

.navbar-custom .navbar-toggler:focus {
    box-shadow: 0 0 0 0.15rem rgba(255, 255, 255, 0.25);
}

.navbar-custom .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 768px) {
    .hero-content h1 {
        margin-top: 1rem;
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.25rem;
    }
}

/* Prevent hero text from overlapping navbar/brand on mobile */
@media (max-width: 992px) {
    .hero-section {
        padding-top: 7.5rem;
    }
    /* Force navbar background & blur on mobile */
    .navbar {
        background-color: rgba(16, 24, 40, 0.95);
        backdrop-filter: blur(10px);
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 10rem;
    }
    .navbar-brand {
        font-size: 1.5rem;
    }
    .navbar-brand .subtitle {
        font-size: 0.75rem;
    }
}
.navbar-brand:focus, .navbar-brand:hover{
    color: #f8f9fa;
}