/*
Theme Name: Inkesh FM Services
Description: A professional WordPress theme for cleaning and facility management services.
Version: 1.0.0
Author: Inkesh FM
Text Domain: inkesh-fm
*/

/* Basic Reset and Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header Styles */
.site-header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Top Bar */
.top-bar {
    background: #0e3867;
    color: white;
    padding: 12px 0;
    font-size: 14px;
}

.top-bar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.top-bar .flex {
    display: flex;
}

.top-bar .flex-col {
    flex-direction: column;
}

.top-bar .md\:flex-row {
    flex-direction: row;
}

.top-bar .justify-between {
    justify-content: space-between;
}

.top-bar .items-center {
    align-items: center;
}

.top-bar .space-y-2 > * + * {
    margin-top: 0.5rem;
}

.top-bar .md\:space-y-0 > * + * {
    margin-top: 0;
}

.top-bar .md\:space-x-6 > * + * {
    margin-left: 1.5rem;
}

.top-bar .space-x-2 > * + * {
    margin-left: 0.5rem;
}

.top-bar a {
    color: white;
    text-decoration: none;
}

.top-bar a:hover {
    text-decoration: underline;
}

.top-bar svg {
    width: 1rem;
    height: 1rem;
}

/* Contact Info Bar - Ensure all text is white */
.top-bar *,
.top-bar span,
.contact-info-bar,
.contact-info-bar *,
.contact-info-bar span,

/* Footer Contact Info Styling */
.contact-info {
    padding: 8px 0;
    background: #ffffff00;
}

/* Service Archive Styles */
.view-toggle {
    transition: all 0.2s ease;
}

.view-toggle.active {
    background-color: white;
    color: #2563eb;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.view-toggle:not(.active) {
    color: #6b7280;
}

.view-toggle:hover {
    color: #2563eb;
}

.services-list .service-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
}

.services-list .service-card .p-8 {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.services-list .service-card .text-center {
    text-align: left;
    flex-shrink: 0;
    width: auto;
}

.services-list .service-card .mb-6:last-of-type {
    flex: 1;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0.5rem;
    margin: 0 0.125rem;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    color: #374151;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pagination a:hover {
    background-color: #f3f4f6;
    border-color: #d1d5db;
}

.pagination .current {
    background-color: #2563eb;
    border-color: #2563eb;
    color: white;
}

.pagination .dots {
    border: none;
    background: none;
    color: #9ca3af;
}

@media (max-width: 768px) {
    .services-list .service-card {
        flex-direction: column;
        text-align: center;
    }
    
    .services-list .service-card .p-8 {
        flex-direction: column;
        text-align: center;
    }
    
    .services-list .service-card .text-center {
        text-align: center;
    }
}
.contact-info-bar a {
    color: white !important;
}

.contact-info-bar a:hover {
    opacity: 0.8;
}

/* Newsletter Form Styles */
.newsletter-form {
    margin-bottom: 1.5rem;
}

.newsletter-form .flex {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    align-items: stretch;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #111827;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem 0 0 0.5rem;
    border-right: none;
    outline: none;
    transition: all 0.2s ease-in-out;
}

.newsletter-form input[type="email"]:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.newsletter-form button[type="submit"] {
    flex-shrink: 0;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #ffffff;
    background-color: #2563eb;
    border: 1px solid #2563eb;
    border-radius: 0 0.5rem 0.5rem 0;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
}

.newsletter-form button[type="submit"]:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
}

.newsletter-form button[type="submit"]:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

/* Responsive adjustments for newsletter form */
@media (max-width: 640px) {
    .newsletter-form .flex {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .newsletter-form input[type="email"] {
        border-radius: 0.5rem;
        border-right: 1px solid #d1d5db;
    }
    
    .newsletter-form button[type="submit"] {
        border-radius: 0.5rem;
        width: 100%;
    }
}

/* Contact Page Styles */
.contact-page {
    padding: 0;
    background: #f8f9fa;
}

.contact-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.contact-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    padding: 80px 0;
    background: white;
}

.contact-info h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e3a8a;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.contact-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #1e3a8a;
}

