/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}



















/* Header Styles - Unique Classes */
.header-top-bar {
    background-color: #FFF000;
    padding: 5px 100px;
    font-size: 0.9rem;
}

.header-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo img {
    height: 38px;
    transition: transform 0.3s ease;
}

.header-logo img:hover {
    transform: scale(1.05);
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-brand:hover .company-name {
    color: #001a4d; /* Slightly darker blue on hover */
}

.company-name {
    font-weight: 700;
    font-size: 1rem;
    color: #00246B;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}




.header-contact {
    display: flex;
    align-items: center;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #00246B;
    font-weight: 600;
    transition: all 0.3s ease;
}

.phone-icon {
    width: 18px;
    height: 18px;
    color: #00246B;
}

.phone-number {
    font-size: 0.95rem;
}

.phone-link:hover {
    color: #001a4d;
}

.phone-link:hover .phone-icon {
    transform: scale(1.1);
    color: #001a4d;
}





.header-main-nav {
    background-color: #00246B;
    padding: 12px  100px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}

.header-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.header-nav-item {
    margin-right: 25px;
    position: relative;
}

.header-nav-item:last-child {
    margin-right: 0;
}

.header-nav-item a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 5px 0;
    transition: all 0.3s ease;
    position: relative;
}

.header-nav-item a:hover {
    color: #FFF000;
}

.header-nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FFF000;
    transition: width 0.3s ease;
}

.header-nav-item a:hover::after {
    width: 100%;
}

.header-action {
    margin-left: 20px;
}

.header-cta-btn {
    background-color: #FFF000;
    color: #00246B;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.header-cta-btn:hover {
    background-color: #FFEB00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}




.mobile-menu-btn {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    color:#00246B;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block; /* Show on mobile */
        color:#00246B ;
    }
    
    /* This ensures space between button and CTA */
    .header-main-nav .header-container {
        justify-content: space-between;
    }
}









/* ====================== */
/* RESPONSIVE MEDIA QUERIES */
/* ====================== */

/* Tablet/Landscape Mobile (768px - 1024px) */
@media (max-width: 1024px) {
    .header-top-bar,
    .header-main-nav {
        padding: 5px 30px;
    }
    
    .header-nav-item {
        margin-right: 18px;
    }
    
    .header-cta-btn {
        padding: 7px 16px;
        font-size: 0.85rem;
    }
}

/* Portrait Tablet (600px - 768px) */
@media (max-width: 768px) {
    .header-container {
        width: 95%;
    }
    
    .header-top-bar,
    .header-main-nav {
        padding: 5px 20px;
    }
    
    .company-name {
        font-size: 0.9rem;
    }
    
    .phone-number {
        font-size: 0.85rem;
    }
    
    .header-nav-list {
        display: none; /* Will be toggled by mobile menu */
    }
    
    .header-main-nav .header-container {
        justify-content: space-between;
    }
    
    .header-action {
        display: none;
    }
    
    /* Mobile Menu Button (add to HTML) */
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        color: #00246B;
        font-size: 1.5rem;
        cursor: pointer;
        transition: all 0.1s ease;
    }
}

/* Large Mobile (480px - 600px) */
@media (max-width: 600px) {
    .header-top-bar,
    .header-main-nav {
        padding: 5px 15px;
    }
    
    .header-logo img {
        height: 32px;
    }
    
    .company-name {
        font-size: 0.8rem;
        letter-spacing: 0.3px;
    }
    
    .phone-number {
        display: none;
    }
    
    .phone-icon {
        width: 20px;
        height: 20px;
    }
    
    .header-cta-btn {
        display: none;
    }
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
    .header-top-bar {
        padding: 5px 10px;
    }
    
    .header-brand {
        gap: 8px;
    }
    
    .header-logo img {
        height: 28px;
    }
    
    .company-name {
        font-size: 0.75rem;
    }
    
    .header-main-nav {
        padding: 8px 10px;
    }
    
    .header-cta-btn {
        padding: 5px 12px;
        font-size: 0.8rem;
    }
}

