/* 1. Global Variables & Base Styles */
:root {
    --primary-blue: #003366; 
}
/* Clean up line 65-75 */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    padding-top: 80px;
    font-family: 'Rubik', sans-serif;
    color: #333;
    overflow-x: hidden;
    /* Ensure height isn't locked */
    min-height: 100vh; 
}
html, body {
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    display: block !important; 
}

/* --- Global Fixed Header --- */
.main-header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000 !important;
}

/*
**************************
top bar spacing 
**************************
*/
.top-bar {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  padding: 30px 20px;
  background: #f4f4f4;
  border-bottom: 2px solid #000000;
}

.left-group, .right-group {
  display: flex;
  gap: 15px; 
}

@media (max-width: 608px) {
  .right-group {
    display: none; 
  }

  .left-group {
    display: flex;
    flex-wrap: wrap;
    width: 100%;

    gap: 5px; 
    row-gap: 2px;
  }

  .item {
    margin-bottom: 0 !important; 
    padding-bottom: 0;           
  }

  .item-1 {
    flex: 0 0 100%; 
    text-align: center; 
    display: block; 
    line-height: 1;
    
  }

  .item-2, .item-3 {
    flex: 1; 
    text-align: center;
    
  }
}

.bg-primary {
    background-color: var(--primary-blue) !important;
}

/*
****************
navbar begin 
****************
*/

.navbar {
    position: relative !important;
    background-color: transparent !important; 

    width: 100%;
    z-index: 10;
}
.nav-link {
    font-weight: 500;
    color: #000000 !important;
    padding: 1rem 1.2rem !important;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-blue) !important;
}

.dropdown-item:hover {
    background-color: var(--primary-blue);
    color: white;
}

.top-bar a:hover {
    opacity: 0.8;
}

/*
************************
navbar responsive 
********************/


/* Ensure no other wrapper is trapping the nav */
header, .main-wrapper {
    overflow: visible !important;
}
[data-aos] {
    pointer-events: none;
}
.aos-animate {
    pointer-events: auto;
}

