/* Hero Banner Specific Styles */

/* The main banner container */
.hero-banner {
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    overflow: hidden;
    position: relative;
    /* Removed fixed min-height to rely on content padding */
    margin-top: 40px;
}

/* Banner Slider Specifics */
.banner-swiper {
    width: 100%;
    position: relative;
}
.about-right-content h1{
    font-size:40px;
}
.banner-slide {
    background-size: cover;
    background-position:center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
height: 650px !important;
    display: flex !important;
    align-items: end !important;
}
.banner-sub{
    font-size: 20px;
    color: #fff;
}
/* Overlay */
.banner-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
      background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 1) 90%);
    /* Black overlay */
    opacity: 0.75;
    z-index: 1;
}
.banner-swiper h2{
 font-size: 52px;
    line-height: 1.3;
}
/* Content */
.hero-content {
       position: relative;
    z-index: 10;
    width: 600px;
    margin:0 auto;
    padding-bottom: 80px;
}

/* Button Refinement */


/* Separate Logo Section */
.logo-section {
    padding-bottom: 50px;
    overflow: hidden;
}

.logo-wrap {
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    padding: 40px 80px;
    background: var(--bg-light);
}

@media (max-width: 768px) {
    .logo-wrap {
        padding: 15px 20px;
        border-bottom-left-radius: 40px;
        border-bottom-right-radius: 40px;
    }
}

