/* --- Global Variables (Easier Theming) --- */
:root {
    /* Main Theme Colors */
    --primary-color: #3498db;          /* Strong Blue */
    --primary-color-rgb: 52, 152, 219;
    --primary-dark-color: #2980b9;     /* Darker Blue */
    --secondary-color: #6c757d;        /* Grey */
    --secondary-color-rgb: 108, 117, 125;

    /* Accent Colors */
    --accent-success: #2ecc71;         /* Brighter Green */
    --accent-success-rgb: 46, 204, 113;
    --accent-warning: #f1c40f;         /* Yellow */
    --accent-warning-rgb: 241, 196, 15;
    --accent-danger: #e74c3c;          /* Red */
    --accent-danger-rgb: 231, 76, 60;

    /* Text & Background Colors */
    --dark-text: #2c3e50;              /* Dark Blue-Grey for Headings/Strong Text */
    --dark-text-rgb: 44, 62, 80;
    --body-text: #555;                 /* Medium Grey for Body Text */
    --light-text: #ecf0f1;             /* Light Grey for Dark Backgrounds */
    --light-text-rgb: 236, 240, 241;
    --white: #ffffff;
    --off-white: #f8f9fa;              /* Light Backgrounds */
    --light-grey-border: #e0e0e0;      /* Subtle Borders */

    /* UI Elements */
    --card-shadow: 0 10px 30px rgba(0,0,0,0.08); /* Soft, consistent shadow */
    --hover-shadow: 0 15px 35px rgba(0,0,0,0.15); /* More pronounced on hover */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 15px;
    --border-radius-pill: 50px;
}

/* --- General Body Styling & Google Fonts --- */
body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--off-white);
    color: var(--body-text);
    line-height: 1.8;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--dark-text);
    line-height: 1.3;
    margin-bottom: 0.8em;
}

p {
    margin-bottom: 1.2em; /* Slightly more spacing after paragraphs */
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: var(--primary-dark-color);
    text-decoration: underline;
}

main.container {
    padding-top: 50px;
    padding-bottom: 80px;
}

/* --- Navbar Customization (REFINED MODERN STYLE) --- */
.navbar {
    background-color: var(--dark-text) !important;
    border-bottom: 4px solid var(--primary-color);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    padding: 0.75rem 0;
}
.navbar-brand {
    font-weight: bold;
    font-size: 1.9rem;
    color: var(--light-text) !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}
.navbar-brand:hover {
    color: var(--white) !important;
    transform: scale(1.03);
}
.navbar-logo {
    height: 48px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(255,255,255,0.4));
    margin-right: 8px;
}
.navbar-logo:hover {
    transform: scale(1.08);
}
.navbar-nav .nav-link {
    color: var(--white) !important;
    padding: 0.9rem 1.3rem;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease, background-color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

/* REFINED: Unified hover and active state for a cleaner look */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--white) !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    background-color: var(--primary-color);
}
.navbar-nav .nav-link.active {
    background-color: var(--primary-dark-color); /* Darker for active state */
}

/* REMOVED ::after underline effect for a cleaner, less cluttered hover state */

