/* Root-level background fix */
html {
    background: #F5F5F5;
    width: 100vw;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #2F2F2F;
    background: #F5F5F5;
    overflow-x: hidden;
    line-height: 1.6;
    width: 100vw;
    min-height: 100vh;
}

section, .banner, footer {
    background: #F5F5F5;
    width: 100%;
    overflow-x: hidden;
}

.container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

/* Banner Styles */
.banner {
    background-color: #FFFFFF;
    padding: 5px 0;
    color: #000080;
    font-size: 0.9rem;
    width: 100%;
    overflow-x: hidden;
}

.banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.banner-logo {
    height: auto;
    max-height: 150px;
    width: auto;
    max-width: 150px;
    border-radius: 50%;
    padding: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    object-fit: contain;
}

.banner-logo:hover {
    border-color: #000000;
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(94, 109, 237, 0.4);
}

.contact-info {
    color: #000080;
    max-width: 100%;
    overflow-wrap: break-word;
}

.contact-info a {
    color: #000080;
    margin: 0 5px;
    white-space: nowrap;
}

.contact-info a:hover {
    color: #000000;
    text-decoration: underline;
}

.contact-info i {
    font-size: 1rem;
    color: #000080;
}

.tagline {
    color: #000080;
    flex: 1;
    text-align: center;
}