/* Mobile Menu Styles (when active) */
@media (max-width: 768px) {
    .header-nav-list.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #00246B;
        padding: 15px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }
    
    .header-nav-item {
        margin: 0;
        padding: 10px 20px;
        width: 100%;
    }
    
    .header-nav-item a {
        display: block;
        padding: 8px 0;
    }
    
    .header-nav-item a::after {
        display: none;
    }
}

/* High DPI/Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { 
    .header-logo img {
        /* Use higher resolution logo if available */
    }
}

/* Landscape Orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .header-main-nav {
        position: relative;
    }
    
    .header-nav-list.active {
        max-height: 200px;
        overflow-y: auto;
    }
}



















/* Hero Section */
/* Update hero styles to work with slideshow */
.hero {
    position: relative;
    color: white;
    padding: 120px 0 180px;
    height: 400px;
    min-height: 600px;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 700px;
    padding: 0 100px;
}

.hero h1 {
    font-size: 2.7rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-buttons {
    margin-top: 30px;
}


/* Add these styles to your existing CSS */

/* Slideshow Styles */
.slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}



/* Add overlay to make text readable */
.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}



.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #00246B;
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: #2ecc71;
    border: 2px solid #ffffff;
    margin-left: 15px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}






/* Feature Cards */
.features {
    position: relative;
    margin-top: -80px;
    z-index: 2;
    padding: 0 100px;
}


.feature-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.card {
    background-color: rgb(233, 233, 233);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    flex: 1;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card h3 {
    color: #00246B;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: bold;
}




/* Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Hero Section Adjustments */
    .hero {
      padding: 80px 0 20px;
      height: auto;
      min-height: 500px;
    }
  
    .hero-content {
      max-width: 100%;
      padding: 0 ;
      text-align: left; /* Maintain left alignment */
    }
  
    .hero h1 {
      font-size: 2rem;
      margin-bottom: 15px;
    }
  
    .hero p {
      font-size: 1rem;
      margin-bottom: 20px;
    }
  
    .hero-buttons {
      margin-top: 20px;
      display: flex; /* Keep buttons in row */
      gap: 10px; /* Space between buttons */
    }
  
    /* Feature Cards Adjustments */
    .features {
      margin-top: -20px;
      padding: 0 10px; /* Reduced side padding */
    }
  

    .feature-container {
      width: 100%; /* Full width */
      max-width: 100%; /* No max width */
      margin: 0 auto; /* Centered */
    }


    .feature-cards {
      display: flex; /* Maintain flex row */
      gap: 8px; /* Reduced gap */
      overflow-x: auto; /* Enable horizontal scrolling if needed */
      padding-bottom: 10px; /* Space for scroll */
      -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }
  
    .card {
      padding: 15px;
      min-width: 120px; /* Minimum card width */
      flex: 0 0 auto; /* Don't grow/shrink */
      box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* Lighter shadow */
    }
  
    .card h3 {
      font-size: 0.9rem; /* Smaller heading */
      margin-bottom: 0; /* Remove bottom margin */
      white-space: nowrap; /* Prevent text wrapping */
      padding-top: 5px;
      padding-bottom: 10px;
    }
  
    .card p {
      display: none; /* Hide paragraph text */
    }
  
    /* Hide scrollbar while allowing scroll */
    .feature-cards::-webkit-scrollbar {
      display: none;
    }
  }
  
  /* Small Mobile Devices (up to 480px) */
  @media (max-width: 480px) {
    .hero {
      min-height: 400px;
      padding: 60px 0 100px;
    }
  
    .hero h1 {
      font-size: 1.6rem;
    }
  
    .hero-buttons .btn {
      padding: 8px 12px;
      font-size: 0.8rem;
    }
  
    .card {
      min-width: 100px;
      padding: 10px;
    }
  
    .card h3 {
      font-size: 0.8rem;
    }
  }
























/* Why Choose Us Section */
.why-choose-us-section {
    padding: 100px 80px 40px 100px;
    background-color: #ffffff;
    font-family: 'Arial', sans-serif;
}

