/* Hero Section Styles (from index.html) */
.hero-section {
    position: relative;
    height: 850px;
    color: #fff;
    padding-top: 100px;
    overflow: hidden;
}

/* Style for the new white spacer */
.spacer-white {
    width: 100%;
    height: 5px;
    background-color: #ffffff;
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}

.slideshow-container img.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slideshow-container img.slide.active {
    opacity: 1;
}

/* Hero Section Overlay for Text Content */
.hero-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    z-index: 2;
    padding: 0 20px;
    box-sizing: border-box;
}

.hero-content {
    max-width: 900px;
    width: 100%;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: 12px;
    z-index: 2;
    position: relative;
    box-sizing: border-box;
}

.hero-content h2 {
    font-size: 3em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: normal;
    word-wrap: break-word;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.5;
    word-wrap: break-word;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #1144dcac;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn:hover {
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgb(5, 20, 41);
}

/* About Us Section Styles */
.about-us-section {
    position: relative;
    padding: 80px 0;
    background-image: url('../images/aboutus-section.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #fff;
}

/* Semi-transparent overlay */
.about-us-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.about-us-section .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 25px;
    position: relative;
    z-index: 1;
}

.about-us-section .about-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.about-us-section .about-text {
    flex: 1;
    max-width: 850px;
    text-align: center;
    line-height: 1.7;
    font-size: 1.1em;
    padding: 50px;
    position: relative;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(0);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.about-us-section .about-text:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25);
}

.about-us-section .section-heading {
    font-size: 3.8em;
    margin-bottom: 35px;
    color: #1a2a46;
    font-weight: 900;
    line-height: 1.15;
    position: relative;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.08);
    letter-spacing: -0.02em;
}

.about-us-section .section-heading::after {
    content: '';
    display: block;
    width: 100px;
    height: 7px;
    background: linear-gradient(to right, #007bff, #0056b3, #007bff);
    margin: 30px auto 0;
    border-radius: 4px;
    opacity: 0.95;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.6);
}

.about-us-section .about-text p {
    margin-bottom: 28px;
    color: #343a40;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.15em;
    line-height: 1.7;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.02);
}

.about-us-section .about-btn {
    background-color: #1a2a46;
    color: #fff;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: background-color 0.5s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease, letter-spacing 0.4s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    border: none;
    position: relative;
    overflow: hidden;
}

.about-us-section .about-btn:hover {
    background-color: #0056b3;
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0, 123, 255, 0.45);
    letter-spacing: 2.5px;
}

.about-us-section .about-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: width 0.6s ease-out, height 0.6s ease-out, opacity 0.6s ease-out;
    z-index: 0;
}

.about-us-section .about-btn:hover::before {
    width: 250px;
    height: 250px;
    opacity: 1;
}

/* Services Section */
.services-section {
    padding: 90px 0;
    background: #ecf4fdef;
    text-align: center;
    color: #b3ddffb9;
}

.services-section .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-section .section-heading {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
    font-size: 3.2em;
    color: #1a2a46;
}

.services-section .section-heading::after {
    content: '';
    display: block;
    width: 100px;
    height: 7px;
    background: linear-gradient(to right, #007bff, #0056b3, #007bff);
    margin: 30px auto 0;
    border-radius: 4px;
    opacity: 0.95;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.6);
}

.section-tagline {
    font-size: 1.15em;
    margin-bottom: 70px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    color: #666;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin-top: 30px;
}