/* Navigation Bar Styles */
.navbar {
    background-color: #81EFF4 !important;
    border-bottom: 1px solid;
    border-image: linear-gradient(to right, #000080, #1E90FF) 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1020;
}

.navbar .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.navbar-brand {
    color: #000080 !important;
}

.nav-link {
    color: #000080 !important;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #161514 !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #1a1a3e;
    bottom: 2px;
    left: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.navbar-logo {
    height: 40px;
    margin-right: 1rem;
    border-radius: 50%;
    border: 2px solid #000080;
    padding: 2px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.navbar-logo:hover {
    border-color: #000000;
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(255, 111, 97, 0.3);
}

@media (max-width: 991px) {
    .navbar-collapse {
        background-color: #052d91;
        padding: 1rem;
        border-radius: 0 0 10px 10px;
        width: 100%;
    }
    .navbar-nav {
        padding: 0.5rem 0;
    }
    .nav-link {
        color: #FFFFFF !important;
    }
    .nav-link:hover {
        color: #FF6F61 !important;
    }
    .nav-link::after {
        background-color: #FF6F61;
    }
    .navbar-toggler {
        border-color: #000080;
    }
    .navbar-toggler-icon {
        filter: none;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(128, 0, 128, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}

/* Updated styles for contact information */
.contact-card .bg-light .contact-text {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping of content */
    align-items: center;
    width: 100%; /* Ensure it takes full available width */
}

.contact-card .bg-light .contact-text p {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping within the paragraph */
    align-items: center;
    margin: 0; /* Remove default margin */
    width: 100%; /* Ensure full width usage */
    font-size: 0.9rem;
}

.contact-card .bg-light .contact-text a {
    color: #000080;
    text-decoration: none;
    margin: 0 0.25rem; /* Small margin between links */
    white-space: normal; /* Allow wrapping */
    overflow-wrap: break-word; /* Break long words/emails */
    word-break: break-all; /* Ensure long emails break at any character */
    display: inline; /* Keep inline behavior */
}

.contact-card .bg-light .contact-item {
    align-items: flex-start; /* Align to top */
    gap: 0.2rem; /* Minimal gap between icon and text */
    width: 100%; /* Ensure full width */
}

.contact-card .bg-light .fa-phone,
.contact-card .bg-light .fa-envelope {
    margin-right: 0.2rem; /* Tight icon margin */
    font-size: 0.9rem; /* Smaller icon size */
    flex-shrink: 0; /* Prevent icon from shrinking */
    color: #000080; /* Match text color */
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .contact-card .bg-light .contact-text p {
        font-size: clamp(0.8rem, 3.5vw, 0.85rem);
        line-height: 1.2;
        flex-wrap: wrap; /* Ensure wrapping */
    }

    .contact-card .bg-light .contact-text a {
        font-size: clamp(0.8rem, 3.5vw, 0.85rem);
        margin: 0 0.1rem;
        white-space: normal; /* Allow wrapping */
        overflow-wrap: break-word; /* Break long words/emails */
        word-break: break-all; /* Break at any character for long emails */
    }

    .contact-card .bg-light .contact-item {
        gap: 0.1rem; /* Minimal gap on mobile */
    }

    .contact-card .bg-light .fa-phone,
    .contact-card .bg-light .fa-envelope {
        margin-right: 0.1rem; /* Very tight icon margin */
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) and (min-resolution: 1dppx) {
    .contact-card .bg-light .contact-text p {
        font-size: clamp(0.75rem, 3.2vw, 0.8rem);
        line-height: 1.2;
    }

    .contact-card .bg-light .contact-text a {
        font-size: clamp(0.75rem, 3.2vw, 0.8rem);
        margin: 0 0.05rem;
        white-space: normal;
        overflow-wrap: break-word;
        word-break: break-all;
    }

    .contact-card .bg-light .contact-item {
        gap: 0.05rem; /* Minimal gap for Android */
    }

    .contact-card .bg-light .fa-phone,
    .contact-card .bg-light .fa-envelope {
        margin-right: 0.05rem; /* Minimal icon margin */
        font-size: 0.8rem;
    }
}

/* Contact Section */
#contact .contact-card h2 {
    text-align: center; /* Keep center alignment as fallback */
}

/* Contact Form Input Styles */
#contactForm .form-control {
    border: 2px solid #000080; /* Navy blue border to match theme */
    border-radius: 8px; /* Slightly rounded corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    transition: all 0.3s ease; /* Smooth transition for focus/hover effects */
    padding: 10px; /* Comfortable padding */
    background-color: #FFFFFF; /* Clean white background */
}

#contactForm .form-control:focus {
    border-color: #FF6F61; /* Coral color on focus to highlight */
    box-shadow: 0 0 8px rgba(255, 111, 97, 0.4); /* Glow effect on focus */
    outline: none; /* Remove default browser outline */
    transform: scale(1.02); /* Slight scale-up for emphasis */
}

#contactForm .form-control:hover {
    border-color: #1E90FF; /* Blue hover effect for interactivity */
    box-shadow: 0 2px 6px rgba(30, 144, 255, 0.3); /* Slight shadow on hover */
}

/* Ensure textarea matches input styles */
#contactForm textarea.form-control {
    resize: vertical; /* Allow vertical resize only */
    min-height: 100px; /* Minimum height for textarea */
}

/* Responsive adjustments */
@media (max-width: 576px) {
    #contactForm .form-control {
        padding: 8px; /* Slightly less padding on mobile */
        border-width: 1.5px; /* Thinner border for smaller screens */
    }
    #contactForm .form-control:focus {
        transform: scale(1.01); /* Reduced scale effect on mobile */
    }
}

@media (min-width: 768px) {
    #contact .contact-card h2 {
        /* Match the form's width and padding */
        max-width: 540px; /* Matches the form's approximate width in col-md-7 */
        margin-left: 100px;
        margin-right: auto;
        text-align: center; /* Center within the form's width */
    }
}

/* Call Icon Styles */
.call-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #32CD32;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: none;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    z-index: 1000;
}

.call-icon:hover {
    transform: scale(1.1);
    background-color: #28A745;
}

.call-icon i {
    color: #FFFFFF;
}

/* Hero Section Styles */
.hero-section {
    background: linear-gradient(45deg, #000000, #333333, #FF6F61);
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
    min-height: 70vh;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    width: 100%;
}

@keyframes gradientShift {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

.hero-section h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 1;
    letter-spacing: 0.5px;
}

.hero-section p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    z-index: 1;
}

.hero-images .float-image {
    position: absolute;
    animation: float 5s ease-in-out infinite;
    z-index: 0;
    font-size: 2rem;
}

.hero-images .float-image:nth-child(1) { top: 20%; left: 10%; opacity: 40%; }
.hero-images .float-image:nth-child(2) { top: 40%; right: 10%; transform: scaleX(-1); opacity: 30%; }
.hero-images .float-image:nth-child(3) { bottom: 20%; left: 30%; opacity: 20%; }

