/* RR Energy Solution - Main Stylesheet */

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    width: 220px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

:root {
    --primary-red: #e63946;
    --dark-red: #c1121f;
    --primary-blue: #1d3557;
    --light-blue: #457b9d;
    --accent-blue: #3a86ff;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --black: #212529;
    --transition-speed: 0.3s;
    --section-padding-mobile: 40px 0;
    --section-padding-tablet: 60px 0;
    --section-padding-desktop: 80px 0;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-gray);
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.6;
    will-change: auto;
}

/* Hero Slider */
#heroSlider {
    margin-top: 0;
    position: relative;
}

.carousel-inner {
    position: relative;
    background-color: var(--primary-blue);
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: translateY(0);
    position: absolute;
    top: 0;
    width: 100%;
    display: block !important;
    visibility: visible !important;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
    position: relative;
    z-index: 5;
}

.carousel-item {
    position: relative;
    height: 85vh;
    min-height: 450px;
    background-size: cover;
    display: block;
    visibility: visible !important;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(29, 53, 87, 0.5), rgba(29, 53, 87, 0.4), rgba(230, 57, 70, 0.35));
    z-index: 1;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    min-height: 450px;
    width: 100%;
}

.carousel-caption {
    left: 0;
    right: 0;
    bottom: 50%;
    transform: translateY(50%);
    padding: 0;
    background-color: transparent;
    max-width: 90%;
    margin: 0 auto;
    position: absolute;
    z-index: 15 !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-in-out 0.5s, transform 0.8s ease-out 0.5s;
    pointer-events: auto !important;
    visibility: visible !important;
}

.carousel-fade .carousel-item.active .carousel-caption {
    opacity: 1;
    transform: translateY(0);
}

.carousel-caption h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.5);
    color: white;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.carousel-caption h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: width 0.6s ease-in-out 1.2s, left 0.6s ease-in-out 1.2s;
}

.carousel-fade .carousel-item.active .carousel-caption h1::after {
    width: 60px;
    left: calc(50% - 30px);
}

.carousel-caption p {
    font-size: 1rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.9), 0 0 15px rgba(0, 0, 0, 0.5);
    color: white;
    margin-bottom: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.5;
}

.caption-badge {
    display: inline-block !important;
    background-color: var(--primary-red);
    color: white;
    padding: 8px 20px;
    font-weight: 600;
    border-radius: 30px;
    margin-top: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-shadow: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-in-out 1.3s, transform 0.6s ease-in-out 1.3s;
}

.carousel-fade .carousel-item.active .caption-badge {
    opacity: 1;
    transform: scale(1);
}

.caption-badge:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    background-color: var(--dark-red);
}

/* Enhance Carousel Controls and Indicators */
.carousel-indicators {
    margin-bottom: 25px;
    z-index: 15;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.7);
    margin: 0 5px;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: var(--primary-red);
    width: 12px;
    height: 12px;
    transform: scale(1.1);
}

.carousel-control-prev, 
.carousel-control-next {
    width: 8%;
    opacity: 0.7;
    z-index: 15;
}

.carousel-control-prev:hover, 
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 35px;
    height: 35px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    background-size: 50%;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(230, 57, 70, 0.8);
    transform: scale(1.1);
}

/* Mobile screens (Extra Small) */
@media (max-width: 576px) {
    body {
        overflow-x: hidden;
    }
    
    .carousel-item {
        height: 75vh;
        min-height: 450px;
    }
    
    .carousel-item img {
        min-height: 450px;
    }
    
    .carousel-caption {
        bottom: 50%;
        transform: translateY(50%);
        max-width: 100%;
        padding: 0 15px;
    }
    
    .carousel-caption h1 {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }
    
    .carousel-caption p {
        font-size: 0.8rem;
        margin-bottom: 5px;
    }
    
    .caption-badge {
        padding: 3px 10px;
        font-size: 0.7rem;
        margin-top: 5px;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 25px;
        height: 25px;
    }
}

/* Small devices */
@media (min-width: 577px) and (max-width: 767px) {
    .carousel-item {
        height: 70vh;
        min-height: 450px;
    }
    
    .carousel-item img {
        min-height: 450px;
    }
}