/* Swiper Customization */
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-wrapper {
    transition-timing-function: linear !important;
    /* Critical for smooth ticker */
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Swiper Nav Buttons Customization */
.swiper-button-next,
.swiper-button-prev {
    color: #fff !important;
    background: var(--primary-blue);
    width: 55px !important;
    height: 55px !important;
    border-radius: 5px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 16px !important;
    /* Correct icon size */
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    opacity: 1;
}


/* Video Section (Overlapping) */
/* Video Section (Overlapping) */
.video-section {
    position: relative;
    z-index: 10;
    margin-top: -150px;
    /* Pull up to overlap about section */
    padding-bottom: 50px;
}

.video-frame-wrapper {
    width: 100%;
    margin-bottom: 30px;
}

.video-frame-wrapper iframe {
    width: 100%;
    max-width: 1200px;
    display: flex;
    margin: auto;
    height: 600px;
    border-radius: 40px;
    border: 10px solid var(--white);
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1240px) {
    .video-frame-wrapper iframe {
        height: 450px;
        border-width: 5px;
    }
    .banner-slide {
height: 450px !important;
}
}

@media (max-width: 768px) {
    .video-frame-wrapper iframe {
        height: 300px;
        border-radius: 20px;
    }
    
}

@media (max-width: 480px) {
    .video-frame-wrapper iframe {
        height: 200px;
    }
}

/* Services Section */
.service-btn {
    display: flex;
    align-items: end;
    text-align: left;
    justify-content: end;
}

.service-wrap {
    display: grid;
    grid-template-columns: 2fr 0.8fr;
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 40px;
    overflow: hidden;
    /* Removed box-shadow */
    transition: all 0.3s ease;
    border: 1px solid #dcdfe3;
    /* Visible grey border */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    /* Highlight border on hover */
}



/* Custom image CSS removed to rely on .img-responsive utility as requested */

/* Typography in Cards */
.service-title {
    font-weight: 700;
    color: var(--text-dark);
}

.service-desc {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
}

.service-link {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 16px;
    margin-top: auto;
    transition: gap 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.service-link:hover {
    gap: 15px;
}

/* Active/Highlighted Card (Middle) */
.service-card.active-card {
    background-color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
    /* Keep border consistent or seamless */
    justify-content: space-between;
}

/* Active Card Specifics for "Text Top" layout */

.card-img img {
    height: 380px;
    object-fit: cover;
}

.service-card.active-card .service-title {
    color: var(--white);
}

.service-card.active-card .service-desc {
    color: rgba(255, 255, 255, 0.9);
}

.service-card.active-card .service-link {
    color: var(--white);
}

.service-card.active-card .service-link i {
    color: var(--white);
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--white);
    /* overflow: hidden; Removed to allow swiper overflow */
}

.swiper-full-wrap {
    width: 100%;
    overflow-x: hidden;
}

.testimonials-section .swiper {
    width: 100%;
    margin: 0 auto;
    overflow: visible !important;
    padding-left: max(20px, calc((100vw - 1400px) / 2)) !important;
    padding-right: max(20px, calc((100vw - 1400px) / 2)) !important;
    box-sizing: border-box;
}

.testi-footer .testi-brand-logo
{
    width: 50px;
}

@media (max-width: 1440px) {
    .testimonials-section .swiper {
        padding-left: 20px !important;
        padding-right: 20px !important;
        overflow: hidden !important; /* Hide overflow on smaller screens to prevent horizontal scroll issues if swiper-slide width is too large */
    }
}

/* Pagination Placement (Hidden) */
/* .testimonial-swiper .swiper-pagination {
    position: static; 
    margin-top: 40px;
} */


/* Testimonial Nav Buttons */
.status-btn {
    position: static !important;
    /* Force static to prevent flying to top */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #3b82f6;
    /* Blue */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    transition: all 0.3s ease;
}

.status-btn:hover {
    background-color: var(--primary-blue);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .testimonials-section .flex.justify-end {
        justify-content: center !important;
        margin-top: 30px !important;
    }
    
    .status-btn {
        width: 50px;
        height: 50px;
    }
}

.status-btn::after {
    font-size: 20px !important;
    font-weight: bold;
}


/* CEO Message Section */
.ceo-section {
    background-color: var(--bg-light);
}

.ceo-card {
    background-color: var(--white);
    border-radius: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    /* Ensure content stays within rounded corners */
}

.ceo-card .column {
    padding: 0 40px 0 0;
}

.ceo-message-wrapper {
    position: relative;
}

.ceo-read-more {
    display: none;
}

@media (max-width: 768px) {
    .ceo-message {
        max-height: 120px;
        overflow: hidden;
        transition: max-height 0.4s ease;
        position: relative;
    }
    .ceo-message.expanded {
        max-height: 2000px;
    }
    .ceo-message-wrapper:not(.expanded) .ceo-message::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background: linear-gradient(transparent, #fff);
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .ceo-message.expanded::after {
        opacity: 0;
    }
    .ceo-read-more {
        display: block;
        margin-top: 10px;
        background: none;
        border: none;
        color: var(--primary-color);
        font-weight: 700;
        cursor: pointer;
        padding: 0;
        font-size: 15px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
}


.ceo-image-wrapper img {
    padding-top: 50px;
    height: 550px;
    object-fit: cover;
    object-position: top;
    margin-bottom: -5px;
}


.role-pill {
    display: inline-block;
    background-color: var(--secondary-blue);
    /* Light blue */
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
}

.quote-large {
    font-size: 40px;
    color: #3b82f6;
    /* Blue quote color */
    line-height: 1;
}

.mission-text {
    font-weight: 500;
    font-size: 18px;
    line-height: 1.5;
}





/* Testimonial Card */
.testimonial-card {
    border: 1px solid #c8cfff;
    border-radius: 40px;
    padding: 40px;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    min-height: 480px;
    /* Ensure uniform height perception */
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: 30px 20px;
        min-height: auto;
    }
    
    .testi-text {
        font-size: 15px;
        margin-bottom: 30px !important;
    }
    
    .testi-footer {
        padding-top: 15px;
    }
}

.testimonial-card:hover {
    box-shadow: 0 10px 30px rgba(11, 99, 172, 0.1);
    border-color: var(--primary-blue);
}

/* Quote Icon */
.quote-icon i {
    font-size: 30px;
    color: #3b82f6;
}

/* Text */
.testi-text {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Video Thumb */
.testi-video-thumb {
    width: 100%;
    height: 220px;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
}

.testi-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: #FF0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.testi-video-thumb:hover .play-btn-overlay {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Footer info */
.testi-footer {
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: auto;
}

.testi-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testi-name {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-dark);
    display: block;
}

.testi-role {
    font-size: 13px;
    color: #3b82f6;
    display: block;
    margin-top: 3px;
}

/* New classes to replace inline styles */
.testi-intro-text {
    max-width: 750px;
    margin: 0 auto;
}



.plus-icon {
    font-size: 24px;
}

.awards-wrap {
    background-color: #fff;
box-shadow:0px 5px 15px rgba(0,0,0,0.1);
    border-radius: 40px;
    padding: 40px;
}

/* Flex Container for Large Left + Right Grid */
.awards-container-flex {
    display: flex;
    gap: 30px;
    margin: 0 auto;
}

.last-card-image {
    margin-bottom: -5px;
}

/* Left Large Card */
.award-card-large {
    flex: 0 0 280px;
    /* Fixed width like image */
    background: #fff;
    border: 1px solid var(--secondary-blue);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 40px;
    transition: all 0.3s ease;
}

.award-card-large:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
}

.award-card-large img {
    max-width: 100%;
    height: auto;
}

/* Right Small Grid */
.awards-small-grid {
    flex: 1;
    display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 30px;
}

.award-card-small {
    background: #fff;
    border-radius: 40px;
    height: 140px;
    /* Fixed square-ish look */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--secondary-blue);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    padding: 5px;
}