.service-card {
    background-color: #ffffffe3;
    border-radius: 12px;
    padding: 45px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.service-icon {
    font-size: 3.8em;
    color: #007bff;
    margin-bottom: 30px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: rgba(0, 123, 255, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: rgba(0, 123, 255, 0.25);
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.9em;
    margin-bottom: 18px;
    color: #333;
    font-weight: 600;
}

.service-card p {
    font-size: 1.05em;
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
    flex-grow: 1;
}

.btn-small {
    background-color: #007bff;
    color: #fff;
    padding: 14px 30px;
    font-size: 1em;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.btn-small:hover {
    background-color: #0056b3;
    color: #fff;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/* Why Choose Us Section */
.why-us-section {
    padding: 100px 0;
    color: #fff;
    text-align: center;
    position: relative;
    background-image: url('../images/whyus-section.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.why-us-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.why-us-section .container {
    position: relative;
    z-index: 2;
}

.why-us-section .section-heading {
    font-size: 3.2em;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    color: #fff;
    text-shadow: 0 0 15px rgba(0, 123, 255, 0.4);
}

.why-us-section .section-heading::after {
    content: '';
    display: block;
    width: 100px;
    height: 7px;
    background: linear-gradient(to right, #007bff, #0056b3, #007bff);
    margin: 30px auto 0;
    border-radius: 4px;
    opacity: 0.95;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.6);
}

.why-us-highlight {
    background-color: rgba(26, 42, 70, 0.85);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: #fff;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.why-us-section .section-tagline {
    font-size: 1.2em;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    color: #ffffff;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
}

.why-us-item {
    background-color: rgba(26, 42, 70, 0.85);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
    text-align: center;
    border: 1px solid rgba(0, 123, 255, 0.2);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    overflow: hidden;
}

.why-us-item:hover {
    transform: translateY(-15px);
    background-color: rgba(26, 42, 70, 0.95);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    border-color: rgba(0, 123, 255, 0.8);
}

.why-us-item .icon-container {
    font-size: 3.2em;
    color: #007bff;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background-color: rgba(0, 123, 255, 0.2);
    margin: 0 auto 20px auto;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.4);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.why-us-item:hover .icon-container {
    background-color: rgba(0, 123, 255, 0.35);
    box-shadow: 0 0 30px rgba(0, 123, 255, 0.6);
}

.why-us-item h3 {
    font-size: 1.9em;
    margin-bottom: 15px;
    color: #fff;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.why-us-item p {
    font-size: 1.05em;
    line-height: 1.8;
    color: #e0e0e0;
}

/* ============================================
   MOBILE RESPONSIVE OPTIMIZATIONS
   ============================================ */

/* Tablet (992px and below) */
@media (max-width: 992px) {
    /* Hero Section */
    .hero-section {
        height: 700px;
    }
    
    .hero-content-overlay {
        padding: 0 30px;
    }
    
    .hero-content {
        padding: 35px 25px;
        max-width: 600px;
    }
    
    .hero-content h2 {
        font-size: 2.5em;
    }
    
    .hero-content p {
        font-size: 1.1em;
    }
    
    .spacer-white {
        height: 5px;
    }

    /* About Us Section */
    .about-us-section {
        padding: 80px 0;
    }
    
    .about-us-section .about-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-us-section .about-text {
        max-width: 100%;
        text-align: center;
        padding: 40px 25px;
        border-radius: 15px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(0);
    }
    
    .about-us-section .about-text:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
    }
    
    .about-us-section .section-heading {
        font-size: 2.8em;
        margin-bottom: 25px;
    }
    
    .about-us-section .section-heading::after {
        margin: 20px auto 0;
        width: 80px;
        height: 5px;
    }
    
    .about-us-section .about-text p {
        font-size: 1.05em;
        margin-bottom: 20px;
    }
    
    .about-us-section .about-btn {
        padding: 15px 35px;
        font-size: 0.95em;
        letter-spacing: 1.5px;
        margin-top: 30px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }
    
    .about-us-section .about-btn:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 25px rgba(0, 123, 255, 0.35);
        letter-spacing: 1.8px;
    }

    /* Services Section */
    .services-section {
        padding: 70px 0;
    }
    
    .services-section .section-heading {
        font-size: 2.8em;
    }
    
    .section-tagline {
        font-size: 1.1em;
        margin-bottom: 50px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
    
    .service-card {
        padding: 40px 20px;
    }
    
    .service-icon {
        font-size: 3.2em;
        width: 75px;
        height: 75px;
        margin-bottom: 25px;
    }
    
    .service-card h3 {
        font-size: 1.7em;
    }
    
    .service-card p {
        font-size: 1em;
        margin-bottom: 20px;
    }
    
    .btn-small {
        padding: 12px 28px;
        font-size: 0.95em;
    }

    /* Why Us Section */
    .why-us-section {
        padding: 90px 0;
        background-attachment: scroll;
    }
    
    .why-us-section .section-heading {
        font-size: 2.8em;
    }
    
    .why-us-section .section-tagline {
        font-size: 1.1em;
        margin-bottom: 50px;
    }
    
    .why-us-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .why-us-item {
        padding: 30px;
    }
    
    .why-us-item .icon-container {
        font-size: 2.8em;
        width: 75px;
        height: 75px;
    }
    
    .why-us-item h3 {
        font-size: 1.6em;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    /* Hero Section */
    .hero-section {
        height: 75vh;
        min-height: 500px;
        padding-top: 80px;
    }
    
    .hero-content-overlay {
        padding: 0 15px;
        left: 0;
        right: 0;
    }
    
    .hero-content {
        padding: 30px 20px;
        max-width: 100%;
        width: calc(100% - 30px);
        margin: 0 auto;
        border-radius: 10px;
    }
    
    .hero-content h2 {
        font-size: 2em;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 1em;
        margin-bottom: 25px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.95em;
    }
    
    .spacer-white {
        height: 3px;
    }

    /* About Us Section */
    .about-us-section {
        padding: 60px 0;
        background-attachment: scroll;
    }
    
    .about-us-section .about-text {
        padding: 30px 20px;
        font-size: 1em;
    }
    
    .about-us-section .section-heading {
        font-size: 2.2em;
    }
    
    .about-us-section .section-heading::after {
        width: 60px;
        height: 4px;
    }
    
    .about-us-section .about-text p {
        font-size: 0.95em;
    }
    
    .about-us-section .about-btn {
        padding: 12px 30px;
        font-size: 0.9em;
        letter-spacing: 1.2px;
    }

    /* Services Section */
    .services-section {
        padding: 60px 0;
    }
    
    .services-section .section-heading {
        font-size: 2.4em;
    }
    
    .section-tagline {
        font-size: 1em;
        margin-bottom: 40px;
        padding: 0 15px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card {
        padding: 35px 20px;
    }
    
    .service-icon {
        font-size: 3em;
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .service-card h3 {
        font-size: 1.5em;
    }
    
    .service-card p {
        font-size: 0.95em;
        margin-bottom: 20px;
    }
    
    .btn-small {
        padding: 11px 25px;
        font-size: 0.9em;
    }

    /* Why Us Section */
    .why-us-section {
        padding: 80px 0;
    }
    
    .why-us-highlight {
        padding: 25px 20px;
    }
    
    .why-us-section .section-heading {
        font-size: 2.4em;
    }
    
    .why-us-section .section-tagline {
        font-size: 1em;
        margin-bottom: 40px;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .why-us-item {
        padding: 25px;
    }
    
    .why-us-item .icon-container {
        font-size: 2.5em;
        width: 70px;
        height: 70px;
    }
    
    .why-us-item h3 {
        font-size: 1.4em;
    }
    
    .why-us-item p {
        font-size: 0.95em;
    }
}

/* Small Mobile (576px and below) */
@media (max-width: 576px) {
    /* Hero Section */
    .hero-section {
        height: 100vh;
        min-height: 500px;
        padding-top: 70px;
    }
    
    .hero-content-overlay {
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 25px 15px;
        width: calc(100% - 30px);
    }
    
    .hero-content h2 {
        font-size: 1.6em;
        margin-bottom: 12px;
    }
    
    .hero-content p {
        font-size: 0.9em;
        margin-bottom: 20px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    
    .spacer-white {
        height: 2px;
    }

    /* About Us Section */
    .about-us-section {
        padding: 40px 0;
    }
    
    .about-us-section .about-text {
        padding: 25px 15px;
        border-radius: 10px;
    }
    
    .about-us-section .section-heading {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    
    .about-us-section .section-heading::after {
        margin: 15px auto 0;
        width: 50px;
    }
    
    .about-us-section .about-text p {
        font-size: 0.9em;
        margin-bottom: 18px;
    }
    
    .about-us-section .about-btn {
        padding: 10px 25px;
        font-size: 0.8em;
        letter-spacing: 1px;
        margin-top: 25px;
    }

    /* Services Section */
    .services-section {
        padding: 50px 0;
    }
    
    .services-section .section-heading {
        font-size: 2em;
    }
    
    .section-tagline {
        font-size: 0.9em;
        margin-bottom: 35px;
    }
    
    .service-card {
        padding: 30px 15px;
    }
    
    .service-icon {
        font-size: 2.6em;
        width: 60px;
        height: 60px;
    }
    
    .service-card h3 {
        font-size: 1.3em;
    }
    
    .service-card p {
        font-size: 0.9em;
        margin-bottom: 18px;
    }
    
    .btn-small {
        padding: 10px 22px;
        font-size: 0.85em;
    }

    /* Why Us Section */
    .why-us-section {
        padding: 60px 0;
    }
    
    .why-us-highlight {
        padding: 20px 15px;
    }
    
    .why-us-section .section-heading {
        font-size: 2em;
    }
    
    .why-us-section .section-tagline {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    
    .why-us-item {
        padding: 20px;
    }
    
    .why-us-item .icon-container {
        font-size: 2.2em;
        width: 60px;
        height: 60px;
    }
    
    .why-us-item h3 {
        font-size: 1.2em;
    }
    
    .why-us-item p {
        font-size: 0.85em;
    }
}

/* Extra Small Mobile (480px and below) */
@media (max-width: 480px) {
    /* Hero Section */
    .hero-section {
        min-height: 450px;
    }
    
    .hero-content-overlay {
        padding: 0 10px;
    }
    
    .hero-content {
        width: calc(100% - 20px);
    }
    
    .hero-content h2 {
        font-size: 1.4em;
    }
    
    .hero-content p {
        font-size: 0.85em;
    }
    
    .spacer-white {
        height: 2px;
    }

    /* About Us Section */
    .about-us-section .section-heading {
        font-size: 1.5em;
    }
    
    .about-us-section .about-text p {
        font-size: 0.85em;
    }

    /* Services Section */
    .services-section .section-heading {
        font-size: 1.8em;
    }
    
    .section-tagline {
        font-size: 0.85em;
    }
    
    .service-card h3 {
        font-size: 1.2em;
    }
    
    .service-card p {
        font-size: 0.85em;
    }

    /* Why Us Section */
    .why-us-section .section-heading {
        font-size: 1.8em;
    }
    
    .why-us-section .section-tagline {
        font-size: 0.9em;
    }
    
    .why-us-item h3 {
        font-size: 1.1em;
    }
    
    .why-us-item p {
        font-size: 0.8em;
    }
}

/* Extra Extra Small Mobile (375px and below) */
@media (max-width: 375px) {
    /* Hero Section */
    .hero-section {
        min-height: 400px;
        padding-top: 60px;
    }
    
    .hero-content-overlay {
        padding: 0 10px;
    }
    
    .hero-content {
        padding: 20px 12px;
        width: calc(100% - 20px);
    }
    
    .hero-content h2 {
        font-size: 1.2em;
        margin-bottom: 10px;
    }
    
    .hero-content p {
        font-size: 0.8em;
        margin-bottom: 15px;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.8em;
    }
    
    .spacer-white {
        height: 1px;
    }

    /* About Us Section */
    .about-us-section {
        padding: 35px 0;
    }
    
    .about-us-section .about-text {
        padding: 20px 12px;
    }
    
    .about-us-section .section-heading {
        font-size: 1.3em;
        margin-bottom: 15px;
    }
    
    .about-us-section .section-heading::after {
        width: 40px;
        height: 3px;
        margin: 12px auto 0;
    }
    
    .about-us-section .about-text p {
        font-size: 0.8em;
        margin-bottom: 15px;
    }
    
    .about-us-section .about-btn {
        padding: 8px 20px;
        font-size: 0.75em;
        margin-top: 20px;
    }

    /* Services Section */
    .services-section {
        padding: 40px 0;
    }
    
    .services-section .section-heading {
        font-size: 1.6em;
    }
    
    .services-section .section-heading::after {
        width: 70px;
        height: 5px;
    }
    
    .section-tagline {
        font-size: 0.8em;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .services-grid {
        gap: 20px;
    }
    
    .service-card {
        padding: 25px 12px;
    }
    
    .service-icon {
        font-size: 2.2em;
        width: 55px;
        height: 55px;
        margin-bottom: 15px;
    }
    
    .service-card h3 {
        font-size: 1.1em;
        margin-bottom: 12px;
    }
    
    .service-card p {
        font-size: 0.8em;
        margin-bottom: 15px;
    }
    
    .btn-small {
        padding: 8px 18px;
        font-size: 0.8em;
    }

    /* Why Us Section */
    .why-us-section {
        padding: 50px 0;
    }
    
    .why-us-highlight {
        padding: 18px 12px;
    }
    
    .why-us-section .section-heading {
        font-size: 1.6em;
    }
    
    .why-us-section .section-heading::after {
        width: 70px;
        height: 5px;
    }
    
    .why-us-section .section-tagline {
        font-size: 0.85em;
        margin-bottom: 25px;
    }
    
    .why-us-grid {
        gap: 18px;
    }
    
    .why-us-item {
        padding: 18px 12px;
    }
    
    .why-us-item .icon-container {
        font-size: 2em;
        width: 55px;
        height: 55px;
        margin-bottom: 15px;
    }
    
    .why-us-item h3 {
        font-size: 1em;
        margin-bottom: 12px;
    }
    
    .why-us-item p {
        font-size: 0.75em;
        line-height: 1.6;
    }
}

/* Landscape orientation fixes for mobile devices */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        height: 100vh;
        min-height: 400px;
    }
    
    .hero-content h2 {
        font-size: 1.5em;
        margin-bottom: 10px;
    }
    
    .hero-content p {
        font-size: 0.9em;
        margin-bottom: 15px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Increase touch targets for better mobile UX */
    .btn,
    .btn-small {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 28px;
    }
    
    .service-card,
    .why-us-item {
        /* Remove hover effects on touch devices */
        transition: none;
    }
    
    .service-card:active,
    .why-us-item:active {
        transform: scale(0.98);
    }
}

/* Prevent text from being too small on any device */
@media (max-width: 320px) {
    body {
        font-size: 14px;
    }
    
    .hero-content-overlay {
        padding: 0 8px;
    }
    
    .hero-content {
        width: calc(100% - 16px);
    }
    
    .hero-content h2 {
        font-size: 1.1em;
    }
    
    .hero-content p {
        font-size: 0.75em;
    }
    
    .spacer-white {
        height: 1px;
    }
    
    .about-us-section .section-heading,
    .services-section .section-heading,
    .why-us-section .section-heading {
        font-size: 1.4em;
    }
    
    .service-card h3,
    .why-us-item h3 {
        font-size: 0.95em;
    }
    
    .service-card p,
    .why-us-item p {
        font-size: 0.7em;
    }
}