/* style.css */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa;
}
header {
    background-color: #001f3f; /* Dark navy blue to match logo */
    color: white;
}
.logo {
    display: flex;
    justify-content: center;
}
.logo img {
    max-height: 300px; /* Increased logo size for desktop */
    width: auto;
    max-width: 100%; /* Ensure logo doesn't overflow container */
    loading: lazy; /* Optimize image loading */
}
.navbar {
    background-color: #001f3f; /* Ensure navbar background matches header */
    display: flex;
    justify-content: center; /* Center the navbar */
}
.navbar .container-fluid {
    max-width: 720px; /* Limit navbar width to align with logo */
    width: 100%;
}
.navbar-nav {
    display: flex;
    justify-content: center; /* Center nav items */
    width: 100%; /* Ensure nav items spread across container */
}
.navbar-nav .nav-link {
    color: white !important;
    text-align: center; /* Center nav links */
    padding: 10px 20px; /* Consistent padding for nav links */
}
.navbar-nav .nav-link:hover {
    color: #ccc !important;
}
.navbar-toggler {
    border-color: #fff; /* White border for visibility */
}
.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-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); /* White toggler icon */
}
.navbar-collapse {
    background-color: #001f3f; /* Ensure menu background matches header on mobile */
}
.hero {
    background-color: #001f3f;
    color: white;
    text-align: center;
    padding: 5px 0; /* Reduced padding */
}
.hero .btn {
    margin: 0; /* Remove any default button margins */
}
.hero h1 {
    font-size: 3rem;
    font-weight: bold;
}
.services {
    padding: 30px 0; /* Reduced from 60px */
}
.services .card {
    border: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    height: 100%; /* Ensure cards stretch to match tallest */
    display: flex;
    flex-direction: column;
    min-height: 350px; /* Minimum height to ensure uniformity */
}
.services .card-img-top {
    width: 100%;
    height: 200px; /* Fixed height for images */
    object-fit: cover; /* Ensure images fit without distortion */
    loading: lazy; /* Optimize image loading */
}
.services .card-body {
    flex-grow: 1; /* Allow card body to expand */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Align content consistently */
    min-height: 150px; /* Ensure consistent card body height */
    text-align: center; /* Center card text */
}
.services .card-title {
    margin-bottom: 5px; /* Reduced from 10px */
    font-weight: bold;
}
.services .card-text {
    flex-grow: 1; /* Allow text to fill available space */
}
.services .special-offer {
    border: 2px solid #001f3f; /* Navy blue border */
    background-color: #e6e9f0; /* Light blue-gray for contrast */
    position: relative;
    padding-top: 30px; /* Reduced from 40px */
}
.services .special-offer::before {
	display: none;
    content: "Premium Service";
    position: absolute;
    top: 0;
    left: 0;
    background-color: #001f3f;
    color: white;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 0 0 5px 0;
}
.services .cta-button {
    background-color: #001f3f;
    color: white;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.services .cta-button:hover {
    background-color: #005f73; /* Lighter blue on hover */
}
.about, .contact {
    background: white;
    margin-bottom: 0.75rem; /* Reduced from 1.5rem */
    border-radius: 8px;
    padding: 0.5rem; /* Reduced from 1rem */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
}
/* Testimonials styles */
.testimonials {
    padding: 15px 0; /* Reduced from 60px */
    background-color: #f8f9fa;
}
.testimonials .card {
    border: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}
.testimonials img, .testimonials video {
    max-height: 200px;
    width: auto;
    object-fit: cover;
    margin-bottom: 10px; /* Reduced from 15px */
    loading: lazy; /* Optimize image loading */
}
.testimonials blockquote {
    font-style: italic;
    margin-bottom: 5px; /* Reduced from 10px */
}
.testimonials cite {
    font-weight: bold;
}
/* Gallery styles */
.gallery {
    padding: 15px 0; /* Reduced from 60px */
}
.gallery img {
    width: calc(100% - 20px); /* Full width minus margins */
    margin: 5px; /* Reduced from 10px */
    object-fit: cover; /* Ensure images fit without distortion */
    border: 2px solid #001f3f; /* Navy blue border */
    border-radius: 8px; /* Slightly larger border-radius */
    box-shadow: 0 6px 12px rgba(0,0,0,0.15); /* Enhanced shadow */
    opacity: 0; /* Start hidden for fade-in */
    animation: fadeIn 0.5s ease-in forwards; /* Fade-in animation */
    transition: transform 0.3s ease, filter 0.3s ease, border-color 0.3s ease; /* Smooth hover transitions */
    cursor: pointer; /* Indicate interactivity */
}
.gallery img:hover {
    transform: scale(1.05) translateY(-5px); /* Scale and lift on hover */
    filter: brightness(1.1); /* Slight brightness increase */
    border-color: #005f73; /* Lighter blue border on hover */
}
.gallery .col-md-3 {
    padding: 0; /* Remove Bootstrap's default padding */
}
/* Staggered fade-in for each image */
.gallery .col-md-3:nth-child(1) img {
    animation-delay: 0.2s;
}
.gallery .col-md-3:nth-child(2) img {
    animation-delay: 0.4s;
}
.gallery .col-md-3:nth-child(3) img {
    animation-delay: 0.6s;
}
.gallery .col-md-3:nth-child(4) img {
    animation-delay: 0.8s;
}
/* Fade-in animation keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px); /* Slight slide-up effect */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* FAQs styles */
.faqs {
    padding: 15px 0; /* Reduced from 60px */
    background-color: #f8f9fa;
}
.faqs .accordion-item {
    margin-bottom: 5px; /* Reduced from 10px */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.faqs .accordion-button {
    background-color: #fff;
    color: #001f3f;
}
.faqs .accordion-button:not(.collapsed) {
    background-color: #001f3f;
    color: white;
}
.faqs .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23001f3f'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 1.25rem;
}
.faqs .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}
footer {
    background-color: #001f3f;
    color: white;
    padding: 10px 0; /* Reduced from 20px */
    margin-top: auto;
}
/* Mobile-first adjustments */
@media (max-width: 576px) {
    .hero {
        padding: 4px 0; /* Reduced further from 8px */
    }
    .hero h1 {
        font-size: 2rem;
    }
    .logo img {
        max-height: 120px !important; /* Increased logo size on mobile */
        width: auto !important;
        max-width: 100% !important;
    }
    .testimonials img, .testimonials video {
        max-height: 150px;
    }
    .gallery img {
        margin: 3px; /* Reduced from 5px */
        width: calc(100% - 6px); /* Adjust width for smaller margins */
        border-width: 1px; /* Thinner border on mobile */
    }
    .navbar-toggler {
        margin: 5px auto; /* Reduced from 10px */
    }
    .navbar-collapse {
        padding: 5px; /* Reduced from 10px */
    }
    .services .card-img-top {
        height: 150px; /* Smaller image height on mobile */
    }
    .services .card {
        min-height: 300px; /* Adjusted minimum height for mobile */
    }
    .services .card-body {
        min-height: 120px; /* Adjusted for mobile */
    }
    .services .special-offer {
        padding-top: 20px; /* Reduced from 30px */
    }
    .services .special-offer::before {
        font-size: 12px; /* Smaller badge font on mobile */
        padding: 3px 8px;
    }
    .services .cta-button {
        width: 100%; /* Full-width button on mobile */
    }
}