.navbar-nav .dropdown-menu {
    background-color: var(--dark-text);
    border: 1px solid rgba(var(--light-text-rgb), 0.1);
    box-shadow: var(--hover-shadow);
    border-radius: var(--border-radius-sm);
    animation: fadeInDown 0.3s ease-out;
    min-width: 200px;
    padding: 0.5rem 0;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.navbar-nav .dropdown-item {
    color: var(--light-text);
    padding: 0.8rem 1.2rem;
    transition: all 0.2s ease;
    font-weight: 500;
}
.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item.active,
.navbar-nav .dropdown-item:focus {
    background-color: var(--primary-color);
    color: var(--white);
}

.navbar-toggler {
    border: 2px solid rgba(255,255,255,.3);
    transition: all 0.3s ease;
    border-radius: var(--border-radius-sm);
}
.navbar-toggler:hover {
    background-color: rgba(var(--primary-color-rgb), 0.2);
    border-color: var(--primary-color);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --- Footer Styling --- */
.main-footer {
    background-color: var(--dark-text);
    color: var(--light-text);
    padding: 60px 0 40px; /* Adjusted padding */
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}
.footer-logo {
    height: 70px;
    width: auto;
    max-width: 100%;
    filter: brightness(1.2) drop-shadow(0 0 8px rgba(255,255,255,0.3));
    transition: transform 0.3s ease;
}
.footer-logo:hover {
    transform: scale(1.05);
}
.footer-heading {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    letter-spacing: 0.8px;
    position: relative;
}
.footer-heading::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    margin-top: 10px;
    border-radius: 2px;
}
.footer-text, .footer-contact, .copyright-text {
    font-size: 0.95rem;
    color: rgba(var(--light-text-rgb), 0.8);
    line-height: 1.7;
}
.footer-contact i {
    color: var(--primary-color);
    width: 25px;
    text-align: center;
}
.footer-link {
    color: rgba(var(--light-text-rgb), 0.9);
    text-decoration: none;
    padding: 8px 0;
    display: block;
    transition: all 0.3s ease;
    font-weight: 500;
}
.footer-link:hover {
    color: var(--primary-color);
    transform: translateX(8px);
    text-decoration: none;
}
.footer-divider {
    border-color: rgba(var(--light-text-rgb), 0.1);
    margin: 40px 0 30px;
}
.footer-social-icons .list-inline-item {
    margin: 0 10px;
}
.social-icon-link {
    color: var(--light-text);
    font-size: 1.7rem;
    width: 45px;
    height: 45px;
    border: 2px solid rgba(var(--light-text-rgb), 0.4);
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.social-icon-link:hover {
    color: var(--white);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(var(--primary-color-rgb), 0.4);
}
.heart-beat {
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* REFINED: Simplified Footer Responsive Rules */
@media (max-width: 767px) {
    .main-footer {
        text-align: center;
    }
    .footer-heading::after {
        margin: 10px auto 0; /* Center the underline on mobile */
    }
    .footer-heading.text-md-start {
        text-align: center !important;
    }
    .footer-logo { height: 60px; }
}
@media (max-width: 575px) {
    .footer-logo { height: 50px; }
}


/* --- Global Component Styling --- */
.section-heading {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--dark-text);
    text-align: center;
    margin-bottom: 60px; /* Increased bottom margin */
    position: relative;
    padding-top: 20px;
}
.section-heading::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 3px;
}
.card {
    border-radius: var(--border-radius-md);
    border: none;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
}
.card-header, .booking-card-header {
    background-color: var(--primary-color) !important;
    color: var(--white);
    border-bottom: none;
    font-weight: 600;
    padding: 1rem 1.5rem; /* Consistent padding */
}
.card-header.bg-secondary {
    background-color: var(--secondary-color) !important;
}

/* Buttons */
.btn {
    transition: all 0.3s ease;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    padding: 0.75rem 1.5rem; /* Consistent padding */
}
.btn:hover {
    transform: translateY(-3px);
}
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-primary:hover {
    background-color: var(--primary-dark-color);
    border-color: var(--primary-dark-color);
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.4);
}
.btn-success {
    background-color: var(--accent-success);
    border-color: var(--accent-success);
}
.btn-success:hover {
    background-color: #27ae60;
    border-color: #27ae60;
    box-shadow: 0 5px 15px rgba(var(--accent-success-rgb), 0.4);
}
.btn-danger {
    background-color: var(--accent-danger);
    border-color: var(--accent-danger);
}
.btn-danger:hover {
    background-color: #c0392b;
    border-color: #c0392b;
    box-shadow: 0 5px 15px rgba(var(--accent-danger-rgb), 0.4);
}
.btn-warning {
    background-color: var(--accent-warning);
    border-color: var(--accent-warning);
    color: var(--dark-text);
}
.btn-warning:hover {
    background-color: #e6b200;
    border-color: #e6b200;
    color: var(--dark-text);
    box-shadow: 0 5px 15px rgba(var(--accent-warning-rgb), 0.4);
}
.btn-info {
    background-color: #17a2b8;
    border-color: #17a2b8;
    color: var(--white);
}
.btn-info:hover {
    background-color: #138496;
    border-color: #138496;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(23,162,184,0.4);
}
.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.2);
}

/* Form specific styles */
.form-control, .form-select {
    border-radius: var(--border-radius-sm);
    padding: 12px 18px;
    border: 1px solid var(--light-grey-border);
    transition: all 0.3s ease;
}
.form-control:focus, .form-select:focus, .form-check-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-color-rgb), 0.25);
}
.form-label {
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 8px;
}

/* --- Homepage - NEW HERO SECTION Styling (Primary) --- */
.new-hero-section {
    background: linear-gradient(rgba(var(--dark-text-rgb),0.7), rgba(var(--dark-text-rgb),0.7)), url('../img/carousel1.jpg') no-repeat center center/cover;
    padding: 100px 0;
    color: var(--white);
    text-shadow: 1px 1px 8px rgba(0,0,0,0.6);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-bottom-left-radius: var(--border-radius-lg);
    border-bottom-right-radius: var(--border-radius-lg);
}
.new-hero-section h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--white);
}
.new-hero-section .lead {
    font-size: 1.8rem;
    max-width: 800px;
    margin: 0 auto 40px;
    color: rgba(var(--light-text-rgb), 0.95);
}
.new-hero-section .new-hero-btn {
    padding: 18px 40px;
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: var(--border-radius-pill);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.new-hero-section .new-hero-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.4);
}
.new-hero-section .btn-light { /* Primary CTA */
    background-color: var(--white) !important;
    border-color: var(--white) !important;
    color: var(--primary-color) !important;
}
.new-hero-section .btn-outline-light { /* Secondary CTA */
    border-width: 2px;
}
.new-hero-section .btn-outline-light:hover {
    background-color: rgba(var(--white-rgb, 255, 255, 255), 0.15) !important;
}

