.gateway-slider-container {
    position: relative;
    width: 100%;
    height: 830px;
    max-height: 830px;
    overflow: hidden;
    background: #1a1a1a;
}

/* Background Image Layer - Full Screen */
.gateway-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 0;
}

.gateway-slide.active .gateway-bg-image {
    opacity: 1;
}

/* Dark Overlay - Unified Gray - Full Screen */
.gateway-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

/* Background Texture - Full Screen */
.gateway-bg-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 35%, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 75% 65%, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 65px 65px, 95px 95px;
    pointer-events: none;
    z-index: 2;
}

/* Slide - Full Screen */
.gateway-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.gateway-slide.active {
    opacity: 1;
    pointer-events: auto;
}

/* Main Wrapper with constraints - Only for content */
.gateway-slider-wrapper {
    position: relative;
    max-width: 1200px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 160px 40px 80px 40px;
    display: flex;
    align-items: center;
    z-index: 10;
}

/* Left Content Area - Exactly 50% */
.gateway-content-area {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-right: 60px;
}

.gateway-content-wrapper {
    width: 100%;
    position: relative;
}

/* Keywords - H6 - Use theme font, ensure white text is readable */
.gateway-slide-keywords {
    font-weight: 600;
    letter-spacing: 3px;
    color: #ffffff !important;
    margin-bottom: 20px;
    transform: translateX(120px);
    opacity: 0;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.gateway-slide.active .gateway-slide-keywords {
    animation: gatewaySlideInFromRight 0.75s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

/* Main Title - H1 - Use theme font, ensure white text is readable */
.gateway-slide-title {
    font-weight: 700 !important;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #ffffff !important;
    transform: translateX(120px);
    opacity: 0;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.gateway-slide.active .gateway-slide-title {
    animation: gatewaySlideInFromRight 0.75s cubic-bezier(0.165, 0.84, 0.44, 1) 0.06s forwards;
}

/* Fixed layout container */
.gateway-fixed-layout {
    position: relative;
    width: 100%;
    display: block;
    transform: translateX(120px);
    opacity: 0;
}

.gateway-slide.active .gateway-fixed-layout {
    animation: gatewaySlideInFromRight 0.75s cubic-bezier(0.165, 0.84, 0.44, 1) 0.12s forwards;
}

/* Details Card - REMOVED - Now just plain text container */
.gateway-slide-description {
    width: 100%;
    background: transparent;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    border: none;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: relative;
}

/* Details Text - P tag - Plain white text */
.gateway-slide-text {
    line-height: 1.8;
    color: #ffffff !important;
    margin: 0 0 28px 0;
    padding: 0;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* CTA Button */
.gateway-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 42px;
    background: #1b60aa;
    color: white !important;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(27, 96, 170, 0.3);
    align-self: flex-start;
    border: none;
}

.gateway-cta-button:hover {
    background: #262474;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(38, 36, 116, 0.4);
    color: white !important;
    text-decoration: none;
}

/* Right Image Area - Exactly 50% */
.gateway-image-area {
    width: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* Color Block - Wider than circle image, extends on both sides */
.gateway-color-block {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 280px;
    border-radius: 30px;
    transform: translateX(180px) translateY(-50%);
    opacity: 0;
}

.gateway-slide.active .gateway-color-block {
    animation: gatewaySlideInColorBlock 0.75s cubic-bezier(0.165, 0.84, 0.44, 1) 0.08s forwards;
}

@keyframes gatewaySlideInColorBlock {
    to {
        transform: translateX(0) translateY(-50%);
        opacity: 1;
    }
}

/* Gateway College Theme Colors for Color Blocks */
.gateway-slide[data-slide="1"] .gateway-color-block {
    background: linear-gradient(135deg, #262474 0%, #1b60aa 100%);
}

.gateway-slide[data-slide="2"] .gateway-color-block {
    background: linear-gradient(135deg, #1b60aa 0%, #24906b 100%);
}

.gateway-slide[data-slide="3"] .gateway-color-block {
    background: linear-gradient(135deg, #24906b 0%, #6db460 100%);
}

.gateway-slide[data-slide="4"] .gateway-color-block {
    background: linear-gradient(135deg, #6db460 0%, #262474 100%);
}

.gateway-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gateway-slide-image {
    position: relative;
    width: 420px;
    height: 420px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    z-index: 15;
    transform: translateX(200px) scale(0.7);
    opacity: 0;
}

.gateway-slide.active .gateway-slide-image {
    animation: gatewaySlideInImage 0.85s cubic-bezier(0.165, 0.84, 0.44, 1) 0.15s forwards;
}

@keyframes gatewaySlideInImage {
    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

/* Dot Pagination */
.gateway-dot-pagination {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 100;
}

.gateway-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #bbb;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 1px;
    border-color: #F5f5f5;
    border-style: solid;
}

.gateway-dot.active {
    background: #262474;
    transform: scale(1.4);
}

.gateway-dot:hover {
    background: #1b60aa;
}

/* Animations */
@keyframes gatewaySlideInFromRight {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .gateway-slider-container {
    }

    .gateway-slider-wrapper {
        padding: 110px 30px 60px 30px;
        flex-direction: column;
    }

    .gateway-content-area {
        width: 100%;
        padding-right: 0;
        padding-bottom: 30px;
    }

    .gateway-image-area {
        width: 100%;
        height: 400px;
        min-height: 300px;
    }

    .gateway-color-block {
        width: 100%;
        height: 60%;
        top: 20%;
        left: 0;
        border-radius: 25px;
    }

    .gateway-slide.active .gateway-color-block {
        animation: gatewaySlideInColorBlockMobile 0.75s cubic-bezier(0.165, 0.84, 0.44, 1) 0.08s forwards;
    }

    @keyframes gatewaySlideInColorBlockMobile {
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }

    .gateway-slide-image {
        width: 320px;
        height: 320px;
    }

    .gateway-dot-pagination {
        bottom: 15px;
    }
}

@media (max-width: 640px) {
    .gateway-slider-container {
    }

    .gateway-slider-wrapper {
        padding: 90px 20px 40px 20px;
    }

    .gateway-cta-button {
        padding: 14px 36px;
        font-size: 14px;
    }

    .gateway-slide-image {
        width: 260px;
        height: 260px;
    }

    .gateway-color-block {
        border-radius: 20px;
    }
}

/* iOS Safari */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 1024px) {
        .gateway-slider-container {
        }
        
        .gateway-slider-wrapper {
            padding-top: 130px !important; /* iOS needs more space */
            padding-bottom: 80px;
        }
        
        .gateway-content-area {
            padding-top: 0;
        }
    }
    
    @media (max-width: 640px) {
        .gateway-slider-wrapper {
            padding-top: 120px !important;
            padding-bottom: 60px;
        }
    }
}