/* Enhanced Section Title Styles */
.services h2, .testimonials h2, .gallery h2, .faqs h2, .contact h2, .about h2 {
    font-size: 2.0rem; /* Larger, impactful font size */
    font-weight: 700; /* Bold for emphasis */
    color: #001f3f; /* Navy blue to match branding */
    text-transform: uppercase; /* Uppercase for a polished, professional look */
    letter-spacing: 1.5px; /* Slight spacing for elegance */
    position: relative; /* For pseudo-element decorations */
    margin-bottom: 2rem; /* Consistent spacing below */
    text-align: center; /* Ensure centered alignment */
    opacity: 0; /* Start hidden for animation */
    animation: slideIn 0.6s ease-out forwards; /* Smooth slide-in animation */
}

/* Decorative underline effect */
.services h2::after, .testimonials h2::after, .gallery h2::after, .faqs h2::after, .contact h2::after, .about h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px; /* Short, centered underline */
    height: 3px; /* Thicker for visibility */
    background: linear-gradient(to right, #001f3f, #005f73); /* Gradient from navy to lighter blue */
    border-radius: 2px; /* Subtle rounding */
}

/* Hover effect for interactivity */
.services h2:hover, .testimonials h2:hover, .gallery h:h2, .faqs h2:hover {
    color: #005f73; /* Lighter blue on hover for subtle interactivity */
    transition: color 0.3s ease; /* Smooth color transition */
}

/* Animation for section titles */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px); /* Slide up from below */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered animation delays for each section */
.services h2 {
    animation-delay: 0.2s;
}
.testimonials h2 {
    animation-delay: 0.4s;
}
.gallery h2 {
    animation-delay: 0.6s;
}
.faqs h2 {
    animation-delay: 0.8s;
}

/* Mobile adjustments for section titles */
@media (max-width: 576px) {
    .services h2, .testimonials h2, .gallery h2, .faqs h2 {
        font-size: 1.8rem; /* Smaller font size for mobile */
        letter-spacing: 1px; /* Slightly tighter spacing */
        margin-bottom: 1.5rem; /* Reduced spacing */
    }
    .services h2::after, .testimonials h2::after, .gallery h2::after, .faqs h2::after {
        width: 40px; /* Shorter underline on mobile */
        height: 2px; /* Thinner underline */
    }
}

@media (min-width: 768px) {
    /* Enhancements for larger screens */
    .hero h1 {
        font-size: 4rem;
    }
}

/* Style sheet for social media link images */
.social-media-links {
    display: inline-block;
    gap: 15px; /* Space between icons */
    justify-content: center; /* Center icons horizontally */
    align-items: center;
    padding: 10px;
}

/* Style for individual social media images */
.social-media-links img {
    width: 40px; /* Standard size for social media icons */
    height: 40px;
    object-fit: contain; /* Ensures image fits without distortion */
    border-radius: 50%; /* Circular icons; use 0 for square */
    transition: all 0.3s ease; /* Smooth hover effect */
    background-color: #f0f0f0; /* Light background for contrast */
    padding: 5px; /* Optional padding inside the icon */
    box-sizing: border-box;
}

/* Hover effect for interactivity */
.social-media-links img:hover {
    transform: scale(1.1); /* Slight zoom on hover */
    opacity: 0.8; /* Subtle fade effect */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Shadow for depth */
}

/* Responsive design for smaller screens */
@media (max-width: 600px) {
    .social-media-links img {
        width: 32px; /* Smaller icons on mobile */
        height: 32px;
    }
}
.no-wrap {
  white-space: nowrap;
}