body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
}

header { z-index: 1100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px 30px;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;

}

.logo-container {
    display: flex;
    align-items: center;
    margin-left: 50px;
}
.logo {
       height: 45px !important;
       margin-top: 4px;
       padding-right: 5px !important;
  
}
.logo-text-container {
    display: flex;
    flex-direction: column;
}
.logo-text {
    font-size: 30px;
    font-weight: bold;
    color: #d32f2f;
}
.sub-logo-text {
    font-size: 14px;
    margin-top: -15px;
    font-weight: bold;
    color: black;
}


.menu-icon {
    font-size: 30px;
    cursor: pointer;
    margin-right: 120px;
    color: #d32f2f;
}

.sidebar {
    width:  150px;
    z-index: 1100; 
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: #fff;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    transition: 0.3s;
    padding-top: 60px;
    border-left: 5px solid #d32f2f;
}

.sidebar.active {
    right: 0;
}
.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar ul li,
.sidebar ul a,
.sidebar ul button {
    display: block;
    padding: 15px;    margin-top: 10px;

    font-size: 18px;
    border-bottom: 1px solid #ddd;
    color: #333;
    cursor: pointer;
    text-decoration: none; 
    background: none;
    border: none;
    text-align: left;
    width: 100%;
}
.sidebar ul button{background-color: #b71c1c;
color: white;
width: 150px;
margin-left: 15px;
}
.sidebar ul li:hover,
.sidebar ul a:hover,
.sidebar ul button:hover {
    background-color: #d32f2f;
    color: white;
}

.book-now {
    font-weight: bold;
}

.submenu {
    z-index: 1100;
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    transition: 0.3s;
    padding-top: 60px;
    border-left: 5px solid #d32f2f;
}
.submenu.active {
    right: 0;
}
.submenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.submenu ul li {
    padding: 15px;
    margin-top: 30px;
    font-size: 18px;
    border-bottom: 1px solid #ddd;
    color: #333;
    cursor: pointer;
}
.submenu ul li:hover {
    background-color: #d32f2f;
    color: white;
}
.submenu ul li a {
    text-decoration: none;
    color: #333;
    display: block;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 30px;
    cursor: pointer;
    color: #d32f2f;
}

.back-btn {
    position: absolute;
    top: 15px;
    left: 25px;
    font-size: 20px;
    cursor: pointer;
    color: #d32f2f;
    font-weight: bold;
}


.hero-section {
    position: relative;
    margin-top: 80px;
    z-index: 1;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

/* Main Heading: REVIVE YOUR DRIVE */
.hero-text h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 38px; /* Slightly increased font size */
    font-weight: 600;
    color: white;
    margin-bottom: 8px; /* Further reduced bottom margin */
}

/* Sub Heading: WITH */
.hero-text h2 { /* Changed to h2 to match HTML */
    font-size: 22px; /* Slightly increased font size */
    margin-bottom: -30px; /* Further reduced bottom margin */
}

.hero-text img.hero-logo {
    width: 511px;
    max-width: 100%;
    margin-bottom: -50px;/* Further reduced bottom margin */
}

/* Tagline */
.hero-text h4 {
    font-size: 18px;
    margin-bottom: 22px; /* Further reduced bottom margin */
}

.hero-text .book-now {
    background-color: #ff6d6d;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.hero-text .book-now:hover {
    background-color: #ff4949;
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    width: 400px;
    position: relative;
}

body.modal-open {
    overflow: hidden;
}

.modal-content h2 {
    color: #d32f2f;
    margin-bottom: 15px;
    font-size: 24px;
}

.modal-content p {
    font-size: 16px;
    color: gray;
    margin: 10px 0;
}

.contact-info p {
    font-size: 16px;
    color: #333;
}

.contact-info strong {
    color: #d32f2f;
}

.book-now-btn {
    background: #d32f2f;
    color: white;
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    border-radius: 6px;
    transition: 0.3s ease;
    box-shadow: 0px 4px 10px rgba(255, 0, 0, 0.2);
    margin-top: 20px;
}

.book-now-btn:hover {
    background: #b71c1c;
    transform: scale(1.05);
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #d32f2f;
}

.close:hover {
    color: darkred;
}

.container {
    text-align: center;
    padding: 40px;
}
.heading {
    font-size: 32px;
    font-weight: bold;
    color: red;
    margin-bottom: 40px;
}
.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.card {
    width: 300px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    cursor: pointer;
    margin-top: 20px;
}
.card:hover {
    transform: translateY(-8px);
}
.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.card-content {
    padding: 25px;
    background: #fff;
}
.card-title {
    font-size: 22px;
    font-weight: bold;
    color: red;
    margin-bottom: 10px;
}
.card-text {
    font-size: 16px;
    color: gray;
}
a {
    text-decoration: none;
}


