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

:root {
    --primary-color: #6200EE;
    --secondary-color: #03DAC6;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --dark-gray: #666;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* General paragraph styles */
p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    color: var(--text-color);
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

h1 {
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-weight: 400;
    font-size: 2rem;
}

h3 {
    font-weight: 500;
    font-size: 1.5rem;
}

/* Button Common Styles */
button, .login-btn, .schedule-btn, .submit-btn, .book-now-btn, .visit-btn, .subscribe-btn, .book-service-btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: white;
    position: relative;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    margin: 0 1rem;
    font-weight: 500;
}

.nav-links a.active {
    color: var(--primary-color);
}

.login-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

.mobile-login-btn {
    display: none;
}

.desktop-login-btn {
    display: block;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    padding: 0.5rem;
    z-index: 100;
}

.menu-toggle i {
    font-size: 1.8rem;
}

/* Page Header */
.page-header {
    background: var(--light-gray);
    padding: 4rem 5%;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.page-header p {
    font-size: 1.25rem;
    color: var(--dark-gray);
    max-width: 800px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.2rem;
    padding: 20px 40px;
    background: #fff;
    min-height: 80vh;
    position: relative;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)), url('../../assets/hero-section-image.png') no-repeat center center;
    background-size: cover;
    border-radius: 16px;
    padding: 3rem 3rem 3rem 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    height: 100%;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
    text-align: left;
    padding-bottom: 3rem;
}

.hero-content h1, .hero-content p {
    position: relative;
    z-index: 1;
    color: white;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    line-height: 1.2;
    font-weight: 500;
    margin-top: 0;
}

.hero-content h1 span {
    color: #fff;
    display: inline-block;
    font-style: italic;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    margin-top: 0;
    font-weight: 400;
    line-height: 1.5;
}

.schedule-btn {
    background: white;
    color: black;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin-top: 0.8rem;
    z-index: 1;
    position: relative;
    align-self: flex-start;
    margin-bottom: 0;
}

.schedule-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(98, 0, 238, 0.3);
}

.booking-form {
    background: white;
    padding: 85px 0px 10px 0px;
    border-radius: 16px;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    height: 100%;
    min-height: 680px;
}

.booking-form h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 600;
}

.booking-form p {
    color: var(--dark-gray);
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 400;
}

.booking-form form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group .required {
    color: #ff0000;
    margin-left: 2px;
}

.booking-form input,
.booking-form textarea {
    padding: 0.75rem 0.9rem;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    width: 100%;
    background: #f8f9fa;
    margin-top: 0.2rem;
}

.booking-form input:hover,
.booking-form textarea:hover {
    border-color: #d0d0d0;
    background: #fff;
}

.booking-form textarea {
    resize: vertical;
    min-height: 80px;
}

.booking-form input:focus,
.booking-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.submit-btn {
    background: #000;
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.8rem;
    width: 100%;
}

.submit-btn:hover {
    background: #222;
}

/* Services Section */
.services-section {
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.services-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.8rem;
}

.services-section > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--dark-gray);
}

/* Services Page Form Popup Styles */

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-form {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    position: relative;
    z-index: 1001;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .popup-form {
    transform: translateY(0);
}

.popup-form h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 600;
}

.popup-form p {
    color: var(--dark-gray);
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 400;
}

.popup-form form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group .required {
    color: #ff0000;
    margin-left: 2px;
}

.popup-form input,
.popup-form textarea,
.popup-form select {
    padding: 1rem 1rem;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    width: 100%;
    background: #f8f9fa;
    margin-top: 0.2rem;
}

.popup-form input:hover,
.popup-form textarea:hover,
.popup-form select:hover {
    border-color: #d0d0d0;
    background: #fff;
}

.popup-form textarea {
    resize: vertical;
    min-height: 100px;
}

.popup-form input:focus,
.popup-form textarea:focus,
.popup-form select:focus {
    border-color: var(--primary-color);
    outline: none;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-gray);
    transition: color 0.2s ease;
}

.close-btn:hover {
    color: var(--primary-color);
}

.submit-btn {
    background: #000;
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.8rem;
    width: 100%;
}

.submit-btn:hover {
    background: #222;
}

