/* General Styles */
html, body {
    overflow-x: hidden; /* Prevents horizontal scrolling/gap on mobile */
    scroll-behavior: smooth; /* Enables smooth scrolling for anchor links */
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f8f9fa;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation Bar */
nav {
    background: rgba(255, 255, 255, 0.603);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    flex-wrap: wrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.logo img {
    height: 80px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    max-height: none;
    overflow: visible;
    flex-direction: row;
    position: static;
    width: auto;
    padding: 0;
    box-shadow: none;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

nav a:hover {
    color: #0093dd;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* --- NEW FONT AWESOME ICON ANIMATION --- */
.menu-toggle {
    font-size: 24px; /* Adjust size of icons */
    color: #333;
    position: relative;
    width: 24px;
    height: 24px;
}

.menu-toggle i {
    position: absolute;
    transition: opacity 0.2s ease-in-out;
}

/* Hide the 'times' (X) icon by default */
.menu-toggle .fa-times {
    opacity: 0;
}

/* When the '.open' class is added */
.menu-toggle.open .fa-bars {
    opacity: 0; /* Hide the 'bars' icon */
}

.menu-toggle.open .fa-times {
    opacity: 1; /* Show the 'times' icon */
}
/* --- END OF NEW ANIMATION --- */

/* Hero Slider */
.slider-container {
    margin-top: 0px;
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 90vh; /* Default height for larger screens */
    background-size: cover; /* Image covers the entire slide area */
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    flex-direction: column; /* Ensure vertical stacking */
    justify-content: center; /* Center product-overlay-image vertically within the slide */
    align-items: center; /* Center product-overlay-image horizontally */
    gap: 20px; /* Add some space between image and content */
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.178);
    z-index: 1;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 2;
    padding: 0 20px;
}

.slider-controls button {
    background: rgba(5, 131, 235, 0.5);
    color: white;
    border: none;
    font-size: 1.5rem;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 50px;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.slider-controls button:hover {
    background: rgba(79, 209, 241, 0.7);
    transform: scale(1.05);
}

.product-overlay-image {
    width: 60vh; /* Default width for larger screens */
    height: auto; /* Height adjusts proportionally */
    object-fit: contain;
    z-index: 3;
    pointer-events: none;
    animation: pulseProduct 3s ease-in-out infinite; /* Kept subtle pulse animation */
    margin-top: 0; /* Flexbox manages spacing */
    max-width: 60%; /* Ensure it scales down if screen is narrower than 500px */
}

@keyframes pulseProduct {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

/* Styles for the content within each slide */
.slide-content {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 80%;
    padding: 20px;
    background: rgba(223, 217, 217, 0.034);
    border-radius: 10px;
    color: white;
    text-align: center;
    z-index: 4;
}

.slide-content h3 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 800;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    letter-spacing: 1.5px;
}

.slide-content p {
    font-size: 1.4rem;
    line-height: 1.8;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    font-weight: 500;
}

/* Book Service Section */
.book-service-section {
    height: 80px;
    background-color: #0d65c4;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 0;
    gap: 10px;
}

.book-service-section p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    white-space: nowrap;
}

.book-service-section .cta-button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    flex-shrink: 0;
}

.book-service-section .cta-button:hover {
    background-color: #218838;
}

/* FAQ */
/* Styles for the Floating Slide-Out FAQ button (kept as before) */
.faq-floating-button-container {
    position: fixed;
    top: 70%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1000;
    box-sizing: border-box;
    }

.faq-floating-button {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: #fff;
    padding: 12px;
    border-radius: 0px 0 0 0px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 40px;
    transition: width 0.3s ease, border-radius 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    cursor: pointer;
    border: none;
}

.faq-floating-button i {
    margin-right: 0;
    flex-shrink: 0;
        }

.faq-floating-button .button-text {
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, margin-left 0.3s ease;
}

.faq-floating-button.expanded {
    width: 130px;
    padding-right: 15px;
    border-radius: 50px 0 0 50px;
}

.faq-floating-button.expanded .button-text {
    opacity: 1;
    transform: translateX(0);
    margin-left: 8px;
}

.faq-floating-button:hover {
    background: linear-gradient(45deg, #0056b3, #003d80);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
        }
/* Why Us Section */
.why-us-section {
    padding: 60px 10%;
    text-align: center;
    background-color: #e0f2f7;
    color: #0056b3;
    min-width: 0;
}

.why-us-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #007bff;
}

.why-us-section .intro-text {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.advantage-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.advantage-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 150px;
    height: 180px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.advantage-card .icon {
    font-size: 1.6rem;
    color: #0093dd;
    margin-bottom: 10px;
    width: 50px;
    height: 50px;
    background-color: #e6f7ff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.advantage-card h3 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
}

/* Product Section Styles (Updated for Product Cards) */
#products {
    padding: 80px 10%;
    text-align: center;
    background-color: #f0f8ff;
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

#products h2 {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 20px;
}

.product-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    width: 100%;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px; /* Fixed width for consistency */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* Ensures image corners are rounded */
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%; /* Image fills the card width */
    height: 200px; /* Fixed height for consistent image size */
    object-fit: contain; /* Ensures the whole image is visible */
    border-radius: 8px; /* Slightly rounded corners for the image */
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05); /* Slight zoom on image hover */
}