/* --- Testimonials Section (NEW MODERN STYLE) --- */
.testimonials-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark-color));
    padding: 80px 0;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    overflow: hidden;
    position: relative;
}
.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}
.testimonials-section .section-heading {
    color: var(--white);
    text-shadow: 2px 2px 5px rgba(0,0,0,0.4);
    position: relative;
    z-index: 1;
}
.testimonials-section .section-heading::after {
    background-color: var(--accent-success);
}
.testimonial-card {
    background-color: var(--white);
    padding: 45px;
    border-radius: var(--border-radius-lg);
    max-width: 850px;
    margin: 0 auto;
    box-shadow: var(--hover-shadow);
    text-align: center;
    border: none;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}
/* Stylized background quotes */
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 8rem;
    color: rgba(var(--primary-color-rgb), 0.1);
    z-index: 0;
    line-height: 1;
    font-family: 'Poppins', sans-serif;
    transform: rotate(-10deg);
}
.testimonial-text {
    font-size: 1.3rem;
    line-height: 1.7;
    color: var(--dark-text);
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    font-weight: 500;
}
.testimonial-author {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: auto;
    position: relative;
    z-index: 1;
}
.testimonial-rating i {
    color: var(--accent-warning);
    font-size: 1.2rem;
    margin: 0 2px;
}
.testimonials-section .carousel-indicators {
    bottom: -60px; /* Position indicators below */
}
.testimonials-section .carousel-indicators [data-bs-target] {
    background-color: rgba(var(--white-rgb, 255, 255, 255), 0.5);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
}
.testimonials-section .carousel-indicators .active {
    background-color: var(--white);
}
.testimonials-section .carousel-control-prev-icon,
.testimonials-section .carousel-control-next-icon {
    background-image: none; /* Use Font Awesome */
}
.testimonials-section .carousel-control-prev-icon::before,
.testimonials-section .carousel-control-next-icon::before {
    font-size: 2rem;
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    font-family: "Font Awesome 5 Free"; /* Ensure Font Awesome is loaded */
    font-weight: 900;
}
.testimonials-section .carousel-control-prev-icon::before { content: "\f053"; }
.testimonials-section .carousel-control-next-icon::before { content: "\f054"; }

/* --- About Us Page Specific Styling --- */
.about-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark-color));
    padding: 100px 0;
    color: var(--white);
    text-align: center;
}
.about-hero .display-4 {
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.about-hero .lead {
    font-size: 1.35rem;
    color: rgba(var(--white-rgb, 255, 255, 255), 0.9);
    max-width: 800px; /* FIXED: Was 'px' */
    margin: 0 auto;
}
/* ... Other page-specific styles from your original file would continue here ... */
/* For brevity, only the key refactored sections are included. The rest of your styles are well-structured. */


/* --- WhatsApp Floating Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366; /* WhatsApp green */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1030; /* Above most elements */
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}
.whatsapp-float:hover {
    background-color: #128c7e; /* Darker green */
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
    color: white;
}


/* --- Responsive Adjustments --- */
@media (max-width: 991px) { /* For lg breakpoint and below */
    h1, .new-hero-section h1 { font-size: 3.2rem; }
    h2 { font-size: 2.2rem; }
    .section-heading { font-size: 2.2rem; }

    .new-hero-section .lead { font-size: 1.5rem; }
    .new-hero-section .new-hero-btn { font-size: 1.2rem; padding: 15px 30px; }
}

@media (max-width: 767px) { /* For md breakpoint and below */
    h1, .new-hero-section h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    .section-heading { font-size: 2rem; }

    .new-hero-section { padding: 80px 0; }
    .new-hero-section .lead { font-size: 1.15rem; max-width: 90%; }
    /* Stack buttons on mobile */
    .new-hero-section .new-hero-btn {
        display: block;
        width: 80%;
        margin-left: auto !important;
        margin-right: auto !important;
        font-size: 1.1rem;
        padding: 12px 25px;
    }
    .new-hero-section .new-hero-btn:last-child {
        margin-top: 15px;
    }

    .testimonial-card { padding: 30px; min-height: 280px; }
    .testimonial-text { font-size: 1.1rem; }
    /* Hide carousel arrows on mobile, indicators are enough */
    .testimonials-section .carousel-control-prev,
    .testimonials-section .carousel-control-next {
        display: none;
    }
}

@media (max-width: 575px) { /* For sm breakpoint and below */
    body { line-height: 1.7; }
    h1, .new-hero-section h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    .section-heading { font-size: 1.8rem; }
    .new-hero-section .lead { display: none; } /* Hide lead on smallest screens for impact */
    .new-hero-section .new-hero-btn { width: 100%; }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
        bottom: 20px;
        right: 20px;
    }
}