.contact-item p {
    color: #6b7280;
    margin: 0;
}

.contact-form-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-form-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e3a8a;
}

.contact-form-section .subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.contact-map {
    padding: 80px 0;
    background: white;
}

.contact-map h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e3a8a;
}

.contact-map .subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 3rem;
}

.map-placeholder {
    background: #f3f4f6;
    border: 2px dashed #d1d5db;
    border-radius: 15px;
    padding: 4rem 2rem;
    text-align: center;
    color: #6b7280;
}

.map-placeholder svg {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    fill: #9ca3af;
}

/* About Page Styles */
.about-page {
    padding: 0;
    background: #f8f9fa;
}

.about-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 80px 0;
}

.about-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-hero-text p {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.6;
}

.about-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.about-story {
    padding: 80px 0;
    background: white;
}

.about-story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-story h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1e3a8a;
}

.about-story p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #6b7280;
}

.about-mission-vision {
    padding: 80px 0;
    background: #f8f9fa;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.mission-card,
.vision-card {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.mission-card h3,
.vision-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #1e3a8a;
}

.mission-card p,
.vision-card p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #6b7280;
}

.about-values {
    padding: 80px 0;
    background: white;
}

.about-values h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e3a8a;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background: white;
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
    stroke: white;
    stroke-width: 2;
}

.value-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #1e3a8a;
}

.value-item p {
    color: #6b7280;
    line-height: 1.6;
}

.about-stats {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
}

.about-stats h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fbbf24;
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
}

.about-why-choose {
    padding: 80px 0;
    background: white;
}

.why-choose-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-why-choose h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e3a8a;
}

.about-why-choose p {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.feature-item h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #1e3a8a;
}

.feature-item p {
    color: #6b7280;
    line-height: 1.6;
}

.about-team {
    padding: 80px 0;
    background: #f8f9fa;
}

.team-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-team h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e3a8a;
}