.product-card h3 {
    font-size: 1.4rem;
    color: #007bff;
    margin-bottom: 5px;
}

.product-card p {
    font-size: 0.70rem;
    color: #555;
    line-height: 1.6;
    flex-grow: 1; /* Allows paragraph to take available space */
}

.product-card .button {
    display: inline-block;
    background-color: #0093dd;
    color: white;
    padding: 10px 20px;
    font-size: 0.90rem;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 147, 221, 0.2);
    margin-top: 10px; /* Space between text and button */
}

.product-card .button:hover {
    background-color: #007bbd;
    transform: translateY(-1px);
}

/* New styles for the main "View All Our Products" button */
#products .view-products-button {
    display: inline-block;
    background-color: #007bff; /* A prominent blue */
    color: white;
    padding: 18px 35px; /* Larger padding */
    font-size: 0.90rem; /* Larger font size */
    font-weight: 700; /* Bolder text */
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.3); /* Stronger shadow */
    margin-top: 10px; /* Space above the main button */
    letter-spacing: 0.5px; /* Slightly more spaced out letters */
}

#products .view-products-button:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: translateY(-3px); /* More pronounced lift on hover */
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4); /* Stronger shadow on hover */
}


/* Modal (Pop-up Form) Styles */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fefefe;
    padding: 30px; /* Adjusted padding for better default fit */
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    animation: fadeIn 0.3s ease-out;
    max-height: 90vh; /* NEW: Limit modal height to 90% of viewport height */
    overflow-y: auto; /* NEW: Enable internal scrolling if content exceeds max-height */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-content h3 {
    color: #007bff;
    margin-bottom: 20px; /* Adjusted margin for better vertical spacing */
    text-align: center;
    font-size: 1.8rem;
}

.close-button {
    color: #aaa;
    font-size: 30px; /* Adjusted size slightly */
    font-weight: bold;
    position: absolute;
    top: 10px; /* Adjusted slightly relative to new padding */
    right: 15px; /* Adjusted slightly relative to new padding */
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
    color: #333;
    text-decoration: none;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
    transition: border-color 0.3s ease;
    background-color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.form-group select {
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23333%22%20d%3D%22M287%2C114.7L146.2%2C255.5L5.4%2C114.7c-7.6-7.6-7.6-19.9,0-27.5s19.9-7.6,27.5,0l113.3,113.3L259.5,87.2c7.6-7.6,19.9-7.6,27.5,0S294.6,107.1,287,114.7z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    padding-right: 30px;
    cursor: pointer;
}

.submit-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 15px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #0056b3;
}

.form-message {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    text-align: center;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

main {
    flex-grow: 1;
}

/* --- About Us Section Styles --- */
#about-us {
    padding: 80px 10%;
    background-color: #ffffff; /* White background for a clean look */
    color: #333;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    min-width: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* Subtle shadow */
}

#about-us h2 {
    font-size: 2rem; /* Larger, prominent heading */
    color: #007bff;
    margin-bottom: 20px;
    font-weight: 700;
}

#about-us .about-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    justify-content: center;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    width: 100%;
}

#about-us .about-text {
    flex: 1;
    min-width: 300px; /* Ensures text block doesn't get too small */
    text-align: left;
    line-height: 1.8;
    font-size: 1rem;
    color: #555;
    max-width: 600px;
}

#about-us .about-text p {
    margin-bottom: 1em; /* Spacing between paragraphs */
}

#about-us .about-image-container {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15); /* More pronounced shadow */
}

#about-us .about-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 15px; /* Matches container radius */
    transition: transform 0.4s ease; /* Smooth hover effect */
}

#about-us .about-image-container:hover .about-image {
    transform: scale(1.03); /* Slight zoom on hover */
}

