body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;  /* Stack header, main, and footer vertically */
    min-height: 100vh;  /* Ensure the body takes up at least the full height */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}


/* ===============================
   Header Section
   =============================== */

/* Header Section */
header {
    background: #80a2bb;
    color: white;
    padding: 10px;
    display: flex;
    align-items: center;
}

header img {
    height: 65px;
    margin-right: 15px;
}

header h1 {
    margin: 0;
    font-size: 1.5rem;
}

nav {
    margin-left: auto;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-size: 1rem;
}

nav a:hover {
    text-decoration: underline;
}


/* =============================== 
   Sidebar Section (Small Screens) 
   =============================== */

/* Sidebar Menu (hidden by default) for small screens */
.sidebar {
    position: fixed;
    top: 0;
    left: -100%; /* Initially off-screen to the left */
    width: 250px; /* Fixed width of sidebar */
    height: 100vh; /* Full height */
    background: #80a2bb;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    transition: left 0.3s ease, opacity 0.3s ease; /* Smooth transition for sliding in */
    z-index: 9999;
    opacity: 0; /* Initially hidden */
}

/* Sidebar links */
.sidebar a {
    margin: 15px 0;
    font-size: 1.2rem;
    display: block;
    color: white;
    text-decoration: none;
}

/* Remove hover effect on sidebar links */
.sidebar a:hover {
    background: none; /* No background change on hover */
    color: white; /* Ensure text color remains white */
}

/* Show sidebar when toggled on small screens */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Display the toggle button */
        background: none; /* Remove any background on button hover */
        border: none; /* Remove border */
        color: inherit; /* Keep the button text color the same */
        cursor: pointer; /* Change cursor to pointer */
    }

    /* Remove hover effect on the button */
    .menu-toggle:hover {
        background: none;
        color: inherit; /* No color change on hover */
    }

    .sidebar {
        display: flex; /* Sidebar should be flex layout */
    }

    /* Slide the sidebar in from the left and make it visible */
    .sidebar.active {
        left: 0; /* Sidebar slides into view from the left */
        opacity: 1; /* Make it visible */
    }
}

/* Larger screens (Hide sidebar toggle button) */
@media (min-width: 769px) {
    .menu-toggle {
        display: none; /* Hide toggle button on larger screens */
    }

    .sidebar {
        display: none; /* Sidebar is not needed on larger screens */
    }
}


.banner {
    position: relative;
    height: 600px; /* Adjust based on your image size */
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ===============================
   Main Section
   =============================== */

/* Main container overlaying the banner */
.main-overlay {
    position: absolute;
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust for centering */
    z-index: 2; /* Ensure it appears above the banner */
    width: 90%; /* Responsive width */
    background: rgba(255, 255, 255, 0.8); /* Slightly transparent background */
    padding: 20px; /* Add padding for spacing */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Add shadow for better visibility */
    text-align: center; /* Center-align text */
}

.main-overlay h2 {
    font-size: 2.5rem;
    color: #333;
}

.main-overlay p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-overlay h2 {
        font-size: 2rem;
    }

    .main-overlay p {
        font-size: 1rem;
    }
}

/* ===============================
   Company Info Section
   =============================== */

/* Company Info Section - Cards Layout */
.company-info-section {
    display: grid; /* Use CSS Grid for more flexibility */
    grid-template-columns: repeat(4, 1fr); /* 4 columns per row by default */
    gap: 30px; /* Spacing between cards */
    background: #f4f4f4;
    padding: 20px 5%; /* Use percentage for consistent padding */
}

/* Ensure responsive design for smaller screen sizes */
.company-info-card {
    padding: 20px;
    margin: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 250px; /* Prevent cards from shrinking too much */
}

.company-info-card h3 {
    font-size: 1.8rem; /* Relative sizing for headings */
    color: #333;
    margin: 10px 0;
}

.company-info-card p {
    font-size: 1.2rem;
    color: #555;
}

/* Responsive Layout for Tablets and Smaller Screens */
@media (max-width: 1024px) {
    .company-info-section {
        grid-template-columns: repeat(2, 1fr); /* 2 columns per row for medium screens (tablets) */
    }
}

/* Responsive Layout for Mobile Screens */
@media (max-width: 768px) {
    .company-info-section {
        grid-template-columns: 1fr; /* 1 column per row for mobile screens */
    }
    .company-info-card h3 {
        font-size: 1.5rem; /* Slightly smaller heading for mobile */
    }
    .company-info-card p {
        font-size: 1rem; /* Adjust paragraph font size */
    }
}

/* ===============================
   Learn more Section
   =============================== */
/* General Section */
.additional-info {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fc 0%, #ffffff 100%);
    position: relative;
}

/* Block Styling */
.info-content {
    margin-bottom: 120px;
    padding-top: 50px;
    padding-bottom: 50px;
    position: relative;
}
.info-content:last-child {
    margin-bottom: 0;
}

