/* ========== GLOBAL & RESET STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    /* Unified background from your screenshots for content pages like contact/privacy/about */
    /* If index has a different bg for sections, that's handled by section-specific CSS */
    background-color: #e0f7fa;
}

.container {
    width: 90%;
    max-width: 1100px; /* From your index CSS */
    margin: 0 auto;
    padding: 0 15px; /* From your index CSS */
}

h1.page-title { /* For main titles on content pages */
    text-align: center;
    font-size: 2.2em;
    color: #1a237e; /* Dark blue from screenshots */
    margin-top: 30px;
    margin-bottom: 30px;
}

h2 { /* Global H2 for section titles, e.g., on index page */
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: #2c3e50; /* Dark blueish grey */
}

h3 { /* Global H3 */
    font-size: 1.15rem;
    font-weight: bold;
    color: inherit; /* Inherits from parent, good for cards */
}

p {
    margin-bottom: 1rem;
}

a {
    color: #3498db; /* Standard link blue */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

strong {
    font-weight: bold;
}

/* ========== HEADER ========== */
header {
    background-color: #ffffff;
    padding: 15px 0; /* Harmonized padding (approx 1rem) */
    border-bottom: 1px solid #dee2e6;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5em; /* From content page screenshot, feels right */
    font-weight: bold;
    color: #212529;
    text-decoration: none;
    padding: 5px 10px; /* From content page logo */
    border: 2px solid #212529; /* Solid border, more standard */
    display: inline-block;
}

nav .nav-menu {
    list-style: none;
    display: flex;
}

nav .nav-menu li {
    margin-left: 20px; /* Adjusted for bit more space */
}

nav .nav-menu a {
    color: #343a40;
    text-decoration: none;
    padding: 0.6rem 0.8rem; /* From index CSS */
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 4px;
}

nav .nav-menu a:hover,
nav .nav-menu a.active {
    color: #0056b3;
    background-color: #e9ecef; /* Subtle background from index CSS */
    text-decoration: underline; /* Added for consistency with screenshot active state */
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #333;
}

/* ========== DISCLAIMER BAR (Top of Page) ========== */
.disclaimer-bar {
    background-color: #fff3cd;
    color: #664d03;
    padding: 0.8rem 0;
    text-align: center;
    border-bottom: 1px solid #ffeeba;
}

.disclaimer-bar .container p { /* Ensure p inside disclaimer bar has no bottom margin */
    margin: 0;
}
.disclaimer-bar p {
    font-size: 0.9rem;
    line-height: 1.4;
}
.disclaimer-bar i {
    margin-right: 0.5rem;
    color: #ffc107;
}
.disclaimer-bar strong {
    color: #594402;
}

/* ========== MAIN CONTENT STYLES (General for all pages) ========== */
main {
    padding-top: 20px;
    padding-bottom: 40px;
}

/* ========== INDEX.HTML SPECIFIC SECTIONS ========== */
.flag-decoration {
    padding: 1.5rem 0 0.5rem;
    text-align: center;
    background-color: #fff;
}
.center-flag {
    max-width: 220px;
    height: auto;
    margin-bottom: 1rem;
}

.booking-cards-section {
    padding: 2rem 0 3rem;
    background-color: #fff; /* Index specific background */
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card {
    padding: 1.75rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 160px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}
.card h3 {
    margin-bottom: 1.5rem; /* Specific to card h3 */
}
.card-yellow {
    background-color: #fef08a;
    color: #1e293b;
}
.card-yellow .btn {
    background-color: transparent;
    color: #1e293b;
    border: 2px solid #1e293b;
}
.card-yellow .btn:hover {
    background-color: #1e293b;
    color: #fef08a;
}
.card-blue {
    background-color: #3b4b9a;
    color: #ffffff;
}
.card-blue h3 { /* Ensure h3 color is white for blue card */
    color: #ffffff;
}
.card-blue .btn {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}
.card-blue .btn:hover {
    background-color: #ffffff;
    color: #3b4b9a;
}
.btn {
    display: inline-block;
    padding: 0.7rem 1.4rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    align-self: center;
    margin-top: auto;
}
.btn:hover {
    transform: scale(1.05); /* Keep this distinct from card hover */
    text-decoration: none; /* Override general a:hover */
}

.who-we-are-section { /* Specific to index.html */
    padding: 3rem 0;
    background-color: #f8f9fa; /* Light gray for contrast */
}
.who-we-are-section h2 i {
    margin-right: 0.75rem;
    color: #495057;
}
.who-we-are-section p {
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 1rem;
    color: #495057;
}
.important-notice { /* For index.html */
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 0.75rem 1.25rem;
    border-radius: 0.25rem;
}
.important-notice strong {
    color: inherit;
}

.placeholder-content { /* For index.html sections */
    padding: 3rem 0;
    text-align: center;
}
.placeholder-content:nth-of-type(odd) {
    background-color: #e9ecef;
}
.placeholder-content p {
    max-width: 600px;
    margin: 1rem auto;
    font-style: italic;
    color: #6c757d;
}


/* ========== CONTENT PAGES (About, Privacy, T&C, Contact's inner text) ========== */
/* Disclaimer box specifically for content within a page (e.g., Contact Us page) */
.content-disclaimer-box {
    background-color: #fffde7;
    border: 1px solid #ffc107;
    padding: 15px 20px;
    margin: 30px auto;
    border-radius: 8px;
    text-align: center;
    max-width: 800px;
    font-size: 0.95em;
    line-height: 1.5;
}
.content-disclaimer-box p {
    margin-bottom: 10px;
}
.content-disclaimer-box strong {
    color: #c62828;
}

/* Wrapper for main content block on pages like About Us, Privacy, T&C */
.content-page-wrapper {
    max-width: 900px;
    margin: 0 auto 40px auto; /* Align with .page-title margin-bottom */
    background-color: #fff; /* White background for the content box */
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: left;
}
.content-page-wrapper h2, /* Section titles within content pages */
.content-page-wrapper h3.section-title { /* For T&C numbered headings */
    font-size: 1.6em;
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 5px;
    text-align: left; /* Override global h2 text-align:center */
}
.content-page-wrapper h2:first-child,
.content-page-wrapper h3.section-title:first-of-type {
    margin-top: 0;
}
.content-page-wrapper p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #333; /* Default text color */
}
.content-page-wrapper ul {
    list-style: disc;
    margin-left: 20px;
    padding-left: 10px;
    margin-bottom: 20px;
}
.content-page-wrapper ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}
.content-page-wrapper strong { /* For emphasis within content text */
    font-weight: bold;
    color: #111;
}
.content-page-wrapper .intro-text { /* For intro paragraphs in T&C, Privacy */
    font-size: 1.05em;
    margin-bottom: 25px;
}
.content-page-wrapper .legal-disclaimer-section h2 { /* Specific for About Us */
    color: #c0392b;
}
.content-page-wrapper .legal-disclaimer-section p {
    font-style: italic;
    background-color: #fef9e7;
    padding: 12px 15px;
    border-left: 4px solid #f39c12;
    margin-top: 10px;
    border-radius: 4px;
}
.content-page-wrapper h3.section-title { /* For T&C styling */
    font-size: 1.5em;
}