@keyframes float {
    0%, 100% { transform: translateY(0) scaleX(1); }
    50% { transform: translateY(-20px) scaleX(1); }
}

.recommendation-images {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    min-height: 300px;
    padding: 2rem 0;
    width: 100%;
}

.recommendation-image {
    width: 300px;
    animation: pulse 3s infinite;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s, transform 0.3s;
}

.side-image {
    position: absolute;
    width: 200px;
    opacity: 0.5;
    transition: all 0.5s ease;
}

.side-image#recommendation-image-side-1 {
    left: -250px;
}

.side-image#recommendation-image-side-2 {
    right: -250px;
}

.bg-black { background-color: #000000; }
.bg-gray { background-color: #F5F5F5; }
.bg-parallax {
    background: linear-gradient(to bottom, #ffffff, #e0d3e0, #ddf7dd);
    background-attachment: fixed;
    background-size: cover;
    position: relative;
    width: 100%;
}

.btn-coral { 
    background-color: #FF6F61; 
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}
.btn-coral:hover { background-color: #E65B50; }
.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.service-icon {
    transition: transform 0.3s ease, color 0.3s ease;
}

.strength-card:hover .service-icon {
    transform: scale(1.2);
    color: #FF6F61;
}

.client-logo {
    max-height: 120px;
    width: auto;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.client-logo:hover {
    transform: scale(1.1);
}

h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

p, li {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.navbar-brand, .nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.text-super-white {
    color: #FFFFFF !important;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

.fw-extra-bold {
    font-weight: 900 !important;
}

.fw-medium {
    font-weight: 600 !important;
}

/* Hero Background Styles */
.hero-bg-container {
    background: linear-gradient(rgba(30, 144, 255, 0.7), rgba(128, 0, 128, 0.7)), url('images/cctv2.jpg') no-repeat center center;
    background-size: cover, cover;
    background-blend-mode: overlay;
    width: 100%;
}

/* Security Slider Styles */
.security-slider {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    height: 400px;
}

.security-image-container {
    position: relative;
    height: 100%;
}

.security-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease;
    border-radius: 25px;
}

.security-image.active {
    opacity: 1;
    z-index: 10;
}

/* Prevent overflow in sections with animations */
#strengths, #services, #future, #testimonials {
    overflow: hidden;
    padding-bottom: 2rem;
}

#strengths .row, #services .row, #future .row, #testimonials .row {
    overflow: hidden;
    margin-left: 0;
    margin-right: 0;
    padding-left: 15px;
    padding-right: 15px;
    row-gap: 1rem;
}

/* Ensure consistent background for Services */
#services {
    background: #F5F5F5;
}

/* About Card Styles with Animation */
.about-card {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: box-shadow 0.3s ease, transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
    transform: translateX(-100px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
    width: 100%;
}

.about-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.uniform-height {
    min-height: 300px;
}

.about-card:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.about-card p {
    overflow-wrap: break-word;
}

/* About Story Card for Logo Positioning */
.about-story-card {
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
    width: 100%;
}

.story-logo {
    margin: 0 auto;
    flex-shrink: 0;
}

.jk-logo {
    height: auto;
    max-width: 150px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.jk-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(230, 91, 80, 0.4);
}

/* Strength Card Styles with Animation */
.strength-card {
    background: #F0F0F0;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease;
    height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    opacity: 1;
    transform: none;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 1.5rem;
}

.strength-card.not-visible {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
}

.strength-card.visible {
    opacity: 1;
    transform: none;
}

/* Explicitly ensure identical card styles for Services and Future */
#services .strength-card,
#future .strength-card {
    background: #F0F0F0;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease;
    height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    opacity: 1;
    transform: none;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 1.5rem;
}

/* Larger icons and increased gap for Future section */
#future .strength-card .service-icon {
    font-size: 2.5rem;
    margin-bottom: 2.5rem !important;
    margin-top: 1rem;
}

/* Reset card title top margin */
#future .strength-card h4 {
    margin-top: 0;
}

/* Card Animations */
#strengths .strength-card.not-visible,
#services .strength-card.not-visible,
#future .strength-card.not-visible {
    transition: transform 0.5s ease, opacity 0.5s ease, scale 0.5s ease;
}