/* Responsive Styles for Form Popup */
@media (max-width: 768px) {
    .popup-form {
        width: 90%;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .popup-form {
        padding: 1.2rem;
    }
    
    .popup-form h2 {
        font-size: 1.3rem;
    }
    
    .popup-form input,
    .popup-form textarea,
    .popup-form select {
        padding: 0.8rem;
    }
}

/* Service Details Styles */
.service-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-detail-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.service-detail-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 600;
}

.price-tag {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.service-detail-card ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.service-detail-card li {
    margin-bottom: 0.8rem;
    position: relative;
}

.book-service-btn {
    background: #000;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.book-service-btn:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(98, 0, 238, 0.2);
}

/* Service Process Section */
.service-process {
    padding: 4rem 5%;
    background: var(--light-gray);
    text-align: left;
}

.service-process h2 {
    margin-bottom: 1rem;
}

.service-process > p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: var(--dark-gray);
    max-width: 1440px;
}

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

.process-step {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-8px);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.process-step h3 {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.process-step p {
    color: var(--dark-gray);
    font-size: 1rem;
}

/* Service Cards */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    position: relative;
    border-radius: 10px;
    transition: all 0.4s ease;
    overflow: hidden;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
    text-align: left;
}

.service-card:hover {
    transform: translateY(-12px) !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12) !important;
    transition: all 0.4s ease;
}

.service-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.service-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.8));
    z-index: 1;
}

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

.service-card-content {
    padding: 1rem;
    position: relative;
    z-index: 2;
}

.service-card .price {
    font-family: 'Montserrat', sans-serif;
    font-weight: 100;
    font-size: 1.5rem;
    color: white;
}

.service-card .service-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.25rem;
    margin-bottom: 0.3rem;
    color: white;
}

.service-card .book-now-btn {
    background: #f5f1ff;
    color: black;
    border: none;
    padding: 0.4rem 0;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    width: 100%;
    text-align: center;
    display: block;
    text-decoration: none;
}

.service-card .book-now-btn:hover {
    transform: translateY(-12px) !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12) !important;
    transition: all 0.4s ease;
}

/* Clientele Section */
.clientele-section {
    padding: 4rem 5%;
    background: white;
    text-align: left;
}

.clientele-section p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--dark-gray);
    max-width: 1440px;
}

.client-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding: 0 45px 0 0;
}

.client-logos img {
    height: 60px;
    object-fit: contain;
    filter: grayscale(1);
    transition: filter 0.3s ease;
}

.client-logos img:hover {
    filter: grayscale(0);
}

/* CTA Section */
.cta-section {
    padding: 4rem 5%;
    background: var(--primary-color);
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: white;
}

.cta-section .book-now-btn {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-section .book-now-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Footer Styles */
footer {
    background: #222;
    color: white;
    padding: 3rem 5%;
}

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

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-links h4, .footer-newsletter h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    display: block;
    color: #ddd;
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 4px 0 0 4px;
}

.subscribe-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-form {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    position: relative;
    z-index: 1001;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .popup-form {
    transform: translateY(0);
}

.popup-form h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 600;
}

.popup-form p {
    color: var(--dark-gray);
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 400;
}

.popup-form form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.popup-form input,
.popup-form textarea {
    padding: 1rem 1rem;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    width: 100%;
    background: #f8f9fa;
    margin-top: 0.2rem;
}

.popup-form input:hover,
.popup-form textarea:hover {
    border-color: #d0d0d0;
    background: #fff;
}

.popup-form textarea {
    resize: vertical;
    min-height: 100px;
}

.popup-form input:focus,
.popup-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-gray);
    transition: color 0.2s ease;
}

.close-btn:hover {
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .hero-content {
        min-height: 500px;
    }
    
    .booking-form {
        padding: 2rem;
        min-height: auto;
    }
    
    .service-details {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem;
        transition: right 0.3s ease;
        z-index: 99;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        margin: 1rem 0;
    }
    
    .mobile-login-btn {
        display: block;
        margin-top: 1rem;
    }
    
    .desktop-login-btn {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .client-logos {
        justify-content: center;
        gap: 2rem;
    }
    
    .client-logos img {
        height: 40px;
        margin: 0 1rem 1rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 2rem;
        min-height: 400px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .service-detail-card {
        padding: 1.5rem;
    }
    
    .price-tag {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
    
    .service-detail-card h3 {
        font-size: 1.2rem;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-section .book-now-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}