@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* --- Dark & Orange Palette --- */
:root {
    --background-color: #282828;
    --primary-color: #FF4500; /* Orange-Red */
    --card-background: #333333;
    --text-color: #e0e0e0;
    --heading-color: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- HEADER & NAVIGATION --- */
header {
    background-color: rgba(40, 40, 40, 0.8);
    backdrop-filter: blur(15px);
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 69, 0, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Logo Styling --- */
nav .logo {
    padding: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo img {
    height: 55px;
    width: auto;
}

.logo span {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--heading-color);
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

main {
    padding-top: 80px;
}

/* THIS IS THE FIX */
.container {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- SCROLL ANIMATIONS --- */
section {
    padding: 5rem 0; /* Only top/bottom padding */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- HERO SECTION --- */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: var(--background-color);
    padding: 5rem 5%; /* Restore padding for hero text */
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-text {
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: var(--heading-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text .tagline {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 2rem;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 69, 0, 0.4);
}

.hero-text .hero-subheader {
    font-size: 1.4rem;
    color: var(--heading-color);
    margin-bottom: 2.5rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.intro {
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.08), rgba(255, 69, 0, 0));
    text-align: center;
}

.intro p {
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.kinetic-advantage {
    background-color: #222;
}

.kinetic-advantage .advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.kinetic-advantage .advantage-item {
    background-color: var(--card-background);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 69, 0, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.kinetic-advantage .advantage-item:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color);
}

.kinetic-advantage .advantage-item p {
    color: var(--text-color);
    font-size: 1rem;
}

.service-feature {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background-color: rgba(34, 34, 34, 0.9);
    border: 1px solid rgba(255, 69, 0, 0.2);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.service-feature h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.service-feature p {
    margin-bottom: 0;
}

.kinetic-advantage .advantage-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-detail-content h2 {
    color: var(--heading-color);
    font-size: 2rem;
    margin-top: 2rem;
}

/* --- BUTTON --- */
.cta-button {
    background: var(--primary-color);
    color: #ffffff;
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 69, 0, 0.3); /* Orange glow */
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--heading-color);
}

/* --- SERVICE CARDS --- */
.service-cards {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.service-card-link {
    text-decoration: none;
    flex-basis: 300px;
    max-width: 350px;
    display: flex;
}

.card {
    background-color: var(--card-background);
    padding: 2rem 1rem;
    border-radius: 10px;
    text-align: center;
    width: 100%;
    height: 100%;
    border: 1px solid #444;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.card ion-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(255, 69, 0, 0.5);
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--heading-color);
}

.card p {
    color: var(--text-color);
}

/* --- PORTFOLIO & TIMELINE --- */
.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.portfolio-item .overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(255, 69, 0, 0.8);
    color: #ffffff; display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover img { transform: scale(1.1); }
.portfolio-item:hover .overlay { opacity: 1; }

.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::after {
    content: ''; position: absolute; width: 3px; background-color: #444;
    top: 0; bottom: 0; left: 50%; margin-left: -1.5px;
}
.timeline-item { padding: 10px 40px; position: relative; width: 50%; }
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; }

.timeline-icon {
    position: absolute; width: 50px; height: 50px; right: -25px; top: 15px;
    background-color: var(--background-color); border: 3px solid var(--primary-color);
    border-radius: 50%; z-index: 10; display: flex; justify-content: center; align-items: center;
    font-size: 1.5rem; color: var(--primary-color);
    transition: transform 0.3s ease;
}
.timeline-item:hover .timeline-icon {
    transform: scale(1.1);
}
.timeline-item:nth-child(even) .timeline-icon { left: -25px; }

/* --- CONTACT FORM & FOOTER --- */
.contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

/* Form status messages */
.form-status-message {
    display: none;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    margin-bottom: 1rem;
    animation: slideIn 0.3s ease-out;
}

.form-status-message.success {
    background-color: rgba(76, 175, 80, 0.2);
    border: 1px solid #4CAF50;
    color: #4CAF50;
}

.form-status-message.error {
    background-color: rgba(244, 67, 54, 0.2);
    border: 1px solid #f44336;
    color: #f44336;
}

.form-status-message.loading {
    background-color: rgba(255, 69, 0, 0.2);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

/* Field error messages */
.field-error {
    color: #f44336;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact input, .contact textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #555;
    background-color: var(--card-background);
    border-radius: 12px;
    color: var(--heading-color);
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contact input:focus, .contact textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.3);
    background-color: var(--card-background);
}

.contact input.error, .contact textarea.error {
    border-color: #f44336;
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.2);
}

.contact input:hover, .contact textarea:hover {
    border-color: rgba(255, 69, 0, 0.5);
}

footer { padding: 3rem 5%; background-color: var(--card-background); margin-top: 2rem; border-top: 1px solid #444; }
.footer-content { display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap; text-align: center; margin-bottom: 2rem; }
.footer-section h4 { font-size: 1.2rem; color: var(--primary-color); margin-bottom: 1rem; }
.footer-section p { margin-bottom: 0.5rem; color: var(--text-color); }
.footer-section a { color: var(--text-color); text-decoration: none; transition: color 0.3s; }
.footer-section a:hover { color: var(--primary-color); }
.footer-contact { max-width: 400px; }
.footer-contact h4 { font-size: 1.2rem; color: var(--primary-color); margin-bottom: 1rem; }
.footer-contact p { margin-bottom: 0.75rem; color: var(--text-color); line-height: 1.6; }
.footer-contact a { color: var(--primary-color); text-decoration: none; transition: color 0.3s; }
.footer-contact a:hover { color: var(--heading-color); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid #444; color: #888; }

/* --- SERVICE PAGE --- */
.service-page-hero { min-height: 40vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; padding: 5rem 0; }
.service-page-hero h1 { font-size: 3.5rem; color: var(--primary-color); margin-bottom: 1rem; }
.service-page-hero p { font-size: 1.2rem; max-width: 800px; color: var(--heading-color); }
.service-detail-content { max-width: 900px; margin: 0 auto; padding: 2rem 0; }
.service-detail-content h3 { font-size: 1.8rem; color: var(--heading-color); margin-bottom: 1rem; margin-top: 2rem; }
.service-detail-content p { font-size: 1.1rem; line-height: 1.8; margin-bottom: 1.5rem; }
.tech-stack-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; margin-top: 2rem; }
.tech-item { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; width: 100px; text-align: center; }
.tech-item svg {
    width: 50px;
    height: 50px;
    fill: var(--text-color);
    transition: fill 0.3s, transform 0.3s;
}
.tech-item:hover svg { fill: var(--primary-color); transform: scale(1.1); }
.tech-item span { font-size: 0.9rem; font-weight: 600; }

.tech-item ion-icon {
    font-size: 2.6rem;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.tech-item:hover ion-icon {
    transform: scale(1.1);
}

/* --- CUSTOM CURSOR --- */
.cursor {
    width: 25px;
    height: 25px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: width 0.3s, height 0.3s, background-color 0.3s, box-shadow 0.3s;
    z-index: 9999;
    box-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
}

.cursor.grow {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 69, 0, 0.2); /* Semi-transparent orange-red */
    border-width: 1px;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    * { cursor: auto; }
    .cursor { display: none; }
    nav ul { display: none; }
    .hero-text h1 { font-size: 2.5rem; }
    .timeline::after { left: 25px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; left: 0; text-align: left; }
    .timeline-item:nth-child(even) { left: 0; }
    .timeline-icon { left: 0; }

    /* Contact form responsive improvements */
    .contact form {
        max-width: 90%;
        gap: 0.8rem;
    }

    .contact input, .contact textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .form-status-message {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}
/* --- NEW: Sub-service list styling --- */
.service-detail-content ul {
    list-style: none;
    padding-left: 0;
    margin-top: 2rem;
}

.service-detail-content li {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    text-align: left;
}

.service-detail-content li ion-icon {
    color: var(--primary-color);
    font-size: 2.3rem;
    margin-right: 1.2rem;
    margin-top: 0.1rem; /* Fine-tune vertical alignment */
}

.service-detail-content li div {
    flex: 1;
}

.service-detail-content li strong {
    color: var(--heading-color);
    display: block;
    margin-bottom: 0.25rem;
}

/* --- BOOKING APPOINTMENT STYLES --- */
.book-appointment-nav {
    background: var(--primary-color);
    color: #ffffff !important;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
}

.book-appointment-nav:hover {
    background: #ff6500;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.4);
}

.book-appointment-nav:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 69, 0, 0.3);
}

/* --- BOOKING MODAL --- */
.booking-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.95), rgba(20, 20, 20, 0.98));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.booking-modal-content {
    background: linear-gradient(145deg, #3a3a3a, #2a2a2a);
    margin: 2% auto;
    padding: 0;
    border-radius: 20px;
    border: 1px solid rgba(255, 69, 0, 0.2);
    width: 95%;
    max-width: 800px;
    max-height: 96vh;
    overflow: hidden;
    position: relative;
    animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 69, 0, 0.1);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-30px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 69, 0, 0.1);
    border: 1px solid rgba(255, 69, 0, 0.3);
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.close-modal:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: scale(1.1) rotate(90deg);
}