.services-section {
    background: #f8f8f8;
    padding: 50px 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 900px;
    margin: auto;
}
.services-section h2{
    color: red;
    font-size: 40px;
}
.services-heading {
    font-size: 40px;
    width: 500px;
    font-weight: bold;
    color: black;
    margin-bottom: 20px;
}
.services-subtext {
    font-size: 20px;
    width: 600px;
    color: rgb(82, 81, 81);
    margin-bottom: 40px;
}
.services-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.service-card {
    width: 400px;

    padding: 20px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    position: relative;
}
.service-card:hover {
    transform: translateY(-8px);
    background: #ff6666 ;

}
.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.service-card-content {
    padding: 20px;
    color: black;
    position: relative;
    transition: background 0.3s ease;
}
.service-card:hover .service-card-content {
    background: #ff6666 ;
}
.service-card-title {
    font-size: 20px;
    font-weight: bold;
    color: red;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}
.service-card:hover .service-card-title {
    color: black;
}
.service-card-text {
    font-size: 16px;
    color: rgb(0, 0, 0);
    transition: color 0.3s ease;
}

.arrow {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 24px;
    color: red;
    transition: color 0.3s ease;
    text-decoration: none;
}

.service-card:hover .arrow {
    color: white;
}
.extra-treatment-card {
    width: 100%;
    max-width: 800px;
    height: 200px;
    background: white;
    border-radius: 15px;
    margin: 40px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.extra-treatment-content {
    width: 55%;
}

.extra-treatment-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: red;
}

.extra-treatment-content p {
    font-size: 16px;
    margin-bottom: 10px;
    color: gray;
}

.extra-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background: red;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    transition: background 0.3s;
}

.extra-button:hover {
    background: #ff6666;
}

.extra-treatment-image {
    width: 40%;
    display: flex;
    justify-content: center;
}

.extra-treatment-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
footer {
    background-color: #222;
    color: white;
    padding: 20px 20px;
    font-family: Arial, sans-serif;
}
.footer-container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}
.footer-logo h2 {
    color: #ff4444;
    font-size: 24px;
    margin-bottom: 15px;
}
.footer-links {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px;
    text-align: left;
}
.footer-links div {
    min-width: 200px;
}
.footer-links h3 {
    color: #ff4444;
    margin-bottom: 10px;
}
.footer-links ul {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin: 5px 0;
}
.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: white;
}
.footer-contact ul,
.footer-services ul {
    list-style: none;
    padding: 0;
}
.footer-contact a,
.footer-services a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-contact a:hover,
.footer-services a:hover {
    color: white;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #444;
    margin-top: 20px;
    padding-top: 10px;
    flex-wrap: wrap;
}
.ratings {
    color: white;
}
.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    gap: 10px;
    flex-wrap: wrap;
}
.footer-social p {
    margin: 0 10px 0 0;
    font-size: 16px;
}
.footer-bottom-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 20px;
    text-align: left;
}
.social-icon {
    background: #ff4444;
    width: 30px;
    height: 30px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    margin-right: 5px;
    font-size: 16px;
}
.footer-legal {
    text-align: center;
    font-size: 14px;
    color: #bbb;
}
.footer-legal a {
    color: #ff4444;
    text-decoration: none;
}
.footer-legal a:hover {
    text-decoration: underline;
}

/* Media query for mobile devices (max-width: 768px) */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 28px; /* Adjust font size for smaller screens if needed */
    }

    .hero-text h2 {
        font-size: 18px; /* Adjust sub-heading size for mobile */
    }

    .hero-text img.hero-logo {
        width: 500px; /* Adjust logo size for mobile */
    }

    .hero-text h4 {
        font-size: 16px; /* Adjust tagline size for mobile */
    }

    .hero-text .book-now {
        font-size: 14px; /* Adjust button text size for mobile */
        padding: 10px 20px; /* Adjust button padding for mobile */
    }
    .mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
        background-color: #f8f8f8; /* Example background color */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 20;
        box-sizing: border-box;
    }

    .logo-container {
        display: flex;
        align-items: center;
        margin-left: 0px;
    }


    .logo-text {
        font-size: 18px;
        font-weight: bold;
      
    }

    .sub-logo-text {
        font-size: 12px;
        color: #666;
    }

    .menu-icon {
        font-size: 30px;
        color: #333;
        cursor: pointer;
        margin-right: 0px;
    }
}