/* --- End About Us Section Styles --- */


/* --- Contact Us Section Styles --- */
#contact-us {
    padding: 80px 10%;
    background-color: #e0f2f7; /* Light blue background for contrast */
    color: #333;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    min-width: 0;
}

#contact-us h2 {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 20px;
    font-weight: 700;
}

#contact-us .contact-info-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 100%;
    max-width: 1000px;
}

#contact-us .contact-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 300px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#contact-us .contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

#contact-us .contact-card .icon {
    font-size: 2rem;
    color: #0093dd;
    background-color: #e6f7ff;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#contact-us .contact-card h3 {
    font-size: 1.2rem;
    color: #007bff;
    margin-bottom: 5px;
}

#contact-us .contact-card p,
#contact-us .contact-card a {
    font-size: 1rem;
    color: #555;
    text-decoration: none;
    line-height: 1.2;
}

#contact-us .contact-card a:hover {
    color: #0093dd;
    text-decoration: underline;
}

/* --- End Contact Us Section Styles --- */


footer {
    background-color: #020202;
    color: white;
    padding: 40px 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    min-width: 0;
    margin-top: auto;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.footer-main-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
    gap: 20px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-links-list li a {
    text-decoration: none;
    color: #bbb;
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links-list li a:hover {
    color: #0093dd;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.footer-contact-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
    margin-bottom: 5px;
}

.footer-contact-phone:hover {
    color: #0093dd;
    transform: scale(1.02);
}

.footer-contact-phone i {
    font-size: 1.rem;
    color: #0093dd;
}

.footer-contact-email {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.0rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-email:hover {
    color: #0093dd;
}

.footer-contact-email i {
    font-size: 1.4rem;
    color: #0093dd;
}

.footer-social-links {
    display: flex;
    gap: 20px;
}

.footer-social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.2s ease;
}

.footer-social-links a:hover {
    color: #0093dd;
    transform: translateY(-2px);
}

.footer-copyright {
    font-size: 0.8rem;
    color: #bbb;
    width: 100%;
    text-align: left;
    margin-top: 10px;
}

/*WHATSAPP*/

.whatsapp-wrapper {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}
  
.whatsapp-float {
    background-color: #25D366;
    color: white;
    font-size: 24px;
    width: 60px;                /* Fixed width */
    height: 60px;               /* Fixed height */
    border-radius: 50%;         /* Perfect circle */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    position: relative;
    cursor: pointer;
}
  
.whatsapp-float:hover {
    background-color: #1ebe5d;
    transform: scale(1.1);
}
  
/* Tooltip on hover */
.whatsapp-float::after {
    content: "Chat with us!";
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #25D366;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
  
.whatsapp-float:hover::after {
    opacity: 1;
}

/* --- Dealer Section with Background Image --- */
.dealer-section {
  position: relative;
  padding: 80px 20px;
  text-align: center;
  background: url('/img/slider_bg1.jpg') no-repeat center center/cover;
  color: #fff;
}

.dealer-section .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5); /* dark overlay for readability */
  z-index: 1;
}

.dealer-content {
  position: relative;
  z-index: 2;
}

.dealer-section h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #fbbf24;
}

.dealer-section .intro-text {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.2rem;
  color: #e5e7eb;
}

.dealer-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.dealer-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.login-btn {
  background: #2563eb;
  color: #fff;
}
.login-btn:hover {
  background: #1d4ed8;
}

.register-btn {
  background: #10b981;
  color: #fff;
}
.register-btn:hover {
  background: #059669;
}
  