/* --- MULTI-STEP WIZARD --- */
.booking-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 2rem 2rem 1rem;
    background: rgba(255, 69, 0, 0.05);
    border-bottom: 1px solid rgba(255, 69, 0, 0.1);
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    max-width: 180px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(145deg, #555, #333);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.step-indicator.active .step-number {
    background: linear-gradient(145deg, var(--primary-color), #ff6500);
    color: #ffffff;
    box-shadow: 0 6px 25px rgba(255, 69, 0, 0.4);
    transform: scale(1.1);
}

.step-indicator.completed .step-number {
    background: linear-gradient(145deg, #4CAF50, #45a049);
    color: #ffffff;
    box-shadow: 0 6px 25px rgba(76, 175, 80, 0.4);
}

.step-title {
    font-size: 0.95rem;
    color: #888;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-indicator.active .step-title {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.step-indicator.completed .step-title {
    color: #4CAF50;
}

.step-line {
    flex: 1;
    height: 3px;
    background: linear-gradient(90deg, #555, #333);
    margin: 0 1rem;
    margin-bottom: 3rem;
    position: relative;
    transition: all 0.4s ease;
    border-radius: 2px;
}

.step-line.completed {
    background: linear-gradient(90deg, #4CAF50, #45a049);
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}

.booking-step {
    display: none;
    padding: 1rem;
    animation: stepSlideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.booking-step.active {
    display: block;
}

@keyframes stepSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.booking-step h2 {
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(255, 69, 0, 0.3);
}

/* --- FORM ROWS FOR FIELDS SIDE BY SIDE --- */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* --- EMAIL INVITES SECTION --- */
.email-invite-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.email-invite-row input {
    flex: 1;
    background: linear-gradient(145deg, #333, #2a2a2a);
    border: 2px solid rgba(85, 85, 85, 0.3);
}

.add-invite-btn,
.remove-invite-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: linear-gradient(145deg, var(--primary-color), #ff6500);
    color: #ffffff;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.add-invite-btn::before,
.remove-invite-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.add-invite-btn:hover::before,
.remove-invite-btn:hover::before {
    width: 100%;
    height: 100%;
}

.add-invite-btn:hover,
.remove-invite-btn:hover {
    transform: scale(1.15) rotate(90deg);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.4);
}

.remove-invite-btn {
    background: linear-gradient(145deg, #f44336, #d32f2f);
    border-color: #f44336;
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.3);
}

.remove-invite-btn:hover {
    transform: scale(1.15) rotate(-90deg);
    box-shadow: 0 6px 20px rgba(244, 67, 54, 0.4);
}

/* --- BOOKING ACTIONS --- */
.booking-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #444;
}

/* --- MULTI-SELECT STYLING --- */
select[multiple] {
    min-height: 120px;
    cursor: pointer;
}

select[multiple] option {
    padding: 0.5rem;
    margin: 0.2rem 0;
}

select[multiple] option:checked {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* --- SMALL TEXT HELPERS --- */
.form-group small {
    color: #888;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
    font-style: italic;
}

/* --- CONFIRMATION SCREEN --- */
.confirmation-content {
    text-align: center;
    padding: 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.success-icon {
    margin: 0 auto 2rem;
    animation: successPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes successPop {
    0% {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.confirmation-content h2 {
    color: #4CAF50;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(76, 175, 80, 0.3);
}

.confirmation-message {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.booking-summary {
    background: linear-gradient(145deg, rgba(76, 175, 80, 0.1), rgba(69, 160, 73, 0.05));
    border: 1px solid rgba(76, 175, 80, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
}

.booking-summary h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-align: center;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    color: #888;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-value {
    color: var(--heading-color);
    font-weight: 500;
}

.confirmation-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.close-confirmation-btn,
.book-another-btn {
    background: linear-gradient(145deg, #4CAF50, #45a049);
    color: #ffffff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
}

.book-another-btn {
    background: linear-gradient(145deg, var(--primary-color), #ff6500);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.3);
}

.close-confirmation-btn:hover {
    background: linear-gradient(145deg, #45a049, #4CAF50);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.book-another-btn:hover {
    background: linear-gradient(145deg, #ff6500, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 69, 0, 0.4);
}

/* --- BOOKING FORM STYLES --- */
#booking-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group label {
    color: var(--heading-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    display: inline-block;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem 1.2rem;
    border: 2px solid rgba(85, 85, 85, 0.3);
    border-radius: 12px;
    background: linear-gradient(145deg, #333, #2a2a2a);
    color: var(--heading-color);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    line-height: 1.4;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
    font-style: italic;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 69, 0, 0.15), inset 0 2px 8px rgba(0, 0, 0, 0.2);
    background: linear-gradient(145deg, #3a3a3a, #2a2a2a);
    transform: translateY(-1px);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: rgba(255, 69, 0, 0.3);
    background: linear-gradient(145deg, #3a3a3a, #2a2a2a);
}

.form-group input:disabled,
.form-group select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    border-color: #333;
}

/* Enhanced select styling */
.form-group select:not([multiple]) {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FF4500' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group select:not([multiple]):focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FF4500' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

/* Ensure input fields don't have background images and have proper heights */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"] {
    background-image: none !important;
    background-position: initial;
    background-size: initial;
    background-repeat: initial;
    min-height: 48px;
    height: auto;
    box-sizing: border-box;
}

.form-group textarea {
    background-image: none !important;
    background-position: initial;
    background-size: initial;
    background-repeat: initial;
    min-height: 100px;
    height: auto;
    resize: vertical;
}

.form-group select:not([multiple]) {
    background-image: none !important;
    background-position: initial;
    background-size: initial;
    background-repeat: initial;
    min-height: 48px;
    height: auto;
    box-sizing: border-box;
}

/* Multi-select styling */
select[multiple] {
    background-image: none;
    padding: 1rem;
    min-height: 140px;
}

/* Textarea specific styling */
.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

select[multiple] option {
    padding: 0.8rem;
    margin: 0.3rem 0;
    background: rgba(255, 69, 0, 0.1);
    border-radius: 8px;
    color: var(--heading-color);
}

select[multiple] option:checked {
    background: linear-gradient(145deg, var(--primary-color), #ff6500);
    color: #ffffff;
    font-weight: 600;
}

.booking-submit-btn,
.next-step-btn,
.prev-step-btn {
    background: linear-gradient(145deg, var(--primary-color), #ff6500);
    color: #ffffff;
    padding: 1.2rem 2.5rem !important;
    border: none !important;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.3);
    display: inline-block;
    text-align: center;
    text-decoration: none;
    min-height: auto;
    line-height: 1.4;
}

.booking-submit-btn::before,
.next-step-btn::before,
.prev-step-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.booking-submit-btn:hover::before,
.next-step-btn:hover::before,
.prev-step-btn:hover::before {
    left: 100%;
}

.booking-submit-btn:hover,
.next-step-btn:hover {
    background: linear-gradient(145deg, #ff6500, var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.4);
}

.booking-submit-btn:active,
.next-step-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.3);
}

.booking-submit-btn:disabled,
.next-step-btn:disabled,
.prev-step-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 10px rgba(255, 69, 0, 0.2);
}

.prev-step-btn {
    background: linear-gradient(145deg, #555, #333);
    box-shadow: 0 6px 20px rgba(85, 85, 85, 0.3);
}

.prev-step-btn:hover {
    background: linear-gradient(145deg, #666, #444);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(85, 85, 85, 0.4);
}

/* --- LOADING & SUCCESS STATES --- */
.booking-loading {
    display: none;
    text-align: center;
    padding: 2rem;
    color: var(--text-color);
}

.booking-success,
.booking-error {
    display: none;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
}

.booking-success {
    background-color: rgba(76, 175, 80, 0.2);
    border: 1px solid #4CAF50;
    color: #4CAF50;
}

.booking-error {
    background-color: rgba(244, 67, 54, 0.2);
    border: 1px solid #f44336;
    color: #f44336;
}

/* --- RESPONSIVE FOR BOOKING MODAL --- */
@media (max-width: 768px) {
    .booking-modal-content {
        margin: 5% auto;
        padding: 1.5rem;
        width: 95%;
        max-height: 98vh;
    }

    .booking-modal h2 {
        font-size: 1.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .booking-steps {
        flex-direction: column;
        align-items: center;
    }

    .step-indicator {
        flex-direction: row;
        max-width: none;
        width: 100%;
        margin-bottom: 1rem;
        align-items: center;
        justify-content: center;
    }

    .step-number {
        margin-bottom: 0;
        margin-right: 1rem;
    }

    .step-line {
        width: 2px;
        height: 20px;
        margin: 0;
        margin-bottom: 1rem;
    }

    .email-invite-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .add-invite-btn,
    .remove-invite-btn {
        width: 100%;
        border-radius: 5px;
    }

    .booking-actions {
        flex-direction: column;
    }

    select[multiple] {
        min-height: 150px;
    }
}

/* --- BOOKING PAGE HERO STYLES --- */
.booking-page-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--background-color) 0%, #1a1a1a 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#booking-hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.booking-page-hero .hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 69, 0, 0.1);
    border: 1px solid rgba(255, 69, 0, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.hero-badge ion-icon {
    font-size: 1.2rem;
}

.booking-page-hero h1 {
    font-size: 3.5rem;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.booking-page-hero .highlight {
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), #ff6500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.booking-page-hero p {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(145deg, rgba(255, 69, 0, 0.1), rgba(255, 69, 0, 0.05));
    border: 1px solid rgba(255, 69, 0, 0.2);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    min-width: 150px;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 69, 0, 0.2);
    border-color: rgba(255, 69, 0, 0.4);
}

.stat-icon {
    margin-bottom: 1rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, var(--primary-color), #ff6500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.3);
}

.stat-icon ion-icon {
    font-size: 1.5rem;
    color: #ffffff;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(255, 69, 0, 0.3);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- BOOKING HERO HEADER SECTION --- */
.booking-hero-header {
    padding: 2rem 0;
    background: linear-gradient(135deg, var(--background-color) 0%, #1a1a1a 100%);
    text-align: center;
}

.hero-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.booking-hero-header .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 69, 0, 0.1);
    border: 1px solid rgba(255, 69, 0, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.booking-hero-header .hero-badge ion-icon {
    font-size: 1.2rem;
}

.booking-hero-header h1 {
    font-size: 3rem;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.booking-hero-header .highlight {
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), #ff6500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.booking-hero-header p {
    font-size: 1.2rem;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- BOOKING FORM SECTION --- */
.booking-form-section {
    padding: 3rem 0;
    background: linear-gradient(180deg, var(--background-color) 0%, #2a2a2a 100%);
}

.booking-container {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(145deg, #3a3a3a, #2a2a2a);
    border-radius: 20px;
    border: 1px solid rgba(255, 69, 0, 0.2);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.step-content {
    padding: 2rem 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.step-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
}

.step-description {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.time-slot-info {
    margin: 2rem 0;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 69, 0, 0.05);
    border: 1px solid rgba(255, 69, 0, 0.2);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.info-card ion-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.info-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-card p {
    color: var(--text-color);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

/* Continue button specific spacing */
.step-content .next-step-btn {
    margin-top: 2rem;
    width: 100%;
    justify-self: center;
}

/* --- NEXT STEPS SECTION --- */
.next-steps {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(76, 175, 80, 0.05);
    border: 1px solid rgba(76, 175, 80, 0.2);
    border-radius: 15px;
}

.next-steps h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.3rem;
}

.next-step-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.next-step-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-color);
}

.next-step-item ion-icon {
    font-size: 1.2rem;
    color: #4CAF50;
    min-width: 24px;
}

/* --- BOOKING STATISTICS SECTION --- */
.booking-stats-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.booking-stats-section .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.booking-stats-section #booking-hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.stats-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.booking-stats-section h2 {
    font-size: 2.5rem;
    color: var(--heading-color);
    margin-bottom: 3rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(255, 69, 0, 0.3);
}

/* --- RESPONSIVE FOR BOOKING PAGE HERO --- */
@media (max-width: 768px) {
    .booking-hero-header {
        padding: 2rem 0;
    }

    .booking-hero-header h1 {
        font-size: 2.2rem;
    }

    .booking-hero-header p {
        font-size: 1.1rem;
    }

    .booking-page-hero {
        min-height: 60vh;
    }

    .booking-page-hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .stat-item {
        min-width: 120px;
        padding: 1rem 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
    }

    .stat-icon ion-icon {
        font-size: 1.2rem;
    }

    .booking-stats-section h2 {
        font-size: 2rem;
    }
}