.about-team .team-header p {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.team-member {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-photo {
    margin-bottom: 1.5rem;
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.photo-placeholder {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-placeholder svg {
    width: 60px;
    height: 60px;
    fill: #9ca3af;
}

/* Responsive adjustments for team grid */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .member-photo {
        width: 120px;
        height: 120px;
    }
    
    .photo-placeholder {
        width: 60px;
        height: 60px;
    }
}

.team-member h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #1e3a8a;
}

.team-member p {
    color: #6b7280;
}

.about-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #1e3a8a;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
    text-decoration: none;
    color: #1e3a8a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-info,
    .contact-form-section,
    .contact-map {
        padding: 60px 0;
    }
    
    .contact-info h2,
    .contact-form-section h2,
    .contact-map h2 {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* About Page Mobile Styles */
    .about-hero {
        padding: 60px 0;
    }
    
    .about-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-hero-text h1 {
        font-size: 2.5rem;
    }
    
    .about-story,
    .about-mission-vision,
    .about-values,
    .about-stats,
    .about-why-choose,
    .about-team,
    .about-cta {
        padding: 60px 0;
    }
    
    .about-story h2,
    .about-values h2,
    .about-stats h2,
    .about-why-choose h2,
    .about-team h2,
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mission-card,
    .vision-card {
        padding: 2rem;
    }
    
    .values-grid,
    .features-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Main Header */
.site-header {
    background: white;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Container */
.container-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Layout */
.site-header .flex {
    display: flex;
}

.site-header .flex-wrap {
    flex-wrap: wrap;
}

.site-header .justify-between {
    justify-content: space-between;
}

.site-header .items-center {
    align-items: center;
}

.site-header .justify-center {
    justify-content: center;
}

.site-header .flex-shrink-0 {
    flex-shrink: 0;
}

.site-header .flex-1 {
    flex: 1;
}

/* Logo Section - Left Aligned */
.site-header .flex-shrink-0 {
    flex-shrink: 0;
    margin-right: 2rem;
}

/* Navigation Menu - Center */
.site-header .justify-center {
    justify-content: center;
}

/* Right Side Elements */
.site-header .space-x-4 > * + * {
    margin-left: 1rem;
}

/* Search Icon in Header */
.site-header #search-toggle {
    color: #6b7280;
    transition: all 0.2s;
}

.site-header #search-toggle:hover {
    color: #0e3867;
    background-color: #f3f4f6;
}

.site-header #search-toggle svg {
    width: 1.25rem;
    height: 1.25rem;
}

.site-header .space-x-8 > * + * {
    margin-left: 2rem;
}

.site-header .space-x-4 > * + * {
    margin-left: 1rem;
}

.site-header .space-x-3 > * + * {
    margin-left: 0.75rem;
}

.site-header .space-x-6 > * + * {
    margin-left: 1.5rem;
}

/* Logo Styling */
.site-header .flex-shrink-0 a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.site-header .custom-logo-wrapper {
    display: flex;
    align-items: center;
}

.site-header .custom-logo-wrapper img {
    max-height: 60px;
    width: auto;
}

/* Logo Circle with V */
.site-header .w-12 {
    width: 3rem;
}

.site-header .h-12 {
    height: 3rem;
}

.site-header .w-8 {
    width: 2rem;
}

.site-header .h-8 {
    height: 2rem;
}

.site-header .w-6 {
    width: 1.5rem;
}

.site-header .h-6 {
    height: 1.5rem;
}

.site-header .w-2 {
    width: 0.5rem;
}

.site-header .h-2 {
    height: 0.5rem;
}

.site-header .rounded-full {
    border-radius: 9999px;
}

.site-header .rounded-t-full {
    border-top-left-radius: 9999px;
    border-top-right-radius: 9999px;
}

.site-header .bg-primary-600 {
    background-color: #0e3867;
}

.site-header .bg-blue-300 {
    background-color: #93c5fd;
}

.site-header .text-white {
    color: white;
}

.site-header .text-primary-600 {
    color: #0e3867;
}

.site-header .text-blue-400 {
    color: #60a5fa;
}

.site-header .text-xl {
    font-size: 1.25rem;
}

.site-header .text-2xl {
    font-size: 1.5rem;
}

.site-header .text-sm {
    font-size: 0.875rem;
}

.site-header .font-bold {
    font-weight: 700;
}

.site-header .font-medium {
    font-weight: 500;
}

.site-header .font-semibold {
    font-weight: 600;
}

.site-header .relative {
    position: relative;
}

.site-header .absolute {
    position: absolute;
}

.site-header .top-0 {
    top: 0;
}

.site-header .left-1\/2 {
    left: 50%;
}

.site-header .transform {
    transform: translateX(-50%);
}

.site-header .-translate-x-1\/2 {
    transform: translateX(-50%);
}

.site-header .ml-1 {
    margin-left: 0.25rem;
}

.site-header .-mt-1 {
    margin-top: -0.25rem;
}

.site-header .z-10 {
    z-index: 10;
}

/* Navigation Menu */
.site-header .hidden {
    display: none;
}

.site-header .lg\:flex {
    display: flex !important;
}

.site-header ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-header ul.flex {
    display: flex;
}

.site-header ul.space-y-1 > * + * {
    margin-top: 0.25rem;
}

.site-header li a {
    color: #0e3867;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    transition: all 0.2s;
}

.site-header li a:hover {
    background-color: #f3f4f6;
}

.site-header li a.border-b-2 {
    border-bottom: 2px solid #0e3867;
}

.site-header li a.pb-1 {
    padding-bottom: 0.25rem;
}

/* CTA Button Styling */
#service-booking-btn {
    background-color: #0e3867;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

#service-booking-btn:hover {
    background-color: #1e40af;
    transform: scale(1.05);
}

/* Mobile Menu Toggle Button */
#mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 0.375rem;
    transition: background-color 0.2s;
}

#mobile-menu-toggle:hover {
    background-color: #f3f4f6;
}

#mobile-menu-toggle svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Mobile Menu */
#mobile-menu {
    display: none;
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

#mobile-menu.show {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .top-bar .flex-col {
        flex-direction: column;
    }
    
    .top-bar .space-y-2 > * + * {
        margin-top: 0.5rem;
    }
    
    .site-header .flex-wrap {
        flex-wrap: wrap;
    }
    
    .site-header .justify-between {
        justify-content: space-between;
    }
}