/* Text Styling */
.info-details {
    padding: 20px 30px;
    position: relative;
}
.info-details h3 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1d3557;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
}
.info-details h3::after {
    content: "";
    width: 70px;
    height: 4px;
    background: linear-gradient(to right, #457b9d, #1d3557);
    position: absolute;
    left: 0;
    bottom: -10px;
    border-radius: 2px;
    transition: width 0.4s ease;
}
.info-details h3:hover::after {
    width: 100%;
}
.info-details p {
    font-size: 1.2rem;
    color: #444;
    line-height: 1.9;
    margin-bottom: 20px;
    font-weight: 400;
}

/* Points List */
.info-details ul {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 25px;
    padding-left: 20px;
    list-style: none;
}
.info-details ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}
.info-details ul li::before {
    content: "✔";
    color: #457b9d;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* Button Styling */
.learn-more-btn {
    background: linear-gradient(135deg, #457b9d, #1d3557);
    color: #fff;
    padding: 14px 36px;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 4px 20px rgba(69,123,157,0.3);
    text-transform: uppercase;
}
.learn-more-btn:hover {
    background: linear-gradient(135deg, #1d3557, #0b1b2b);
    box-shadow: 0 8px 25px rgba(29,53,87,0.5);
    transform: translateY(-3px) scale(1.03);
}

/* Image Styling */
.info-image {
    display: flex;
    justify-content: center;
    align-items: center;
}
.info-image img {
    width: 100% !important;
    height: auto;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    border-radius: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .info-details h3 {
        font-size: 2rem;
        text-align: center;
    }
    .info-details p, .info-details ul {
        text-align: center;
        font-size: 1rem;
    }
    .learn-more-btn {
        display: block;
        margin: 0 auto;
    }
    .info-image {
        margin-bottom: 20px;
        padding: 10px 15px;
    }
    .info-content {
        margin-bottom: 80px;
        padding-top: 30px;
        padding-bottom: 30px;
    }
}


.image-slider img {
    object-fit: cover;
    filter: brightness(120%) contrast(110%);
    transition: transform 0.5s ease, filter 0.5s ease;
    border-radius: 10px; /* optional: add soft corners */
}

.image-slider img:hover {
    transform: scale(1.05);
    filter: brightness(100%);
}

/* Optional: make carousel indicators more visible */
.carousel-indicators button {
    background-color: #fff;
    opacity: 0.8;
}

.carousel-indicators .active {
    background-color: #ff6f61;
    opacity: 1;
}



/* Footer Section */
footer {
    background: #0c0b36; /* Footer background color */
    color: white;
    width: 100%;
}

.footer-content {
    max-width: 1200px; /* Ensures the footer content doesn't stretch too wide */
    margin: 0 auto;
    text-align: center; /* Center content inside the footer */
}

.footer-section h3 {
    font-size: 1.5rem; /* Adjusted for readability */
    color: #fff;
    margin-bottom: 15px;
    font-weight: bold;
}

.footer-section h5 {

    font-size: 1.1rem;
}


.footer-section .footer-title {
    font-weight: bold; /* Extra specificity in case */
}


.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem; /* Adjusted font size */
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

.footer-section p, 
.footer-section h4 {
    font-size: 1rem; /* Adjusted paragraph and heading font size */
    line-height: 1.5; /* Improved readability */
}

.footer-bottom {
    background-color: #0c0b36; /* Footer bottom background color */
    padding: 10px 0;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem; /* Slightly smaller for bottom text */
}

/* Responsive Design for Tablet and Mobile */
@media (max-width: 768px) {
    .footer-content {
        text-align: center; /* Center content for smaller screens */
    }

    .footer-section {
        margin-bottom: 20px; /* Spacing for footer sections on smaller screens */
    }

    .footer-section h3 {
        font-size: 1.2rem; /* Adjust font size for smaller screens */
    }

    .footer-section p, 
    .footer-section h4 {
        font-size: 0.9rem; /* Adjust font size for smaller screens */
    }

    .footer-bottom p {
        font-size: 0.8rem; /* Adjust bottom text size */
    }
}

/* Ensure Office Address Responsive Layout */
@media (min-width: 992px) {
    .footer-section .row > div {
        display: inline-block; /* Side-by-side on large screens */
        vertical-align: top;
        width: 48%; /* Allow some space between columns */
    }

    .footer-section .row > div:first-child {
        margin-right: 2%; /* Add space between corporate and factory */
    }
}

@media (max-width: 768px) {
    .footer-section .row {
        display: block; /* Stacked vertically on smaller screens */
    }
}


/* ===============================
   About Us Section
   =============================== */

/* About Us Banner */ 
.about-us-banner
 {
background: linear-gradient(to right, #032549, #467097); 
color: white; padding: 50px 20px; 
text-align: center; 
} 

.about-us-banner h1 
{ 
font-size: 2.5rem; 
text-transform: uppercase; 
} 

.about-us-banner p 

{ 
font-size: 1.2rem; 
}

/* About Us Content */
.about-us-content {
    background-color: #ffffff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-radius: 16px;
    padding: 60px 50px;
    line-height: 1.9;
    color: #444;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-us-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.18);
}

/* Experience Section */
.experience-section {
    padding: 50px 20px;
}

.experience-section .experience-text h2 {
    color: #0056b3;
    font-weight: 700;
    margin-bottom: 20px;
}

.experience-section .experience-text p {
    color: #555;
    font-size: 1.1rem;
}

.experience-image img.experience-img {
    border-radius: 16px;
    transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.experience-image img.experience-img:hover {
    transform: scale(1.08) rotate(1deg);
    box-shadow: 0 18px 28px rgba(0,0,0,0.25);
}

/* Why PDMS Section */
.why-pdms h2 {
    color: #0056b3;
    font-weight: 700;
    margin-bottom: 40px;
}

.feature-card {
    background: linear-gradient(to bottom, #ffffff, #f5f8ff);
    padding: 30px 25px;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.12);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,86,179,0.1), transparent 70%);
    transform: scale(0);
    transition: transform 0.5s ease;
    z-index: 0;
}

.feature-card:hover::before {
    transform: scale(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.18);
}

.feature-card h4 {
    color: #032549;
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: #555;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Vision & Mission */
.vision, .mission {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.12);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vision:hover, .mission:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.18);
}

.vision h3, .mission h3 {
    color: #0056b3;
    font-weight: 700;
    margin-bottom: 15px;
}

.vision p, .mission p {
    line-height: 1.8;
    color: #555;
}

/* Simple Fade Animations */
@keyframes fadeInDown {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}

@keyframes fadeInUp {
    from {opacity: 0; transform: translateY(20px);}
    to {opacity: 1; transform: translateY(0);}
}

/* Responsive */
@media (max-width: 768px) {
    .experience-section .row {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .about-us-banner h1 {
        font-size: 2.2rem;
    }
    .about-us-banner p {
        font-size: 1rem;
    }
    .about-us-content,
    .feature-card,
    .vision,
    .mission {
        padding: 20px;
    }
}

/* ===============================
   Contact Us Section
   =============================== */


/* Contact Us Banner */
.contact-banner {
    background: linear-gradient(to right, #032549, #467097);
    color: white;
    padding: 50px 20px;
}

.contact-banner h1 {
    font-size: 2.5rem;
    text-transform: uppercase;
}

.contact-banner p {
    font-size: 1.2rem;
}

/* Map Link */
.map-link {
    text-decoration: none;
}

.map-link:hover {
    text-decoration: underline;
}

/* Box Shadow for Cards */
.contact-details, .contact-map {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Ensure iframe responsiveness */
iframe {
    border-radius: 8px;
    display: block;
}

@media (max-width: 576px) {
    .contact-banner h1 {
        font-size: 1.8rem;
    }

    .contact-banner p {
        font-size: 1rem;
    }
}



/* ===============================
   Services Section
   =============================== */


/* Banner Section */
.services-banner {
    background: linear-gradient(to right, #032549, #467097);
    color: white;
    text-align: center;
    padding: 50px 20px;
}

.services-banner h1 {
    font-size: 2.5rem;
}

.services-banner p {
    font-size: 1.2rem;
}

/* Service Cards */
.service {
    transition: all 0.4s ease;
    border: 1px solid #eee;
}
.service:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.service h2 {
    font-size: 1.4rem;
    color: #194c83;
    margin-bottom: 12px;
}
.service p {
    font-size: 0.95rem;
    color: #555;
}

/* Icons */
.service .icon i {
    transition: transform 0.3s ease;
}
.service:hover .icon i {
    transform: rotate(8deg) scale(1.1);
}

@media (max-width: 768px) {
    .services-banner h1 { font-size: 2rem; }
    .services-banner p { font-size: 1rem; }
}

/* Clickable card */
.clickable-card {
    cursor: pointer;
    transition: all 0.4s ease;
    border: 1px solid #eee;
}

/* Hover effect khusus untuk clickable card */
.clickable-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    border: 2px solid #194c83;   /* highlight border */
    background: linear-gradient(135deg, #f8faff, #ffffff); /* subtle glow */
}

/* Extra: icon animasi lebih jelas bila hover */
.clickable-card:hover .icon i {
    color: #194c83;
    transform: scale(1.2) rotate(10deg);
}




/* ===============================
   Banner Section
   =============================== */
   .facilities-banner {
    background: linear-gradient(to right, #032549, #467097); /* Gradient background */
    color: white;
    text-align: center;
    padding: 50px 20px;
}

.facilities-banner h1 {
    font-size: 2.5rem; /* Adjust font size for better responsiveness */
}

.facilities-banner p {
    font-size: 1.2rem; /* Adjust font size for better responsiveness */
}

@media (max-width: 576px) {
    .facilities-banner h1 {
        font-size: 1.8rem;
    }

    .facilities-banner p {
        font-size: 1rem;
    }
}


/* ===============================
   VIRIDEA PAGE SPECIFIC CSS
================================= */
.viridea-page {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #f9f9f9;
}

/* -------------------------------
   Section Padding
--------------------------------- */
.viridea-page .viridea {
    padding: 50px 20px;
}

.viridea-page .viridea-info {
    padding-right: 20px;
    text-align: justify;
    font-size: 1.2rem;
}

.viridea-page .viridea-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transition: transform 0.3s ease;
}

.viridea-page .viridea-image img:hover {
    transform: scale(1.05);
}

/* -------------------------------
   Facilities Section
--------------------------------- */
.viridea-page .facilities {
    padding: 40px 20px;
    text-align: center;
}

.viridea-page .facilities h2 {
    color: #194c83;
    font-size: 2rem;
    margin-bottom: 15px;
}

.viridea-page .facility-images {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.viridea-page .facility-image {
    width: 23%;
    margin-top: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.viridea-page .facility-image:hover {
    transform: scale(1.05);
}

.viridea-page .facility-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.viridea-page .facility-image h3 {
    margin-top: 10px;
    font-size: 1.1rem;
    color: #194c83;
    font-weight: 600;
    text-transform: uppercase;
}

/* Responsive Facilities */
@media (max-width: 1200px) {
    .viridea-page .facility-image { width: 48%; }
}
@media (max-width: 767px) {
    .viridea-page .facility-image { width: 80%; }
}

/* -------------------------------
   Packages / Cards Section
--------------------------------- */
.viridea-page .viridea-card {
    border: 2px solid #244d79;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    background-color: #eaedf0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.viridea-page .viridea-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.18);
}

.viridea-page .viridea-card .card-title {
    font-size: 1.5rem;
    color: #335b86;
    margin-bottom: 1rem;
    text-align: center;
}

.viridea-page .viridea-card ul {
    list-style: none;
    padding: 0;
}

.viridea-page .viridea-card ul li {
    margin: 0.5rem 0;
    font-size: 1rem;
    color: #333;
    padding-left: 20px;
    position: relative;
}

.viridea-page .viridea-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2d51c7;
    font-weight: bold;
}

/* Responsive Cards */
@media (max-width: 992px) {
    .viridea-page .viridea-card .card-title { font-size: 1.4rem; }
    .viridea-page .viridea-card ul li { font-size: 1.1rem; }
}
@media (max-width: 768px) {
    .viridea-page .viridea-card { padding: 1rem; }
    .viridea-page .viridea-card .card-title { font-size: 1.5rem; }
    .viridea-page .viridea-card ul li { font-size: 1.1rem; }
}
@media (max-width: 576px) {
    .viridea-page .viridea-card .card-title { font-size: 1.6rem; }
    .viridea-page .viridea-card ul li { font-size: 1.2rem; }
}

/* -------------------------------
   Carousel / Slider
--------------------------------- */
.viridea-page .hostel-slider img {
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.viridea-page .hostel-slider img:hover {
    transform: scale(1.03);
}

.viridea-page .hostel-slider h2 {
    color: #194c83;
    font-size: 2rem;
    margin-bottom: 25px;
}

.viridea-page .carousel-control-prev-icon,
.viridea-page .carousel-control-next-icon {
    background-color: rgba(25,76,131,0.8);
    border-radius: 50%;
    padding: 10px;
}


/* ===============================
   ION3 PAGE SPECIFIC CSS
================================= */
.ion3-page {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #f9f9f9;
}

/* -------------------------------
   Section Padding
--------------------------------- */
.ion3-page .ion3 {
    padding: 50px 20px;
}

.ion3-page .ion3-info {
    padding-right: 20px;
    text-align: justify;
    font-size: 1.2rem;
}

.ion3-page .ion3-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transition: transform 0.3s ease;
}

.ion3-page .ion3-image img:hover {
    transform: scale(1.05);
}

/* -------------------------------
   Facilities Section
--------------------------------- */
.ion3-page .facilities {
    padding: 40px 20px;
    text-align: center;
}

.ion3-page .facilities h2 {
    color: #194c83;
    font-size: 2rem;
    margin-bottom: 15px;
}

.ion3-page .facility-images {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.ion3-page .facility-image {
    width: 23%;
    margin-top: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.ion3-page .facility-image:hover {
    transform: scale(1.05);
}

.ion3-page .facility-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.ion3-page .facility-image h3 {
    margin-top: 10px;
    font-size: 1.1rem;
    color: #194c83;
    font-weight: 600;
    text-transform: uppercase;
}

/* Responsive Facilities */
@media (max-width: 1200px) {
    .ion3-page .facility-image { width: 48%; }
}
@media (max-width: 767px) {
    .ion3-page .facility-image { width: 80%; }
}

/* -------------------------------
   Info / Cards Section
--------------------------------- */
.ion3-page .ion3-card {
    border: 2px solid #244d79;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    background-color: #eaedf0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    padding: 1rem;
}

.ion3-page .ion3-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.18);
}

.ion3-page .ion3-card .card-title {
    font-size: 1.5rem;
    color: #335b86;
    margin-bottom: 1rem;
    text-align: center;
}

.ion3-page .ion3-card ul {
    list-style: none;
    padding: 0;
}

.ion3-page .ion3-card ul li {
    margin: 0.5rem 0;
    font-size: 1rem;
    color: #333;
    padding-left: 20px;
    position: relative;
}

.ion3-page .ion3-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff7a00;
    font-weight: bold;
}

/* Responsive Cards */
@media (max-width: 992px) {
    .ion3-page .ion3-card .card-title { font-size: 1.4rem; }
    .ion3-page .ion3-card ul li { font-size: 1.1rem; }
}
@media (max-width: 768px) {
    .ion3-page .ion3-card { padding: 1rem; }
    .ion3-page .ion3-card .card-title { font-size: 1.5rem; }
    .ion3-page .ion3-card ul li { font-size: 1.1rem; }
}
@media (max-width: 576px) {
    .ion3-page .ion3-card .card-title { font-size: 1.6rem; }
    .ion3-page .ion3-card ul li { font-size: 1.2rem; }
}

/* -------------------------------
   Carousel / Slider
--------------------------------- */
.ion3-page .hostel-slider img {
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.ion3-page .hostel-slider img:hover {
    transform: scale(1.03);
}

.ion3-page .hostel-slider h2 {
    color: #194c83;
    font-size: 2rem;
    margin-bottom: 25px;
}

.ion3-page .carousel-control-prev-icon,
.ion3-page .carousel-control-next-icon {
    background-color: rgba(25,76,131,0.8);
    border-radius: 50%;
    padding: 10px;
}


/* ===============================
   MVERTICA PAGE SPECIFIC CSS
================================= */
.mvertica-page {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #f9f9f9;
}

/* -------------------------------
   Section Padding
--------------------------------- */
.mvertica-page .m-vertica {
    padding: 50px 20px;
}

.mvertica-page .m-vertica-info {
    padding-right: 20px;
    text-align: justify;
    font-size: 1.2rem;
}

.mvertica-page .m-vertica-section-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transition: transform 0.3s ease;
}

.mvertica-page .m-vertica-section-image img:hover {
    transform: scale(1.05);
}

/* Facilities Section Centered */
.mvertica-page .facilities {
    text-align: center; /* Center semua text dalam section */
    padding: 40px 20px;
}

.mvertica-page .facilities h2 {
    color: #194c83;
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: center; /* Pastikan h2 juga center */
}

.mvertica-page .facilities p {
    font-size: 1.2rem;
    color: #333;
    text-align: center;
}


/* -------------------------------
   Info / Cards Section
--------------------------------- */
.mvertica-page .vertica-card {
    border: 2px solid #244d79;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    background-color: #eaedf0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    padding: 1rem;
}

.mvertica-page .vertica-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.18);
}

.mvertica-page .vertica-card .card-title {
    font-size: 1.5rem;
    color: #335b86;
    margin-bottom: 1rem;
    text-align: center;
}

.mvertica-page .vertica-card ul {
    list-style: none;
    padding: 0;
}

.mvertica-page .vertica-card ul li {
    margin: 0.5rem 0;
    font-size: 1rem;
    color: #333;
    padding-left: 20px;
    position: relative;
}

.mvertica-page .vertica-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1a3383;
    font-weight: bold;
}

/* Responsive Cards */
@media (max-width: 992px) {
    .mvertica-page .vertica-card .card-title { font-size: 1.4rem; }
    .mvertica-page .vertica-card ul li { font-size: 1.1rem; }
}
@media (max-width: 768px) {
    .mvertica-page .vertica-card { padding: 1rem; }
    .mvertica-page .vertica-card .card-title { font-size: 1.5rem; }
    .mvertica-page .vertica-card ul li { font-size: 1.1rem; }
}
@media (max-width: 576px) {
    .mvertica-page .vertica-card .card-title { font-size: 1.6rem; }
    .mvertica-page .vertica-card ul li { font-size: 1.2rem; }
}

/* -------------------------------
   Facilities Images Section
--------------------------------- */
.mvertica-page .m-vertica-images {
    padding: 40px 20px;
    text-align: center;
}

.mvertica-page .m-vertica-images h2 {
    color: #194c83;
    font-size: 2rem;
    margin-bottom: 15px;
}

.mvertica-page .m-vertica-image {
    margin-top: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.mvertica-page .m-vertica-image:hover {
    transform: scale(1.05);
}

.mvertica-page .m-vertica-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.mvertica-page .m-vertica-image h3 {
    margin-top: 10px;
    font-size: 1.1rem;
    color: #194c83;
    font-weight: 600;
    text-transform: uppercase;
}

/* Responsive Facility Images */
@media (max-width: 1200px) {
    .mvertica-page .m-vertica-image { width: 48%; }
}
@media (max-width: 767px) {
    .mvertica-page .m-vertica-image { width: 80%; }
}

/* -------------------------------
   Carousel / Slider
--------------------------------- */
.mvertica-page .hostel-slider img {
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.mvertica-page .hostel-slider img:hover {
    transform: scale(1.03);
}

.mvertica-page .hostel-slider h2 {
    color: #194c83;
    font-size: 2rem;
    margin-bottom: 25px;
}

.mvertica-page .carousel-control-prev-icon,
.mvertica-page .carousel-control-next-icon {
    background-color: rgba(25,76,131,0.8);
    border-radius: 50%;
    padding: 10px;
}


/* ===============================
   YOUCITY PAGE SPECIFIC CSS
================================= */
.youcity-page {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #f9f9f9;
}

/* -------------------------------
   Section Padding
--------------------------------- */
.youcity-page .youcity {
    padding: 50px 20px;
}

.youcity-page .youcity-info {
    padding-right: 20px;
    text-align: justify;
    font-size: 1.2rem;
}

.youcity-page .youcity-section-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transition: transform 0.3s ease;
}

.youcity-page .youcity-section-image img:hover {
    transform: scale(1.05);
}

/* Facilities Section Centered */
.youcity-page .facilities {
    text-align: center; 
    padding: 40px 20px;
}

.youcity-page .facilities h2 {
    color: #194c83;
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: center;
}

.youcity-page .facilities p {
    font-size: 1.2rem;
    color: #333;
    text-align: center;
}


/* -------------------------------
   Info / Cards Section
--------------------------------- */
.youcity-page .youcity-card {
    border: 2px solid #244d79;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    background-color: #eaedf0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    padding: 1rem;
}

.youcity-page .youcity-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.18);
}

.youcity-page .youcity-card .card-title {
    font-size: 1.5rem;
    color: #335b86;
    margin-bottom: 1rem;
    text-align: center;
}

.youcity-page .youcity-card ul {
    list-style: none;
    padding: 0;
}

.youcity-page .youcity-card ul li {
    margin: 0.5rem 0;
    font-size: 1rem;
    color: #333;
    padding-left: 20px;
    position: relative;
}

.youcity-page .youcity-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1a3383;
    font-weight: bold;
}

/* Responsive Cards */
@media (max-width: 992px) {
    .youcity-page .youcity-card .card-title { font-size: 1.4rem; }
    .youcity-page .youcity-card ul li { font-size: 1.1rem; }
}
@media (max-width: 768px) {
    .youcity-page .youcity-card { padding: 1rem; }
    .youcity-page .youcity-card .card-title { font-size: 1.5rem; }
    .youcity-page .youcity-card ul li { font-size: 1.1rem; }
}
@media (max-width: 576px) {
    .youcity-page .youcity-card .card-title { font-size: 1.6rem; }
    .youcity-page .youcity-card ul li { font-size: 1.2rem; }
}

/* -------------------------------
   Facilities Images Section
--------------------------------- */
.youcity-page .youcity-images {
    padding: 40px 20px;
    text-align: center;
}

.youcity-page .youcity-images h2 {
    color: #194c83;
    font-size: 2rem;
    margin-bottom: 15px;
}

.youcity-page .youcity-image {
    margin-top: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.youcity-page .youcity-image:hover {
    transform: scale(1.05);
}

.youcity-page .youcity-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.youcity-page .youcity-image h3 {
    margin-top: 10px;
    font-size: 1.1rem;
    color: #194c83;
    font-weight: 600;
    text-transform: uppercase;
}

/* Responsive Facility Images */
@media (max-width: 1200px) {
    .youcity-page .youcity-image { width: 48%; }
}
@media (max-width: 767px) {
    .youcity-page .youcity-image { width: 80%; }
}

/* -------------------------------
   Carousel / Slider
--------------------------------- */
.youcity-page .hostel-slider img {
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.youcity-page .hostel-slider img:hover {
    transform: scale(1.03);
}

.youcity-page .hostel-slider h2 {
    color: #194c83;
    font-size: 2rem;
    margin-bottom: 25px;
}

.youcity-page .carousel-control-prev-icon,
.youcity-page .carousel-control-next-icon {
    background-color: rgba(25,76,131,0.8);
    border-radius: 50%;
    padding: 10px;
}


/* ===============================
   AMPANG PAGE SPECIFIC CSS
================================= */
.ampang-page {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #f9f9f9;
}

/* -------------------------------
   Section Padding
--------------------------------- */
.ampang-page .ampang {
    padding: 50px 20px;
}

.ampang-page .ampang-info {
    padding-right: 20px;
    text-align: justify;
    font-size: 1.2rem;
}

.ampang-page .ampang-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transition: transform 0.3s ease;
}

.ampang-page .ampang-image img:hover {
    transform: scale(1.05);
}

/* -------------------------------
   Facilities Section
--------------------------------- */
.ampang-page .facilities {
    padding: 40px 20px;
    text-align: center;
}

.ampang-page .facilities h2 {
    color: #194c83;
    font-size: 2rem;
    margin-bottom: 15px;
}

/* Facilities Images */
.ampang-page .facility-images {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.ampang-page .facility-image {
    width: 23%; /* 4 per row desktop */
    margin-top: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.ampang-page .facility-image:hover {
    transform: scale(1.05);
}

.ampang-page .facility-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; /* maintain 16:9 */
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.ampang-page .facility-image h3 {
    margin-top: 10px;
    font-size: 1.1rem;
    color: #194c83;
    font-weight: 600;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 1200px) {
    .ampang-page .facility-image { width: 48%; } /* 2 per row tablet */
}

@media (max-width: 767px) {
    .ampang-page .facility-image { width: 100%; } /* 1 per row mobile */
}




/* -------------------------------
   Packages / Cards Section
--------------------------------- */
.ampang-page .ampang-card {
    border: 2px solid #244d79;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    background-color: #eaedf0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.ampang-page .ampang-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.18);
}

.ampang-page .ampang-card .card-title {
    font-size: 1.5rem;
    color: #335b86;
    margin-bottom: 1rem;
    text-align: center;
}

.ampang-page .ampang-card ul {
    list-style: none;
    padding: 0;
}

.ampang-page .ampang-card ul li {
    margin: 0.5rem 0;
    font-size: 1rem;
    color: #333;
    padding-left: 20px;
    position: relative;
}

.ampang-page .ampang-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2a5dbd;
    font-weight: bold;
}

/* Responsive Cards */
@media (max-width: 992px) {
    .ampang-page .ampang-card .card-title { font-size: 1.4rem; }
    .ampang-page .ampang-card ul li { font-size: 1.1rem; }
}
@media (max-width: 768px) {
    .ampang-page .ampang-card { padding: 1rem; }
    .ampang-page .ampang-card .card-title { font-size: 1.5rem; }
    .ampang-page .ampang-card ul li { font-size: 1.1rem; }
}
@media (max-width: 576px) {
    .ampang-page .ampang-card .card-title { font-size: 1.6rem; }
    .ampang-page .ampang-card ul li { font-size: 1.2rem; }
}

/* -------------------------------
   Carousel / Slider
--------------------------------- */
.ampang-page .hostel-slider img {
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.ampang-page .hostel-slider img:hover {
    transform: scale(1.03);
}

.ampang-page .hostel-slider h2 {
    color: #194c83;
    font-size: 2rem;
    margin-bottom: 25px;
}

.ampang-page .carousel-control-prev-icon,
.ampang-page .carousel-control-next-icon {
    background-color: rgba(25,76,131,0.8);
    border-radius: 50%;
    padding: 10px;
}




/* ===============================
   Project Section
   =============================== */

/* Banner Section */
.project-banner {
    background: linear-gradient(to right, #032549, #467097); /* Gradient background */
    color: white;
    text-align: center;
    padding: 50px 20px;
}

.project-banner h1 {
    font-size: 2.5rem;
}

.project-banner p {
    font-size: 1.2rem;
}

@media (max-width: 576px) {
    .project-banner h1 {
        font-size: 1.8rem;
    }

    .project-banner p {
        font-size: 1rem;
    }
}



/* Project Section */
.project {
    padding: 40px;
    text-align: center;
    font-size: 30px;
    color: #1a3566;
    text-decoration: underline;
}

/* Project Info Section */
.project-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px; /* Reduced padding for a cleaner layout */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 20px; /* Adjust gap for better spacing */
}

.left-content {
    flex: 1;
    margin-right: 15px; /* Reduce margin for cleaner spacing */
}

.left-content h2 {
    font-size: 1.8rem; /* Default, balanced size for headings */
    font-weight: bold; /* Make the heading bold */
    color: #333;
}

.left-content p {
    font-size: 1rem; /* Normal size for paragraphs */
    color: #666;
}

/* Slider Container */
.right-slider {
    position: relative;
    overflow: hidden; /* Hide overflow to prevent image overlaps */
    max-width: 600px; /* Adjust as needed */
    margin: auto;
    border-radius: 15px;
    width: 100%; /* Full width on smaller screens */
    aspect-ratio: 16 / 9; /* Maintain a consistent aspect ratio */
    background-color: #f0f0f0; /* Fallback background color while images load */
}

/* Slides */
.slides {
    display: flex;
    transition: transform 0.5s ease-in-out; /* Smooth sliding transition */
    width: 100%; /* Ensure proper layout */
}

/* Adjusted Slide Image Styling */
.slides img {
    flex-shrink: 0;
    width: 100%; /* Ensures images span the full width of the container */
    height: 100%; /* Ensures images span the full height of the container */
    object-fit: cover; /* Ensures images cover the container, cropping if needed */
    border-radius: 15px; /* Maintains the rounded corners */
}


/* Navigation Buttons */
button.prev, button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 5;
    font-size: 1.5rem;
    border-radius: 50%;
    transition: background-color 0.3s ease; /* Smooth hover effect */
}

button.prev {
    left: 10px;
}

button.next {
    right: 10px;
}

button.prev:hover, button.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Dots for Pagination (Optional) */
.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.slider-dots button {
    width: 10px;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-dots button.active {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .left-content h2 {
        font-size: 1.6rem; /* Slightly smaller heading for tablets */
    }

    .left-content p {
        font-size: 0.95rem; /* Smaller paragraph text */
    }

    button.prev, button.next {
        font-size: 1.4rem; /* Adjust button size for tablets */
    }
}

@media (max-width: 768px) {
    .right-slider {
        max-width: 100%;
        aspect-ratio: 16 / 9; /* Maintain aspect ratio */
    }

    .slides img {
        width: 100%; /* Ensure proper image size */
        object-fit: cover;
    }

    button.prev, button.next {
        font-size: 1.3rem; /* Adjust button size for smaller screens */
    }

    .left-content h2 {
        font-size: 1.5rem; /* Slightly smaller heading for small screens */
    }

    .left-content p {
        font-size: 0.95rem; /* Smaller text for better legibility */
    }
}

@media (max-width: 480px) {
    .right-slider {
        max-width: 100%;
        aspect-ratio: 16 / 9;
    }

    .slides img {
        width: 100%; /* Keep images appropriately sized */
        object-fit: cover;
    }

    button.prev, button.next {
        font-size: 1.1rem; /* Further adjust for very small screens */
    }

    .left-content h2 {
        font-size: 1.3rem; /* Maintain a readable size for very small screens */
    }

    .left-content p {
        font-size: 1rem; /* Slightly larger text for very small screens */
    }
}


#lightbox-overlay {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    flex-direction: column;
}

#lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    width: 100%;
    top: 50%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
}

.lightbox-nav span {
    font-size: 2rem;
    color: white;
    cursor: pointer;
    user-select: none;
}


#video-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
}

#video-overlay .video-container {
    width: 95%;
    max-width: 1200px;
    aspect-ratio: 16/9;
}


