@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; 
}

body {
    font-family: 'Josefin Sans', sans-serif;
    font-optical-sizing: auto;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Josefin Sans', sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    line-height: 1.2;
}

/* Container */
.container {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 3.125rem;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #333;
    border: 2px solid rgba(102, 126, 234, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

/* Danger (red) button variant styled like secondary */
.btn-danger {
    background: rgba(255, 255, 255, 0.1);
    color: #ef4444; /* red-500 */
    border: 2px solid rgba(239, 68, 68, 0.35);
    backdrop-filter: blur(10px);
}
.btn-danger:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.55);
    transform: translateY(-2px);
}

/* Section Badges */
.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 16px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3.75rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.section-description {
    font-size: 1.1rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(100px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    z-index: 1000;
    padding: 0.9375rem 0;
    transition: all 0.3s ease;
}

/* Profile Dropdown */
.profile-dropdown-container {
    position: relative;
    display: inline-block;
}

.profile-icon-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #667eea;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
}

.profile-icon-btn:hover {
    color: #764ba2;
}

.profile-dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    background-color: white;
    min-width: 180px;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
    border-radius: 0.25rem;
    padding: 0.5rem 0;
    z-index: 1001;
    display: none;
    margin-top: 8px;
}

.profile-dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 10px 15px;
    text-align: left;
    background: none;
    border: none;
    color: #333;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
}

