* {
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-color: #ff6b35;
    --secondary-color: #2c3e50;
    --accent-color: #f39c12;
    --dark-color: #1a1a1a;
}

.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-height: 70px;
    position: fixed; /* Ensure navbar is fixed */
    top: 0;
    width: 100%;
    z-index: 1000;
}

body {
    padding-top: 70px;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.hero-section {
    min-height: 100vh;
    height: auto;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23ff6b35" width="1200" height="800"/><circle fill="%23f39c12" cx="300" cy="200" r="50" opacity="0.3"/><circle fill="%23e74c3c" cx="800" cy="300" r="80" opacity="0.2"/><circle fill="%23f1c40f" cx="1000" cy="500" r="60" opacity="0.3"/></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center; /* Add this for better centering */
    position: relative;
    padding: 120px 0 100px; /* Increase top and bottom padding */
}

.hero-content {
    color: white;
    text-align: center;
    animation: fadeInUp 1s ease;
    width: 100%;
    z-index: 2;
    max-width: 800px; /* Add max-width to prevent content from being too wide */
    margin: 0 auto; /* Center the content */
    padding: 20px; /* Add some internal padding */
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.4;
}

.rating-badge {
    background: rgba(255, 255, 255, 0.9);
    color: var(--secondary-color);
    padding: 15px 25px;
    border-radius: 50px;
    display: inline-block;
    margin: 20px 0;
    font-weight: 600;
}

.quick-info {
    background: white;
    margin-top: -60px; /* Reduced from -80px for better spacing */
    position: relative;
    z-index: 10;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 15px;
    transition: transform 0.3s ease;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-10px);
}

.info-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    width: 100px;
    height: 4px;
    background: var(--primary-color);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.food-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.food-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.food-image {
    height: 200px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 10px 0;
    font-size: 1.1rem;
}

.feature-list li i {
    color: var(--primary-color);
    margin-right: 15px;
    width: 20px;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 80px 0;
}

