:root {
    --primary-blue: #1a237e;
    --dark-blue: #0d47a1;
    --light-blue: #2196f3;
    --accent-yellow: #ffd700;
    --accent-orange: #ff9800;
    --accent-green: #4caf50;
    --accent-red: #f44336;
    --text-color: #333;
    --light-text-color: #666;
    --background-light: #f4f4f4;
    --background-white: #ffffff;
    --border-light: #ddd;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --shadow-strong: rgba(0, 0, 0, 0.2);
}

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: var(--background-light);
    color: var(--text-color);
}

header {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px var(--shadow-light);
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.header-logo {
    height: 100px;
    width: auto;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.header-content h1 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--primary-blue);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.header-auth {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-button {
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.login-button {
    background-color: var(--primary-blue);
    color: var(--background-white);
}

.login-button:hover {
    background-color: #283593;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.2);
}

.dashboard-button {
    background-color: var(--accent-green);
    color: var(--background-white);
}

.dashboard-button:hover {
    background-color: #388e3c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.2);
}

.logout-button {
    background-color: var(--accent-red);
    color: var(--background-white);
}

.logout-button:hover {
    background-color: #d32f2f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(198, 40, 40, 0.2);
}

nav {
    background-color: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 1400px;
    margin: 0 auto;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 6px;
    display: block;
    position: relative;
}

nav ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

nav ul li a:hover {
    color: var(--primary-blue);
    background-color: rgba(26, 35, 126, 0.05);
}

nav ul li a:hover::before {
    width: 80%;
}

nav ul li a.active {
    color: var(--primary-blue);
    font-weight: 600;
}

nav ul li a.active::before {
    width: 80%;
    background: var(--primary-blue);
}

/* User email display in nav */
nav ul li span {
    color: var(--primary-blue);
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    background-color: rgba(26, 35, 126, 0.05);
    border-radius: 6px;
    margin-left: 1rem;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .header-container {
        padding: 0.5rem 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .header-logo {
        height: 80px;
    }

    .header-content h1 {
        font-size: 1.4rem;
    }

    .header-auth {
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
    }

    .auth-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    /* Mobile Navigation Menu */
    nav {
        position: relative;
    }

    nav ul {
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        padding: 1rem;
        border-radius: 0;
        border-bottom: 1px solid var(--border-light);
    }

    nav ul li a::before {
        display: none;
    }

    nav ul li a:hover {
        background-color: rgba(26, 35, 126, 0.05);
    }

    /* Mobile Menu Button */
    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 1rem;
        top: -2.5rem;
        background: none;
        border: none;
        padding: 0.5rem;
        cursor: pointer;
        z-index: 1001;
    }

    .mobile-menu-btn span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--primary-blue);
        margin: 5px 0;
        transition: all 0.3s ease;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Mobile Hero Section */
    .hero {
        padding: 2rem 1rem;
    }

    .hero h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .welcome-message {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .welcome-features {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .feature {
        padding: 1rem;
    }

    /* Mobile Stats */
    .stats-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .stat-item {
        width: 100%;
        padding: 1rem;
    }

    /* Mobile Testimonials */
    .testimonial-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .testimonial {
        width: 100%;
    }

    /* Mobile Forms */
    .service-form {
        padding: 1rem;
    }

    .service-form fieldset {
        padding: 1rem;
    }

    .service-form input,
    .service-form select,
    .service-form textarea {
        width: 100%;
        padding: 0.8rem;
    }

    /* Mobile Tables */
    .dashboard-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .dashboard-table th,
    .dashboard-table td {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    /* Mobile Contact Cards */
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .contact-card {
        padding: 1rem;
    }

    /* Mobile Service Buttons */
    .service-buttons {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 1rem;
    }

    .service-btn {
        width: 100%;
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    /* Mobile Dashboard */
    .dashboard-container {
        padding: 1rem;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .dashboard-filters {
        flex-direction: column;
        gap: 1rem;
    }

    .filter-group {
        width: 100%;
    }

    /* Mobile Modal */
    .modal-content {
        width: 95%;
        margin: 1rem;
        padding: 1rem;
    }

    .view-details-content {
        padding: 1rem;
    }

    .details-table {
        font-size: 0.9rem;
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 480px) {
    .header-content h1 {
        font-size: 1.2rem;
    }

    .header-logo {
        height: 60px;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }

    .auth-button {
        width: 100%;
        text-align: center;
    }

    .dashboard-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .action-button {
        width: 100%;
        text-align: center;
    }
}

.hero {
    background-image: url('images/home-hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--background-white);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.4); /* Dark overlay */
}

/* Unique background images for specific pages */
.home-hero {
    background-image: url('images/home-hero.jpg');
}

.about-hero {
    background-image: url('images/about-hero.jpg');
}

.services-hero {
    background-image: url('images/services-hero.jpg');
}

.contact-hero {
    background-image: url('images/contact-hero.jpg');
}

.my-requests-hero, .admin-hero {
    /* background-image: url('images/dashboard-hero.jpg'); */ /* Removed dashboard background */
    min-height: 250px; /* Adjust height for dashboard headers */
    padding: 40px 20px;
    /* box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.5); */ /* Removed dark overlay */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    z-index: 1;
}

.hero > * {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: var(--background-white);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.welcome-message {
    font-size: 1.3rem;
    max-width: 800px;
    margin-bottom: 30px;
    color: var(--background-white);
    line-height: 1.6;
}

.welcome-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow features to wrap on smaller screens */
    gap: 30px;
    margin-top: 50px;
    max-width: 1200px;
    padding: 0 20px;
}

.feature {
    background-color: var(--background-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow-medium);
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 350px; /* Max width for consistency */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-strong);
}

.feature h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature p {
    color: var(--light-text-color);
    font-size: 1rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background-color: var(--dark-blue);
    color: var(--background-white);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 20px;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .welcome-features {
        flex-direction: column; /* Stack features vertically on smaller screens */
        align-items: center;
        gap: 20px;
    }
    
    .feature {
        min-width: unset;
        width: 90%; /* Adjust width for better mobile fit */
        max-width: 400px; /* Max width for mobile features */
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .welcome-message {
        font-size: 1.1rem;
    }
}

section {
    padding: 60px 20px; /* Increased padding for more breathing room */
    max-width: 1200px; /* Increased max-width for content */
    margin: 40px auto; /* Centered with top/bottom margin */
    background: var(--background-white);
    border-radius: 12px; /* Slightly larger border-radius */
    box-shadow: 0 4px 15px var(--shadow-medium); /* Enhanced shadow */
    margin-bottom: 40px; /* More space between sections */
}

#services ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* Slightly smaller gap for service tags */
    padding: 0;
    list-style: none;
    justify-content: center;
    margin-bottom: 30px; /* Space below tags */
}

#services li {
    background: var(--primary-blue);
    color: var(--background-white);
    padding: 10px 20px;
    border-radius: 20px; /* Pill-shaped tags */
    font-weight: 500;
    font-size: 0.95rem; /* Slightly smaller font for tags */
    margin-bottom: 0; /* Remove redundant margin */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#services li:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
}

.destinations-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid */
    gap: 30px; /* Increased gap */
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto; /* Center the grid */
    padding: 20px 0;
}

.destination {
    background: var(--background-white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; /* Flex container for content */
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Push content apart */
}

.destination:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.destination img {
    max-width: 100%;
    height: 180px; /* Fixed height for consistency */
    object-fit: cover; /* Ensure images cover the area */
    border-radius: 8px; /* Rounded corners for images */
    margin-bottom: 15px;
}

.destination h3 {
    color: var(--primary-blue);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.destination p {
    color: var(--light-text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1; /* Allow text to grow */
}

/* Contact form styling (already refined in previous turn, ensuring variable usage) */
#contact form {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Consistent gap with other forms */
    max-width: 600px; /* Adjusted max-width */
    margin: 30px auto; /* Add margin */
    padding: 30px; /* Add padding */
    background-color: var(--background-white);
    border-radius: 12px;
    box-shadow: 0 6px 20px var(--shadow-light);
}

#contact input, #contact textarea {
    padding: 12px;
    border: 1px solid var(--border-light);
    border-radius: 8px; /* Consistent border-radius */
    font-size: 1rem;
    color: var(--text-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contact input:focus, #contact textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.2);
    outline: none;
}

#contact button {
    background: var(--dark-blue);
    color: var(--background-white);
    border: none;
    padding: 14px 25px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 15px;
}

#contact button:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

footer {
    background: var(--primary-blue);
    color: var(--background-white);
    text-align: center;
    padding: 25px 20px; /* Increased padding */
    font-size: 0.9rem;
    margin-top: 50px; /* More space above footer */
}

/* Service Forms Styling */
.service-form {
    margin: 40px auto; /* Centered with more space */
    max-width: 750px; /* Slightly wider */
    background: var(--background-white);
    padding: 40px; /* Increased padding */
    border-radius: 15px; /* Larger border-radius */
    box-shadow: 0 8px 30px var(--shadow-medium); /* Stronger shadow */
    font-size: 1rem; /* Base font size */
    color: var(--text-color);
    border: 1px solid var(--border-light);
}

.service-form fieldset {
    margin-bottom: 30px; /* More space below fieldsets */
    padding: 25px;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    background: var(--background-light);
}

.service-form legend {
    font-weight: 700;
    color: var(--primary-blue);
    padding: 5px 15px;
    font-size: 1.2rem; /* Larger font for legend */
    background: var(--background-white);
    border: 1px solid var(--border-light);
    border-radius: 6px;
}

.service-form label {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem; /* Slightly smaller label font */
}

.service-form input,
.service-form select,
.service-form textarea {
    padding: 12px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
    margin-top: 8px; /* More space between label and input */
    background: var(--background-white);
    color: var(--text-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-form input:focus,
.service-form select:focus,
.service-form textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(26, 35, 126, 0.2); /* Stronger focus outline */
    outline: none;
}

.service-form input[type="date"] {
    color: var(--text-color);
}

.service-form input[required],
.service-form select[required] {
    border-left: 3px solid var(--accent-orange); /* Changed to accent orange for required */
}

.service-form button[type="submit"] {
    width: 100%;
    padding: 16px;
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 25px; /* More space above submit button */
    background: var(--dark-blue);
    color: var(--background-white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.service-form button[type="submit"]:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.service-form button[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Form Container Styling */
[id$="FormContainer"] {
    margin-top: 30px;
    padding: 30px;
    background: var(--background-light);
    border-radius: 15px;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 15px var(--shadow-light);
}

/* Important Notice Box */
.important-notice {
    background: #fff8e1; /* Lighter yellow for notice */
    border: 1px solid var(--accent-yellow);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
}

.important-notice strong {
    color: var(--primary-blue);
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.important-notice span {
    font-weight: 500;
}

/* Service Button Styling Update */
.service-btn {
    background: var(--primary-blue);
    color: var(--background-white);
    border: none;
    padding: 15px 35px; /* Larger padding */
    border-radius: 8px;
    font-size: 1.1rem; /* Slightly larger font */
    font-weight: 600;
    margin-bottom: 12px; /* More space below buttons */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px var(--shadow-light);
    outline: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-btn:hover {
    background: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow-medium);
}

.service-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px var(--shadow-light);
}

.service-btn.active {
    background: var(--dark-blue);
    color: var(--background-white);
    border: 2px solid var(--accent-yellow); /* Active state border */
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2); /* Inner shadow for active */
}

@media (max-width: 800px) {
    .service-form {
        margin: 20px;
        padding: 25px;
        font-size: 0.95rem;
    }
    
    .service-form fieldset {
        padding: 15px;
    }
    
    .service-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 700px) {
    .destinations-list {
        grid-template-columns: 1fr; /* Stack destinations on small screens */
        padding: 0 15px;
    }

    #services ul {
        flex-direction: column; /* Stack service tags vertically */
        align-items: center;
    }

    section {
        padding: 30px 15px;
        margin: 20px auto;
    }

    .destination {
        width: 90%; /* Adjust width for better mobile fit */
    }

    .logo {
        height: 60px;
    }
}

.hidden { 
    display: none !important;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Responsive grid for stats */
    gap: 25px;
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.stat-item {
    background: var(--background-white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    color: var(--light-text-color);
    font-weight: 500;
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--accent-yellow); /* Yellow for feature icons */
    margin-bottom: 20px;
}

.testimonials {
    background: var(--background-light);
    padding: 60px 20px;
    text-align: center;
    margin-top: 50px;
    border-top: 1px solid var(--border-light);
}

.testimonials h3 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 40px;
}

.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial {
    background: var(--background-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px var(--shadow-light);
    text-align: left;
    line-height: 1.7;
    font-style: italic;
    color: var(--text-color);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.quote {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.author {
    font-style: normal;
    font-weight: 600;
    color: var(--primary-blue);
    margin-top: 15px;
    display: block;
    text-align: right;
}

@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: 1fr; /* Stack stats on small screens */
        padding: 0 15px;
        gap: 20px;
    }
    
    .stat-item {
        min-height: 120px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }

    .testimonial-container {
        grid-template-columns: 1fr; /* Stack testimonials on small screens */
        padding: 0 15px;
    }
    
    .testimonial {
        padding: 25px;
    }
    
    .hero {
        padding: 80px 15px; /* Adjust padding for hero section on mobile */
    }
}

/* About Page Styles */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    align-items: flex-start;
}

.about-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-medium);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-text {
    flex: 2;
    min-width: 300px;
    background: var(--background-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px var(--shadow-light);
}

.about-text h2 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.mission-vision {
    display: flex;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: center;
}

.mission, .vision {
    flex: 1;
    min-width: 300px;
    background: var(--background-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission:hover, .vision:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.mission h3, .vision h3 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.mission p, .vision p {
    color: var(--light-text-color);
    font-size: 1rem;
    line-height: 1.6;
}

.values {
    text-align: center;
    margin-top: 60px;
    padding: 0 20px;
}

.values h3 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-item {
    background: var(--background-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.value-icon {
    font-size: 3.5rem;
    color: var(--accent-orange); /* Orange for value icons */
    margin-bottom: 15px;
}

.value-item h4 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.value-item p {
    color: var(--light-text-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    background-color: var(--background-light);
    border-radius: 12px;
    box-shadow: 0 5px 15px var(--shadow-light);
    margin-bottom: 20px; /* Space below on smaller screens */
}

.contact-info h2 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    justify-content: center;
    margin-top: 30px;
}

.contact-card {
    background-color: var(--background-white);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 3px 10px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px var(--shadow-medium);
}

.contact-icon {
    font-size: 3rem;
    color: var(--light-blue); /* Light blue for contact icons */
    margin-bottom: 15px;
}

.contact-card h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--light-text-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Form elements styling (already handled, just adding more comprehensive media queries) */
@media (max-width: 900px) {
    .about-content {
        flex-direction: column; /* Stack about content on medium screens */
        align-items: center;
    }

    .about-image,
    .about-text {
        width: 100%;
        max-width: 600px;
        margin: 0;
    }

    .mission-vision {
        flex-direction: column; /* Stack mission/vision on medium screens */
        align-items: center;
    }

    .mission, .vision {
        width: 100%;
        max-width: 500px;
        margin-bottom: 20px;
    }

    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Adjust grid for medium screens */
    }

    .contact-container {
        flex-direction: column; /* Stack contact info and form on medium screens */
        align-items: center;
    }

    .contact-info,
    .contact-form-container {
        margin: 0 0 20px 0; /* Adjust margins for stacking */
        width: 100%;
        max-width: 600px; /* Constrain width */
    }
}

@media (max-width: 600px) {
    .about-text h2,
    .mission h3, .vision h3,
    .values h3,
    .contact-info h2 {
        font-size: 2rem; /* Smaller headings on very small screens */
    }

    .about-text p,
    .mission p, .vision p,
    .value-item p,
    .contact-card p {
        font-size: 0.9rem; /* Smaller paragraph text */
    }

    .about-content,
    .testimonials {
        padding: 40px 15px;
    }

    .about-image {
        min-width: unset;
    }
    
    .contact-cards {
        grid-template-columns: 1fr; /* Stack contact cards on very small screens */
        gap: 20px;
    }
    
    .contact-card {
        max-width: 100%;
    }
}

/* Services Page Styles */
.services-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.services-intro {
    text-align: center;
    background: var(--background-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow-light);
}

.services-intro h2 {
    font-size: 2.8rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.services-intro p {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.service-category {
    background: var(--background-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px var(--shadow-light);
    margin-bottom: 30px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.category-icon {
    font-size: 3.5rem;
    color: var(--accent-green); /* Green for service categories */
}

.category-header h3 {
    font-size: 2rem;
    color: var(--primary-blue);
}

.service-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.service-btn {
    background: var(--primary-blue);
    color: var(--background-white);
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px var(--shadow-light);
    outline: none;
}

.service-btn:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-medium);
}

.service-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px var(--shadow-light);
}

.service-btn.active {
    background: var(--dark-blue);
    color: var(--background-white);
    border: 2px solid var(--accent-yellow); /* Highlight active button */
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Form Container Styling (already refined) */
[id$="FormContainer"] {
    margin-top: 30px;
    padding: 30px;
    background: var(--background-light);
    border-radius: 15px;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 15px var(--shadow-light);
}

/* Important Notice Box (already refined) */
.important-notice {
    background: #fff8e1;
    border: 1px solid var(--accent-yellow);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
}

.important-notice strong {
    color: var(--primary-blue);
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.important-notice span {
    font-weight: 500;
}

@media (max-width: 768px) {
    .services-container {
        padding: 0 15px;
        gap: 30px;
    }

    .services-intro {
        padding: 30px 20px;
    }

    .services-intro h2 {
        font-size: 2.2rem;
    }

    .services-intro p {
        font-size: 1rem;
    }
    
    .service-buttons {
        flex-direction: column; /* Stack buttons on small screens */
        align-items: stretch;
    }
    
    .service-btn {
        width: 100%;
        text-align: center;
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .category-header h3 {
        font-size: 1.6rem;
    }
    
    [id$="FormContainer"] {
        padding: 20px;
    }
}

/* Dashboard Styles */
.dashboard-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 20px;
}

.dashboard-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin: 0;
}

.dashboard-subtitle {
    font-size: 1.1rem;
    color: var(--light-text-color);
    margin-top: 5px;
}

.dashboard-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--background-white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.stat-card h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.stat-card .value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 5px;
}

.chart-container {
    background: var(--background-white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-light);
    margin-bottom: 30px;
}

.dashboard-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px; /* Increased gap for more spacing between filter groups */
    margin-bottom: 30px;
    background: var(--background-white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-light);
}

.filter-group label {
    display: block;
    margin-bottom: 10px; /* Increased margin for more space below labels */
    font-weight: 600;
    color: var(--text-color);
}

.filter-group.search-group input {
    padding-left: 10px; /* Adjust padding for search input */
}

.dashboard-filters select,
.dashboard-filters input[type="text"],
.dashboard-filters input[type="date"] {
    width: 100%;
    padding: 12px; /* Increased padding for taller inputs */
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-color);
    background: var(--background-white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-filters select:focus,
.dashboard-filters input[type="text"]:focus,
.dashboard-filters input[type="date"]:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.2);
    outline: none;
}

.dashboard-content {
    background: var(--background-white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-light);
    overflow-x: auto; /* Enable horizontal scrolling for tables */
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.dashboard-table th,
.dashboard-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-light);
    text-align: left;
    font-size: 0.95rem;
}

.dashboard-table th {
    background-color: var(--background-light);
    color: var(--primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-table td {
    color: var(--text-color);
}

.dashboard-table tbody tr:hover {
    background-color: rgba(26, 35, 126, 0.03);
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: capitalize;
}

.status-pending {
    background-color: var(--accent-yellow);
    color: #8a6d3b;
}

.status-in_progress {
    background-color: var(--light-blue);
    color: #1a237e;
}

.status-cancelled {
    background-color: var(--accent-red);
    color: #a94442;
}

.status-approved {
    background-color: var(--accent-green);
    color: #2e7d32;
}

.action-button {
    background-color: var(--primary-blue);
    color: var(--background-white);
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.action-button:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.view-button {
    background-color: var(--light-blue);
}

.view-button:hover {
    background-color: #1976d2;
}

.update-button {
    background-color: var(--accent-green);
}

.update-button:hover {
    background-color: #388e3c;
}

.delete-button {
    background-color: var(--accent-red);
}

.delete-button:hover {
    background-color: #d32f2f;
}

.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 5px solid var(--border-light);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Floating Modal/Detail Views */
.view-details-float {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.view-details-float.active {
    opacity: 1;
    visibility: visible;
}

.view-details-content {
    background: var(--background-white);
    padding: 40px; /* Increased padding to match image */
    border-radius: 8px; /* Sharper corners as per image */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Lighter, more subtle shadow */
    max-width: 550px; /* Adjusted max-width to match image proportions */
    width: 90%;
    position: relative;
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.view-details-content h2 {
    color: #4A2B70; /* Deeper purple as per image */
    font-size: 2.2rem; /* Larger font size for title */
    margin-bottom: 25px; /* Increased margin for title */
    text-align: left;
    border-bottom: none;
    padding-bottom: 0;
}

.request-id-display {
    font-size: 1rem; /* Smaller font size as per image */
    color: var(--text-color); /* Default text color */
    margin-bottom: 25px; /* Spacing below Request ID */
}

.request-id-display span {
    font-weight: 600; /* Request ID itself is bold */
}

.modal-body {
    margin-bottom: 20px; /* Space between body and footer */
}

.form-group {
    margin-bottom: 15px; /* Spacing between form groups */
}

.form-group:last-of-type {
    margin-bottom: 0; /* No margin below last form group */
}

.form-group label {
    display: block;
    font-size: 1rem;
    color: var(--text-color); /* Matches request ID color */
    margin-bottom: 8px; /* Space between label and input */
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px 12px; /* Adjusted padding */
    border: 1px solid var(--border-light); /* Subtle border */
    border-radius: 5px; /* Slightly rounded corners */
    font-size: 1rem;
    color: var(--text-color);
    background-color: var(--background-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue); /* Highlight on focus */
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1); /* Subtle shadow on focus */
}

.form-control[rows] {
    resize: vertical; /* Allow vertical resizing for textarea */
}

.modal-footer {
    padding-top: 25px; /* Adjusted padding-top to match image */
    border-top: 1px solid var(--border-light); /* Retain light border */
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.action-button {
    padding: 10px 20px; /* Adjusted padding for buttons */
    border-radius: 5px; /* Slightly rounded buttons */
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Space between icon and text */
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap; /* Prevent button text from wrapping */
}

/* Cancel button style */
#cancel-status-update {
    background-color: var(--background-white);
    color: var(--text-color);
    border: 1px solid var(--border-light); /* Light border */
}

#cancel-status-update:hover {
    background-color: var(--hover-light);
    border-color: var(--primary-blue); /* Primary blue border on hover */
    color: var(--primary-blue); /* Primary blue text on hover */
}

/* Update Status button style */
#submit-status-update {
    background-color: #4A2B70; /* Deeper purple as per image */
    color: var(--background-white);
    border: 1px solid #4A2B70; /* Matching border color */
}

#submit-status-update:hover {
    background-color: #371E52; /* Slightly darker purple on hover */
    border-color: #371E52;
}

/* Icon styling within buttons */
.action-button .material-icons {
    font-size: 1.2rem; /* Icon size */
    margin-right: 0;
}

/* Animation Keyframes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(-20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Apply animations to main elements */
.hero {
    animation: fadeIn 1s ease-out;
}

.hero h2 {
    animation: slideIn 0.8s ease-out 0.2s both;
}

.welcome-message {
    animation: fadeIn 1s ease-out 0.4s both;
}

.welcome-features {
    animation: fadeIn 1s ease-out 0.6s both;
}

.feature {
    animation: scaleIn 0.6s ease-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Enhanced navigation animations */
nav ul li a,
#main-nav ul li a {
    position: relative;
    transition: all 0.3s ease;
}

nav ul li a::after,
#main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #1a237e;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav ul li a:hover::after,
#main-nav ul li a:hover::after {
    width: 100%;
}

/* Enhanced button animations */
.cta-button {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* Service buttons animation */
.service-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Contact card animations */
.contact-card {
    animation: scaleIn 0.6s ease-out;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Testimonial animations */
.testimonial {
    animation: fadeIn 0.8s ease-out;
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Stats animation */
.stat-item {
    animation: fadeIn 0.8s ease-out;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Dashboard animations */
.dashboard-stats .stat-card {
    animation: scaleIn 0.6s ease-out;
    transition: all 0.3s ease;
}

.dashboard-stats .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Loading animation enhancement */
.loading::after {
    animation: spin 1s linear infinite, pulse 2s ease-in-out infinite;
}

/* Modal animations */
.view-details-float {
    animation: scaleIn 0.4s ease-out;
}

.modal-content {
    animation: scaleIn 0.3s ease-out;
}

/* Form input animations */
.service-form input:focus,
.service-form textarea:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* Mobile menu animation */
@media (max-width: 768px) {
    nav ul {
        animation: slideIn 0.4s ease-out;
    }
    
    nav a {
        transition: transform 0.3s ease, background-color 0.3s ease;
    }
    
    nav a:hover {
        transform: translateX(8px);
        background-color: rgba(25, 118, 210, 0.1);
    }
}

.view-details-float.active .view-details-content {
    transform: translateY(0);
    opacity: 1;
}

/* Styling for the View Details Modal - Table-like Structure */
.details-section {
    margin-bottom: 20px; /* Space between sections */
    border: 1px solid var(--border-light); /* Light border around each section */
    border-radius: 8px; /* Rounded corners for sections */
    padding: 15px; /* Padding inside sections */
    background-color: var(--background-light); /* Slightly different background for sections */
}

.details-section:last-child {
    margin-bottom: 0; /* No bottom margin for the last section */
}

.details-section h4 {
    color: var(--primary-blue); /* Color for section titles */
    font-size: 1.2rem; /* Size for section titles */
    margin-top: 0; /* Remove default top margin */
    margin-bottom: 15px; /* Space below section title */
    padding-bottom: 10px; /* Padding below title for a subtle line */
    border-bottom: 1px solid var(--border-light); /* Separator line below title */
}

.details-table {
    width: 100%; /* Full width for the table */
    border-collapse: collapse; /* Collapse borders for a clean look */
}

.details-table td {
    padding: 10px 0; /* Vertical padding for cells */
    border-bottom: 1px solid var(--border-light); /* Separator line between rows */
    font-size: 0.95rem; /* Font size for content */
}

.details-table tr:last-child td {
    border-bottom: none; /* No border for the last row */
}

.details-table td:first-child {
    font-weight: 600; /* Make labels bold */
    width: 35%; /* Allocate space for labels */
    color: var(--text-color); /* Color for labels */
    padding-right: 15px; /* Space between label and value */
}

.modal-form-data-table {
    width: 100%;
    border-collapse: collapse;
}

.modal-form-data-table th,
.modal-form-data-table td {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    text-align: left;
    font-size: 0.95rem;
}

.modal-form-data-table th {
    font-weight: 600;
    width: 35%;
    color: var(--text-color);
    padding-right: 15px;
}

.modal-form-data-table tr:last-child td,
.modal-form-data-table tr:last-child th {
    border-bottom: none;
}

/* Ensure Facebook Messenger Chat Plugin is visible */
.fb_dialog_overlay,
.fb_dialog {
    opacity: 1 !important;
    top: auto !important;
    right: 20px !important; /* Adjust as needed */
    bottom: 20px !important; /* Adjust as needed */
    left: auto !important;
    position: fixed !important;
    z-index: 99999999 !important; /* Ensure it's on top */
    display: block !important;
    visibility: visible !important;
}

.fb-customerchat.fb_invisible_flow.fb_iframe_widget iframe {
    opacity: 1 !important;
    visibility: visible !important;
}