/* Responsive Header Layout */
@media (max-width: 1024px) {
    .site-header .flex-wrap {
        flex-wrap: wrap;
    }
    
    .site-header .justify-between {
        justify-content: space-between;
    }
    
    /* On mobile, stack logo and navigation vertically */
    .site-header .flex-shrink-0 {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 100%;
        justify-content: flex-start;
    }
    
    .site-header .justify-center {
        justify-content: flex-start;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .site-header .flex-shrink-0:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .site-header .flex-wrap {
        flex-direction: column;
        align-items: stretch;
    }
    
    .site-header .flex-shrink-0 {
        order: 1;
        margin-bottom: 1rem;
    }
    
    .site-header .justify-center {
        order: 3;
        margin-bottom: 1rem;
    }
    
    .site-header .flex-shrink-0:last-child {
        order: 2;
        margin-bottom: 0;
    }
    
    /* Mobile menu styling */
    #mobile-menu {
        order: 4;
        width: 100%;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #e5e7eb;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.flex {
    display: flex !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Responsive adjustments */
@media (max-width: 1023px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    #mobile-menu.flex {
        display: flex !important;
    }
    
    #mobile-menu.hidden {
        display: none !important;
    }
}

/* Basic accessibility styles */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Search Icon Styling */
#search-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    color: #6b7280;
    border-radius: 0.5rem;
    transition: all 0.2s;
    cursor: pointer;
}

#search-toggle:hover {
    color: #0e3867;
    background-color: #f3f4f6;
}

#search-toggle svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Search Modal Styling */
#search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 50;
    display: none;
}

#search-modal.show {
    display: flex;
}

#search-modal .bg-white {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 42rem;
    width: 100%;
    max-height: 100vh;
    overflow-y: auto;
}

#search-modal .border-b {
    border-bottom: 1px solid #e5e7eb;
}

#search-modal h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

#search-modal .close-search-modal {
    color: #9ca3af;
    transition: color 0.2s;
}

#search-modal .close-search-modal:hover {
    color: #4b5563;
}

#search-modal .close-search-modal svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Search Input Styling */
#search-input {
    display: block;
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
    background-color: white;
    color: #111827;
    transition: all 0.2s;
}

#search-input::placeholder {
    color: #6b7280;
}

#search-input:focus {
    outline: none;
    border-color: #0e3867;
    box-shadow: 0 0 0 3px rgba(14, 56, 103, 0.1);
}

#search-input:focus::placeholder {
    color: #9ca3af;
}

/* Search Results Styling */
#live-search-results {
    display: none;
}

#live-search-results.show {
    display: block;
}

#live-search-results h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
}

#search-results-list {
    max-height: 300px;
    overflow-y: auto;
}

.search-result-item {
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    transition: all 0.2s;
    cursor: pointer;
}

.search-result-item:hover {
    background-color: #f9fafb;
    border-color: #0e3867;
}

.search-result-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.search-result-item p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.search-result-item .result-type {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background-color: #0e3867;
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 0.25rem;
    margin-top: 0.5rem;
}

/* Search Button Styling */
#live-search-form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border: 1px solid transparent;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.5rem;
    color: white;
    background-color: #0e3867;
    transition: all 0.2s;
    cursor: pointer;
}

#live-search-form button[type="submit"]:hover {
    background-color: #1e40af;
}

#live-search-form button[type="submit"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 56, 103, 0.1);
}

#live-search-form button[type="submit"] svg {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
}

/* Responsive Search Modal */
@media (max-width: 768px) {
    #search-modal .bg-white {
        margin: 1rem;
        max-width: calc(100% - 2rem);
        border-radius: 0.75rem;
    }
    
    #search-modal .p-6 {
        padding: 1rem;
    }
    
    #search-modal h2 {
        font-size: 1.25rem;
    }
    
    #search-input {
        font-size: 1rem;
        padding: 0.625rem 0.625rem 0.625rem 2.25rem;
    }
    
    #live-search-form button[type="submit"] {
        width: 100%;
        justify-content: center;
    }
    
    .search-result-item {
        padding: 0.5rem;
    }
    
    .search-result-item h4 {
        font-size: 0.875rem;
    }
    
    .search-result-item p {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    #search-modal .pt-20 {
        padding-top: 1rem;
    }
    
    #search-modal .p-4 {
        padding: 0.5rem;
    }
    
    #search-modal .bg-white {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }
}

