
:root {
    --primary-blue: #081d4d;
    --secondary-blue: #233c81;
    --accent-yellow: #e67004;
    --light-bg: #f8fafc;
    --dark-text: #1e293b;
    --gold: #d49537;
    --light-gold: #f4e8c1;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

/* Updated Bootstrap Overrides */
.text-primary { color: var(--primary-blue) !important; }
.text-secondary { color: var(--accent-yellow) !important; }
.bg-primary { background-color: var(--primary-blue) !important; }

/* Custom Premium Button Styling */
.btn-premium {
    background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--gold) 100%);
    border: none;
    color: var(--light-bg);
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.4s ease, color 0.4s ease, outline-color 0.4s ease, transform 0.2s ease, box-shadow 0.3s ease;
    position: relative;
    cursor: pointer;
}

.btn-premium:hover {
    background: var(--light-bg);
    color: var(--primary-blue);
    outline: 2px solid var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(214, 149, 55, 0.4);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(248, 250, 252, 0.8), rgba(248, 250, 252, 0.8)), url('https://images.unsplash.com/photo-1628178652281-2c13d3393b45');
    background-size: cover;
    background-position: center;
}

/* Card Styling for Highlights */
.card.h-100 {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border-left: 5px solid var(--accent-yellow) !important;
}

.card.h-100:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* New Amenities Card Styling */
.amenity-card-new {
    background-color: white;
    padding: 2.5rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.amenity-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* amenities Section Styling */
.swiper.gallerySwiper {
    height: 500px;
    padding-bottom: 50px;
}
.swiper.gallerySwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
/* Swiper Navigation Arrows and Pagination */
.swiper-button-next, .swiper-button-prev {
    color: var(--primary-blue) !important;
}
.swiper-pagination-bullet-active {
    background: var(--primary-blue) !important;
}
/* Amenity Gallery Fix */
#amenities .swiper-slide {
    height: 300px; /* Set a fixed height for each slide */
    display: flex; /* Helps to center the content */
    align-items: center; /* Vertically centers the content */
    justify-content: center; /* Horizontally centers the content */
}

#amenities .amenity-card {
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden; /* This is key to crop the image inside the container */
    border-radius: 8px; /* Optional: adds rounded corners to the cards */
}

#amenities .amenity-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This is the most important part! It makes the image fill the box without distortion */
    transition: transform 0.3s ease-in-out;
}

#amenities .amenity-card:hover img {
    transform: scale(1.05); 
}



#amenities .amenity-card {
    /* Keep existing styles */
    height: 100%;
    width: 100%;
    position: relative; 
    overflow: hidden;
    border-radius: 8px;
    display: block; 
}

/* Style for the overlay itself */
.amenity-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background-color: rgba(8, 29, 77, 0.425); 
    display: flex; 
    flex-direction: column;
    justify-content: end; 
    align-items: bottom; 
    opacity: 0; 
    transition: opacity 0.3s ease-in-out; 
    text-align: center;
    padding: 15px;
}

/* Show the overlay on hover */
#amenities .amenity-card:hover .amenity-overlay {
    opacity: 1;
}


.amenity-overlay h4 {
    margin-bottom: 0;
    font-size: 1.5rem;
    font-weight: 600;
}



/* Make sure the swiper container itself has a height */
.swiper.mySwiper {
    height: auto; /* Changed from fixed height */
    padding-bottom: 50px;
}
/* Location Advantages Section Styling */
.location-map-container {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.location-map-container img {
    width: 100%;
    height: auto;
    display: block;
}

.list-group-locations .list-group-item {
    border-left: 5px solid var(--accent-yellow);
    margin-bottom: 15px;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
    background-color: var(--light-bg);
}

.list-group-locations .list-group-item:hover {
    background-color: #fff;
    transform: translateX(5px);
}

.list-group-locations .location-icon {
    color: var(--gold);
    font-size: 1.5rem;
}

/* Accordion Styling for FAQ */
.accordion-button:not(.collapsed) {
    background-color: var(--light-bg) !important;
    color: var(--primary-blue) !important;
    font-weight: bold;
}
.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}/* FAQ Section with Form */
.faq-form-card {
    background-color: white;
    padding: 2.5rem !important;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--accent-yellow);
}

.faq-form-card .form-control,
.faq-form-card .form-select {
    border-radius: 8px;
    border: 1px solid #ddd;
}

.faq-form-card .form-control:focus,
.faq-form-card .form-select:focus {
    border-color: var(--accent-yellow);
    box-shadow: 0 0 0 0.25rem rgba(230, 112, 4, 0.25);
}

.faq-form-card h5 {
    color: var(--primary-blue);
    font-weight: bold;
}/* Why Sonepat Cards */
.why-sonepat-card {
    background-color: white;
    border-top: 5px solid var(--accent-yellow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-sonepat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.why-sonepat-card .card-icon {
    color: var(--secondary-blue);
    transition: transform 0.3s ease;
}
/* Custom CSS for Navigation Bar */
.sub-nav {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.sub-nav-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 25px;
    max-width: 960px;
    margin: auto;
    padding: 0 15px;
    flex-wrap: wrap;
}
.sub-nav-link {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 600;
    font-size: 16px;
    padding: 10px 0;
    transition: color 0.3s ease;
}
.sub-nav-link:hover {
    color: var(--accent-yellow);
}
/* Hide the entire nav bar on screens smaller than 768px */
@media (max-width: 768px) {
    .sub-nav {
        display: none;
    }
}

/* Sticky Footer for Phone View */
.sticky-footer {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
    z-index: 1050;
}
.footer-container {
    display: flex;
    width: 100%; /* Make it full-width */
    justify-content: stretch; /* Stretch items to fill the container */
    align-items: center;
    height: 60px;
}
.footer-button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1; /* Make both buttons grow equally */
    height: 100%;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.2s ease;
}
.footer-button-call {
    background-color: var(--accent-yellow);
    color: var(--light-bg);
}
.footer-button-call:hover {
    background-color: #e06000;
    color: var(--light-bg);
}
.footer-button-enquire {
    background-color: #fff;
    color: var(--primary-blue);
}
.footer-button-enquire:hover {
    background-color: var(--light-bg);
    color: var(--primary-blue);
}
.footer-button i {
    margin-right: 8px;
}
/* Show the footer only on screens smaller than 768px */
@media (max-width: 768px) {
    .sticky-footer {
        display: flex;
    }
}