/* Landing Page - Phase 3 Section */

.landing-phase3-section {
    padding: 0; /* Remove padding to allow full-width image at top */
    overflow: hidden; /* Clear floats */
}

.phase3-top-banner {
    width: 50%; /* Set width to 50% */
    float: right; /* Align to the right */
    /* Alternatively use margin-left: auto; if not using float */
}

.phase3-top-banner img {
    width: 100%;
    display: block;
}

/* Header Styles */
.phase3-header-wrapper {
    position: relative;
    padding: 40px 0;
    text-align: left; /* Changed to left align */
    overflow: hidden;
    clear: both; /* Ensure header clears the floated banner if needed, or adjust layout */
}

.phase3-decoration-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.phase3-decoration-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phase3-header {
    position: relative;
    z-index: 2;
}

.phase3-top-title {
    font-size: 1.8em;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
}

.phase3-main-title {
    font-size: 4em;
    font-weight: 800;
    text-transform: uppercase;
    background-image: linear-gradient(90deg, #2AADDF 0%, #282561 31.46%, #282561 52.61%, #282561 74.94%, #EF3E56 100%);
    display: inline;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.phase3-sub-title {
    font-family: 'Dancing Script', cursive;
    font-size: 2.2em;
    color: #007bff;
}

/* Full Width Image */
.phase3-full-image {
    margin-top: 50px;
}

.phase3-full-image img {
    width: 100%;
    border-radius: 15px;
}

/* Gallery */
.phase3-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Changed to 4 columns */
    gap: 15px;
    margin-top: 50px;
}

.phase3-gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 15px;
}

.phase3-gallery-item img {
    width: 100%;
    height: 300px; /* Fixed height as requested */
    object-fit: cover;
    transition: transform 0.3s ease;
}

.phase3-gallery-item:hover img {
    transform: scale(1.05);
}

/* Content (Text + Image) */
.phase3-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 80px;
}

.phase3-content-subtitle {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5em;
    color: #007bff;
    margin: 0;
}

.phase3-content-title {
    font-size: 2.8em;
    font-weight: 800;
    color: #0056b3;
    margin-top: 5px;
}

.phase3-content-desc {
    margin-top: 20px;
    color: #555;
    line-height: 1.7;
}

.phase3-content-image img {
    width: 100%;
    border-radius: 15px;
}

/* Utilities Section */
.phase3-utils-wrapper {
    margin-top: 80px;
}

.phase3-utils-header {
    text-align: left;
    margin-bottom: 30px;
}

.phase3-utils-subtitle {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5em;
    color: #007bff;
    margin: 0;
}

.phase3-utils-title {
    font-size: 2.8em;
    font-weight: 800;
    color: #0056b3;
    text-transform: uppercase;
    margin-top: 5px;
}

.phase3-utils-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.phase3-utils-image-item img {
    width: 100%;
    border-radius: 15px;
}

/* Slider Section */
.phase3-slider-wrapper {
    margin-top: 80px;
    padding: 0 50px; /* Add padding for arrows */
    position: relative; /* For absolute positioning of arrows */
}

.phase3-slide-item {
    padding: 0 15px; /* Space between slides */
}

.phase3-slide-item img {
    width: 100%;
    border-radius: 15px;
    height: 300px; /* Fixed height for slider images */
    object-fit: cover;
}

/* Slick Slider Customization */
.phase3-slider .slick-prev,
.phase3-slider .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px; /* Wider for horizontal rectangle */
    height: 40px; /* Shorter height */
    background-color: #007bff; /* Blue background */
    border: none; /* Remove border */
    border-radius: 5px; /* Slight rounded corners */
    color: #fff; /* White icon */
    font-size: 20px;
    display: flex !important; /* Force display flex to center icon */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Remove default Slick icon */
.phase3-slider .slick-prev::before,
.phase3-slider .slick-next::before {
    content: '' !important;
}

.phase3-slider .slick-prev:hover,
.phase3-slider .slick-next:hover {
    background-color: #0056b3; /* Darker blue on hover */
    color: #fff;
}

.phase3-slider .slick-prev {
    left: -30px; /* Position outside the slider content */
}

.phase3-slider .slick-next {
    right: -30px; /* Position outside the slider content */
}

/* Hide Slick Dots */
.phase3-slider .slick-dots {
    display: none !important;
}


/* Responsive */
@media (max-width: 992px) {
    .phase3-gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
}

@media (max-width: 768px) {
    .phase3-top-banner {
        width: 100%; /* Full width on mobile */
        float: none;
    }
    .phase3-header-wrapper {
        text-align: center; /* Center on mobile for better look */
        clear: both;
    }
    .phase3-main-title {
        font-size: 3em;
    }
    .phase3-content-wrapper {
        grid-template-columns: 1fr;
    }
    .phase3-content-image {
        order: -1; /* Move image to top on mobile */
        margin-bottom: 30px;
    }
    .phase3-gallery-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
    .phase3-utils-images {
        grid-template-columns: 1fr;
    }
    .phase3-utils-header {
        text-align: center;
    }
    .phase3-slider-wrapper {
        padding: 0 20px;
    }

    /* Adjust arrows on mobile */
    .phase3-slider .slick-prev { left: -10px; }
    .phase3-slider .slick-next { right: -10px; }
}