.dropdown-item:hover {
    background-color: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.dropdown-item i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(100px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo h2 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
}

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

.nav-link {
    text-decoration: none;
    color: #4a5568;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #667eea;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Danger variant for nav-link (red accent, same UI as Contact) */
.nav-link.nav-danger { color: #ef4444; }
.nav-link.nav-danger:hover { color: #dc2626; }
.nav-link.nav-danger::after {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

/* Dark theme overrides for danger nav link */
html.theme-dark .nav-link.nav-danger { color: #fca5a5; }
html.theme-dark .nav-link.nav-danger:hover { color: #f87171; }
html.theme-dark .nav-link.nav-danger::after {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #4a5568;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23667eea" stop-opacity="0.1"/><stop offset="100%" stop-color="%23764ba2" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="150" fill="url(%23a)"/><circle cx="800" cy="300" r="200" fill="url(%23a)"/><circle cx="400" cy="700" r="180" fill="url(%23a)"/></svg>');
    opacity: 0.6;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

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

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border-radius: 1.5625rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    margin-top: 4.375rem;
    white-space: normal;
    max-width: 100%;
    line-height: 1.4;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #1f2937; /* Dark color for light mode */
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Dark mode highlight */
html.theme-dark .highlight {
    background: linear-gradient(135deg, #FFE62B 0%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: #718096;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 400px;
    height: 300px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 2px dashed rgba(102, 126, 234, 0.3);
    border-radius: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #667eea;
    font-size: 1.1rem;
    text-align: center;
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.7;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
    gap: 1.875rem;
}

.service-card {
    background: white;
    padding: 2.5rem 1.875rem;
    border-radius: 1.25rem;
    box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    font-size: 2rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #2d3748;
}

.service-description {
    color: #718096;
    margin-bottom: 24px;
    line-height: 1.6;
}

.service-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: #764ba2;
    transform: translateX(5px);
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(21.875rem, 1fr));
    gap: 1.875rem;
    margin-bottom: 3.75rem;
}

.portfolio-item {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #667eea;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.portfolio-overlay p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.portfolio-link {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    padding: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.portfolio-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.portfolio-cta {
    text-align: center;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(21.875rem, 1fr));
    gap: 1.875rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem 1.875rem;
    border-radius: 1.25rem;
    box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    color: #fbbf24;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.author-name {
    font-size: 1.1rem;
    color: #2d3748;
    margin-bottom: 4px;
}

.author-location {
    color: #718096;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3.75rem;
    align-items: start;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2d3748;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.contact-info {
    background: white;
    padding: 2.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-details h4 {
    color: #2d3748;
    margin-bottom: 4px;
}

.contact-details p {
    color: #718096;
}

.social-links {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.social-links h4 {
    color: #2d3748;
    margin-bottom: 16px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.footer-logo p {
    color: #a0aec0;
    line-height: 1.6;
}

.footer-column h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #4a5568;
    color: #a0aec0;
}

.footer-bottom a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* Theme Toggle (Navbar) */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s ease;
}
.theme-toggle:hover { transform: translateY(-1px); }
.theme-toggle:focus-visible { outline: 2px solid #667eea; outline-offset: 2px; }
/* Label is hidden on desktop; shown for mobile toggle */
.theme-toggle .label { display: none; font-weight: 600; }
.theme-toggle-mobile { display: none; }
.theme-dark .theme-toggle { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: #e5e7eb; }

/* Dark Theme Overrides */
html.theme-dark body {
    background-color: #0b0f1a;
    color: #e5e7eb;
}

html.theme-dark a { color: #93c5fd; }
html.theme-dark .section-title { color: #e5e7eb; }
html.theme-dark .section-description { color: #cbd5e1; }
html.theme-dark .nav-link { color: #e5e7eb; }
html.theme-dark .nav-link:hover { color: #22d3ee; }
html.theme-dark .nav-link::after {
    background: linear-gradient(135deg, #FD6D06 0%, #FFFFFF 100%);
}
html.theme-dark .bar { background: #e5e7eb; }

/* Glass capsule navbar in dark mode */
html.theme-dark .nav-container {
    background: transparent;
    border: none;
    box-shadow: none;
}
html.theme-dark .nav-menu {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

/* Hero in dark mode */
html.theme-dark .hero {
    background: linear-gradient(135deg, #0f172a 0%, #111827 100%);
}
html.theme-dark .hero-badge { background: rgba(102, 126, 234, 0.18); color: #93c5fd; }
html.theme-dark .hero-title { color: #e5e7eb; }
html.theme-dark .hero-description { color: #cbd5e1; }

/* Cards and sections */
html.theme-dark .service-card,
html.theme-dark .testimonial-card { background: #0b1324; color: #e5e7eb; box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
html.theme-dark .service-title { color: #e5e7eb; }
html.theme-dark .service-description { color: #94a3b8; }
html.theme-dark .portfolio { background: linear-gradient(135deg, #0f172a 0%, #1f2937 100%); }
html.theme-dark .portfolio-item { background: #0b1324; color: #e5e7eb; box-shadow: 0 10px 30px rgba(0,0,0,0.35); }

/* Section wrappers to full dark */
html.theme-dark .services,
html.theme-dark .testimonials,
html.theme-dark .contact,
html.theme-dark .booking-section { background: linear-gradient(135deg, #0f172a 0%, #1f2937 100%); }

/* Contact containers */
html.theme-dark .contact-form,
html.theme-dark .contact-info { background: #0b1324; box-shadow: 0 10px 30px rgba(0,0,0,0.35); }

/* Booking containers */
html.theme-dark .booking-form-container,
html.theme-dark .info-card { background: #0b1324; box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
html.theme-dark .info-title { color: #e5e7eb; }
html.theme-dark .info-list li { color: #94a3b8; }
html.theme-dark .pricing-item .service-name { color: #e5e7eb; }
html.theme-dark .pricing-item .service-price { color: #93c5fd; }
html.theme-dark .contact-details h4 { color: #e5e7eb; }
html.theme-dark .contact-details p { color: #94a3b8; }
html.theme-dark .social-links { border-top: 1px solid #334155; }
html.theme-dark .social-links h4 { color: #e5e7eb; }
html.theme-dark .btn-link { color: #93c5fd; }

/* Navbar wrapper */
html.theme-dark .navbar {
    background: rgba(2, 6, 23, 0.55);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}
html.theme-dark .navbar.scrolled {
    background: rgba(2, 6, 23, 0.65);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 2px 20px rgba(0,0,0,0.35);
}

/* Footer */
html.theme-dark .footer { background: #0b0f1a; color: #e5e7eb; }
html.theme-dark .footer-bottom { border-top: 1px solid #334155; color: #9ca3af; }
html.theme-dark .footer-bottom a { color: #93c5fd; }
html.theme-dark .footer-bottom a:hover { color: #bfdbfe; }
html.theme-dark .footer-logo p { color: #9ca3af; }
html.theme-dark .footer-column ul li a { color: #9ca3af; }
html.theme-dark .footer-column ul li a:hover { color: #93c5fd; }

/* Modal & Forms */
html.theme-dark .modal-overlay { background: rgba(2, 6, 23, 0.6); backdrop-filter: blur(2px); }
html.theme-dark .modal-content { background: #0f172a; color: #e5e7eb; box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
html.theme-dark .modal-header h3 { color: #e5e7eb; }
html.theme-dark .modal-header p { color: #9ca3af; }
html.theme-dark .modal-close { color: #cbd5e1; }
html.theme-dark .form-group label { color: #e5e7eb; }
html.theme-dark .form-group input,
html.theme-dark .form-group select,
html.theme-dark .form-group textarea { background: #0b1324; color: #e5e7eb; border: 1px solid #334155; }
html.theme-dark .form-group input::placeholder,
html.theme-dark .form-group textarea::placeholder { color: #94a3b8; }
html.theme-dark .form-group input:focus,
html.theme-dark .form-group select:focus,
html.theme-dark .form-group textarea:focus { border-color: #667eea; box-shadow: 0 0 0 3px rgba(102,126,234,0.25); outline: none; }
html.theme-dark .scroll-to-top {
    background: linear-gradient(135deg, #FFE62B 0%, #FFFFFF 100%) !important;
    color: #000 !important;
    box-shadow: 0 4px 15px rgba(255, 230, 43, 0.3) !important;
}

html.theme-dark .btn-secondary { background: rgba(255,255,255,0.08); color: #e5e7eb; border-color: rgba(102, 126, 234, 0.25); }
html.theme-dark .form-loading { background: rgba(2, 6, 23, 0.5); }

/* Section badges */
html.theme-dark .section-badge { background: linear-gradient(135deg, #FFE62B 0%, #FFFFFF 100%); color: #000; }

/* Background blobs dimming */
html.theme-dark .bg-blobs .blob { opacity: 0.28; }

/* Dark mode fonts */
html.theme-dark body { font-family: 'Josefin Sans', sans-serif; line-height: 1.6; }
html.theme-dark h1,
html.theme-dark h2,
html.theme-dark h3,
html.theme-dark h4,
html.theme-dark h5,
html.theme-dark h6 { font-family: 'Josefin Sans', sans-serif; font-weight: 600; }

/* Dark mode accent palette overrides */
html.theme-dark .nav-logo h2 {
    background: linear-gradient(135deg, #06b6d4 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
html.theme-dark .highlight { 
    background: linear-gradient(135deg, #FFE62B 0%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
html.theme-dark .btn-primary {
    background: linear-gradient(135deg, #FFE62B 0%, #FFFFFF 100%);
    color: #000;
    box-shadow: 0 4px 18px rgba(255, 230, 43, 0.25);
}
html.theme-dark .btn-secondary {
    border-color: rgba(6, 182, 212, 0.35);
}
/* Dark theme danger button */
html.theme-dark .btn-danger {
    color: #fecaca; /* red-200 text for better contrast */
    border-color: rgba(239, 68, 68, 0.45);
}
html.theme-dark .btn-danger:hover {
    background: rgba(239, 68, 68, 0.12);
}
html.theme-dark .contact-icon,
html.theme-dark .social-link,
html.theme-dark .author-avatar {
    background: linear-gradient(135deg, #06b6d4 0%, #7c3aed 100%);
}
html.theme-dark .portfolio-overlay {
    background: linear-gradient(135deg, rgba(6,182,212,0.9) 0%, rgba(124,58,237,0.9) 100%);
}
html.theme-dark .image-placeholder {
    background: linear-gradient(135deg, rgba(6,182,212, 0.12) 0%, rgba(124,58,237, 0.12) 100%);
    border-color: rgba(124, 58, 237, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    /* Dark mode: solid mobile menu background */
    html.theme-dark .nav-menu {
        background-color: #0f172a;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.45);
    }

    .nav-menu.active {
        left: 0;
    }
    /* Show theme toggle inside hamburger menu on mobile */
    .theme-toggle-desktop { display: none !important; }
    .theme-toggle-mobile { display: inline-flex; }
    .nav-menu .theme-toggle-mobile {
        margin: 10px auto;
        width: auto;
        padding: 10px 14px;
        gap: 8px;
    }
    .theme-toggle-mobile .label { display: inline; }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .image-placeholder {
        width: 300px;
        height: 200px;
    }
}

/* Auth Modal */
.modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10000;
}

.modal.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 18, 18, 0.55);
    backdrop-filter: blur(2px);
}

.modal-content {
    position: relative;
    background: #ffffff;
    color: #222;
    width: min(560px, 92%);
    border-radius: 1.125rem;
    box-shadow: 0 1.25rem 3.75rem rgba(0,0,0,0.25);
    padding: 1.75rem;
    transform: translateY(14px);
    animation: modalIn 0.25s ease forwards;
}

@keyframes modalIn {
    to { transform: translateY(0); }
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 1.25rem;
    color: #666;
    cursor: pointer;
}

.modal-header h3 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.modal-header p {
    color: #555;
    margin-bottom: 16px;
}

/* Custom Confirmation Modal */
.confirmation-modal {
    max-width: 500px;
}

.confirmation-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #10b981;
    font-size: 1.5rem;
}

.confirmation-details {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    border-left: 4px solid #667eea;
}

.confirmation-details .detail-row {
    display: flex;
    margin-bottom: 12px;
    align-items: flex-start;
}

.confirmation-details .detail-row:last-child {
    margin-bottom: 0;
}

.confirmation-details .detail-label {
    font-weight: 600;
    color: #2d3748;
    min-width: 80px;
    margin-right: 12px;
}

.confirmation-details .detail-value {
    color: #4a5568;
    flex: 1;
    word-break: break-word;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

.modal-actions .btn {
    min-width: 120px;
}

/* Dark mode styles for confirmation modal */
html.theme-dark .confirmation-icon {
    background: linear-gradient(135deg, #FFE62B 0%, #FFFFFF 100%);
    color: #000;
}

html.theme-dark .confirmation-details {
    background: #1e293b;
    border-left-color: #FFE62B;
}

html.theme-dark .confirmation-details .detail-label {
    color: #e5e7eb;
}

html.theme-dark .confirmation-details .detail-value {
    color: #cbd5e1;
}

.auth-form { position: relative; }
.auth-form.hidden { display: none; }

/* Generic hidden utility for toggling sections */
.hidden { display: none !important; }

/* OTP section styling */
.otp-section { margin-top: 12px; }
.otp-section .otp-hint { font-size: 0.9rem; color: var(--text-muted, #6b7280); margin: 8px 0 4px; }
.otp-actions { display: flex; gap: 12px; align-items: center; }
.otp-actions .btn { min-width: 120px; }

/* Required Field Asterisk */
.required-asterisk {
    color: #dc3545;
    font-weight: bold;
    margin-left: 2px;
}

/* Country Code Selector with Flags */
.country-select {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.875rem;
    line-height: 1.4;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    min-width: 180px;
    max-width: 220px;
}

.country-select:hover {
    border-color: #007bff;
}

.country-select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.country-select option {
    padding: 8px 12px;
    font-size: 0.875rem;
    line-height: 1.4;
    background-color: #fff;
    color: #333;
}

.country-select option:hover {
    background-color: #f8f9fa;
}

/* Ensure flags display properly in the dropdown */
.phone-input {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.phone-input .country-select {
    flex-shrink: 0;
}

.phone-input input[type="tel"] {
    flex: 1;
    min-width: 0;
}

/* OTP Form Styles */
.otp-header {
    text-align: center;
    margin-bottom: 2rem;
}

.otp-header h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.5rem;
}

.otp-description {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

#otp-email-display {
    font-weight: 600;
    color: #007bff;
}

/* Resend Timer Styles */
.resend-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.resend-timer {
    font-size: 0.875rem;
    color: #666;
    text-align: center;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
    border: 1px solid #e9ecef;
}

.timer-countdown {
    font-weight: 600;
    color: #007bff;
    font-size: 1rem;
}

.timer-text {
    color: #666;
}

.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1rem;
}

/* Password visibility toggle */
.password-field { position: relative; }
.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
}
.password-toggle:hover { color: #333; }
.password-toggle:focus-visible {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Accessible focus rings for interactive elements */
button:focus-visible,
.btn:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #667eea;
    outline-offset: 3px;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    html:focus-within {
        scroll-behavior: auto;
    }
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #764ba2;
    box-shadow: 0 0 0 3px rgba(118, 75, 162, 0.15);
}

.error-message {
    display: block;
    min-height: 18px;
    margin-top: 6px;
    color: #d93025;
    font-size: 0.8125rem;
}

.full-width { width: 100%; }

.form-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.btn-link {
    background: transparent;
    border: none;
    color: #764ba2;
    text-decoration: underline;
    cursor: pointer;
}

/* Password strength */
.password-strength { margin-top: 8px; }
.strength-bar {
    height: 8px;
    background: #eee;
    border-radius: 8px;
    overflow: hidden;
}
.strength-bar span {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ff6b6b, #ffd93d, #51cf66, #4dabf7);
    transition: width 0.25s ease;
}
.strength-text { display: inline-block; margin-top: 6px; color: #555; font-size: 0.8125rem; }

/* Phone input */
.phone-input { display: flex; gap: 10px; }
.phone-input select { width: 34%; }
.phone-input input { flex: 1; }

/* Loading overlay */
.form-loading {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}
.form-loading.active { display: flex; }
.spinner {
    width: 28px;
    height: 28px;
    border: 3px solid #ddd;
    border-top-color: #764ba2;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Responsive adjustments */
@media (max-width: 480px) {
    .modal-content { padding: 20px; border-radius: 14px; }
    .modal-header h3 { font-size: 1.25rem; }
}

/* Confirm modal actions */
.confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 12px;
}
html.theme-dark .confirm-actions { border-color: transparent; }


@media (max-width: 480px) {
    .container {
        padding: 0 0.9375rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-form,
    .contact-info {
        padding: 30px 20px;
    }

    .image-placeholder {
        width: 250px;
        height: 180px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus styles for accessibility */
.btn:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        border: 2px solid #000;
    }
    
    .btn-secondary {
        background: transparent;
        border: 2px solid #000;
        color: #000;
    }
}

/* =====================
   Home Page Enhancements
   ===================== */
.home-main { padding-top: 80px; }
.home-dashboard { padding: 60px 0; background: white; }
.dash-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.dash-card { background: white; padding: 24px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.dash-title { font-size: 1.3rem; margin-bottom: 16px; color: #2d3748; }
.dash-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.dash-list li { display: flex; justify-content: space-between; padding: 12px 14px; border: 1px solid #e2e8f0; border-radius: 12px; }
.dash-list .label { color: #718096; }
.dash-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.stat-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat-card { background: white; border-radius: 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); padding: 20px; text-align: center; }
.stat-value { font-size: 2rem; font-weight: 700; color: #2d3748; }
.stat-label { color: #718096; margin-top: 6px; }

/* Dark theme overrides for Home */
html.theme-dark .home-dashboard { background: linear-gradient(135deg, #0f172a 0%, #1f2937 100%); }
html.theme-dark .dash-card,
html.theme-dark .stat-card { background: #0b1324; box-shadow: 0 8px 24px rgba(0,0,0,0.35); }
html.theme-dark .dash-title,
html.theme-dark .stat-value { color: #e5e7eb; }
html.theme-dark .dash-list .label,
html.theme-dark .stat-label { color: #94a3b8; }

/* Enhanced Home Page Styles */

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 600;
  margin: 16px 0;
  color: #1a202c;
}

.section-description {
  font-size: 1.125rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Booking Section */
.booking-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.booking-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  margin-top: 48px;
}

.booking-form-container {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-label {
  font-weight: 500;
  color: #374151;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
}

.required {
  color: #ef4444;
}

.form-input,
.form-textarea {
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
  background: white;
  font-family: 'Josefin Sans', sans-serif;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-input:invalid:not(:focus):not(:placeholder-shown),
.form-textarea:invalid:not(:focus):not(:placeholder-shown) {
  border-color: #ef4444;
}

.form-error {
  color: #ef4444;
  font-size: 0.875rem;
  min-height: 1.25rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-error:before {
  content: "⚠";
  display: none;
}

.form-error:not(:empty):before {
  display: inline;
}

.form-actions {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.btn-loading {
  position: relative;
}

.btn-loading.loading .btn-text {
  opacity: 0;
}

.btn-loading.loading .btn-spinner {
  display: block;
}

/* Ensure primary buttons maintain proper styling */
.btn.btn-primary,
.btn-primary.btn-loading,
button.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: white !important;
  border: none !important;
}

.btn.btn-primary:hover,
.btn-primary.btn-loading:hover,
button.btn-primary:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Dark mode button overrides with higher specificity */
html.theme-dark .btn.btn-primary,
html.theme-dark .btn-primary.btn-loading,
html.theme-dark button.btn-primary {
  background: linear-gradient(135deg, #FFE62B 0%, #FFFFFF 100%) !important;
  color: #000 !important;
  box-shadow: 0 4px 18px rgba(255, 230, 43, 0.25) !important;
}

html.theme-dark .btn.btn-primary:hover,
html.theme-dark .btn-primary.btn-loading:hover,
html.theme-dark button.btn-primary:hover {
  background: linear-gradient(135deg, #FFD700 0%, #F5F5F5 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 230, 43, 0.4) !important;
}

.btn-spinner {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Booking Info Cards */
.booking-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.info-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #1a202c;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #4a5568;
  line-height: 1.5;
}

.info-list i {
  color: #48bb78;
  font-size: 0.875rem;
  width: 16px;
  flex-shrink: 0;
}

.pricing-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #e5e7eb;
}

.pricing-item:last-child {
  border-bottom: none;
}

.service-name {
  font-weight: 500;
  color: #374151;
}

.service-price {
  font-weight: 600;
  color: #667eea;
  font-size: 1.125rem;
}

/* Enhanced Dashboard */
.home-dashboard {
  padding: 80px 0;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.dash-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.dash-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: #1a202c;
}

.dash-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dash-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.dash-list li:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.label {
  font-weight: 500;
  color: #64748b;
}

.dash-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stats-section {
  margin-top: 48px;
}

.stats-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: #1a202c;
  text-align: center;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: white;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(102, 126, 234, 0.1);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.0625rem;
}

/* Enhanced Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: white;
  border-radius: 20px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal.is-open .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #64748b;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #f1f5f9;
  color: #374151;
}

.modal-header {
  text-align: center;
  margin-bottom: 32px;
}

.success-icon {
  font-size: 3rem;
  color: #48bb78;
  margin-bottom: 16px;
}

.modal-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1a202c;
}

.modal-header p {
  color: #64748b;
  font-size: 1rem;
}

.booking-details {
  background: #f8fafc;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.modal-actions {
  display: flex;
  justify-content: center;
}

/* Accessibility Enhancements */
.form-input:focus-visible,
.form-textarea:focus-visible,
.btn:focus-visible {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .form-input,
  .form-textarea {
    border-width: 3px;
  }
  
  .btn {
    border: 2px solid currentColor;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .btn-spinner {
    animation: none;
  }
  
  .stat-card:hover {
    transform: none;
  }
  
  .modal,
  .modal-content {
    transition: none;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .booking-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .booking-section,
  .home-dashboard {
    padding: 60px 0;
  }
  
  .section-header {
    margin-bottom: 32px;
  }
  
  .booking-form-container,
  .info-card,
  .dash-card {
    padding: 24px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .dash-actions {
    gap: 8px;
  }
  
  .stat-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .modal-content {
    padding: 24px;
    margin: 20px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.75rem;
  }
  
  .booking-form-container,
  .info-card,
  .dash-card {
    padding: 20px;
  }
  
  .stat-value {
    font-size: 2rem;
  }
}

/* Legacy styles for backward compatibility */
.dash-grid { 
  display: grid; 
  grid-template-columns: 2fr 1fr; 
  gap: 24px; 
}

/* Responsive adjustments for Home */
@media (max-width: 900px) {
  .dash-grid { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .stat-grid { grid-template-columns: 1fr; }
}