/* Remove padding from the link wrapping the logo */
.navbar-brand {
    display: flex;
    align-items: center;
    align-self: center; /* This makes the white box fill the height without breaking stickiness */

    background-color: #ffffff9a; /* The "Pop" color */
    padding: 2px 2px !important; /* Space around the logo inside the white box */
    margin: 0 !important;
    height: 80%;  /*Makes the white box fill the navbar height */

    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.nav-logo {
    max-height: 60px; 
    width: auto;
}
.navbar-hambur {
    background-color: #ffffff9a; /* The "Pop" color */
    padding: 0px 0px !important; /* Space around the logo inside the white box */
    margin: 1 !important;
    display: flex;
    align-items: center;

    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.navbar-but {
    background-color: #ffffff9a; /* The "Pop" color */
    /*padding: 1px 1px !important; /* Space around the logo inside the white box */
    padding-right: 1px !important;
    padding-left: 1px !important;
    margin: 1 !important;
    display: flex;
    align-items: center;
    height: 30px;  /*Makes the white box fill the navbar height */
    
   
}

@media (max-width: 991px) {
    .nav-logo {
        height: 55px; /* Bigger than before, but fits perfectly without padding */
    }
    
    /* Ensure the hamburger and search icon don't touch the top/bottom edges too closely */
    .navbar-toggler, .nav-link {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

/* Extra Small Phones (under 380px) */
@media (max-width: 380px) {
    .nav-logo {
        height: 35px; /* Even smaller for tiny screens like iPhone SE */
    }
}

/* 4. Responsive Logic (The "Stacking" Plan) */

@media (min-width: 992px) {
    .border-lg-end {
        border-right: 1px solid rgba(255, 255, 255, 0.3) !important;
    }
}

/* Tablet & Thin Windows: Email on top, Phone | Location below */
@media (max-width: 991px) {
    .navbar-nav {
        padding: 1rem 0;
    }
    .email-item {
        border-right: none !important;
        width: 100%; 
        margin-bottom: 4px;
        font-size: 0.80rem;
    }
    
}



/* 5. Utility */
.navbar-brand img {
    transition: height 0.3s ease;
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        text-align: center;
        padding: 60px 0;
    }
    .hero-section .lead {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-section .d-flex {
        justify-content: center;
    }
}

/* --- Global Overrides & Typography --- */
body {
    background-color: #f1f7f6; /* Matching the soft background from the screenshot */
    font-family: 'Rubik', sans-serif;
    color: #444;
}

h1, .main-title {
    font-family: 'DM Serif Display', serif !important;
    color: #0c1c2b; /* Deep blue/black for headings */
    font-weight: 400 !important;
    line-height: 1.1;
    letter-spacing: -1px; /* Tighter leading typical of serif headlines */
}

/* ---
*************************************
Offcanvas Customization --- 
***************************************
*/

/* Align text to the left and set fonts */
.offcanvas-body .nav-link {
    font-family: 'DM Serif Display', serif; /* Or Rubik if you prefer */
    font-size: 1.2rem;
    text-align: left !important;
}

/* Thin border separators */
.offcanvas-body .border-bottom {
    border-color: rgba(0,0,0,0.05) !important;
}

/* Remove the "caret" arrow from Bootstrap and use FontAwesome icons instead */
.dropdown-toggle::after {
    display: none;
}

/* Style the bottom contact icons */
.offcanvas-contact i {
    color: #ffb400 !important; /* The gold/yellow color from your image */
}

.offcanvas-contact h6 {
    font-size: 0.95rem;
    color: #333;
}

/* Fix for Search Input focus */
.form-control:focus {
    outline: none !important;
}

/*
**************************
search modal fixes 
************************
*/
/* 1. Ensure Modal is on top of the Fixed Header */
.modal {
    z-index: 3000 !important;
}

.modal-backdrop {
    z-index: 2900 !important;
}

/* 2. Fix the Mobile "Cover" issue */
@media (max-width: 576px) {
    .modal-dialog.modal-fullscreen-sm-down {
        margin: 10px; /* Adds a small gap so it doesn't swallow the whole screen */
        height: auto;
    }
    
    .modal-content {
        border-radius: 15px !important; /* Makes it look like a floating card instead of a full screen */
        border: none;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }

    .modal-body {
        padding: 2rem 1rem; /* Better spacing for the search input */
    }
}

/* 3. Aesthetic: Dim the background just enough */
.modal-backdrop.show {
    opacity: 0.7 !important;
}

/* --- 
************************
Hero Section Specific 
*************************
--- */
/* Find this around line 316 */
.hero-section {
    /* Change absolute to relative */
    position: relative; 
    background-image: url('../images/bg-hero.png'); 
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    /* Remove any top: 0 or left: 0 if they were there */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(161, 193, 255, 0.45) 0%, rgba(148, 149, 154, 0.481) 100%);
    z-index: 0;
}

.split-hero {
    min-height: 90vh; /* Takes up 90% of screen height 
}

.sub-text {
    color: #b71c1c; /* Deep red highlight */
    font-size: 0.9rem;
    letter-spacing: 1.5px;
}

.text-column {
    padding-top: 50px;
    padding-bottom: 50px;
}

.hero-section .lead {
    font-weight: 500;
    line-height: 1.6;
    color: #383737;
    font-size: 1.15rem;
}

.watermark-svg-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 110%;
    transform: rotate(-10deg);
    z-index: 0;
    pointer-events: none; /* Text can be clicked through it */
}

.btn-explore {
    border-radius: 0 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-explore:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(183, 28, 28, 0.4);
}

.hero-phone-link {
    transition: color 0.2s ease;
}
.hero-phone-link:hover {
    color: #b71c1c !important;
}

/* --- The Enhanced Red Card Carousel Logic --- */
/* Custom Carousel Fade Speed */
.carousel-fade .carousel-item {
    transition-duration: 0.8s; /* Default is 0.6s; 0.8s - 1.0s feels smoother */
    transition-property: opacity;
}
/* Subtle Zoom Animation */
.carousel-item img {
    transition: transform 5s linear; /* Very slow zoom */
    transform: scale(1);
}

.carousel-item.active img {
    transform: scale(1.1); /* Zooms in slightly while the slide is active */
}

.enhanced-red-card {
    /* Height and position adjustments for the effect */
    height: 550px; /* Force a specific height on desktop */
    width: 80%;
    margin: 0 auto;
    border-radius: 12px;
    background-color: #b71c1c74; /* The improved red frame */
    padding: 15px; /* Creates the improved "inner frame" width */
    transform: translateY(20px); /* Push it down a bit to "float" */
    transition: background-color 0.3s ease;
}

.red-card-background {
    display: none; 
}

#heroCarousel {
    border-radius: 8px; /* Curve the image itself inside the frame */
    position: relative;
    z-index: 1;
}

.carousel-inner, .carousel-item img {
    border-radius: 8px; /* Curve the images */
}

/* Standardize image aspect ratio */
.object-fit-cover {
    object-fit: cover !important;
}


/* Mobile & Tablet Adjustments */
@media (max-width: 991px) {
    .split-hero {
        text-align: center;
        padding-top: 40px !important;
        padding-bottom: 60px !important;
    }
    .text-column {
        padding-right: 1.5rem !important; /* Reset padding */
        text-align: center;
    }
    .main-title {
        font-size: calc(2rem + 1vw) !important;
    }
    .enhanced-red-card {
        height: 400px; /* Smaller height for tablet/mobile */
        width: 100%;
        margin-bottom: 20px;
    }
}
/* --- ------------------------- */

/* --- About Section Styles --- */

/* --- --------------------- --- */
.about-section {
    overflow: clip;
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: 2;
    position: relative;
}


.about-content h2 {
    font-size: calc(1.8rem + 1vw);
}

.about-description p {
    color: #292929;
    line-height: 1.8;
}

.about-list span {
    color: #444;
    font-size: 1.05rem;
}

.btn-outline-danger {
    border-color: #b71c1c;
    color: #b71c1c;
    transition: all 0.3s ease;
}

.btn-outline-danger:hover {
    background-color: #b71c1c;
    border-color: #b71c1c;
    color: #fff;
    transform: translateY(-2px);
}
/* --- Enhanced Red Card (Reusable) --- */
.about-red-card {
    background-color: #b71c1ca2; 
    padding: 12px; /* This creates the "border" effect */
    border-radius: 12px;
    display: block;
    margin: 0 auto;
}

/* Specific height for the About section image to keep it tidy */
.about-card {
    height: 550px; 
    width: 80%;
}

/* --- Vertical Accent Line --- */
.about-accent-text {
    border-left: 3px solid #b71c1c;
    padding-right: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
}

/* Mobile Tweak: If the text centers on mobile, the line can look odd. 
   We can hide it or keep it based on your preference. */
@media (max-width: 991px) {
    .about-accent-text {
        border-right: 2px solid #b71c1c;
        padding-right: 15px;
        text-align: left; /* Ensures text stays left-aligned if a line is present */
    }
}

.about-card img {
    border-radius: 6px;
    object-fit: cover;
}

/* --- Mobile Spacing Fix --- */
@media (max-width: 991px) {
    /* This ensures that when stacked, the image doesn't touch the "Learn More" button */
    .mt-5 {
        margin-top: 3rem !important; 
    }
    .about-card {
        height: 350px; /* Shorter on mobile for better scrolling */
    }
    .about-content {
        text-align: center;
        padding-top: 30px;
    }
    .about-list {
        text-align: left; /* Keep bullets left-aligned for readability */
        display: inline-block;
    }
}

/* --- ------------------------- */

/* --- services Section Styles --- */

/* --- --------------------- --- */
/* --- Services Section --- */
.bg-light {
    background-color: #f8f9fa !important;
}

#services.services-section {
    /*background: linear-gradient(180deg, #ffffff 0%, #e6eff9 100%) !important;
*/
    background: linear-gradient(0deg, rgb(207, 222, 249) 0%, rgb(247, 220, 213) 100%);

}

