* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.8; /* Increase line height for better readability */
    font-size: 16px; /* Set a base font size */
    color: #333; /* Use a dark gray color for text */
    background-color: #ffffff; /* Use a white background for better contrast */
    margin: 0;
    padding: 0;
}

/* Header */
.header {
    position: relative;
    text-align: center;
}

.header-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
}

.navbar {
    background-color: #333;
    padding: 1rem 0;
}

/* Default Navigation Menu (Visible on Larger Screens) */
.nav-links {
    display: flex; /* Show the menu by default */
    justify-content: center; /* Align links to the right */
    list-style: none;
    gap: 1.5rem; /* Add spacing between links */
}

/* Hide Navigation Menu on Smaller Screens */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide the menu by default on mobile */
        flex-direction: column; /* Stack links vertically */
        background-color: #333; /* Background color for the menu */
        position: absolute;
        top: 100%; /* Position below the navbar */
        right: 0;
        width: 100%; /* Full width */
        padding: 1rem 0;
        z-index: 10;
    }

    .nav-links.hidden {
        display: flex; /* Show the menu when toggled */
    }
}

.nav-link {
    color: #e63946; /* White text for links */
    text-decoration: none;
    margin: 1rem 0;
    font-size: 1.2rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #b71c1c; /* Red on hover */
}

.nav-link:visited {
    text-decoration: none; /* Ensures no underline after the link is clicked */
    color: #e63946; /* Keeps the same color for visited links */
}

/* Hamburger Icon */
.hamburger {
    display: none; /* Hidden by default */
    font-size: 1.5rem;
    color: #e63946;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
}

/* Main Content */
.main-content {
    min-height: 100vh; /* Ensures the section fills the full height of the viewport */
    display: flex; /* Enables flexbox for centering content */
    flex-direction: column; /* Ensures content stacks vertically */
    justify-content: center; /* Centers content vertically */
    align-items: center; /* Centers content horizontally */
    padding: 2rem; /* Adds some padding around the content */
    background-color: #f9f9f9; /* Light gray background for subtle contrast */
    text-align: center; /* Centers text inside the section */
}

.slideshow {
    margin: 2rem 0;
}

.slides {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    background-color: #e0e0e0;
}