/* Pulse animation */

  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
      box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 20px;
    }

    nav .logo {
        width: 100%;
    }

    .menu-toggle {
        display: flex;
        position: absolute;
        top: 35px;
        right: 20px;
    }

    nav ul {
        max-height: 0;
        overflow: hidden;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        padding: 0;
        transition: max-height 0.4s ease, padding 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    nav ul.show {
        max-height: 600px;
        padding: 1rem;
    }

    nav ul li {
        padding: 10px 0;
    }

    .slider-container {
        margin-top: 110px;
    }
    .slide {
        height: 60vh; /* Responsive height for mobile screens */
        gap: 15px; /* Adjust gap for mobile */
    }

    .product-overlay-image {
        width: 75%; /* Slightly reduced width to give more vertical room */
        height: auto; /* Height adjusts proportionally */
        margin-top: 0; /* Ensure no residual margin */
    }

    .slider-controls button {
        font-size: 1.2rem;
        padding: 6px 10px;
    }

    /* Adjustments for smaller screens - slide content */
    .slide-content {
        top: 8%; /* Adjust top for smaller screens if needed */
        padding: 10px;
    }

    .slide-content h3 {
        font-size: 1.8rem; /* Smaller font size on mobile */
        margin-bottom: 8px;
        letter-spacing: 1px;
    }

    .slide-content p {
        font-size: 1rem; /* Smaller font size on mobile */
    }

    .why-us-section, #products, #about-us, #contact-us { /* Added #about-us & #contact-us for mobile adjustments */
        padding: 40px 15px;
    }

    .why-us-section h2, #products h2, #about-us h2, #contact-us h2 { /* Consistent heading size */
        font-size: 1.6rem;
    }

    #products .product-cards-container { /* Adjusted for multiple product cards */
        flex-direction: column;
        align-items: center;
        gap: 20px; /* Slightly less gap for mobile cards */
    }
    .product-card {
        width: 90%; /* Make product cards take more width on mobile */
        padding: 15px;
    }
    .product-card img {
        height: 150px; /* Adjust image height for mobile cards */
    }
    .product-card h3 {
        font-size: 1.2rem;
    }
    .product-card p {
        font-size: 0.85rem;
    }
    .product-card .button {
        font-size: 0.8rem;
        padding: 8px 15px;
    }

    #about-us .about-content { /* Common styling for content alignment */
        flex-direction: column;
        gap: 30px;
    }
    #about-us .about-image-container { /* Common styling for image containers */
        width: 250px; /* Slightly larger image container for mobile about section */
        height: 250px;
    }
    #about-us .about-text { /* Common styling for text content */
        text-align: center;
        font-size: 1rem;
    }
    #products .view-products-button {
        font-size: 1rem;
        padding: 12px 25px;
        margin-top: 30px; /* Adjust margin for mobile */
    }

    .book-service-section {
        height: auto;
        padding: 15px 20px;
        flex-direction: column;
    }
    .book-service-section p {
        font-size: 1rem;
        white-space: normal;
    }

    #contact-us .contact-card {
        width: 100%; /* Full width cards on mobile */
    }

    footer {
        padding: 30px 15px;
        align-items: center;
    }

    .footer-main-content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .footer-left,
    .footer-right {
        align-items: center;
        width: 100%;
    }

    .footer-links-list {
        display: none;
    }

    .footer-contact-phone,
    .footer-contact-email {
        justify-content: center;
        font-size: 1rem;
    }

    .footer-contact-phone i,
    .footer-contact-email i {
        font-size: 1rem;
    }

    .footer-copyright {
        text-align: center;
        margin-top: 30px;
    }

    /* MODAL RESPONSIVENESS FOR 768PX AND BELOW */
    .modal-content {
        padding: 20px; /* Reduced padding for tablets/larger phones */
    }
    .modal-content h3 {
        font-size: 1.5rem; /* Slightly smaller heading */
        margin-bottom: 15px;
    }
    .form-group label {
        font-size: 0.95rem; /* Slightly smaller label */
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px; /* Reduced input padding */
        font-size: 0.9rem; /* Reduced input font size */
    }
    .submit-button {
        padding: 10px 18px; /* Reduced button padding */
        font-size: 0.95rem; /* Reduced button font size */
    }
    .close-button {
        font-size: 26px; /* Slightly smaller close button */
        top: 8px;
        right: 12px;
    }
}

/* Further responsiveness for very small screens (e.g., less than 480px) */
@media (max-width: 480px) {
    .slide {
        height: 55vh; /* Slightly reduced height for very small screens */
        gap: 10px; /* Further adjust gap */
    }

    .product-overlay-image {
        width: 85%; /* Adjusted width for very small screens */
        height: auto;
        margin-top: 0; /* Ensure no residual margin */
    }

    .slide-content {
        top: 55%; /* Further adjust top for very small screens */
        padding: 8px;
        max-width: 95%;
    }

    .slide-content h3 {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    .slide-content p {
        font-size: 0.85rem;
    }

    .slider-controls button {
        font-size: 1rem;
        padding: 5px 8px;
    }

    /* MODAL RESPONSIVENESS FOR 480PX AND BELOW */
    .modal-content {
        padding: 15px; /* Remains same from previous version */
    }
    .modal-content h3 {
        font-size: 1.3rem; /* Remains same */
    }
    .form-group label {
        font-size: 0.9rem;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px;
        font-size: 0.85rem;
    }
    .submit-button {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    .close-button {
        font-size: 22px;
        top: 5px;
        right: 8px;
    }
}