/* Medium devices */
@media (min-width: 768px) and (max-width: 991px) {
    .carousel-item {
        height: 75vh;
        min-height: 500px;
    }
    
    .carousel-item img {
        min-height: 500px;
    }
    
    .carousel-caption h1 {
        font-size: 1.8rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
}

/* Large devices */
@media (min-width: 992px) {
    #heroSlider {
        margin-top: 0;
    }
    
    .carousel-item {
        height: 90vh;
    }
    
    .carousel-caption {
        max-width: 70%;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .carousel-caption h1 {
        font-size: 2.8rem;
        margin-bottom: 20px;
    }
    
    .carousel-caption p {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .caption-badge {
        padding: 10px 25px;
        font-size: 1rem;
        margin-top: 20px;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 45px;
        height: 45px;
    }
}

/* Main Content Section */
.main-content {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title span {
    color: var(--primary-red);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background-color: var(--primary-blue);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--light-blue);
    margin-bottom: 25px;
}

/* About Section */
.about-section {
    padding: var(--section-padding-mobile);
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(230, 57, 70, 0.05) 0%, rgba(29, 53, 87, 0.01) 70%);
    z-index: 0;
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.about-title span {
    color: var(--primary-red);
}

.about-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary-blue);
    bottom: -12px;
    left: 0;
}

.about-text {
    font-size: 0.95rem;
    color: var(--dark-gray);
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.5;
}

/* Mobile-first highlight for tagline */
.text-energy {
    display: block;
    font-size: 1.1rem;         /* readable on mobile */
    font-weight: 600;          /* semi-bold for emphasis */
    color: #e63946;            /* vibrant highlight color */
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Tablet and up: enhance slightly */
@media (min-width: 768px) {
    .text-energy {
        font-size: 1.25rem;
        letter-spacing: 1px;
    }
}

/* Desktop and up: more presence */
@media (min-width: 1024px) {
    .text-energy {
        font-size: 1.5rem;
    }
}


.verified-seller {
    display: flex;
    margin-bottom: 30px;
}

.verified-seller a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: rgba(230, 57, 70, 0.1);
    padding: 8px 12px;
    border-radius: 30px;
    border: 1px solid var(--primary-red);
    box-shadow: 0 3px 10px rgba(230, 57, 70, 0.2);
}

.verified-seller a:hover,
.verified-seller a:active,
.verified-seller a:focus {
    color: var(--white);
    background-color: var(--primary-red);
    transform: translateY(-2px);
}

.verified-seller a:hover .verified-badge,
.verified-seller a:active .verified-badge,
.verified-seller a:focus .verified-badge {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.verified-seller a:hover .verified-badge i,
.verified-seller a:active .verified-badge i,
.verified-seller a:focus .verified-badge i {
    color: var(--white);
}

.verified-badge {
    height: 28px;
    margin-right: 10px;
    width: auto;
    display: inline-flex;
    align-items: center;
    background-color: rgba(29, 53, 87, 0.1);
    padding: 3px 8px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.verified-badge i {
    color: var(--primary-red);
    margin-right: 5px;
    transition: all 0.3s ease;
}

/* Mobile responsive styles for verified seller badge */
@media (max-width: 576px) {
    .verified-seller {
        margin-bottom: 20px;
    }
    
    .verified-seller a {
        padding: 6px 10px;
        font-size: 0.75rem;
        width: auto;
        max-width: 200px;
    }
    
    .verified-badge {
        height: auto;
        margin-right: 5px;
        font-size: 0.7rem;
        font-weight: 600;
        border-radius: 12px;
        padding: 2px 5px;
    }
    
    .verified-badge i {
        font-size: 0.75rem;
        margin-right: 3px;
    }
    
    .verified-seller a img {
        height: 12px;
        vertical-align: middle;
        margin: 0 2px;
    }
}

.about-features {
    margin-top: 40px;
}

.feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(29, 53, 87, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all var(--transition-speed) ease;
}

.feature:hover .feature-icon {
    background-color: var(--primary-blue);
    transform: translateY(-5px);
}

.feature-icon i {
    font-size: 1.2rem;
    color: var(--primary-red);
    transition: all var(--transition-speed) ease;
}

.feature:hover .feature-icon i {
    color: var(--white);
}

.feature-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-blue);
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--dark-gray);
    margin-bottom: 0;
}