#strengths .strength-card.visible,
#services .strength-card.visible,
#future .strength-card.visible {
    transition: transform 0.5s ease, opacity 0.5s ease, scale 0.5s ease;
    animation: cardPopIn 0.6s ease-out forwards;
}

#strengths .strength-card:hover,
#services .strength-card:hover,
#future .strength-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2), 0 0 8px rgba(255, 111, 97, 0.3);
}

@keyframes cardPopIn {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    80% {
        opacity: 1;
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Google Icon Styles */
.google-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    color: #4285F4;
}

/* Testimonial Carousel Styles */
.testimonials-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.testimonials-carousel .strength-card {
    display: none;
}

.testimonials-carousel .strength-card:first-child {
    display: block;
}

.testimonial-content .rating {
    margin-bottom: 0.5rem;
}

.testimonial-content .text-muted {
    font-size: 0.9rem;
}

/* About Background Styles */
.about-bg-container {
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('../images/cctv') no-repeat center center;
    background-size: cover;
    background-blend-mode: overlay;
    position: relative;
    width: 100%;
}

.about-bg-container .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Future Section Specific Styles */
#future .row {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    overflow: hidden;
}

/* Popup Modal Styles */
#messageSentModal .modal-content {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#messageSentModal .modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

#messageSentModal .modal-body {
    padding: 2rem;
}

#messageSentModal .btn-close {
    color: #800080;
}