.btn-custom {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 1000;
    animation: pulse 2s infinite;
    text-decoration: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* === RESPONSIVE BREAKPOINTS === */

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }
    .hero-subtitle {
        font-size: 1.4rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (max-width: 991px) {
    .hero-section {
        padding: 140px 0 80px; /* Increase padding for tablets */
        background-attachment: scroll;
        min-height: 100vh;
    }
    
    .hero-content {
        padding: 30px 20px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991px) {
    .hero-section {
        padding: 120px 0 60px;
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .rating-badge {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .quick-info {
        margin-top: -60px;
    }
    
    .info-card {
        padding: 25px 15px;
        margin-bottom: 20px;
    }
    
    .info-icon {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }
    
    .btn-custom {
        padding: 12px 24px;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767px) {
    .hero-section {
        min-height: 100vh;
        padding: 120px 0 60px; /* Better spacing for mobile */
        background-attachment: scroll;
        justify-content: center; /* Ensure centering on mobile */
    }
    
    .hero-content {
        padding: 20px 15px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 60vh; /* Minimum height to keep content centered */
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        line-height: 1.3;
        padding: 0 10px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        padding: 0 15px;
        line-height: 1.4;
    }
    
    .rating-badge {
        padding: 10px 18px;
        font-size: 0.85rem;
        margin: 15px 10px;
    }
    
    .hero-content .mt-4 {
        margin-top: 1.5rem !important;
    }
    
    .hero-content .btn {
        margin-bottom: 15px;
        width: auto;
        font-size: 0.9rem;
        padding: 12px 20px;
    }
    
    .quick-info {
        margin-top: -40px;
        margin-left: 15px;
        margin-right: 15px;
    }
    
    .info-card {
        padding: 20px 15px;
        margin-bottom: 15px;
    }
    
    .info-card h5 {
        font-size: 1.1rem;
    }
    
    .info-icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
        padding: 0 15px;
    }
    
    .btn-custom {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .floating-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 15px;
        right: 15px;
    }
    
    .feature-list li {
        font-size: 1rem;
        padding: 8px 0;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .cta-section p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
    .hero-section {
        min-height: 100vh;
        padding: 100px 0 50px; /* Balanced padding */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        padding: 30px 20px;
        min-height: 50vh; /* Ensure content has enough space */
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 1.9rem;
        margin-bottom: 0.8rem;
        padding: 0 20px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.2rem;
        padding: 0 20px;
    }
    
    .rating-badge {
        padding: 8px 15px;
        font-size: 0.8rem;
        margin: 10px 15px;
    }
    
    .hero-content .fs-5 {
        font-size: 1rem !important;
        padding: 0 20px;
    }
    
    .hero-content .btn {
        display: block;
        width: calc(100% - 40px);
        margin: 10px 20px;
        font-size: 0.9rem;
        padding: 12px 15px;
    }
    
    .quick-info {
        margin-top: -30px;
        margin-left: 10px;
        margin-right: 10px;
        padding: 20px;
    }
    
    .section-title {
        font-size: 1.6rem;
        padding: 0 20px;
    }
    
    .info-card {
        padding: 15px 10px;
    }
    
    .info-card h5 {
        font-size: 1rem;
    }
    
    .info-card p {
        font-size: 0.9rem;
    }
}

/* Ultra small devices (very small phones, less than 400px) */
@media (max-width: 399px) {
    .hero-section {
        padding: 90px 0 40px; /* Adjusted for very small screens */
    }
    
    .hero-content {
        min-height: 45vh;
        padding: 25px 15px;
    }
    
    .hero-title {
        font-size: 1.7rem;
        padding: 0 15px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 15px;
    }
    
    .rating-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .hero-content .btn {
        font-size: 0.85rem;
        padding: 10px 12px;
        margin: 8px 15px;
    }
    
    .section-title {
        font-size: 1.4rem;
        padding: 0 15px;
    }
}

/* Landscape orientation fixes */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding: 60px 0 40px; /* Reduce padding for landscape */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-content {
        min-height: auto; /* Remove min-height in landscape */
        padding: 20px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .rating-badge {
        margin: 10px 0;
        padding: 8px 15px;
    }
    
    .hero-content .mt-4 {
        margin-top: 1rem !important;
    }
}

.timeline {
    position: relative;
    padding: 0;
    margin: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-left .timeline-content {
    margin-right: 55%;
    text-align: right;
}

.timeline-right .timeline-content {
    margin-left: 55%;
    text-align: left;
}

.timeline-content {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-left .timeline-content::before {
    right: -65px;
}

.timeline-right .timeline-content::before {
    left: -65px;
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-event {
    margin-bottom: 0;
    color: #666;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-left .timeline-content,
    .timeline-right .timeline-content {
        margin-left: 50px;
        margin-right: 0;
        text-align: left;
    }

    .timeline-left .timeline-content::before,
    .timeline-right .timeline-content::before {
        left: -45px;
        right: auto;
    }
}

.gallery-item {
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.stat-box {
    transition: all 0.3s ease;
}

.stat-box:hover {
    background: var(--primary-color) !important;
    color: white;
}

.stat-box:hover h3 {
    color: white !important;
}

.stat-box:hover p {
    color: white !important;
}

/* === FACILITIES PAGE STYLES === */

/* Facilities Hero Section */
.facilities-hero {
    min-height: 60vh;
    height: auto;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23ff6b35" width="1200" height="600"/><circle fill="%23f39c12" cx="200" cy="150" r="40" opacity="0.3"/><circle fill="%23e74c3c" cx="600" cy="250" r="60" opacity="0.2"/><circle fill="%23f1c40f" cx="1000" cy="400" r="50" opacity="0.3"/></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 0 60px;
}

.facilities-hero .hero-content {
    color: white;
    text-align: center;
    animation: fadeInUp 1s ease;
}

.facilities-hero .hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.facilities-hero .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* Facilities Gallery */
.facilities-gallery {
    padding: 80px 0;
    background: #f8f9fa;
}

.facility-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    position: relative;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.facility-image {
    height: 250px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.facility-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 107, 53, 0.1), rgba(243, 156, 18, 0.1));
    z-index: 1;
}

.facility-image i {
    position: relative;
    z-index: 2;
}

.facility-content {
    padding: 25px;
}

.facility-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.facility-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.facility-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.facility-features li {
    padding: 8px 0;
    color: #555;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.facility-features li i {
    color: var(--primary-color);
    margin-right: 12px;
    width: 16px;
    font-size: 0.9rem;
}

/* Hover Overlay Effect */
.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 3;
}

.hover-overlay.opacity-0 {
    opacity: 0;
    visibility: hidden;
}

.hover-overlay.opacity-100 {
    opacity: 1;
    visibility: visible;
}

.hover-overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.hover-overlay.opacity-100 .hover-overlay-content {
    transform: translateY(0);
}

.hover-overlay h5 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.hover-overlay p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.hover-overlay .btn {
    background: var(--primary-color);
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hover-overlay .btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Operational Info Section */
.operational-info-section {
    padding: 80px 0;
    background: white;
}

.operational-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
}

.operational-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.operational-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.operational-data {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.operational-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

.operational-description {
    color: #777;
    font-size: 0.95rem;
    margin-top: 15px;
    line-height: 1.5;
}

/* Responsive Design for Facilities */
@media (max-width: 991px) {
    .facilities-hero {
        background-attachment: scroll;
        padding: 120px 0 50px;
    }
    
    .facilities-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .facilities-hero .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 767px) {
    .facilities-hero {
        min-height: 50vh;
        padding: 100px 0 40px;
        background-attachment: scroll;
    }
    
    .facilities-hero .hero-title {
        font-size: 2.2rem;
        padding: 0 15px;
    }
    
    .facilities-hero .hero-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .facility-image {
        height: 200px;
        font-size: 3rem;
    }
    
    .facility-content {
        padding: 20px;
    }
    
    .facility-title {
        font-size: 1.3rem;
    }
    
    .operational-data {
        font-size: 2rem;
    }
    
    .operational-icon {
        font-size: 2.5rem;
    }
    
    .operational-card {
        padding: 25px 20px;
    }
}

@media (max-width: 575px) {
    .facilities-hero {
        padding: 90px 0 30px;
    }
    
    .facilities-hero .hero-title {
        font-size: 1.9rem;
        padding: 0 20px;
    }
    
    .facilities-hero .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 20px;
    }
    
    .facility-image {
        height: 180px;
        font-size: 2.5rem;
    }
    
    .facility-content {
        padding: 15px;
    }
    
    .facility-title {
        font-size: 1.2rem;
    }
    
    .facility-description {
        font-size: 0.9rem;
    }
    
    .operational-data {
        font-size: 1.8rem;
    }
    
    .operational-icon {
        font-size: 2rem;
    }
    
    .operational-card {
        padding: 20px 15px;
    }
}