#video-overlay iframe {
    width: 100%;
    height: 100%;
    border: none;
}

#video-overlay .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}




/* .projects-info Container */
.projects-info {
    display: flex;
    flex-wrap: wrap; /* Allow cards to wrap to the next line */
    gap: 20px;
    padding: 20px; /* Reduced padding for a cleaner look */
    justify-content: center; /* Center align cards */
}

/* General Styles */
.info-card {
    width: 100%; /* Ensure each card takes up full width */
    max-width: 550px; /* Slightly reduced max width for better proportion */
    background-color: #f9f9f9;
    border-radius: 8px; /* Softer border radius */
    padding: 18px;
    margin: 10px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1); /* Softer shadow */
    box-sizing: border-box;
}

/* Card Title */
.info-card h2 {
    font-size: 1.3rem; /* Balanced heading size */
    margin-bottom: 12px;
    color: #333;
    text-align: center;
}

/* Card List */
.info-card ol {
    padding-left: 18px;
    color: #555;
    line-height: 1.5; /* Adjusted for better readability */
    text-align: justify;
}

.info-card li {
    margin-bottom: 8px; /* Reduced gap between items */
}

/* Responsive Design for Smaller Screens */
@media (max-width: 992px) {
    .info-card {
        max-width: 480px; /* Reduced max width on medium screens */
    }

    .info-card h2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 767px) {
    .info-card {
        max-width: 100%; /* Full width for small screens */
    }

    .info-card h2 {
        font-size: 1.1rem; /* Smaller heading size for mobile */
    }
}