.text-blue { color: #1E90FF; }
.text-purple { color: #800080; }
.text-green { color: #32CD32; }
.text-red { color: #FF4500; }
.text-orange { color: #FFA500; }
.text-yellow { color: #FFFF00; }
.text-gold { color: #FFD700; }
.text-super-whites { color: #FFFFFF; }

.breadfix { margin-inline-end: auto; }

@media (min-width: 768px) {
    .about-story-card {
        flex-wrap: nowrap;
    }
    .story-logo {
        margin: 0;
        order: 2;
        text-align: right;
        max-width: 150px;
    }
}

@media (max-width: 576px) {
    .navbar-logo { height: 30px; }
    .hero-section h1 { font-size: 1.75rem; }
    .hero-section p { font-size: 1rem; }
    .recommendation-image { width: 150px; }
    .side-image { width: 100px; }
    .side-image#recommendation-image-side-1 { left: -120px; }
    .side-image#recommendation-image-side-2 { right: -120px; }
    .recommendation-images {
        gap: 10px;
        min-height: 200px;
    }
    .recommendation-image { position: relative; }
    .side-image {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }
    .client-logo {
        max-height: 80px;
    }
    .security-slider {
        max-width: 100%;
        height: 200px;
    }
    .security-image {
        width: 100%;
        height: 100%;
    }
    .about-card {
        padding: 1rem;
        transform: translateX(-50px);
    }
    .about-card.visible {
        transform: translateX(0);
    }
    .strength-card {
        padding: 1rem;
        height: auto;
        min-height: 200px;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        margin-bottom: 1rem;
        overflow: visible;
    }
    #services .strength-card,
    #future .strength-card {
        padding: 1rem;
        height: auto;
        min-height: 200px;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        margin-bottom: 1rem;
        overflow: visible;
    }
    .strength-card h4 {
        font-size: clamp(1rem, 4vw, 1.2rem);
        margin-bottom: 0.5rem;
    }
    .strength-card p {
        font-size: clamp(0.8rem, 3.5vw, 0.9rem);
        line-height: 1.4;
    }
    .strength-card .service-icon {
        font-size: clamp(1.5rem, 6vw, 1.8rem);
        margin-bottom: 1rem !important;
    }
    #future .strength-card .service-icon {
        font-size: clamp(1.5rem, 6vw, 1.8rem);
        margin-bottom: 1.5rem !important;
    }
    #future .strength-card h4 {
        margin-top: 0;
    }
    #strengths .strength-card:hover,
    #services .strength-card:hover,
    #future .strength-card:hover {
        transform: none !important;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
    }
    #strengths .row,
    #services .row,
    #future .row {
        row-gap: 0.75rem;
    }
    #about {
        padding: 2rem 0;
    }
    #messageSentModal .modal-body {
        padding: 1.5rem;
    }
    .google-icon {
        font-size: 1.2rem;
    }
    .about-bg-container {
        background-size: contain;
    }
    .hero-bg-container {
        background-size: 350% auto;
        min-height: 60vh;
    }
    .contact-card {
        padding: 1rem;
        max-width: 100%;
    }
    .call-icon {
        display: flex;
        bottom: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
    .call-icon i {
        font-size: 1.5rem;
    }
    .banner-logo {
        max-height: 100px;
        max-width: 100px;
    }
    .banner .container {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .contact-info {
        margin-top: 0.5rem;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    .contact-info div {
        white-space: normal;
        overflow-wrap: break-word;
        max-width: 100%;
        line-height: 1.4;
    }
    .contact-info a {
        display: inline-block;
        white-space: normal;
        word-break: break-all;
        margin-left: 0.25rem;
        margin-right: 0;
    }
    .contact-info i {
        display: inline;
        margin: 0;
        vertical-align: middle;
    }
    .tagline {
        order: 1;
        width: 100%;
    }
    .contact-info {
        order: 2;
    }
    .banner-logo {
        order: 0;
    }
    .hide-tagline-desktop {
        display: none;
    }
    #future .row {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        overflow: hidden;
    }
    .bg-parallax {
        background-attachment: scroll;
    }
    #strengths, #services, #future {
        padding-bottom: 1.5rem;
    }
}

/* Android-specific adjustments for smaller screens */
@media (max-width: 576px) and (min-resolution: 1dppx) {
    .strength-card {
        padding: 0.75rem;
    }
    .strength-card h4 {
        font-size: clamp(0.9rem, 3.8vw, 1.1rem);
    }
    .strength-card p {
        font-size: clamp(0.7rem, 3.2vw, 0.85rem);
    }
    .strength-card .service-icon {
        font-size: clamp(1.3rem, 5.5vw, 1.6rem);
    }
}


/* Footer Styles */
footer.bg-black {
    background-color: #000000 !important;
    color: #FFFFFF;
    width: 100%;
    box-sizing: border-box;
}

footer p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
}

footer a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #1E90FF; /* Blue hover effect */
}

/* Social Media Footer Styles */
.social-media-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem; /* Space between social media items */
}

.social-media-footer .social-link {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    white-space: nowrap; /* Prevent icon and label from breaking */
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.social-media-footer i {
    font-size: 1.2rem; /* Icon size */
    margin-right: 0.3rem; /* Tight gap between icon and label */
    transition: color 0.3s ease;
}

.social-media-footer .social-link:hover i {
    color: #1E90FF; /* Match link hover color */
}

@media (max-width: 768px) {
    footer.bg-black {
        padding: 2rem 0;
    }

    footer p {
        font-size: clamp(0.8rem, 3.5vw, 0.85rem);
        line-height: 1.2;
    }

    .social-media-footer {
        gap: 1rem; /* Tighter gap on mobile */
    }

    .social-media-footer .social-link {
        font-size: clamp(0.8rem, 3.5vw, 0.85rem);
    }

    .social-media-footer i {
        font-size: 1rem; /* Smaller icon */
        margin-right: 0.15rem; /* Tighter gap */
    }
}

@media (max-width: 576px) and (min-resolution: 1dppx) {
    footer p {
        font-size: clamp(0.75rem, 3.2vw, 0.8rem);
    }

    .social-media-footer {
        gap: 0.75rem; /* Minimal gap for Android */
    }

    .social-media-footer .social-link {
        font-size: clamp(0.75rem, 3.2vw, 0.8rem);
    }

    .social-media-footer i {
        font-size: 0.9rem; /* Smallest icon for Android */
        margin-right: 0.1rem; /* Minimal gap */
    }
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');