/* ========== CONTACT US PAGE SPECIFICS ========== */
.contact-page-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1100px; /* Can be wider than .content-page-wrapper */
    margin: 0 auto; /* Centered */
}
.contact-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 25px 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 45%;
    min-width: 300px;
}
.contact-card h2 { /* Specific for contact card titles */
    font-size: 1.8em;
    text-align: center;
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0f2f1;
}
.contact-card h2.general-enquiry,
.contact-card h2.grievance {
    color: #388e3c; /* Green as in screenshot */
}
.contact-card p {
    margin-bottom: 12px;
    font-size: 0.95em;
    line-height: 1.5;
}
.contact-card strong.contact-value {
    color: #000;
    display: block;
    font-size: 1.1em;
    margin-bottom: 3px;
}
.contact-card .email {
    color: #007bff; /* Standard link blue for emails */
    word-break: break-all;
}
.contact-card .info-block {
    margin-bottom: 25px;
}
.contact-card .info-block h3 { /* For "For Karnataka state" */
    font-size: 1.1em;
    color: #444;
    margin-bottom: 10px;
    font-weight: bold;
    text-decoration: underline;
}

/* ========== BOOKING-FORM.HTML ========== */
:root { /* Define CSS variables */
    --header-height: 70px; /* Adjust based on your actual sticky header height */
    --footer-height: 180px; /* Adjust based on your actual footer height */
}
.form-page-main {
    background-color: #e0f2f7; /* From form screenshot */
    padding: 2rem 0;
    min-height: calc(100vh - var(--header-height) - var(--footer-height));
}
.form-container {
    background-color: transparent;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 8px;
}
.form-page-title {
    font-size: 2rem;
    color: #1c3a50;
    text-align: center;
    margin-bottom: 1rem;
}
.form-section-title {
    font-size: 1.5rem;
    color: #2c506f;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: bold;
}
.form-preamble, .form-postamble {
    background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent white */
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 5px;
    font-size: 0.9rem;
    color: #334e68;
    border: 1px solid #c9dcec;
}
.form-preamble i, .form-postamble i {
    margin-right: 0.5rem;
    color: #3498db;
}
.form-preamble strong, .form-postamble strong {
    font-weight: bold;
    color: #d9534f;
}
.form-postamble {
    margin-top: 2rem;
    margin-bottom: 0;
}
.form-postamble a {
    color: #2980b9;
    font-weight: bold;
}
#hsrpBookingForm .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
#hsrpBookingForm .form-group {
    display: flex;
    flex-direction: column;
}
#hsrpBookingForm .form-group.full-width {
    grid-column: 1 / -1;
}
#hsrpBookingForm label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: #334e68;
}
#hsrpBookingForm input[type="text"],
#hsrpBookingForm input[type="email"],
#hsrpBookingForm input[type="tel"],
#hsrpBookingForm select,
#hsrpBookingForm textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #fff;
    color: #495057;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