.about-image {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-graphic {
    width: 100%;
    max-width: 500px;
    filter: drop-shadow(0px 10px 15px rgba(0, 0, 0, 0.1));
}

/* Why Choose Us Section */
.why-choose-section {
    padding: var(--section-padding-mobile);
    background-color: var(--light-gray);
    position: relative;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(230, 57, 70, 0.03) 0%, rgba(29, 53, 87, 0.01) 70%);
    z-index: 0;
}

.section-description {
    font-size: 1rem;
    max-width: 800px;
    margin: 15px auto;
    color: var(--dark-gray);
    line-height: 1.5;
}

/* Mobile-first card design */
.why-choose-cards {
    display: flex;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 10;
    height: 100%;
    overflow: hidden;
    /* Better touch experience on mobile */
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.service-card:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-card.touch-active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-color: rgba(29, 53, 87, 0.02);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    margin: 0 auto 15px;
    width: 60px;
    height: 60px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary-red);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--dark-gray);
    line-height: 1.5;
    margin-bottom: 0;
    flex-grow: 1;
}

/* Media queries for tablet and up */
@media (min-width: 576px) {
    .service-card {
        padding: 22px 18px;
    }
    
    .service-icon {
        width: 65px;
        height: 65px;
    }
    
    .service-card h3 {
        font-size: 1.05rem;
    }
    
    .service-card p {
        font-size: 0.93rem;
    }
    
    .section-description {
        font-size: 1.1rem;
        margin: 20px auto;
    }
}

@media (min-width: 768px) {
    .service-card {
        padding: 25px 20px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .service-card p {
        font-size: 0.95rem;
    }
}

/* Fix card heights at different screen sizes */
@media (max-width: 767.98px) {
    .why-choose-section .row,
    .solutions-section .row,
    .industries-section .row {
        margin-left: -10px;
        margin-right: -10px;
    }
    
    .why-choose-section .col-md-4,
    .solutions-section .col-lg-4,
    .solutions-section .col-md-6,
    .industries-section .col-lg-2,
    .industries-section .col-md-4,
    .industries-section .col-6 {
        padding-left: 10px;
        padding-right: 10px;
        margin-bottom: 15px;
    }
    
    .service-card,
    .product-card,
    .industry-card {
        height: 100%;
        min-height: 0;
    }
    
    .industry-card {
        padding: 15px 10px;
    }
    
    .service-card h3,
    .product-content h3,
    .industry-card h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .service-card p,
    .product-features li {
        font-size: 0.9rem;
    }
    
    .service-icon,
    .industry-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 12px;
    }
}

/* Our Solutions Section */
.solutions-section {
    padding: var(--section-padding-mobile);
    background-color: var(--white);
    position: relative;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-img {
    height: 220px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.product-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-blue);
    position: relative;
    padding-bottom: 10px;
    flex-shrink: 0;
}

.product-content h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--primary-red);
    bottom: 0;
    left: 0;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.product-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.product-features li:last-child {
    margin-bottom: 0;
}

.product-features i {
    color: var(--primary-red);
    margin-right: 10px;
    font-size: 1rem;
    margin-top: 4px;
}

/* Industries We Serve Section */
.industries-section {
    padding: var(--section-padding-mobile);
    background-color: var(--light-gray);
    position: relative;
}

.industry-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.industry-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    background-color: var(--primary-blue);
}

.industry-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(29, 53, 87, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.industry-card:hover .industry-icon {
    background-color: var(--white);
}

.industry-icon i {
    font-size: 2rem;
    color: var(--primary-red);
    transition: all 0.4s ease;
}

.industry-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0;
    transition: all 0.4s ease;
}

.industry-card:hover h3 {
    color: var(--white);
}

/* Gallery Section */
.gallery-section {
    padding: var(--section-padding-mobile);
    background-color: var(--white);
    position: relative;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(29, 53, 87, 0.03) 0%, rgba(29, 53, 87, 0.01) 70%);
    z-index: 0;
}