/* Hostel Slider Styling */
.hostel-slider .carousel {
    max-width: 80%; /* Limits the size to 80% of container width */
    margin: 0 auto; /* Centers the carousel */
}

.hostel-slider .carousel-item img {
    height: auto; /* Maintain image proportions */
    max-height: 500px; /* Set a max height for images */
    object-fit: cover; /* Ensures image scales proportionally */
    border-radius: 8px; /* Adds smooth corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for effect */
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .hostel-slider .carousel {
        max-width: 90%; /* Adjust size for medium screens */
    }

    .hostel-slider .carousel-item img {
        max-height: 400px; /* Smaller height on medium screens */
    }
}

@media (max-width: 767px) {
    .hostel-slider .carousel {
        max-width: 100%; /* Full width for small screens */
    }

    .hostel-slider .carousel-item img {
        max-height: 300px; /* Smaller height for small screens */
    }
}


/* ===============================
   Showcase Section
   =============================== */

/* Showcase Banner */
.showcase-banner {
    background: linear-gradient(to right, #032549, #467097);
    color: white;
    text-align: center;
    padding: 50px 20px;
}

.showcase-banner h1 {
    font-size: 2.5rem;
}

.showcase-banner p {
    font-size: 1.2rem;
}

/* Showcase Video Section */
.showcase-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 20px;
    width: 100%;
    max-width: 1000px; /* Slightly smaller width */
    margin: 0 auto;
}

