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

html, body {
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f4f4f4;
}

.container {
    width: 80%;
    max-width: 1200px; /* Prevents container from being too wide */
    margin: 0 auto;
}

header {
    background: linear-gradient(135deg, #333, #555);
    color: #fff;
    padding: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo img {
    width: 60px;
    height: auto;
    border-radius: 50%;
}

.nav-container {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
    font-size: 1.1em;
    display: flex;
    align-items: center;
}

.nav-links li a i {
    margin-right: 8px;
}

.nav-links li a:hover {
    color: #ffcc00;
}

.cta {
    display: flex;
    align-items: center;
}

.cta .phone {
    color: #fff;
    margin-right: 15px;
    font-size: 1em;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.cta .phone i {
    margin-right: 8px;
}

.cta .phone:hover {
    color: #ffcc00;
}

.cta .cta-btn {
    padding: 10px 20px;
    color: #fff;
    background-color: #ffcc00;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
}

.cta .cta-btn i {
    margin-right: 8px;
}

.cta .cta-btn:hover {
    background-color: #ffa500;
    transform: translateY(-5px);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger i {
    font-size: 1.5em;
    color: #fff;
}

/* Banner Section */
.banner-slider {
    width: 100%;
}

.banner-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* About Us Section */
.about-us {
    padding: 60px 0;
    text-align: center;
    background-color: #f4f4f4;
}

.about-us h2 {
    margin-bottom: 40px;
    font-size: 2.5em;
    color: #007BFF;
}

.about-us p {
    font-size: 1.2em;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 60px 0;
    text-align: center;
    background-color: #fff;
}

.services h2 {
    margin-bottom: 40px;
    font-size: 2.5em;
    color: #007BFF;
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.service-card {
    flex: 1 1 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    background-color: #f4f4f4;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    padding: 20px;
}

.service-card img {
    width: 100%;
    height: auto;
}

.service-card h3 {
    margin: 20px 0 10px;
    font-size: 1.5em;
    color: #007BFF;
}

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

/* Why Choose Us Section */
.why-choose-us {
    padding: 60px 0;
    text-align: center;
    background-color: #f4f4f4;
}

.why-choose-us h2 {
    margin-bottom: 40px;
    font-size: 2.5em;
    color: #007BFF;
}

.why-choose-us p {
    font-size: 1.2em;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/* Testimonials Section */
.testimonials {
    padding: 60px 0;
    text-align: center;
    background-color: #fff;
}

.testimonials h2 {
    margin-bottom: 40px;
    font-size: 2.5em;
    color: #007BFF;
}

.testimonial-slider {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial {
    margin-bottom: 20px;
    font-size: 1.2em;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.testimonial p {
    font-size: 1em;
    color: #555;
}

/* FAQ Section */
.faq {
    padding: 60px 0;
    text-align: center;
    background-color: #f4f4f4;
}

.faq h2 {
    margin-bottom: 40px;
    font-size: 2.5em;
    color: #007BFF;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 20px;
}

.accordion-header {
    background-color: #007BFF;
    color: #fff;
    padding: 15px;
    cursor: pointer;
    border-radius: 5px;
}

.accordion-body {
    background-color: #f4f4f4;
    padding: 15px;
    display: none;
    border-radius: 5px;
    border-top: 1px solid #007BFF;
}

.accordion-header h3 {
    margin: 0;
}

/* Contact Section */
.contact {
    padding: 60px 0;
    text-align: center;
    background-color: #fff;
}

.contact h2 {
    margin-bottom: 40px;
    font-size: 2.5em;
    color: #007BFF;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.contact form {
    flex: 1;
    min-width: 300px;
    margin-right: 20px;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.form-group textarea {
    resize: vertical;
}

.contact .btn {
    padding: 10px 20px;
    color: #fff;
    background-color: #007BFF;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
    display: inline-block;
    margin-top: 10px;
    text-align: left;
}

.contact .btn:hover {
    background-color: #0056b3;
    transform: translateY(-5px);
}

.info-details {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.info-details h3 {
    margin-bottom: 20px;
}

.info-details p {
    margin-bottom: 10px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
}

.info-details p i {
    margin-right: 10px;
    color: #007BFF;
}

.social-media {
    margin-top: 20px;
}

.social-media h4 {
    margin-bottom: 10px;
}

.social-media ul {
    list-style: none;
    padding: 0;
    display: flex;
}

.social-media ul li {
    margin-right: 10px;
}

.social-media ul li a {
    color: #007BFF;
    text-decoration: none;
    font-size: 1.5em;
    transition: color 0.3s;
}

.social-media ul li a:hover {
    color: #0056b3;
}

/* Footer Section */
footer {
    background: linear-gradient(135deg, #333, #555);
    color: #fff;
    padding: 40px 0;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    animation: fadeInUp 2s ease-in-out;
}

.footer-logo {
    text-align: center;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 60px;
    height: auto;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}

.footer-column {
    width: 22%;
    margin-bottom: 20px;
}

.footer-column h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
    color: #ffcc00;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.footer-column ul li a i {
    margin-right: 8px;
}

.footer-column ul li a:hover {
    color: #ffcc00;
}

.footer-column .social {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.footer-column .social li {
    display: inline;
    margin: 0 10px;
}

.footer-column .social li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.3s;
}

.footer-column .social li a i {
    margin-right: 8px;
}

.footer-column .social li a:hover {
    color: #ffcc00;
}

footer hr {
    border-top: 1px solid #777;
    margin: 20px 0;
}

footer p {
    margin: 0;
    font-size: 1em;
    text-align: center;
}

footer p a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
}

footer p a:hover {
    color: #ffcc00;
}

/* Scroll to Top Button */
.scroll-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 50%;
    padding: 10px 15px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: background-color 0.3s, transform 0.3s;
}

.scroll-top:hover {
    background-color: #0056b3;
    transform: translateY(-5px);
}

.scroll-top i {
    font-size: 1.5em;
}

/* Responsive Design Adjustments */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-container {
        width: 100%;
        display: none;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }

    .nav-links li a {
        display: block;
        padding: 10px;
        border-bottom: 1px solid #555;
    }

    .cta {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        margin-top: 10px;
    }

    .cta .phone,
    .cta .cta-btn {
        width: 100%;
        text-align: center;
        margin: 5px 0;
    }

    .hamburger {
        display: block;
        margin-left: auto;
    }

    .nav-active {
        display: flex;
        flex-direction: column;
    }

    .service-cards {
        flex-direction: column;
        align-items: center;
    }

    .footer-columns {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        width: 100%;
        text-align: center;
    }

    .contact-content {
        flex-direction: column;
        gap: 20px;
    }
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .service-cards {
        flex-direction: column;
        align-items: center;
    }

    .service-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .nav-container {
        width: 100%;
        display: none;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }

    .nav-links li a {
        display: block;
        padding: 10px;
        border-bottom: 1px solid #555;
    }

    .cta {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        margin-top: 10px;
    }

    .cta .phone,
    .cta .cta-btn {
        width: 100%;
        text-align: center;
        margin: 5px 0;
    }

    .hamburger {
        display: block;
        margin-left: auto;
    }

    .nav-active {
        display: flex;
        flex-direction: column;
    }

    .footer-columns {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        width: 100%;
        text-align: center;
    }

    .contact-content {
        flex-direction: column;
        gap: 20px;
    }
}