.slide {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Company Description */
.company-description {
    max-width: 800px; /* Restrict the width of the text for better readability */
    margin: 2rem auto; /* Center the text block and add spacing */
    font-size: 18px; /* Slightly larger font size for better readability */
    color: #444; /* Slightly lighter gray for text */
    line-height: 1.8; /* Add more spacing between lines */
}

/* Links */
.cta-link {
    color: #0078d7; /* Keep this for CTA links only */
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.cta-link:hover {
    color: #0056a3; /* Darker blue on hover for CTA links */
}

a:visited {
    text-decoration: none;
    color: inherit; /* Optional: Keeps the color consistent with unvisited links */
}

/* Hero Section */
.hero {
    background-image: url('./images/logow.png'); /* Replace with your image */
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    max-height: 400px; /* Set a maximum height for the hero section */
    overflow: hidden; /* Ensures content doesn't overflow the max height */
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #333; /* Dark grey for the heading */
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #000; /* Black for the paragraph text */
}

.cta-button {
    background-color: #e63946; /* Red background for the button */
    color: #fff; /* White text for contrast */
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #b71c1c; /* Darker red on hover for better contrast */
}

/* Services Icons */
.services-icons {
    display: flex;
    justify-content: space-around;
    padding: 2rem;
    background-color: #f9f9f9;
    margin-bottom: 1.5rem; /* Adds space beneath the services icons section */
}

.service {
    text-align: center;
    max-width: 300px;
}

.service i {
    font-size: 3rem;
    color: #0078d7;
    margin-bottom: 1rem;
}

.service h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.service p {
    font-size: 1rem;
    color: #555;
}

/* Services List */
.services-list {
    list-style: none; /* Removes the bullets */
    padding: 0; /* Removes default padding */
    margin: 0 0 1.5rem 0; /* Adds space beneath the list (about a finger's width) */
}

.services-list li {
    margin-bottom: 0.5rem; /* Adds spacing between list items */
    font-size: 1.2rem; /* Optional: Adjust font size for better readability */
}

/* Service Cards */
.service-card {
    width: 90%; /* Make the cards take up most of the screen width */
    max-width: 600px; /* Limit the maximum width of the cards */
    background-color: #fff; /* White background for the cards */
    border: 1px solid #ddd; /* Light border for separation */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    padding: 1.5rem; /* Add padding inside the cards */
    text-align: center; /* Center-align text */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
}

.service-card h2 {
    font-size: 1.5rem; /* Adjust heading size */
    color: #e63946; /* Red color for the heading */
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 1rem; /* Adjust paragraph size */
    color: #555; /* Gray color for text */
    margin-bottom: 1.5rem;
    line-height: 1.6; /* Improve readability */
}

.service-card a.learn-more {
    display: inline-block; /* Make the link a button */
   background-color: #e63946;/* Red background for the button */
    color: #fff; /* White text for contrast */
    padding: 0.5rem 1rem; /* Add padding to the button */
    border-radius: 5px; /* Rounded corners */
    text-decoration: none; /* Remove underline */
    font-weight: bold;
    transition: background-color 0.3s ease; /* Smooth hover effect */
}

.service-card a.learn-more:hover {
    background-color: #b71c1c; /* Darker red on hover */
}

/* Hover Effect for Cards */
.service-card:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* Stronger shadow on hover */
}

/* Services Section */
.services-section {
    display: flex;

    gap: 1.5rem; /* Add spacing between the cards */
    padding: 2rem; /* Add padding around the section */
    background-color: #f9f9f9; /* Optional: Light background for contrast */
}

/* Testimonials */
.testimonials {
    text-align: center;
    padding: 2rem;
    background-color: #e0e0e0;
}

.testimonials h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.testimonial {
    margin-bottom: 1.5rem;
}

.testimonial p {
    font-size: 1.2rem;
    font-style: italic;
    color: #333;
}

.testimonial span {
    display: block;
    margin-top: 0.5rem;
    font-size: 1rem;
    color: #555;
}

/* FAQ Section */
.faq {
    padding: 2rem;
    background-color: #f9f9f9;
}

.faq h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.question {
    margin-bottom: 1rem;
}

.question h3 {
    font-size: 1.2rem;
    color: #e63946;
    margin-bottom: 0.5rem;
}

.question p {
    font-size: 1rem;
    color: #555;
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

/* Social Media Icons */
.social-icons {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem; /* Space between icons */
}

.social-link {
    color: #333; /* Default icon color */
    font-size: 1.5rem; /* Icon size */
    transition: color 0.3s ease;
    text-decoration: none; /* Remove underline */
}

.social-link:hover {
    color: #e63946; /* Red color on hover */
}

.social-icons a {
    margin: 0 0.5rem;
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #0078d7;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column; /* Stack the input fields vertically */
    gap: 1rem; /* Add spacing between form elements */
    max-width: 400px; /* Optional: Limit the form width */
    margin: 0 auto; /* Center the form horizontally */
}

.contact-form label {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%; /* Make inputs take full width of the form */
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form button {
    background-color: #e63946; /* Red background for the button */
    color: #fff; /* White text for contrast */
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #b71c1c; /* Darker red on hover */
}

/* More Info Section */
.more-info {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #f9f9f9; /* Light background for contrast */
    border: none; /* Removes any border */
    padding: 10px; /* Optional: Adjust padding for spacing */
    display: none; /* Hidden by default */
    animation: fadeIn 0.3s ease-in-out; /* Optional: Add a fade-in effect */
}

.more-info p {
    font-size: 1rem;
    color: #555; /* Gray text */
    line-height: 1.6;
}

/* Optional: Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* General Reset for Smaller Screens */
body {
    font-size: 16px; /* Ensure base font size is readable */
}

/* Media Query for Tablets (768px and below) */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column; /* Stack navigation links vertically */
        align-items: center;
    }

    .nav-links {
        flex-direction: column; /* Stack links vertically */
        gap: 1rem; /* Add spacing between links */
        display: none; /* Hide the menu by default */
    }

    .nav-links.hidden {
        display: flex; /* Show the menu when toggled */
    }

    .hero {
        padding: 2rem 1rem; /* Reduce padding for smaller screens */
        max-height: 300px; /* Adjust hero height for tablets */
    }

    .hero-content h1 {
        font-size: 2rem; /* Reduce heading size */
    }

    .hero-content p {
        font-size: 1rem; /* Reduce paragraph size */
    }

    .company-description {
        padding: 1rem; /* Add padding for better spacing */
        font-size: 1rem; /* Adjust font size for readability */
    }

    .animated-section h2 {
        font-size: 1.5rem; /* Adjust heading size */
    }

    .hamburger {
        display: block; /* Show the hamburger icon */
    }

    .services-section {
        display: flex;
        flex-direction: column; /* Stack cards vertically */
        align-items: center; /* Center-align cards */
    }

    .service-card {
        width: 90%; /* Make cards take up most of the screen width */
        margin: 1rem 0; /* Add spacing between stacked cards */
    }

    .services-section {
        flex-direction: column; /* Stack cards vertically on smaller screens */
    }

    .service-card {
        width: 90%; /* Adjust width for smaller screens */
    }

    .services-icons {
        flex-direction: column; /* Stack icons vertically on smaller screens */
    }

    .service {
        width: 90%; /* Adjust width for smaller screens */
    }
}

/* Media Query for Phones (480px and below) */
@media (max-width: 480px) {
    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .hero {
        padding: 1.5rem 1rem; /* Further reduce padding */
        max-height: 250px; /* Adjust hero height for phones */
    }

    .hero-content h1 {
        font-size: 1.8rem; /* Further reduce heading size */
    }

    .hero-content p {
        font-size: 0.9rem; /* Reduce paragraph size */
    }

    .cta-button {
        padding: 0.5rem 1rem; /* Adjust button size */
        font-size: 0.9rem; /* Adjust button text size */
    }

    .company-description {
        padding: 1rem;
        font-size: 0.9rem; /* Further adjust font size */
    }

    .animated-section h2 {
        font-size: 1.2rem; /* Adjust heading size */
    }

    .footer {
        padding: 1rem; /* Reduce footer padding */
    }

    .social-icons a {
        font-size: 1.2rem; /* Reduce icon size */
    }

    .service-card h2 {
        font-size: 1.2rem; /* Reduce heading size for smaller screens */
    }

    .service-card p {
        font-size: 0.9rem; /* Reduce paragraph size */
    }

    .service-card a.learn-more {
        font-size: 0.9rem; /* Adjust button text size */
        padding: 0.4rem 0.8rem; /* Adjust button padding */
    }
}

@media (max-width: 768px) {
    .hero {
        max-height: 300px; /* Reduce the max height for smaller screens */
    }
}