.service-card {
    border-radius: 12px;
    transition: all 0.3s ease-in-out;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.1) !important;
}

.card-img-wrap {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.service-card img {
    transition: transform 0.5s ease;
}

.service-card:hover img {
    transform: scale(1.1); /* Subtle zoom on image when hovering card */
}

.service-card h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.4rem;
}

.service-card .text-danger {
    color: #b71c1c !important;
    font-size: 0.95rem;
}

/* Ensure the arrows move slightly on hover for "Learn More" */
.service-card a:hover i {
    transform: translateX(5px);
    transition: transform 0.2s ease;
}
/* --- ------------------------- */

/* --- gallery Section Styles --- */

/* --- --------------------- --- */

.gallery-section {
    overflow: clip;
}

.workSwiper .swiper-slide img {
    width: 30%;
    height: 100px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.workSwiper .swiper-slide:hover img {
    transform: scale(1.05); /* Zoom in slightly when user hovers */
    cursor: pointer;
}

/* Custom Red Pagination Dots */
.swiper-pagination-bullet-active {
    background: #b71c1c !important;
}

/* Ensure the swiper container stays within the screen */
.workSwiper {
    width: 100%;
    height: auto;
    padding-bottom: 40px !important; /* Space for pagination dots */
    margin: 0 auto;
}

/* Force the images to respect the 'slidesPerView' setting */
.workSwiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto; /* Important for dynamic sizing */
}

.workSwiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 200px; /* Adjust height to your liking */
    object-fit: cover;
    border-radius: 8px;
}

/* --- ------------------------- */

/* --- Testimonials Section Styles --- */

/* --- --------------------- --- */
/* ---  Styles --- */
.testimonials-section {
    position: relative;
    background-image: url('../images/gray-abstract-bg.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 60px !important;
    padding-bottom: 80px !important;
}

.testiSwiper {
    /* EDIT HEIGHT HERE: You can set a fixed height or min-height for the white box */
    min-height: 300px;
    background-color: #efefef00;
    width:80%; 
    /*border-bottom: 4px solid #b71c1c; /* Stylistic bottom border 
    border-top: 4px solid #b71c1c;*/
    border-left: 4px solid #b71c1c;
    border-right: 4px solid #b71c1c;
    /* Floating animation */
    animation: floatTesti 5s ease-in-out infinite;
}
@keyframes floatTesti {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}
.testi-side-img {
    position: absolute;
    bottom: 10;
    height: 350px; /* Adjusting this also controls perceived section height */
    opacity: 0.8;
    z-index: 0;
}

.left-img { left: 5%; }
.right-img { right: 5%; }

.quote-icon {
    width: 40px;
    height: auto;
}

.testi-content p {
    font-style: italic;
    line-height: 1.6;
    font-weight:normal;
    padding-left: 11%;
    padding-right: 11%;
}

/* Custom bullet color for this section */
.testiSwiper .swiper-pagination-bullet-active {
    background-color: #b71c1c !important;
}
/* --- ------------------------- */

/* --- form Section Styles --- */

/* --- --------------------- --- */

.branded-contact-section {
    position: relative;
    background-image: url('../images/hero-carousel/worker3.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* EDIT HEIGHT HERE: Since it's dark, you might prefer more padding */
    
    padding-top: 80px !important;
    padding-bottom: 200px !important;
    /*padding: 100px 0;
    */
}

.contact-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Changed 1 to 0.8 for transparency */
    background: linear-gradient(0deg,
     rgba(0, 0, 0, 0.9) 40%,
      rgba(27, 7, 7, 0.9) 71%,
       rgba(41, 0, 0, 0.9) 94%);
    z-index: 0;
}

.z-index-1 { z-index: 1; }
.z-index-2 { z-index: 2; }

/* --- Dark Form Field Overrides --- */
.dark-form .form-control-dark {
    /* EDIT THIS LINE: The first number (10px) is top/bottom padding. 
       Lower it to make the box shorter. */
    padding: 8px 12px !important; 
    
    /* OPTIONAL: Shrinking the font size slightly also makes the box feel smaller */
    font-size: 0.9rem !important; 
    
    background-color: rgba(0, 0, 0, 0.4) !important; /* Semi-transparent black background */
    border: 1px solid rgba(183, 28, 28, 0.4) !important; /* Faint red border, matching your design */
    color: white !important;
}

.dark-form .form-control-dark::placeholder {
    color: rgba(255, 255, 255, 0.5) !important; /* Light placeholder text */
}

.dark-form .form-control-dark:focus {
    border-color: #b71c1c !important; /* Full red on focus */
    border-width: 1px!important;
    box-shadow: 0 0 10px rgba(183, 28, 28, 0.3) !important;
    background-color: rgba(0, 0, 0, 0.6) !important;
}

/* Specific styling for the drop-down on dark background */
.dark-form select.form-select.form-control-dark {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important; /* White arrow */
}

/* --- Mascot Styles --- */
.mascot-wrapper {
    width: 80%;
    padding-top: 50px;
    padding-left: 100px;
}



/* Mobile Tweaks */
@media (max-width: 991px) {
    .branded-contact-section {
        padding: 50px 0 !important;
        text-align: center;
    }
    /* Stacking inputs nicely on mobile */
    .dark-form .row {
        text-align: left;
    }
}

/*
***********************
footer css
***********************
*/
/* --- Footer Styles --- */
footer {
    /*background-color: #0c1c2b !important; /* A slightly deeper blue/black than standard Bootstrap dark */
    background-image: url('../images/footer-bg.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-top: 4px solid #b71c1c; 
    margin-top: 0 !important;
}

footer h5 {
    font-size: 1rem;
    letter-spacing: 1px;
}

.footer-links a, .footer-contact a {
    display: inline-block;
    padding: 2px 0;
}

.transition-base {
    transition: all 0.3s ease;
}

.hover-red:hover {
    color: #b71c1c !important;
    transform: translateX(5px);
}

.newsletter-form .form-control:focus {
    background-color: rgba(255,255,255,0.05);
    border-color: #b71c1c;
    box-shadow: none;
    color: white;
}

/* Red Vertical Line effect for titles */
.border-danger {
    border-color: #b71c1c !important;
}

/* Ensure copyright text is clean */
footer hr {
    border-top: 1px solid rgba(255,255,255,0.1);
}

/*
*****************************
page starter 
******************************
*/

.page-section {
    position: relative;
    background-image: url('../images/steel-bg.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Removed padding-left: 100px; */
    padding-top: 10px;
    padding-bottom: 10px;
}

.page-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(0deg,
        rgba(0, 0, 0, 0.9) 40%,
        rgba(23, 49, 122, 0.9) 71%,
        rgba(4, 33, 101, 0.9) 94%);
    z-index: 0;
}

.z-index-1 { z-index: 1; }
.z-index-2 { z-index: 2; }

/* --- page-header Styles --- */
.page-header {
    /* Removed padding-left: 300px; */
    margin-bottom: 1.5rem;
}

/* --- page-mascot Styles --- */
.page-mascot-wrapper img {
    max-height: 250px; /* Let him be a bit bigger on desktop */
    width: auto;
}

/* --- Responsive Fixes --- */
@media (max-width: 991px) {
    .page-section {
        /* Centering the background and reducing padding for mobile */
        padding-top: 40px !important;
        padding-bottom: 40px !important;
        text-align: center; /* Centers the "About Us" text on mobile */
    }

    .page-header {
        padding-left: 0; /* Ensures text isn't pushed off screen */
    }

    .page-mascot-wrapper img {
        max-height: 200px; /* Keeps Jorge small enough to see the text above him */
        margin-top: 20px;
    }
}

/* Optional: If you want that deep indent ONLY on huge monitors */
@media (min-width: 1200px) {
    .page-header {
        padding-left: 50px; 
    }
}


/* Default Navbar */
.nav-default {
    background-color: #ffffff;
}

/* Shared logic for all themed navbars to prevent distortion */
.nav-easter, .nav-halloween, .nav-christmas {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 70px; /* Keeps the size consistent */

    position: relative; /* Required for the overlay to stay inside */
    z-index: 1; 
}
/* The "Tinted Glass" Overlay */
.nav-easter::before, 
.nav-halloween::before, 
.nav-christmas::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; /* This pushes the tint BEHIND the logo and links */
}

/* Specific Theme Colors */
.nav-easter::before {
    background: rgba(251, 226, 240, 0.763); 
}

.nav-halloween::before {
    background: rgba(0, 0, 0, 0.5); 
}

.nav-christmas::before {
    background: rgba(226, 226, 226, 0.276);
}

/* Easter - maybe a subtle floral or egg pattern */
.nav-easter {
    background-image: url('../images/patterns/easter-bg.jpg') !important;
    border-bottom: 3px solid #fbcfe8;  
}

/* Halloween - spooky trees or orange gradient with bats */
.nav-halloween {
    background-image: url('../images/patterns/halloween-bg.jpg') !important;
    border-bottom: 3px solid #ff7518; 
}
/* Christmas - snowflakes or red sweater pattern */
.nav-christmas {
    background-image: url('../images/patterns/xmas-bg.jpg') !important;
    border-bottom: 4px solid #075d2e;
}

/* 
***********************
Service Sidebar Styling
***********************
 */
.sidebar-menu .list-group-item {
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    color: #333;
}

.sidebar-menu .list-group-item:hover {
    background-color: var(--primary-blue);
    color: white !important;
    padding-left: 30px !important; /* Slight slide effect */
}

.sidebar-menu .list-group-item.active {
    background-color: var(--primary-blue) !important;
    color: white !important;
    border-left: 5px solid #b71c1c !important;
}

/* List Icons */
.service-list i {
    font-size: 1.1rem;
}

/* Ensure sticky sidebar doesn't overlap on mobile */
@media (max-width: 991px) {
    .service-sidebar {
        position: static !important;
    }
}

/*
**************
service img 
************
*/

.service-banner-img {
    /* Set your desired height here */
    height: 300px !important; 
    
    /* This is the magic part: it fills the space and crops the edges 
       instead of distorting the faces/units in the photo */
    object-fit: cover; 
    
    /* Keeps the center of the image visible */
    object-position: center; 
    
    width: 50%;
    display: block;
}

/* Adjust for Mobile so it's not too tall on small screens */
@media (max-width: 768px) {
    .service-banner-img {
        height: 250px !important;
    }
}

/*
*****************
contact page 
*****************

/* Custom Background for the Contact Section */
.contact-main-section {
    /* 100px on top, 0 on sides, 100px on bottom */
    padding-top: 100px  !important; 
    padding-bottom: 200px  !important; 
}
/* Adjust for Mobile so the "blank space" isn't TOO big on small screens */
@media (max-width: 768px) {
    .contact-main-section {
        padding: 30px 0 !important;
    }
}



.bg-light-custom {
    /* 1. Setup the background with an overlay */
    /* Adjust '0.7' to make the overlay darker (closer to 1) or lighter (closer to 0) */
    background: linear-gradient(rgba(1, 41, 80, 0.435), rgba(49, 107, 165, 0.7)), 
                url('../images/gray-abstract-bg.jpg');
    
    /* 2. Standard background properties for a professional look */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Optional: adds a nice parallax scroll effect */
    background-repeat: no-repeat;
    
    position: relative;
    padding: 200px 0; /* Adding a bit more padding for the "epic" feel */
    padding-top: 100px;
    padding-bottom: 100px;
}

/* 3. Make the card text even more readable against a dark background 
.contact-card {
    background: #ffffff;
    border: none;
    /* We increase the shadow slightly since the background is now busier 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}*/

/* Enhancing the Card "Pop" */
.contact-card {
    background: #ffffff; /* Must be pure white to pop against the gray*/ 
    border: none; /* Removing the border makes the shadow look more modern */
    border-radius: 12px;
    
    /* Stronger shadow to create depth */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease-in-out;
}

.contact-card:hover {
    background-color: #ffffff;
    transform: translateY(-8px);
    /* Deepen the shadow on hover */
    box-shadow: 0 12px 25px rgba(0, 51, 102, 0.1) !important; 
}

/* Style the icons to match your brand blue */
.contact-card i {
    color: #003366; /* Your primary brand blue */
    background: rgba(0, 51, 102, 0.05); /* Soft circular glow behind icon */
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    margin: 0 auto 15px;
}
*/
/* Contact Card Styles 
.contact-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.contact-card i {
    display: block;
    margin-bottom: 15px;
}*/

.contact-card h5 {
    font-size: 1.1rem;
    color: #003366; /* Matching your theme blue */
}

/* Ensure the map fills height on desktop */
@media (min-width: 992px) {
    .map-wrapper {
        min-height: 100%;
    }
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .contact-card {
        padding: 2rem 1rem !important;
    }
}
/*
***********************
gallery 
***********************
*/
/* Gallery Wall Styles */
.gallery-wall-section {
    overflow: hidden;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1; /* Forces all images into perfect squares */
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Hover Overlay */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 102, 0.8); /* Your brand blue with transparency */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.overlay-content i {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.overlay-content span {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

/* Hover States */
.gallery-item:hover img {
    transform: scale(1.1); /* Slight zoom in */
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .overlay-content {
    transform: translateY(0);
}

/* Mobile Adjustments */
@media (max-width: 576px) {
    .overlay-content span {
        font-size: 0.7rem;
    }
}

/*
********
gallery modal 
*********
*/

#galleryModal .modal-content {
    background: transparent; /* Remove white box around the image */
}

#galleryModal .modal-body img {
    max-height: 85vh; /* Prevents image from being taller than the screen */
    width: auto;
    border: 3px solid white;
}

/* Make the backdrop extra dark for the "Cinema" feel */
.modal-backdrop.show {
    opacity: 0.9 !important;
}

/*
************************
language loggle 
***********************
*/
/* Language Toggle Container */
.lang-toggle-wrapper {
    display: inline-block;
    vertical-align: middle;
}
/*
.lang-toggle-btn {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 4px 12px;
    color: white !important;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 12px;
    transition: all 0.3s ease;
    position: relative;
}

 The little indicator dot 
.lang-dot {
    width: 8px;
    height: 8px;
    background-color: #ffc107; 
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 5px rgba(255, 193, 7, 0.8);
}*/
.lang-toggle-btn {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 51, 102, 0.2);
    border-radius: 20px;
    padding: 5px 15px;
    color: #003366 !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    line-height: 1; /* Keeps the flag and text perfectly centered */
}

.lang-emoji {
    font-size: 16px; /* Adjust size of the flag */
    display: inline-block;
    margin-top: -2px; /* Fine-tune vertical alignment if needed */
}

.lang-toggle-btn:hover {
    background: #003366;
    color: white !important;
    border-color: #003366;
    transform: translateY(-1px);
}
.lang-flag-img {
    width: 20px; /* Small and sharp */
    height: auto;
    border-radius: 2px; /* Slight rounding looks more modern */
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.lang-toggle-btn {
    padding: 4px 12px; /* Tighten up the button slightly */
}

/* Special styling if in Spanish mode 
.active-es .lang-dot {
    background-color: #28a745; 
    box-shadow: 0 0 5px rgba(40, 167, 69, 0.8);
}*/