.gallery-filter {
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.gallery-filter-btn {
    background-color: transparent;
    border: 1px solid var(--light-blue);
    color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gallery-container {
    position: relative;
    min-height: 200px;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.gallery-img {
    position: relative;
    overflow: hidden;
    height: 0;
    padding-bottom: 75%;
}

.gallery-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-card:hover .gallery-img img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(29, 53, 87, 0.9), rgba(29, 53, 87, 0.5), rgba(29, 53, 87, 0));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-category {
    color: var(--white);
    font-size: 0.8rem;
    background-color: var(--primary-red);
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease 0.1s;
}

.gallery-card:hover .gallery-category {
    transform: translateY(0);
    opacity: 1;
}

.gallery-title {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    transform: translateY(15px);
    opacity: 0;
    transition: all 0.3s ease 0.2s;
}

.gallery-card:hover .gallery-title {
    transform: translateY(0);
    opacity: 1;
}

.gallery-preview {
    color: var(--white);
    background-color: var(--primary-blue);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 15px;
    right: 15px;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease 0.3s;
}

.gallery-card:hover .gallery-preview {
    transform: translateY(0);
    opacity: 1;
}

.gallery-preview:hover {
    background-color: var(--primary-red);
    transform: scale(1.1) translateY(0);
}

/* Load More Button */
#loadMoreGallery {
    margin: 20px auto;
    padding: 10px 30px;
}

/* Gallery Modal Styles */
#galleryModal .modal-content {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--white);
}

#galleryModal .modal-header {
    border-bottom: 1px solid rgba(29, 53, 87, 0.1);
    padding: 15px;
}

#galleryModal .modal-title {
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 1.2rem;
}

#galleryModal .modal-body {
    padding: 15px;
}

#galleryModal .modal-body img {
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
}

#galleryModal .modal-footer {
    padding: 10px 15px;
    border-top: 1px solid rgba(29, 53, 87, 0.1);
    justify-content: space-between;
}

#galleryModalDescription {
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 15px;
}

/* Gallery Responsive Styles */
@media (max-width: 991.98px) {
    .gallery-filter-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .gallery-title {
        font-size: 0.9rem;
    }
    
    .gallery-category {
        font-size: 0.75rem;
        padding: 3px 8px;
    }
    
    .gallery-preview {
        width: 35px;
        height: 35px;
        top: 10px;
        right: 10px;
    }
    
    #galleryModal .modal-footer {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    #galleryModal .modal-footer .btn {
        font-size: 0.85rem;
        padding: 0.375rem 0.75rem;
    }
}

@media (max-width: 767.98px) {
    .gallery-filter {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
        margin-bottom: 15px;
    }
    
    .gallery-item {
        margin-bottom: 15px;
    }
    
    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(29, 53, 87, 0.8), rgba(29, 53, 87, 0.3), rgba(29, 53, 87, 0));
        padding: 15px;
    }
    
    .gallery-category, 
    .gallery-title {
        transform: translateY(0);
        opacity: 1;
    }
    
    .gallery-preview {
        transform: translateY(0);
        opacity: 0.8;
        width: 32px;
        height: 32px;
    }
    
    .gallery-category {
        margin-bottom: 5px;
    }
    
    .gallery-title {
        margin-bottom: 5px;
        font-size: 0.85rem;
    }
    
    #galleryModal .modal-dialog {
        margin: 0.5rem;
    }
    
    #galleryModal .modal-content {
        border-radius: 8px;
    }
    
    #galleryModal .modal-footer {
        justify-content: center;
    }
    
    #galleryModal .modal-footer .btn-secondary {
        order: 3;
        width: 100%;
        margin-top: 5px;
    }
}

@media (max-width: 575.98px) {
    .gallery-filter-btn {
        padding: 4px 10px;
        font-size: 0.75rem;
        margin: 0;
    }
    
    .gallery-section {
        padding: 30px 0;
    }
    
    .gallery-overlay {
        padding: 10px;
    }
    
    .gallery-title {
        font-size: 0.8rem;
        margin-bottom: 3px;
    }
    
    .gallery-category {
        font-size: 0.65rem;
        padding: 2px 6px;
        margin-bottom: 3px;
    }
    
    .gallery-preview {
        width: 28px;
        height: 28px;
        top: 6px;
        right: 6px;
    }
    
    #galleryModal .modal-title {
        font-size: 1rem;
    }
    
    #galleryModal .modal-footer .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
    
    #galleryModalDescription {
        font-size: 0.85rem;
    }
    
    .gallery-filter {
        margin-left: -5px;
        margin-right: -5px;
        gap: 4px;
    }
}

/* Contact Section */
.contact-section {
    padding: var(--section-padding-mobile);
    background-color: var(--light-gray);
    position: relative;
}

