/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
}

/* Navbar Styles */
.navbar {
    background-color: #01735a !important;
    padding: 10px 0;
    z-index: 999;
}

.navbar .navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.navbar .navbar-brand i {
    margin-right: 8px;
}

.navbar .navbar-nav .nav-link {
    color: #ffffff !important;
    font-size: 1.1rem;
    padding: 12px 20px;
    transition: color 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover {
    color: #f1c40f !important;
}

.navbar-toggler-icon {
    background-color: #ffffff;
}

/* Hero Section Styles */
.hero {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url('../images/hero.jpg') no-repeat center center;
    background-size: cover;
    color: #ffffff;
    padding: 180px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: #ffffff;
}

.hero .btn {
    font-size: 1.1rem;
    padding: 12px 30px;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}

.hero .btn-primary-custom {
    background-color: #01735a;
    border: none;
}

.hero .btn-primary-custom:hover {
    background-color: #00a28a;
}

.hero .btn-outline-light {
    border: 2px solid #ffffff;
    color: #ffffff;
}

.hero .btn-outline-light:hover {
    background-color: #ffffff;
    color: #333;
}

/* About Section Styles */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #333;
}

.about-image {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-stats h3 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #01735a;
}

.about-stats p {
    font-size: 1.1rem;
    color: #333;
}

.row.mt-4 {
    margin-top: 40px;
}

.col-6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

/* Responsiveness */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .navbar .navbar-nav .nav-link {
        font-size: 1rem;
    }

    .about-image {
        max-height: 300px;
        object-fit: cover;
    }
}

/* Services Section Styles */
#services {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
}

.service-card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
    padding: 20px;
    text-align: center;
    height: 100%;
}

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

.service-card h4 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #01735a;
    margin-bottom: 15px;
}

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

.service-card .service-icon {
    font-size: 3rem;
    color: #01735a;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .service-card {
        margin-right: 30px;
    }
}

@media (max-width: 768px) {
    .service-card {
        margin: 15px 0;
    }
}

/* Grid layout */
#servicesGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    justify-items: center;
}

/* Why Choose Us Section */
#why {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
}

.feature-icon {
    font-size: 3rem;
    color: #01735a;
    margin-bottom: 20px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.feature-icon:hover {
    transform: scale(1.2);
    color: #00a28a;
}

h4 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Responsive Grid */
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.col-md-4 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    padding: 15px;
    text-align: center;
}

.mb-4 {
    margin-bottom: 30px;
}

/* Media Queries for Smaller Screens */
@media (max-width: 768px) {
    .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    h4 {
        font-size: 1.25rem;
    }

    p {
        font-size: 0.95rem;
    }
}

/* Reveal Animation */
.feature-visible {
    animation: fadeInUp 1s ease-out forwards;
}

/* Keyframes for FadeInUp Effect */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Home Warranty Section */
#warranty {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
}

.warranty-badge {
    background-color: #00a28a;
    color: #fff;
    padding: 40px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    text-align: center;
}

.warranty-badge:hover {
    transform: scale(1.05);
}

.warranty-badge i {
    color: #fff;
    margin-bottom: 20px;
}

.warranty-badge h3 {
    font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.warranty-badge p {
    font-size: 1.1rem;
    color: #f1f1f1;
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

ul li i {
    font-size: 1.3rem;
    margin-right: 10px;
    color: #28a745;
}

@media (max-width: 768px) {
    .warranty-badge {
        padding: 30px;
    }

    .warranty-badge h3 {
        font-size: 1.5rem;
    }

    .warranty-badge p {
        font-size: 1rem;
    }

    ul li {
        font-size: 1rem;
    }
}

/* Animation for Warranty List Items */
.feature-visible {
    animation: fadeInUp 1s ease-out forwards;
}

/* Keyframes for FadeInUp Effect */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Section */
#contact {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
}

form .form-label {
    font-weight: bold;
    color: #333;
}

.form-control,
.form-select {
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #ccc;
    box-shadow: none;
    transition: border-color 0.3s ease-in-out;
}

.form-control:focus,
.form-select:focus {
    border-color: #00a28a;
    box-shadow: 0 0 5px rgba(230, 126, 34, 0.5);
}

.btn-primary-custom {
    background-color: #00a28a;
    border-color: #00a28a;
    color: #fff;
    font-size: 1.1rem;
    padding: 15px 30px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #01735a;
    border-color: #01735a;
}

.confirmation-message {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background-color: #28a745;
    color: #fff;
    border-radius: 10px;
    text-align: center;
    font-size: 1.1rem;
}

.confirmation-message i {
    margin-right: 10px;
}

/* Testimonial Section */
#testimonials {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.testimonial-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}

.testimonial-card .d-flex {
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-card .text-warning i {
    color: #01735a;
}

.testimonial-card p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .col-lg-4 {
        margin-bottom: 30px;
    }
}

/* Footer Section */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
}

footer h4 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

footer p {
    font-size: 1rem;
    margin-bottom: 15px;
}

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

footer .social-icons a:hover {
    color: #00a28a; /* Hover color */
}

footer .list-unstyled a {
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .list-unstyled a:hover {
    color: #00a28a;
}

footer .bg-white-50 {
    background-color: rgba(255, 255, 255, 0.1);
}

footer .text-center p {
    font-size: 0.9rem;
    color: #aaa;
}

/* Modals Styling */
.modal-content {
    border-radius: 10px;
    padding: 30px;
    background-color: #fff;
}

.modal-header {
    border-bottom: 1px solid #ddd;
}

.modal-header .btn-close {
    font-size: 1.5rem;
}

.modal-body {
    font-size: 1rem;
    line-height: 1.8;
}

.modal-footer {
    display: none; /* Hide footer by default */
}

.modal-body h6 {
    font-weight: bold;
    margin-top: 20px;
}

.modal-body p {
    margin-top: 10px;
}

.modal-body .form-label {
    font-weight: bold;
}

/* Newsletter Modal */
#newsletterForm {
    display: flex;
    flex-direction: column;
}

#newsletterForm .mb-3 {
    margin-bottom: 20px;
}

#newsletterForm button {
    margin-top: 20px;
}

.confirmation-message {
    display: none;
    background-color: #28a745;
    color: white;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-size: 1.1rem;
}

.confirmation-message i {
    margin-right: 10px;
}

/* Newsletter Button (Fixed) */
.btn-primary-custom.position-fixed {
    z-index: 9999;
    border-radius: 50%;
    padding: 15px 30px;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary-custom.position-fixed:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .footer {
        padding: 20px 0;
    }
}