.award-card-small:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
}

.award-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}


/* Logo Slider Styles */
.logo-swiper .swiper-slide {
    background: #fff;
    border: 1px solid var(--secondary-blue);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
    height: 100px; /* Fixed height for consistency */
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-swiper .swiper-slide:hover {
    border-color: var(--primary-blue);
}

.logo-swiper img {
    max-width: 120px; /* Increased width */
    height: auto;
    object-fit: contain;
}

/* Tabs Component */
.tabs-nav-container {
    border: 1px solid #e0e0e0;
    border-radius: 40px;
    padding: 10px;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 15px;
}
.stats-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
}
.tab-btn {
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 30px;
    border: 1px solid #dcdfe3;
    background: transparent;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: linear-gradient(to right, var(--primary-color), #0f89ef) !important;
    border-color: transparent !important;
    color: #fff !important;
}

.tab-btn.active {
    background: linear-gradient(to right, var(--primary-color), #0f89ef);
    color: #fff;
    border-color: transparent;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-image {
    border-radius: 40px;
}

/* About Section */
.about-section {
    background: var(--bg-light);
    padding: 50px 0px 280px 0px;
}

.about-img-wrapper img {
    height: 800px;
    object-fit: cover;
    border-radius: 40px;
}


.about-content-inner ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 25px 0;
}

.about-content-inner li {
    display: inline-block  !important;
    position: relative;
    padding-left: 40px !important;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-gray);
    display: flex;
    align-items: flex-start;
}

.about-content-inner li::before {
    content: "\f058"; /* Font Awesome circle-check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-color);
    font-size: 24px;
    line-height: 1;
    background: white;
    border-radius: 50%;
}



.check-list li {
    position: relative;
    display: flex;
    align-items:flex-start ;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-gray);
    font-size: 16px;
}
.check-list li:last-child {
    margin-bottom: 0;
}

/* Ensure the icon is handled correctly within flex */
/* Style the FontAwesome icon directly */
.check-list li i {
    color: var(--primary-blue);
    font-size: 20px;
    margin-top: 4px;
}

/* Handle p tag if it exists inside li as per user hint */
.check-list li p {
    margin-bottom: 0;
}


/* Blog Section (Cloned/Adapted from Testimonials) */
.blog-card {
    border: 1px solid #c8cfff;
    border-radius: 40px;
    padding: 0;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    overflow: hidden;
}

.blog-card:hover {
    border-color: var(--primary-blue);
}

.blog-swiper {
    padding: 0px 30px !important;
}

.blog-swiper .swiper-slide {
    height: auto;
    display: flex;
    align-items: stretch;
}

/* Global Stats Section */
.stats-section {
    background-color: #fff;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid #eee;
    /* Added border */
    padding: 40px;
    border-radius: 40px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    z-index: 2;
}

.stats-number {
    font-size: 56px;
    font-weight: 300;
    color: var(--primary-blue);
    line-height: 1;
}

.stats-number sup {
    font-size: 30px;
    top: -0.5em;
    /* Adjust alignment if needed */
}

.stats-text {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.2;
}

.blog-thumb {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.blog-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 10px;
    display: block;
}

.blog-title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-title:hover {
    color: var(--primary-blue);
}
.why-choose-image{
    width: 100%;
}
.blog-excerpt {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more-btn {
    margin-top: auto;
    font-weight: 600;
    color: var(--primary-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.read-more-btn:hover {
    gap: 12px;
    /* subtle animation */
}
@media (max-width: 1240px) {
.video-frame-wrapper iframe{
    width: 100%;
}
.banner-swiper h2 {
    font-size: 46px;
    line-height: 1.3;
}
.hero-content {
    width: 100%;
    padding-bottom: 50px;
    padding-left: 30px;
    padding-right: 30px;
}
}
@media (max-width: 1024px) {
    .about-img-wrapper img {
        height: 500px;
    }
        .awards-container-flex {
        flex-direction: column;
    }

    .award-card-large {
        height: 140px;
        width: 100%;
        flex: none;
    }

    .awards-small-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .ceo-card .column {
        padding: 00px 40px 40px 40px;
}
.video-section {
    padding-bottom:40px;
}
}
@media (max-width: 850px) {
.about-section {
    background: var(--bg-light);
    padding: 40px 0px 195px 0px;
}
.about-right-content h1 {
    font-size: 35px;
}
.swiper-button-next, .swiper-button-prev {
    width: 45px !important;
    height: 45px !important;
}
.logo-section {
    padding-bottom: 40px;
    overflow: hidden;

}
}

@media (max-width: 768px) {
    .about-img-wrapper img {
        height: 350px;
    
    }
    .awards-small-grid {
        grid-template-columns: 1fr 1fr;
        gap:20px;
    }
    .award-card-small {
    border-radius: 20px;
    height: 85px;
}
     .testi-intro-text {
        font-size: 15px;
        line-height: 1.6;
        padding: 0 10px;
    }
    .card-img img {
    height: 300px;
}
   .ceo-card .column {
        padding: 0px 20px 20px 20px;
}
.why-choose-image img{
    height: 350px;
}
}
@media (max-width: 600px) {
     .about-img-wrapper img {
        height: 250px;
    
    }
   .awards-wrap {
    border-radius: 20px;
    padding: 25px;
}
.award-card-large img {
    max-width: 125px !important;
}
.award-card-large
 {
        height: 126px;
padding: 20px;
    }
       .card-img img {
    height: 250px;
}
.why-choose-image img{
    height: 250px;
}
.about-section {
    background: var(--bg-light);
    padding: 50px 0px 195px 0px;
}
.video-section {
    margin-top: -80px;
    padding-bottom:30px;
}
.about-section {
    background: var(--bg-light);
    padding: 30px 0px 120px 0px;
}
.about-right-content h1 {
    font-size: 28px;
}
.banner-swiper h2 {
    font-size: 28px;
    line-height: 1.3;
}
    .banner-slide {
height: 150px !important;
}
.hero-content p{
    display: none;
}
.hero-content span{
    display: none;
}
.hero-content {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
}
.swiper-button-next, .swiper-button-prev {
    width: 26px !important;
    height: 26px !important;
}
.swiper-button-next, .swiper-button-prev {
    top: var(--swiper-navigation-top-offset, 124px) !important;

}
.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 12px !important;
}
.logo-section {
    padding-bottom: 30px;
    overflow: hidden;
}
.stat-item {
    flex-direction: column;
    padding: 20px;
}
.stats-text {
    font-size: 14px;
    text-align: center;
}
.stats-number {
    font-size: 28px;
}
.logo-swiper .swiper-slide {
    padding: 10px;
    height: 70px;
}
.logo-swiper img {
    max-width: 60px;
    height: auto;
    object-fit: contain;
}

    /* Mobile Scrollable Tabs - Clean Layout */
    .tabs-nav-container {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        width: 100%;
        max-width: calc(100vw - 40px); /* Rigid constraint: Viewport - Container Padding */
        justify-content: flex-start;
        gap: 10px;
        -webkit-overflow-scrolling: touch;
        border: none;
        padding: 5px 0 15px 0;
        margin: 0;
        scrollbar-width:thin;
    }
    
    .tabs-nav-container::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        flex: 0 0 auto;
        white-space: nowrap;
        display: inline-block;
        max-width: none;
    }

    /* Mobile Border Radius Standardization (20px) */
    .hero-banner {
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        margin-top: 20px;
    }

    .logo-wrap {
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .service-card,
    .testimonial-card,
    .testi-video-thumb,
    .ceo-card,
    .awards-wrap,
    .award-card-large,
    .award-card-small,
    .tabs-nav-container,
    .tab-image,
    .about-img-wrapper img,
    .blog-card,
    .stat-item,
    .video-frame-wrapper iframe,
    .rounded-40,
    .ceo-image {
        border-radius: 20px !important;
    }
    .blog-content {
    padding: 20px;
}
.video-frame-wrapper {
    width: 100%;
    margin-bottom: 20px;
}
.testimoinal-nav{
    justify-content: center !important;
    margin-top: 30px !important;
}
}