#hsrpBookingForm input:focus,
#hsrpBookingForm select:focus,
#hsrpBookingForm textarea:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}
#hsrpBookingForm input::placeholder,
#hsrpBookingForm textarea::placeholder {
    color: #999;
}
#hsrpBookingForm small {
    font-size: 0.8rem;
    color: #555;
    margin-top: 0.3rem;
}
.form-submit-group {
    text-align: left;
    margin-top: 2rem;
}
.btn-next {
    background-color: #34495e;
    color: white;
    padding: 0.8rem 2.5rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn-next:hover {
    background-color: #2c3e50;
    transform: translateY(-2px);
    text-decoration: none;
}

/* ========== THANK-YOU.HTML ========== */
.thankyou-page-main {
    padding-bottom: 2rem;
}
.thankyou-content-area {
    background-color: #e0f2f7;
    padding: 3rem 0 4rem;
    text-align: center;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.thankyou-content-area .container {
    max-width: 700px;
}
.thankyou-main-title {
    font-size: 1.8rem;
    color: #1c3a50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}
.thankyou-emphasis {
    font-size: 2.8rem;
    color: #2c506f;
    font-weight: bold;
    margin-bottom: 1rem;
}
.thankyou-subtext {
    font-size: 1.1rem;
    color: #334e68;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}
.verifying-details {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 1rem;
    color: #52708c;
}
.verifying-details i.fa-spinner {
    margin-right: 0.5rem;
    color: #3498db;
}
.btn-back-home {
    display: inline-block;
    background-color: #ffffff;
    color: #34495e;
    padding: 0.75rem 2rem;
    border: 1px solid #bdc3c7;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.2s ease;
    margin-top: 1.5rem;
}
.btn-back-home:hover {
    background-color: #f8f9fa;
    border-color: #a7b0b6;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-decoration: none;
}
.thankyou-disclaimer-section {
    padding: 2.5rem 0;
    background-color: #ffffff;
}
.thankyou-disclaimer-section .container {
    max-width: 800px;
}
.thankyou-disclaimer-section h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: left; /* As per screenshot */
}
.thankyou-disclaimer-section p {
    font-size: 0.95rem;
    color: #495057;
    line-height: 1.6;
    text-align: left;
}
.thankyou-disclaimer-section p strong {
    font-weight: bold;
    color: #d9534f;
}
.thankyou-footer-links {
    padding: 1.5rem 0;
    background-color: #f8f9fa;
    border-top: 1px solid #e7e7e7;
}
.thankyou-footer-links .container {
    max-width: 900px;
}
.thankyou-footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.thankyou-footer-links li {
    margin: 0.5rem 0.5rem;
}
.thankyou-footer-links a {
    font-size: 0.9rem;
    color: #343a40;
    text-decoration: none;
    font-weight: 500;
    padding: 0.3rem 0.5rem;
}
.thankyou-footer-links a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* ========== FOOTER ========== */
footer {
    background-color: #343a40; /* Dark footer from index.html CSS */
    color: #f8f9fa;
    text-align: center;
    padding: 2.5rem 0;
    font-size: 0.9rem;
}
.footer-links a {
    color: #ced4da;
    margin: 0 10px;
}
.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}
footer p { /* This rule comes from your index CSS, I adjusted the one I added previously */
    margin-bottom: 0.5rem; /* Less margin than global p */
    line-height: 1.5;
}
.important-footer-disclaimer {
    font-size: 0.85rem;
    color: #adb5bd; /* Muted color from index CSS */
    margin-top: 1rem;
    font-style: italic;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}


/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 992px) {
    /* Index page card grid */
    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
}

@media (max-width: 768px) {
    /* Header & Nav */
    .header-container {
        /* Your index CSS had flex-direction: column; align-items: center;
           My previous suggestion had padding-left/right and kept flex-row.
           Sticking to your index CSS for mobile header layout. */
        flex-direction: column;
        align-items: center;
    }
    .logo { /* From your index CSS */
        margin-bottom: 0.75rem;
    }
    .logo a { /* From your index CSS */
        font-size: 1.3rem;
    }
    .menu-toggle {
        display: block;
        position: absolute;
        top: 1rem; /* May need adjustment depending on final logo size */
        right: 1rem;
    }
    nav .nav-menu {
        display: none; /* Hidden by default */
        flex-direction: column;
        width: 100%;
        position: static; /* Changed from absolute, to flow with stacked header */
        background-color: white;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        margin-top: 0.5rem;
    }
    nav .nav-menu.active { /* JS will toggle this class */
        display: flex;
    }
    nav .nav-menu li {
        margin-left: 0; /* Full width */
        width: 100%;
        text-align: center;
    }
    nav .nav-menu a {
        display: block;
        padding: 0.8rem 1rem; /* From index CSS */
        border-bottom: 1px solid #f1f1f1; /* From index CSS */
    }
    nav .nav-menu li:last-child a {
        border-bottom: none;
    }
    nav .nav-menu a:hover,
    nav .nav-menu a.active {
        background-color: #e9ecef; /* From index CSS */
    }

    /* Index page specifics */
    .cards-grid {
        grid-template-columns: 1fr; /* Stack cards */
    }
    .card {
        min-height: auto;
    }
    h2 { font-size: 1.75rem; margin-bottom: 2rem; }
    .disclaimer-bar p { font-size: 0.85rem; }

    /* Contact Page */
    .contact-page-content {
        flex-direction: column;
        align-items: center;
    }
    .contact-card {
        width: 90%;
        max-width: 500px; /* Limit width on mobile */
        margin-bottom: 20px;
    }

    /* Form Page */
    .form-page-title { font-size: 1.75rem; }
    .form-section-title { font-size: 1.3rem; }
    #hsrpBookingForm .form-grid {
        grid-template-columns: 1fr;
    }
    .form-container { padding: 1.5rem; }

    /* Thank You Page */
    .thankyou-content-area { padding: 2rem 0 3rem; }
    .thankyou-main-title { font-size: 1.5rem; }
    .thankyou-emphasis { font-size: 2.2rem; }
    .thankyou-subtext { font-size: 1rem; }
    .thankyou-disclaimer-section h2,
    .thankyou-disclaimer-section p {
        text-align: center;
    }
    .thankyou-footer-links ul {
        flex-direction: column;
        align-items: center;
    }
    .thankyou-footer-links li { margin: 0.4rem 0; }
}

@media (max-width: 480px) {
    /* Header & Nav */
    .logo a { font-size: 1.2rem; padding: 0.4rem 0.8rem;}
    /* nav .nav-menu a { font-size: 0.9rem; } */ /* Already 0.9rem, no change needed */

    /* Index Page */
    .card h3 { font-size: 1.05rem; }
    .btn { font-size: 0.85rem; padding: 0.6rem 1.2rem; }
    .important-notice { font-size: 0.9rem; padding: 0.6rem 1rem;}

    /* Form Page */
     .form-page-title { font-size: 1.5rem; }
    .form-section-title { font-size: 1.15rem; }
    #hsrpBookingForm input[type="text"],
    #hsrpBookingForm input[type="email"],
    #hsrpBookingForm input[type="tel"],
    #hsrpBookingForm select,
    #hsrpBookingForm textarea {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    .btn-next {
        padding: 0.7rem 2rem;
        font-size: 0.95rem;
        width: 100%;
        text-align: center;
    }
    .form-submit-group {
        text-align: center;
    }
}