/* Video Title Section */
.video-title {
    text-align: center;
    margin-bottom: 20px;
}

.video-title h2 {
    font-size: 1.5rem;
    color: #194c83;
    margin-bottom: 10px;
}

.video-title p {
    font-size: 1.0rem;
    color: #555;
}

/* Responsive Video Wrapper */
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px; /* Slightly smaller size */
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .showcase-banner h1 {
        font-size: 2rem;
    }

    .showcase-banner p {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .showcase-banner h1 {
        font-size: 1.8rem;
    }

    .showcase-banner p {
        font-size: 1rem;
    }
}

/* Card pointer & hover */
.clickable-card {
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
    position: relative;
}

.clickable-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

/* Folder image hover zoom */
.folder-img img {
    transition: transform 0.4s ease;
}

.clickable-card:hover .folder-img img {
    transform: scale(1.1);
}

/* Title */
.folder-title {
    font-size: 1.25rem;
    font-weight: 600;
    font-family: 'Arial', sans-serif;
    color: #333;
    text-decoration: none !important;
    margin-top: 0.5rem;
}

/* Fade-in animation */
.folder-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s forwards;
}

/* Delay each card slightly */
.row .col-md-6.col-lg-4:nth-child(1) .folder-card { animation-delay: 0.1s; }
.row .col-md-6.col-lg-4:nth-child(2) .folder-card { animation-delay: 0.2s; }
.row .col-md-6.col-lg-4:nth-child(3) .folder-card { animation-delay: 0.3s; }
.row .col-md-6.col-lg-4:nth-child(4) .folder-card { animation-delay: 0.4s; }
.row .col-md-6.col-lg-4:nth-child(5) .folder-card { animation-delay: 0.5s; }
.row .col-md-6.col-lg-4:nth-child(6) .folder-card { animation-delay: 0.6s; }

/* Keyframes for fade-in up */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card container */
.facility-card {
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 2rem;
    padding: 2rem;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.facility-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Icon inside card */
.facility-icon i {
    transition: all 0.5s ease;
}

.facility-card:hover .facility-icon i {
    transform: rotate(15deg) scale(1.2);
    color: #ff7b54; /* Highlight color on hover */
}

/* Facility title */
.facility-name {
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

.facility-card:hover .facility-name {
    color: #194c83;
    letter-spacing: 1px;
}

/* Glowing border effect */
.facility-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 2rem;
    box-shadow: 0 0 0 rgba(0,0,0,0);
    transition: all 0.4s ease;
    pointer-events: none;
}

.facility-card:hover::before {
    box-shadow: 0 0 20px rgba(25,76,131,0.4);
}

