/* Home Page Styles */

/* General Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Banner Slider Styles - Fullscreen */
.banner-slider-container.fullscreen {
    position: relative;
    width: 100%;
    height: 70vh; /* Reduced from 100vh */
    overflow: hidden;
    z-index: 10;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 1;
    display: none;
}

.slide.active {
    position: relative;
    opacity: 1;
    z-index: 2;
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover; /* Changed from 'auto' to 'cover' */
}

/* Lazy Loading Animation */
.lazy-load {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.lazy-load.loaded {
    opacity: 1;
}

/* Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: all 0.3s ease, opacity 0.4s ease;
    color: #1E3C72;
    opacity: 0;
    visibility: hidden;
}

.slider-arrow-left {
    left: 20px;
}

.slider-arrow-right {
    right: 20px;
}

.banner-slider-container:hover .slider-arrow {
    opacity: 1;
    visibility: visible;
}

.slider-arrow:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-50%) scale(1.1);
}

/* Slide Indicators */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: white;
    width: 14px;
    height: 14px;
}

/* General Section Styles */
.section {
    padding: 4rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-fluid {
    width: 100%;
    padding: 0 15px;
}

/* Typography */
.section-title {
    font-size: 2.5rem;
    color: #1E3C72;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.section-subtitle {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.section-subtitle.orange-text {
    color: #ff6b35;
}

.section-text {
    text-align: center;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* Welcome Section */
.welcome-section {
    background-color: #fff;
}

.logo-container {
    text-align: center;
    margin: 3rem 0;
}

.center-logo {
    max-width: 280px;
    
}

.button-container {
    text-align: center;
    margin: 2rem 0;
}

/* Core Dimensions Section */
.core-dimensions-section {
    background-color: #f8f9fa;
}

.infographic-container {
    text-align: center;
    margin: 3rem 0;
}

.box-width-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    /* Removed border and padding */
    background-color: transparent;
    box-sizing: border-box;
}

/* Featured Section */
.featured-section {
    background-color: #fff;
}

/* Video Grid Layouts */
.video-grid {
    display: grid;
    gap: 2rem;
    margin: 3rem 0;
}

.video-grid.two-column {
    grid-template-columns: 1fr 1fr;
}

.video-grid.three-column-plus-one {
    grid-template-columns: repeat(3, 1fr);
}

.video-grid.center-single {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 2rem auto;
}

.video-box {
    text-align: center;
}

.video-box.bordered {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    background-color: #fff;
}

.video-box.highlighted {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    background-color: #f9f9f9;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    margin-bottom: 1rem;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.video-title {
    color: #1E3C72;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
}

.video-designation,
.video-subtitle {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: center;
}

/* Partners Section */
.partners-section {
    background-color: #fff;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 4fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.partner-box {
    text-align: center;
}

.partner-box.bordered {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0;
    background-color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.partner-logo {
    width: 100%;
    
    object-fit: contain;
    margin: 0;
    display: block;
    border-radius: 8px 8px 0 0;
    background-color: #ffffff;
    padding: 0px;
    box-sizing: border-box;
}

.partner-description {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.6;
    text-align: center;
    flex-grow: 1;
    padding: 1rem;
}

/* Projects Section */
.projects-section {
    background-color: #f8f9fa;
}

.full-width-banner {
    width: 100%;
    margin: 3rem 0;
    text-align: center;
}

.full-width-banner img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.projects-grid.two-column-two-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.project-box {
    text-align: center;
}

.project-box.bordered {
    border: 1px solid #e0e0e0;
    border-radius: 0px;
    background-color: #fff;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-image {
    width: 100%;
    height: auto;
    min-height: 320px;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    margin: 0;
    margin-top: 0;
    display: block;
    background-color: #f8f9fa;
    padding: 0px;
    box-sizing: border-box;
}

.project-title {
    color: #1E3C72;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1rem;
    text-align: center;
}

.project-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: center;
    padding: 0 1rem 1.5rem;
    flex-grow: 1;
}

/* Custodians and Partner Testimonials Sections */
.custodians-section,
.partner-testimonials-section {
    background-color: #fff;
}

.custodians-section:nth-of-type(odd) {
    background-color: #f8f9fa;
}

/* News Section */
.news-section {
    background-color: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.news-item {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.news-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 1rem;
}

.news-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
}

.news-title a {
    color: #1E3C72;
    text-decoration: none;
}

.news-title a:hover {
    color: #2E5493;
}

.news-excerpt {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: center;
}

/* 3D Carousel Section */
.gallery-carousel-section {
    background-color: #f8f9fa;
    padding: 4rem 0;
}

.carousel-3d-container {
    position: relative;
    width: 100%;
    height: 400px;
    margin: 3rem 0;
    perspective: 1000px;
    overflow: hidden;
}

.carousel-3d-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-3d-slide {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.6s ease;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.carousel-3d-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Center slide (active) */
.carousel-3d-slide.active {
    z-index: 5;
    transform: translateX(0) scale(1);
    opacity: 1;
}

/* Left slides */
.carousel-3d-slide.left-1 {
    z-index: 4;
    transform: translateX(-320px) scale(0.8);
    opacity: 0.8;
}

.carousel-3d-slide.left-2 {
    z-index: 3;
    transform: translateX(-580px) scale(0.6);
    opacity: 0.6;
}

/* Right slides */
.carousel-3d-slide.right-1 {
    z-index: 4;
    transform: translateX(320px) scale(0.8);
    opacity: 0.8;
}

.carousel-3d-slide.right-2 {
    z-index: 3;
    transform: translateX(580px) scale(0.6);
    opacity: 0.6;
}

/* Hidden slides */
.carousel-3d-slide.hidden {
    opacity: 0;
    z-index: 1;
}

.carousel-3d-prev,
.carousel-3d-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    color: #1E3C72;
}

.carousel-3d-prev {
    left: 20px;
}

.carousel-3d-next {
    right: 20px;
}

.carousel-3d-prev:hover,
.carousel-3d-next:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #1E3C72;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
}