.contact-info {
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

/* Regular contact items in Contact section and Footer */
.contact-section .contact-item,
footer .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-section .contact-item i,
footer .contact-item i {
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-right: 15px;
    margin-top: 5px;
    transition: all 0.3s ease;
}

.contact-section .contact-item h4,
footer .contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.contact-section .contact-item p,
footer .contact-item p {
    font-size: 0.95rem;
    color: var(--dark-gray);
    margin-bottom: 0;
    transition: all 0.3s ease;
}

/* CEO section contact items */
.ceo-contact-info .contact-item {
    display: flex;
    align-items: center;
    background-color: rgba(29, 53, 87, 0.05);
    padding: 8px 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.ceo-contact-info .contact-item:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
}

.ceo-contact-info .contact-item i {
    font-size: 1.1rem;
    color: var(--primary-red);
    margin-right: 10px;
    transition: all 0.3s ease;
}

.ceo-contact-info .contact-item:hover i {
    color: var(--white);
}

.ceo-contact-info .contact-item span {
    font-size: 0.9rem;
    color: var(--dark-gray);
    transition: all 0.3s ease;
}

.ceo-contact-info .contact-item:hover span {
    color: var(--white);
}

/* Contact form */
.contact-form {
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.form-control {
    padding: 10px 12px;
    border-radius: 5px;
    border: 1px solid #e1e1e1;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 10px rgba(29, 53, 87, 0.1);
    background-color: var(--white);
}

/* Footer */
footer {
    background-color: #253238;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

.footer-main {
    padding: 60px 0 40px;
}

footer h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    color: #fff;
}

footer p.tagline {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: #ffc107;
}

footer p.description {
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: #ffc107;
    color: #253238;
    transform: translateY(-5px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.footer-contact-item:hover {
    transform: translateX(5px);
}

.footer-contact-icon {
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-contact-icon i {
    color: #ffc107;
    font-size: 1rem;
}

.footer-contact-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.footer-contact-text a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-text a:hover {
    color: #ffc107;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
    font-size: 0.95rem;
}

.footer-links a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #ffc107;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ffc107;
    transform: translateX(8px);
}

.footer-links a:hover::before {
    background-color: #fff;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 15px 0;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Floating Action Buttons */
.floating-action-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-action-button {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    color: #fff;
    transition: all 0.3s ease;
}

.floating-action-button:hover {
    transform: scale(1.1);
}

.floating-action-button.whatsapp {
    background: #25D366;
}

.floating-action-button.phone {
    background: #007bff;
}

.floating-action-button i {
    font-size: 1.5rem;
}

.footer-social-mobile {
    display: none !important;
}

/* Media Queries for Responsive Design */
@media (max-width: 991.98px) {
    .footer-main {
        padding: 50px 0 30px;
    }
    
    footer h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .footer-contact {
        gap: 15px;
    }
    
    .footer-contact-icon {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 767.98px) {
    .footer-main {
        padding: 40px 0 25px;
    }
    
    footer h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .footer-contact-item {
        gap: 12px;
    }
    
    .footer-contact-icon {
        width: 32px;
        height: 32px;
    }
    
    .footer-contact-text {
        font-size: 0.9rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    /* Keep mobile social icons hidden */
    .footer-social-mobile {
        display: none !important;
    }
    
    .col-md-6 {
        margin-bottom: 25px;
    }
}

@media (max-width: 575.98px) {
    .footer-main {
        padding: 35px 0 20px;
    }
    
    footer h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    footer p.tagline {
        font-size: 1rem;
    }
    
    footer p.description {
        font-size: 0.85rem;
    }
    
    .footer-contact {
        gap: 12px;
    }
    
    .footer-contact-icon {
        width: 30px;
        height: 30px;
    }
    
    .footer-contact-text {
        font-size: 0.85rem;
    }
    
    .footer-links {
        gap: 10px;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
    
    .floating-action-button {
        width: 50px;
        height: 50px;
    }
    
    /* Keep mobile social icons hidden */
    .footer-social-mobile, 
    .footer-social-mobile a {
        display: none !important;
    }
}

/* Animations */
.animate__animated {
    animation-duration: 0.8s;
    animation-fill-mode: both;
    will-change: transform, opacity;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Optimize specific animations */
.animate__fadeIn {
    animation-duration: 0.6s;
}

.animate__fadeInUp {
    animation-duration: 0.6s;
    transform-origin: bottom;
}

.animate__zoomIn {
    animation-duration: 0.7s;
    transform-origin: center;
}

.animate__fadeInRight, .animate__fadeInLeft {
    animation-duration: 0.7s;
}

/* Add a small transition for all interactive elements for smoother interactions */
.btn, .card, .gallery-card, .product-card, .industry-card, .service-card, 
.floating-action-button, .back-to-top, .social-link, .footer-links a {
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1.0);
    will-change: transform;
}

/* Hover Effects */
.btn-primary {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
}

.btn-primary:hover {
    background-color: var(--dark-red);
    border-color: var(--dark-red);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

/* Utility Classes */
.text-primary {
    color: var(--primary-red) !important;
}

.bg-primary {
    background-color: var(--primary-blue) !important;
}

.bg-secondary {
    background-color: var(--primary-red) !important;
}

/* CEO Section */
.ceo-section {
    padding: var(--section-padding-mobile);
    background-color: var(--white);
    position: relative;
}

.ceo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(29, 53, 87, 0.03) 0%, rgba(29, 53, 87, 0.01) 70%);
    z-index: 0;
}

/* Mobile-first CEO Profile */
.ceo-profile {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.ceo-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.ceo-image {
    max-width: 200px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 3px solid var(--primary-blue);
}

.ceo-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-top: 1rem;
    margin-bottom: 0.25rem;
}

.ceo-position {
    font-size: 0.95rem;
    color: var(--light-blue);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.ceo-details {
    position: relative;
    z-index: 1;
}

.ceo-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
}

/* CEO Cards */
.ceo-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 1.25rem;
    height: 100%;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ceo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.contact-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-red);
}

.ceo-contact-info {
    margin-bottom: 1rem;
}

.ceo-contact-info .contact-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background-color: rgba(29, 53, 87, 0.05);
    border-radius: 30px;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.ceo-contact-info .contact-item:hover {
    background-color: var(--primary-blue);
}

.ceo-contact-info .contact-item i {
    font-size: 1rem;
    color: var(--primary-red);
    margin-right: 0.75rem;
    transition: color 0.3s ease;
}

.ceo-contact-info .contact-item:hover i {
    color: var(--white);
}

.ceo-contact-info .contact-item span {
    font-size: 0.9rem;
    color: var(--dark-gray);
    transition: color 0.3s ease;
}

.ceo-contact-info .contact-item:hover span {
    color: var(--white);
}

.education-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.education-icon {
    font-size: 1rem;
    color: var(--primary-red);
    margin-right: 0.75rem;
    background-color: rgba(230, 57, 70, 0.1);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.education-details h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--primary-blue);
}

.education-details p {
    font-size: 0.85rem;
    color: var(--dark-gray);
    margin-bottom: 0;
}

.expertise-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expertise-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.expertise-list li i {
    color: var(--primary-red);
    margin-right: 0.75rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* CEO Modal Styles */
.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: 2px solid rgba(29, 53, 87, 0.1);
    padding: 1rem 1.5rem;
}

.modal-title {
    color: var(--primary-blue);
    font-weight: 600;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 2px solid rgba(29, 53, 87, 0.1);
    padding: 1rem 1.5rem;
}

.ceo-modal-image {
    max-width: 180px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--primary-blue);
}

.ceo-modal-contact p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.modal-list {
    padding-left: 1.25rem;
    margin-bottom: 1.5rem;
}

.modal-list li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.modal-body h4 {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 1.25rem 0 0.75rem;
}

.modal-body h4:first-child {
    margin-top: 0;
}

.modal-body p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Media queries for larger screens */
@media (min-width: 576px) {
    .ceo-image {
        max-width: 220px;
    }
    
    .ceo-modal-image {
        max-width: 200px;
    }
    
    .ceo-title {
        font-size: 1.4rem;
    }
    
    .ceo-position {
        font-size: 1rem;
    }
    
    .ceo-bio {
        font-size: 1rem;
    }
    
    .education-details h4 {
        font-size: 1rem;
    }
    
    .education-details p {
        font-size: 0.9rem;
    }
    
    .expertise-list li {
        font-size: 0.95rem;
    }
    
    .modal-body p, .modal-list li {
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .ceo-image {
        max-width: 250px;
    }
    
    .ceo-title {
        font-size: 1.5rem;
    }
    
    .ceo-position {
        font-size: 1.1rem;
    }
    
    .ceo-bio {
        font-size: 1.05rem;
    }
    
    .ceo-card {
        padding: 1.5rem;
    }
    
    .contact-title {
        font-size: 1.2rem;
    }
    
    .education-details h4 {
        font-size: 1.05rem;
    }
    
    .education-details p {
        font-size: 0.95rem;
    }
    
    .expertise-list li {
        font-size: 1rem;
    }
    
    .modal-title {
        font-size: 1.4rem;
    }
    
    .modal-body h4 {
        font-size: 1.2rem;
    }
}

@media (min-width: 992px) {
    .ceo-image {
        max-width: 300px;
    }
    
    .modal-dialog {
        max-width: 800px;
    }
    
    .ceo-modal-image {
        max-width: 220px;
    }
    
    .footer-contact-item.compact-mobile p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .footer-tagline {
        margin-bottom: 8px;
        font-size: 0.9rem;
    }
    
    .footer-desc {
        margin-bottom: 15px;
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .footer-main {
        padding: 30px 0 15px;
    }
    
    .footer-bottom {
        padding: 15px 0;
    }
    
    .copyright, .footer-legal a {
        font-size: 0.8rem;
    }
    
    .footer-social-mobile .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Reduce footer height on very small screens */
@media (max-width: 320px) {
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .footer-links h3, .footer-contact h3 {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .footer-links ul li {
        margin-bottom: 3px;
    }
    
    .footer-contact-item.compact-mobile {
        margin-bottom: 5px;
    }
}

/* CEO Social Links */
.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(29, 53, 87, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--primary-red);
    color: var(--white);
    transform: translateY(-3px);
}

.social-link i {
    font-size: 1.1rem;
}

/* Mobile-specific social link adjustments */
@media (max-width: 767.98px) {
    .social-links {
        gap: 8px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .social-link i {
        font-size: 1rem;
    }
    
    /* CEO section specific tweaks */
    .ceo-profile .social-links {
        justify-content: center;
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .social-links {
        gap: 6px;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }
    
    .social-link i {
        font-size: 0.9rem;
    }
}

.modal-body .social-links {
    gap: 12px;
    justify-content: center;
}

@media (max-width: 575.98px) {
    .modal-body .social-links {
        gap: 8px;
    }
    
    .ceo-modal-contact p {
        font-size: 0.85rem;
    }
    
    .ceo-modal-image {
        max-width: 160px;
    }
}

/* Enhanced Why Choose Us Cards */
.why-choose-section .service-card {
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1.0);
    height: 100%;
    border-bottom: 3px solid transparent;
}

.why-choose-section .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(29, 53, 87, 0.15);
    border-bottom: 3px solid var(--primary-red);
}

.why-choose-section .service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), #2a4a7d);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.6rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(29, 53, 87, 0.1);
}

.why-choose-section .service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary-red), #c62f38);
    transform: rotateY(180deg);
}

.why-choose-section .service-icon i {
    transition: all 0.5s ease;
}

.why-choose-section .service-card:hover .service-icon i {
    transform: rotateY(180deg);
}

.why-choose-section .service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--primary-blue);
    font-weight: 600;
}

.why-choose-section .service-card p {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Compact layout for Why Choose Us section */
.why-choose-section .container {
    max-width: 1140px;
}

.why-choose-section {
    padding: 3.5rem 0;
}

.why-choose-section .section-description {
    max-width: 700px;
    margin: 0 auto 1rem;
}

@media (max-width: 767.98px) {
    .why-choose-section .service-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .why-choose-section .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    
    .why-choose-section .service-card h3 {
        font-size: 1rem;
    }
    
    .why-choose-section .service-card p {
        font-size: 0.85rem;
    }
    
    .why-choose-section {
        padding: 2.5rem 0;
    }
}

/* Mobile active link enhancement */
@media (max-width: 991.98px) {
    .mobile-nav__link.active {
        background-color: rgba(255, 255, 255, 0.15);
        color: #fff;
        font-weight: 500;
        border-left: 3px solid var(--primary-red);
    }
    
    .mobile-nav.scrolled .mobile-nav__link.active {
        background-color: rgba(255, 255, 255, 0.15);
    }
}