/* RQ Modal Styling */
#rq-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

#rq-modal.show {
    display: flex;
}

#rq-modal .bg-white {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 64rem;
    max-height: 90vh;
    overflow-y: auto;
    margin: auto;
}

/* RQ Form Styling */
#rq-form label {
    font-weight: 500;
    color: #374151;
    display: block;
    margin-bottom: 0.5rem;
}

#rq-form input[type="text"],
#rq-form input[type="email"],
#rq-form input[type="tel"],
#rq-form select,
#rq-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s;
    box-sizing: border-box;
}

#rq-form input:focus,
#rq-form select:focus,
#rq-form textarea:focus {
    outline: none;
    border-color: #0e3867;
    box-shadow: 0 0 0 3px rgba(14, 56, 103, 0.1);
}

/* Radio Button Styling */
#rq-form input[type="radio"] {
    margin-right: 0.75rem;
    width: auto;
}

#rq-form input[type="radio"] + span {
    margin-left: 0.75rem;
    font-weight: 500;
}

/* Service Selection Grid */
#rq-form .grid {
    display: grid;
    gap: 1rem;
}

#rq-form .grid-cols-1 {
    grid-template-columns: 1fr;
}

#rq-form .md\:grid-cols-2 {
    grid-template-columns: 1fr;
}

/* Service Option Styling */
#rq-form label[for*="service_type"] {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 0;
}

#rq-form label[for*="service_type"]:hover {
    border-color: #0e3867;
    background-color: #f9fafb;
}

#rq-form input[type="radio"]:checked + span {
    color: #0e3867;
    font-weight: 600;
}

/* Form Grid Layout */
#rq-form .grid.grid-cols-1.md\:grid-cols-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Button Styling */
#rq-form button[type="submit"] {
    background-color: #0e3867;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#rq-form button[type="submit"]:hover {
    background-color: #1e40af;
}

#rq-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#cancel-rq {
    background-color: white;
    color: #374151;
    padding: 0.75rem 1.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}

#cancel-rq:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

/* Loading State */
#submit-loading {
    display: none;
}

#submit-loading.show {
    display: inline-flex;
    align-items: center;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

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

/* Responsive RQ Modal */
@media (min-width: 768px) {
    #rq-modal .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #rq-form button[type="submit"] {
        width: auto;
    }
    
    #cancel-rq {
        width: auto;
    }
    
    .flex.justify-end.space-x-4 {
        flex-direction: row;
        gap: 1rem;
    }
    
    .flex.justify-end.space-x-4 > * {
        width: auto;
    }
}

@media (max-width: 767px) {
    #rq-modal {
        padding: 0.5rem;
        align-items: flex-start;
        padding-top: 2rem;
    }
    
    #rq-modal .bg-white {
        margin: 0;
        max-height: calc(100vh - 4rem);
        border-radius: 0.75rem;
    }
    
    #rq-modal .p-6 {
        padding: 1rem;
    }
    
    #rq-modal h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    #rq-form .space-y-6 > * {
        margin-bottom: 1.5rem;
    }
    
    #rq-form .space-y-4 > * {
        margin-bottom: 1rem;
    }
    
    #rq-form label[for*="service_type"] {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    #rq-form input[type="text"],
    #rq-form input[type="email"],
    #rq-form input[type="tel"],
    #rq-form select,
    #rq-form textarea {
        padding: 0.875rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .flex.justify-end.space-x-4 {
        flex-direction: column;
        gap: 1rem;
    }
    
    .flex.justify-end.space-x-4 > * {
        width: 100%;
    }
}