.why-choose-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.why-choose-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Text Side (now on left) */
.why-choose-text {
    flex: 1;
}

.why-choose-text > p:first-child {
    color: #00246B;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.why-choose-text h1 {
    font-size: 2.1rem;
    color: #011e57;
    margin-bottom: 20px;
    line-height: 1.1;
}

.why-choose-intro {
    color: #00246B;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}



/* Updated Features Grid */
.why-choose-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2-column grid */
    gap: 15px;
    margin: 30px 0;
}

.why-choose-feature {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.6s ease;
}

.why-choose-feature:hover {
    background-color: #FFF000;
}

.why-choose-icon {
    width: 60px; /* Reduced size */
    height: 60px;
    background-color: #022872cc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-choose-icon img {
    width: 40px;
    height: 40px;
}

.why-choose-feature-content h2 {
    font-size: 1.1rem; /* Reduced font size */
    color: #00246B;
    margin-bottom: 8px;
    position: relative;
    padding-bottom: 8px;
}

.why-choose-feature-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #2a7a5a;
}




.why-choose-image{
    margin-bottom: 160px;
}




/* Image Side (now on right with CTA) */
.why-choose-image {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.why-choose-image .why-choose-intro {
    color: #232324;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* CTA Section */
.why-choose-cta {
    display: flex;
    align-items: center;
    gap: 30px;
}

.why-choose-button {
    background-color: #00246B;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.why-choose-button:hover {
    background-color: #FFF000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.why-choose-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-weight: 500;
}

.why-choose-phone-icon {
    font-size: 1.2rem;
}





/* Mobile Responsive Styles - with 2-column feature grid */
@media (max-width: 768px) {
    .why-choose-us-section {
        padding: 50px 10px 10px;
    }

    .why-choose-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    /* Text Section (now comes first) */
    .why-choose-text {
        width: 100%;
        order: 1;
    }

    .why-choose-text h1 {
        font-size: 1.8rem;
    }

    .why-choose-intro {
        font-size: 1rem;
    }

    /* Features Grid - Maintained 2 columns */
    .why-choose-features {
        grid-template-columns: repeat(2, 1fr); /* Keep 2 columns */
        gap: 10px;
        margin: 20px 0;
    }

    .why-choose-feature {
        padding: 10px;
        gap: 8px;
        flex-direction: column;
        align-items: flex-start;
    }

    .why-choose-icon {
        width: 40px;
        height: 40px;
    }

    .why-choose-icon img {
        width: 30px;
        height: 30px;
    }

    .why-choose-feature-content h2 {
        font-size: 0.9rem;
        padding-bottom: 5px;
        margin-bottom: 5px;
    }

    /* Image Section (now comes second) */
    .why-choose-image {
        width: 100%;
        order: 2;
        margin-bottom: 60px;
    }

    /* CTA Section */
    .why-choose-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .why-choose-button {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
}






















/* Services Section - With Smooth Hover Animation */
.services-section {
    padding: 80px 100px;
    background-color: #dddddd;
}

.services-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.services-title {
    font-size: 2.25rem;
    color: #00246B;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.services-subtitle {
    color: #ffffff;
    font-size: 1.125rem;
    line-height: 1.6;
}

/* 3×2 Grid Layout */
.services-grid-three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-item {
    background: #ffffff;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}


/* Hover Animation Effects */
.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00246B 0%, #00246B 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-item:hover::before {
    opacity: 1;
}

.service-item:hover .service-name,
.service-item:hover .service-desc {
    color: white;
}



/* Updated Service Card Styles */
.services-grid-three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-item {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: left; /* Align all text to left */
    position: relative;
    overflow: hidden;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Image Container Styles */
.service-img-container {
    width: 100%;
    margin-bottom: 1rem;
    display: flex;
    justify-content: flex-start; /* Align image to left */
}

.service-img-container img {
    width: 8rem; /* Reduced size */
    height: 5rem;
    object-fit: cover; /* Ensure images fill container */
    border-radius: 12px; /* Custom border radius */
    border: 2px solid #f0fdf4;
    transition: all 0.3s ease;
}

/* Add line under image 
.service-img-container::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: #00246B;
    margin: 0.8rem 0;
} */

/* Text Styles */
.service-name {
    color: #00246B;
    margin: 1rem 0 0.5rem 0; /* Adjusted spacing */
    font-size: 1.1rem; /* Slightly smaller */
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

/* Optional: Add line under heading */
.service-name::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #00246B;
    opacity: 0.3;
}

.service-desc {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0; /* Remove default margins */
}





/* Mobile Responsive Styles - 2-column grid with left alignment */
@media (max-width: 768px) {
    .services-section {
        padding: 10px 4px;
        background-color: #dddddd;
    }

    .why-choose-text{
        text-align: left; /* Maintain left alignment */
        margin-top: 10px;
        font-weight: bold;
    }

    .services-title {
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
        text-align: left; /* Maintain left alignment */
    }

    .services-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        text-align: left; /* Maintain left alignment */
    }

    /* 2-column grid */
    .services-grid-three-col {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .service-item {
        padding: 1rem;
    }

    /* Full-width images */
    .service-img-container {
        width: 100%;
        margin-bottom: 0.75rem;
        justify-content: flex-start; /* Keep left-aligned */
    }

    .service-img-container img {
        width: 100%; /* Full width of container */
        height: auto; /* Maintain aspect ratio */
        max-height: 120px; /* Prevent images from being too tall */
        object-fit: cover;
    }

    /* Left-aligned text */
    .service-name {
        font-size: 1rem;
        margin: 0.75rem 0 0.5rem 0;
        text-align: left;
    }

    .service-name::after {
        left: 0; /* Keep underline left-aligned */
        transform: none;
    }

    .service-desc {
        font-size: 0.85rem;
        text-align: left;
    }

    /* Disable hover effects on mobile */
    .service-item:hover {
        transform: none;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }

    .service-item:hover::before {
        opacity: 0;
    }

    .service-item:hover .service-name,
    .service-item:hover .service-desc {
        color: inherit;
    }
}

/* Extra small devices adjustment */
@media (max-width: 480px) {
    .services-grid-three-col {
        gap: 1rem;
    }

    .service-item {
        padding: 1rem;
    }

    .service-img-container img {
        max-height: 100px;
    }

    .service-name {
        font-size: 0.95rem;
    }

    .service-desc {
        font-size: 0.8rem;
    }
}


























/* Compact Testimonials CSS */
.testimonials-section {
    padding: 2.5rem 0;
    background-color: #f8fafc;
}

.testimonials-container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonials-top {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.testimonial-image-side {
    flex: 1;
}

.image-container {
    position: relative;
    height: 320px;
    border-radius: 8px;
    overflow: hidden;
}

.client-main-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.image-overlay-text {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(5px);
    padding: 1rem;
    border-radius: 6px;
    max-width: 50%;
    color: #000000;
}

.image-overlay-text h2 {
    font-size: 1.3rem;
    margin: 0;
}

.testimonial-cards-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial-card {
    background: white;
    padding: 1.2rem;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.stars-rating {
    color: #FFD700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.testimonial-text {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
    font-style: italic;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.client-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.client-info h4 {
    font-size: 0.9rem;
    margin: 0 0 0.1rem 0;
}

.client-info p {
    font-size: 0.75rem;
    margin: 0;
    color: #666;
}

.testimonials-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #00246B;
    padding: 1rem 1.5rem;
    border-radius: 6px;
}

.testimonials-bottom h3 {
    font-size: 1.1rem;
    color: white;
    margin: 0;
}

.cta-button {
    background-color: white;
    color: #00246B;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 768px) {
    .testimonials-top {
        flex-direction: column;
    }
    
    .image-container {
        height: 240px;
    }
    
    .image-overlay-text {
        max-width: 80%;
        top: 0.5rem;
        right: 0.5rem;
    }
    
    .testimonials-bottom {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
        padding: 1rem;
    }
}




















/* Compact Contact Form Section */
.contact-section {
    padding: 30px 50px; /* Reduced from 50px 100px */
    background-color: #e7e7e7;
}

.contact-container {
    width: 90%;
    max-width: 1000px; /* Reduced from 1200px */
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    max-width: 600px; /* Reduced from 700px */
    margin: 0 auto 2rem; /* Reduced from 3rem */
}

.contact-header h2 {
    font-size: 1.8rem; /* Reduced from 2.25rem */
    color: #172030;
    margin-bottom: 0.8rem; /* Reduced from 1rem */
}

.contact-header p {
    color: #222f41;
    font-size: 1rem; /* Reduced from 1.125rem */
    line-height: 1.5;
}

.contact-content {
    display: flex;
    gap: 1.5rem; /* Reduced from 2rem */
    margin-bottom: 2rem; /* Reduced from 3rem */
}

/* Left Side - Image with Card */
.contact-image-side {
    flex: 1;
    position: relative;
}

.contact-image img {
    width: 100%;
    height: 520px; /* Reduced from 640px */
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    object-fit: cover; /* Ensures image fills container */
}

.contact-card {
    position: absolute;
    bottom: 1.5rem; /* Reduced from 2rem */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 1.2rem 1.5rem; /* Reduced from 1.5rem 2rem */
    border-radius: 0.5rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 85%; /* Slightly wider to compensate for smaller size */
    transition: all 0.3s ease;
}

.contact-card h3 {
    color: #00246B;
    margin-bottom: 0.8rem; /* Reduced from 1rem */
    font-size: 1.1rem; /* Reduced from 1.25rem */
}

.contact-cta {
    padding: 0.4rem 1.2rem; /* Reduced from 0.5rem 1.5rem */
    font-size: 0.9rem;
}





/* Ultra-Compact Contact Form Styles */
.contact-form-side {
    flex: 1;
    min-width: 0;
    align-self: center; /* Prevents stretching */
}

.contact-form {
    background: white;
    padding: 1.2rem; /* Reduced from 1.5rem */
    border-radius: 0.4rem; /* Slightly smaller radius */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem; /* Tightened gap */
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    color: #1e293b;
    font-weight: 500;
    font-size: 0.85rem; /* Smaller labels */
    display: block;
    margin-bottom: 0.2rem; /* Tighter spacing */
    transition: all 0.2s ease;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.5rem 0.7rem; /* More compact padding */
    border: 1px solid #e2e8f0;
    border-radius: 0.2rem; /* Sharper corners */
    font-size: 0.85rem; /* Smaller text */
    height: 2.2rem; /* Fixed height for inputs */
    line-height: 1.2;
    background-color: #f8fafc;
}

.form-group textarea {
    min-height: 80px; /* Shorter textarea */
    padding: 0.5rem 0.7rem;
    font-size: 0.85rem;
    line-height: 1.4;
    width: 100%;
    background-color: #f8fafc;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

/* Service dropdown */
.form-group select {
    padding-right: 1.8rem; /* Space for arrow */
    background-size: 0.8rem; /* Smaller arrow */
    background-position: right 0.6rem center;
}

.submit-btn {
    padding: 0.6rem; /* More compact button */
    font-size: 0.85rem;
    margin-top: 0.3rem; /* Reduced spacing */
    height: 2.4rem; /* Fixed button height */
}

/* Focus states */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.2); /* More subtle */
    border-color: #00246B;
    outline: none;
}



/* Modern Submit Button */
.submit-btn {
    background-color: #00246B;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    color: #00246B;
    background-color: #FFF000;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}




/* Mobile Responsive Styles for Contact Section - Full Width Forms */
@media (max-width: 768px) {
    .contact-section {
        padding: 30px 15px; /* Tighter side padding */
    }

    .contact-container {
        width: 100%; /* Full container width */
        max-width: 100%;
    }

    .contact-header {
        max-width: 100%; /* Full width header */
        margin-bottom: 1.5rem;
    }

    .contact-header h2 {
        font-size: 1.6rem;
        text-align: left; /* Left align on mobile */
    }

    .contact-header p {
        font-size: 0.95rem;
        text-align: left; /* Left align on mobile */
    }

    .contact-content {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 1.5rem;
        width: 100%; /* Full width content */
    }

    /* Form Section - Full Width */
    .contact-form-side {
        order: 1;
        width: 100%; /* Full width form */
        padding: 0; /* Remove any padding */
        
    }

    .contact-form {
        width: 100%; /* Full width form */
        padding: 1.2rem 1rem; /* Adjusted padding */
        border-radius: 8px; /* Remove border radius for edge-to-edge */
        box-shadow: none; /* Remove shadow for cleaner look */
    }

    /* Image Section */
    .contact-image-side {
        order: 2;
        width: 100%;
    }

    .contact-image img {
        height: 300px;
        width: 100%;
        border-radius: 0; /* Full width image */
    }

    .contact-card {
        width: 90%;
        left: 5%; /* Center card with margin */
        transform: none;
        bottom: -1.5rem;
    }

    /* Form Elements - Full Width */
    .form-group {
        width: 100%;
        margin-bottom: 0.8rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%; /* Full width inputs */
        box-sizing: border-box; /* Include padding in width */
    }

    .submit-btn {
        width: 100%; /* Full width button */
        margin-top: 0.5rem;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .contact-section {
        padding: 25px 10px;
    }

    .contact-header h2 {
        font-size: 1.4rem;
    }

    .contact-image img {
        height: 220px;
    }

    .contact-card {
        padding: 0.8rem;
        width: 95%;
        left: 2.5%;
    }
}




/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: popIn 0.3s ease-out;
}

.popup-content h3 {
    color: #00246B;
    margin-bottom: 1rem;
}

.popup-close-btn {
    background: #00246B;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.2s;
}

.popup-close-btn:hover {
    background: #001a4a;
}

@keyframes popIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}




/* Mobile Responsive Styles for Popup */
@media (max-width: 768px) {
    .popup-content {
        width: 90%; /* Takes more screen width on mobile */
        max-width: none; /* Overrides the desktop max-width */
        padding: 1.5rem; /* Slightly less padding */
        margin: 0 1rem; /* Small side margins */
    }

    .popup-content h3 {
        font-size: 1.3rem; /* Slightly smaller heading */
        margin-bottom: 0.8rem;
    }

    .popup-content p {
        font-size: 0.95rem; /* Slightly smaller text */
        line-height: 1.4;
    }

    .popup-close-btn {
        padding: 0.4rem 1.2rem; /* Smaller button */
        font-size: 0.9rem;
    }

    /* Adjust animation for mobile */
    @keyframes popIn {
        from { transform: scale(0.95); opacity: 0; }
        to { transform: scale(1); opacity: 1; }
    }
}

/* Extra Small Devices (phones under 400px) */
@media (max-width: 400px) {
    .popup-content {
        padding: 1.2rem; /* Even tighter padding */
    }

    .popup-content h3 {
        font-size: 1.2rem;
    }

    .popup-content p {
        font-size: 0.9rem;
    }
}













/* Footer Styles */
.site-footer {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Top Footer Section */
.footer-top {
    background-color: #f0f7f4;
    padding: 100px 50px 0 100px;
}

.footer-top .footer-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.footer-newsletter {
    flex: 1;
}

.footer-newsletter h2 {
    font-size: 2rem;
    color: #00246B;
    margin-bottom: 20px;
    line-height: 1.3;
}

.footer-newsletter p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 25px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.newsletter-form button {
    background-color: #2a7a5a;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 0 4px 4px 0;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background-color: #1e5e44;
}

.footer-brand {
    flex: 1;
    margin-left: 100px;
}

.footer-image {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    
}

/* Middle Footer Section */
.footer-middle {
    background-color: #00246B;
    color: white;
    padding: 60px 100px;
}

.footer-middle .footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-about {
    grid-column: span 2;
    max-width: 400px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-about p {
    color: #d1f0e4;
}

.footer-links h3,
.footer-contact h3,
.footer-industries h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after,
.footer-industries h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #FFF000;
}

.footer-links ul,
.footer-industries ul {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-industries li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #d1f0e4;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-contact p {
    color: #d1f0e4;
    margin-bottom: 20px;
}

.footer-industries li {
    color: #d1f0e4;
    position: relative;
    padding-left: 15px;
}

.footer-industries li::before {
    content: '-';
    position: absolute;
    left: 0;
}

/* Bottom Footer Section */
.footer-bottom {
    background-color: #011846;
    color: #a3d5c3;
    padding: 20px 0;
    font-size: 0.9rem;
}

.footer-bottom .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-links a {
    color: #a3d5c3;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: white;
}







/* Mobile Responsive Footer Styles */
@media (max-width: 768px) {
    /* Top Footer Section */
    .footer-top {
        padding: 60px 20px 0;
    }
    
    .footer-top .footer-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-newsletter {
        width: 100%;
        order: 1;
    }
    
    .footer-newsletter h2 {
        font-size: 1.6rem;
    }
    
    .footer-newsletter p {
        font-size: 1rem;
    }
    
    .newsletter-form {
        max-width: 100%;
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: 4px;
        width: 100%;
    }
    
    .footer-brand {
        margin-left: 0;
        order: 2;
        width: 100%;
    }
    
    /* Middle Footer Section */
    .footer-middle {
        padding: 40px 20px;
    }
    
    .footer-middle .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-about {
        grid-column: span 1;
        max-width: 100%;
    }
    
    .footer-links h3,
    .footer-contact h3,
    .footer-industries h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    /* Bottom Footer Section */
    .footer-bottom .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .legal-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .legal-links a {
        margin: 0;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .footer-top {
        padding: 40px 15px 0;
    }
    
    .footer-newsletter h2 {
        font-size: 1.4rem;
    }
    
    .footer-middle {
        padding: 30px 15px;
    }
    
    .footer-links h3,
    .footer-contact h3,
    .footer-industries h3 {
        font-size: 1rem;
    }
}







/* Footer Image Styles */
.footerimage {
    text-align: left; /* Centers the image */
    margin: 25px 0; /* Adds space above and below */
    padding: 15px 0; /* Internal padding */
    position: relative; /* For potential decorative elements */
}

.footerimage img {
    max-width: 200px; /* Controls image size */
    height: auto; /* Maintains aspect ratio */
    filter: grayscale(30%) brightness(110%); /* Subtle effect */
    transition: all 0.4s ease; /* Smooth hover effects */
    border-radius: 4px; /* Soft rounded corners */
    border: 1px solid rgba(0, 36, 107, 0.1); /* Light border */
    box-shadow: 0 4px 12px rgba(0, 36, 107, 0.08); /* Soft shadow */
}

/* Hover effects */
.footerimage:hover img {
    filter: grayscale(0%) brightness(100%); /* Full color on hover */
    transform: translateY(-3px); /* Slight lift */
    box-shadow: 0 6px 16px rgba(0, 36, 107, 0.12); /* Enhanced shadow */
}

/* Optional decorative elements */
.footerimage::before,
.footerimage::after {
    content: "";
    position: absolute;
    height: 1px;
    width: 30%;
    background: linear-gradient(90deg, transparent, #00246B, transparent);
    top: 0;
}

.footerimage::before { left: 0; }
.footerimage::after { right: 0; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .footerimage img {
        max-width: 140px; /* Slightly smaller on tablets */
    }
}

@media (max-width: 480px) {
    .footerimage {
        margin: 15px 0;
    }
    .footerimage img {
        max-width: 120px; /* Smaller on mobile */
    }
    .footerimage::before,
    .footerimage::after {
        width: 25%; /* Shorter decorative lines */
    }
}