.btn:hover {
    background-color: #2E5493;
}

.btn-primary {
    background-color: #1E3C72;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .partner-logo {
        height: 160px;
        padding: 10px;
    }
}

@media (max-width: 992px) {
    .banner-slider-container.fullscreen {
        height: 60vh; /* Further reduced for tablets */
    }
    
    .section {
        padding: 3rem 0; /* Reduced padding for tablets */
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .video-grid.two-column,
    .projects-grid.two-column-two-row {
        grid-template-columns: 1fr;
    }
    
    .video-grid.three-column-plus-one {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partner-logo {
        height: 140px;
        padding: 10px;
    }
    
    .carousel-3d-slide {
        width: 250px;
        height: 250px;
    }
    
    .carousel-3d-slide.left-1 {
        transform: translateX(-270px) scale(0.8);
    }
    
    .carousel-3d-slide.right-1 {
        transform: translateX(270px) scale(0.8);
    }
    
    .carousel-3d-slide.left-2 {
        transform: translateX(-480px) scale(0.6);
    }
    
    .carousel-3d-slide.right-2 {
        transform: translateX(480px) scale(0.6);
    }
}

@media (max-width: 768px) {
    .banner-slider-container.fullscreen {
        height: 50vh; /* Significantly reduced for mobile */
    }
    
    .section {
        padding: 2rem 0; /* Further reduced padding for mobile */
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-text {
        padding: 0 15px;
        text-align: center;
    }
    
    .partners-grid,
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .partner-logo {
        height: 150px; /* Increased height for better mobile display */
        padding: 20px 10px; /* Better padding for mobile */
    }
    
    .news-image {
        height: 180px; /* Better height for mobile */
    }
    
    .carousel-3d-container {
        height: 300px;
    }
    
    .carousel-3d-slide {
        width: 200px;
        height: 200px;
    }
    
    .carousel-3d-slide.left-1 {
        transform: translateX(-220px) scale(0.7);
    }
    
    .carousel-3d-slide.right-1 {
        transform: translateX(220px) scale(0.7);
    }
    
    .carousel-3d-slide.left-2,
    .carousel-3d-slide.right-2 {
        opacity: 0;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
    
    .slider-arrow-left {
        left: 10px;
    }
    
    .slider-arrow-right {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .banner-slider-container.fullscreen {
        height: 40vh; /* More mobile-friendly height */
    }
    
    .container {
        padding: 0 10px;
    }
    
    .section {
        padding: 1.5rem 0; /* Minimal padding for small screens */
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-text {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    
    .partner-logo {
        height: 120px; /* Optimized for small screens */
        padding: 15px 5px;
    }
    
    .news-image {
        height: 150px;
    }
    
    .center-logo {
        max-width: 250px;
    }
    
    .slider-arrow {
        width: 36px;
        height: 36px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Additional fixes for better mobile experience */
@media (max-width: 360px) {
    .banner-slider-container.fullscreen {
        height: 35vh; /* Even smaller for very small screens */
    }
    
    .section-title {
        font-size: 1.3rem;
        padding: 0 10px;
    }
    
    .partner-logo {
        height: 100px;
        padding: 10px 5px;
    }
}



/* Add these missing CSS classes to your home.css file */

/* Enhanced Morph Dissolve Effect - MISSING IN YOUR FILES */
.slide-morph-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: none;
}

.slide-morph-container.active {
    display: block;
}

.morph-image-out,
.morph-image-in {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.morph-image-out {
    opacity: 1;
    filter: saturate(110%);
    transform: scale(1);
}

.morph-image-in {
    opacity: 0;
    filter: saturate(90%);
    transform: scale(1.03);
}

/* Morph transition active state */
.morph-transition .morph-image-out {
    opacity: 0;
    transform: scale(0.97);
}

.morph-transition .morph-image-in {
    opacity: 1;
    transform: scale(1);
}

/* Fix the banner container height issue */
.banner-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 1rem;
    z-index: 10;
    max-height: 80vh; /* Use max-height instead of fixed height */
}

/* Remove the fullscreen specific height that conflicts */
.banner-slider-container.fullscreen {
    height: auto; /* Change from fixed height to auto */
    max-height: 80vh; /* Use max-height for better responsiveness */
}

/* Ensure slide images maintain aspect ratio */
.slide img {
    width: 100%;
    height: auto; /* Change from 100% to auto */
    display: block;
    object-fit: cover;
    max-height: 80vh; /* Add max-height constraint */
}














/* SIP Partners Section - Mobile Optimized for Full Width Fit */
.partners-section {
    background-color: #fff;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
    gap: 1.5rem;
    margin: 3rem 0;
}

.partner-box {
    text-align: center;
}

.partner-box.bordered {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0;
    background-color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-box.bordered:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Default for desktop - maintain aspect ratio */
.partner-logo {
    width: 100%;
    height: auto;
    aspect-ratio: 272 / 180; /* Maintain exact 272:180 ratio */
    object-fit: contain; /* Show full image without cropping */
    object-position: center;
    margin: 0;
    padding: 0;
    display: block;
    border-radius: 8px 8px 0 0;
    background-color: #ffffff;
    box-sizing: border-box;
}

.partner-description {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.6;
    text-align: center;
    flex-grow: 1;
    padding: 1rem;
    display: flex;
    align-items: top;
    justify-content: center;
}

/* Large Desktop (1200px and above) - 4 columns */
@media (min-width: 1200px) {
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    .partner-logo {
        max-width: 272px; /* Don't exceed original width */
        margin: 0 auto; /* Center if container is larger */
    }
}

/* Desktop/Tablet Large (992px to 1199px) - 3 columns */
@media (max-width: 1199px) and (min-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .partner-logo {
        max-width: 100%;
    }
}

/* Tablet (768px to 991px) - 2 columns */
@media (max-width: 991px) and (min-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .partner-logo {
        max-width: 100%;
    }
    
    .partner-description {
        font-size: 0.9rem;
        padding: 1.25rem;
    }
}

/* Mobile Large (576px to 767px) - 2 columns, start expanding */
@media (max-width: 767px) and (min-width: 576px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .partner-logo {
        width: 100%; /* Full width of container */
        max-width: none; /* Remove max-width restriction */
        aspect-ratio: 272 / 180; /* Maintain aspect ratio while expanding */
    }
    
    .partner-description {
        font-size: 0.85rem;
        padding: 1rem;
    }
}

/* Mobile Small (480px to 575px) - 1 column, full width expansion */
@media (max-width: 575px) and (min-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .partner-logo {
        width: 100%; /* Full container width */
        max-width: none; /* No width restrictions */
        aspect-ratio: 272 / 180; /* Maintain aspect ratio */
        object-fit: contain; /* Ensure no cropping */
    }
    
    .partner-description {
        font-size: 0.9rem;
        padding: 1.25rem;
    }
    
    .partner-box.bordered {
        margin-bottom: 0.5rem;
    }
}

/* Ultra Small Mobile (below 480px) - Maximum expansion */
@media (max-width: 479px) {
    .container {
        padding: 0 10px; /* Reduce container padding for more width */
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin: 2rem 0; /* Reduce top/bottom margin */
    }
    
    .partner-logo {
        width: 100%; /* Use full available width */
        max-width: none; /* No restrictions */
        aspect-ratio: 272 / 180; /* Keep aspect ratio */
        object-fit: contain; /* No cropping */
        object-position: center;
    }
    
    .partner-description {
        font-size: 0.85rem;
        padding: 1rem;
        line-height: 1.5; /* Slightly tighter for mobile */
    }
    
    .partner-box.bordered {
        margin-bottom: 0.5rem;
        border-radius: 6px; /* Slightly smaller radius on very small screens */
    }
    
    /* Adjust section text for mobile */
    .section-text {
        font-size: 0.9rem;
        padding: 0 5px;
        line-height: 1.6;
    }
    
    .section-title {
        font-size: 1.5rem;
        padding: 0 5px;
    }
}

/* Extra small screens (below 360px) */
@media (max-width: 359px) {
    .container {
        padding: 0 5px; /* Minimal padding */
    }
    
    .partners-grid {
        gap: 0.5rem;
    }
    
    .partner-description {
        font-size: 0.8rem;
        padding: 0.75rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .section-text {
        font-size: 0.85rem;
    }
}

/* Alternative classes for special cases */
.partner-logo.with-padding {
    padding: 10px;
    box-sizing: border-box;
}

.partner-logo.with-background {
    background-color: #f8f9fa;
    padding: 15px;
    box-sizing: border-box;
}

/* Ensure smooth transitions between breakpoints */
.partner-logo {
    transition: all 0.3s ease;
}

/* Handle very wide screens */
@media (min-width: 1400px) {
    .partners-grid {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}




/* Moments That Matter: GBS Glimpses Section */
.gbs-glimpses-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.gbs-glimpses-title {
    font-size: 2rem;
    font-weight: 600;
    color: #1E3C72;
    text-align: center;
    margin-bottom: 1.5rem;
}

.gbs-glimpses-description {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
    line-height: 1.6;
    color: #4b5563;
    font-size: 1.05rem;
}

/* Carousel Container */
.gbs-carousel-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    margin: 0 auto;
    perspective: 1000px;
}

.gbs-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-item {
    position: absolute;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.carousel-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Center item (active) - Position 0 */
.carousel-item.active {
    width: 500px;
    z-index: 10;
    transform: translateX(0) scale(1) rotateY(0deg);
    opacity: 1;
}

/* Adjacent left - Position -1 */
.carousel-item.adjacent-left {
    width: 400px;
    height: 400px;
    z-index: 8;
    transform: translateX(-320px) scale(0.9) rotateY(8deg);
    opacity: 0.9;
}

/* Adjacent right - Position +1 */
.carousel-item.adjacent-right {
    width: 400px;
    height: 400px;
    z-index: 8;
    transform: translateX(320px) scale(0.9) rotateY(-8deg);
    opacity: 0.9;
}

/* Far left - Position -2 */
.carousel-item.far-left {
    width: 320px;
    height: 320px;
    z-index: 6;
    transform: translateX(-580px) scale(0.8) rotateY(15deg);
    opacity: 0.8;
}

/* Far right - Position +2 */
.carousel-item.far-right {
    width: 320px;
    height: 320px;
    z-index: 6;
    transform: translateX(580px) scale(0.8) rotateY(-15deg);
    opacity: 0.8;
}

/* Hidden items */
.carousel-item.hidden {
    opacity: 0;
    transform: translateX(-800px) scale(0.6) rotateY(25deg);
    z-index: 1;
}

/* Hover effects */
.carousel-item:hover img {
    transform: scale(1.05);
}

.carousel-item.active:hover img {
    transform: scale(1.02);
}

/* Navigation Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: all 0.3s ease;
    color: #1E3C72;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-nav:hover {
    background-color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.carousel-nav-left {
    left: 20px;
}

.carousel-nav-right {
    right: 20px;
}

/* Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: white;
    width: 14px;
    height: 14px;
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Button Styles */
.btn {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    border: none;
}

.btn-light {
    background-color: #e0e0e0;
    color: #333;
}

.btn-light:hover {
    background-color: #d0d0d0;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .gbs-carousel-container {
        height: 500px;
    }
    
    .carousel-item {
        height: 400px;
    }
    
    .carousel-item.active {
        width: 450px;
    }
    
    .carousel-item.adjacent-left,
    .carousel-item.adjacent-right {
        width: 350px;
        height: 320px;
        transform: translateX(-290px) scale(0.9) rotateY(8deg);
    }
    
    .carousel-item.adjacent-right {
        transform: translateX(290px) scale(0.9) rotateY(-8deg);
    }
    
    .carousel-item.far-left {
        width: 280px;
        height: 280px;
        transform: translateX(-520px) scale(0.8) rotateY(15deg);
    }
    
    .carousel-item.far-right {
        width: 280px;
        height: 280px;
        transform: translateX(520px) scale(0.8) rotateY(-15deg);
    }
}

@media (max-width: 768px) {
    .gbs-glimpses-section {
        padding: 3rem 0;
    }
    
    .gbs-glimpses-title {
        font-size: 1.75rem;
        padding: 0 1rem;
    }
    
    .gbs-glimpses-description {
        padding: 0 1rem;
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .gbs-carousel-container {
        height: 400px;
    }
    
    .carousel-item {
        height: 300px;
    }
    
    .carousel-item.active {
        width: 350px;
    }
    
    .carousel-item.adjacent-left,
    .carousel-item.adjacent-right {
        width: 280px;
        height: 240px;
        transform: translateX(-230px) scale(0.85) rotateY(5deg);
    }
    
    .carousel-item.adjacent-right {
        transform: translateX(230px) scale(0.85) rotateY(-5deg);
    }
    
    .carousel-item.far-left,
    .carousel-item.far-right {
        width: 220px;
        height: 180px;
        transform: translateX(-420px) scale(0.75) rotateY(10deg);
    }
    
    .carousel-item.far-right {
        transform: translateX(420px) scale(0.75) rotateY(-10deg);
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
    }
    
    .carousel-nav-left {
        left: 10px;
    }
    
    .carousel-nav-right {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .gbs-glimpses-section {
        padding: 2.5rem 0;
    }
    
    .gbs-glimpses-title {
        font-size: 1.5rem;
    }
    
    .gbs-glimpses-description {
        font-size: 0.95rem;
    }
    
    .gbs-carousel-container {
        height: 350px;
    }
    
    .carousel-item {
        height: 250px;
    }
    
    .carousel-item.active {
        width: 300px;
    }
    
    .carousel-item.adjacent-left,
    .carousel-item.adjacent-right {
        width: 240px;
        height: 200px;
        transform: translateX(-200px) scale(0.8) rotateY(3deg);
    }
    
    .carousel-item.adjacent-right {
        transform: translateX(200px) scale(0.8) rotateY(-3deg);
    }
    
    .carousel-item.far-left,
    .carousel-item.far-right {
        width: 180px;
        height: 150px;
        transform: translateX(-350px) scale(0.7) rotateY(8deg);
    }
    
    .carousel-item.far-right {
        transform: translateX(350px) scale(0.7) rotateY(-8deg);
    }
}



/* Core Dimensions Infographic - Responsive Images */
.mobile-infographic {
    display: none; /* Hide mobile image by default */
}

.desktop-infographic {
    display: block; /* Show desktop image by default */
}

/* On screens 768px or less, switch the images */
@media (max-width: 768px) {
    .desktop-infographic {
        display: none; /* Hide the desktop image */
    }

    .mobile-infographic {
        display: block; /* Show the mobile image */
    }
}