@media (max-width: 480px) {
    #rq-modal {
        padding: 0.25rem;
        padding-top: 1rem;
    }
    
    #rq-modal .bg-white {
        margin: 0;
        max-height: calc(100vh - 2rem);
        border-radius: 0.5rem;
    }
    
    #rq-modal .p-6 {
        padding: 0.75rem;
    }
    
    #rq-modal h2 {
        font-size: 1.125rem;
    }
    
    #rq-form .space-y-6 > * {
        margin-bottom: 1.25rem;
    }
    
    #rq-form .space-y-4 > * {
        margin-bottom: 0.75rem;
    }
    
    #rq-form label[for*="service_type"] {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
    
    #rq-form input[type="text"],
    #rq-form input[type="email"],
    #rq-form input[type="tel"],
    #rq-form select,
    #rq-form textarea {
        padding: 0.75rem;
        font-size: 16px;
    }
}

/* Ensure form elements are properly sized on all devices */
#rq-form * {
    box-sizing: border-box;
}

#rq-form .space-y-6 > *:last-child {
    margin-bottom: 0;
}

#rq-form .space-y-4 > *:last-child {
    margin-bottom: 0;
}

/* Fix for iOS Safari */
@supports (-webkit-touch-callout: none) {
    #rq-form input[type="text"],
    #rq-form input[type="email"],
    #rq-form input[type="tel"],
    #rq-form select,
    #rq-form textarea {
        font-size: 16px;
    }
}

/* Mobile Header Styling */
@media (max-width: 767px) {
    .site-header .container-custom {
        padding: 0 1rem;
    }
    
    /* Mobile Logo sizing */
    .site-header .site-branding img {
        height: 2.5rem;
        max-width: 8rem;
    }
    
    .site-header .site-branding h1 {
        font-size: 1.25rem;
    }
    
    /* Mobile Menu Toggle Button */
    #mobile-menu-toggle {
        padding: 0.5rem;
        border-radius: 0.5rem;
        transition: all 0.2s;
    }
    
    #mobile-menu-toggle:hover {
        background-color: #f3f4f6;
    }
}

/* Mobile Menu Popup Styling */
#mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 50;
    display: none;
}

#mobile-menu .bg-white {
    background-color: white;
    width: 20rem;
    height: 100%;
    box-shadow: -10px 0 25px -12px rgba(0, 0, 0, 0.25);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
}

#mobile-menu .bg-white:not(.translate-x-full) {
    transform: translateX(0);
}

/* Mobile Menu Header */
#mobile-menu .border-b {
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem;
}

#mobile-menu h2 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

/* Mobile Menu Navigation */
#mobile-menu nav {
    padding: 1rem;
}

#mobile-menu nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#mobile-menu nav ul li {
    margin-bottom: 0.5rem;
}

#mobile-menu nav ul li a {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s;
    font-weight: 500;
}

#mobile-menu nav ul li a:hover {
    background-color: #f3f4f6;
    color: #0e3867;
}

#mobile-menu nav ul li.current-menu-item a {
    background-color: #0e3867;
    color: white;
}

/* Mobile Menu CTA Button */
#mobile-menu .pt-4 {
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
}

#mobile-service-booking-btn {
    width: 100%;
    background-color: #0e3867;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s;
    cursor: pointer;
}

#mobile-service-booking-btn:hover {
    background-color: #1e40af;
    transform: scale(1.02);
}

/* Mobile Menu Contact Info */
#mobile-menu .mt-6 {
    margin-top: 1.5rem;
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
    font-size: 0.875rem;
    color: #6b7280;
}

#mobile-menu .mt-6 > div {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

#mobile-menu .mt-6 > div:last-child {
    margin-bottom: 0;
}

#mobile-menu .mt-6 svg {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    color: #9ca3af;
}

/* Close Mobile Menu Button */
#close-mobile-menu {
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

#close-mobile-menu:hover {
    background-color: #f3f4f6;
    color: #6b7280;
}

/* Mobile Menu Animation */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(100%);
    }
}

/* Ensure mobile menu is above other elements */
#mobile-menu {
    z-index: 9999;
}

/* Mobile menu backdrop */
#mobile-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}