/* General Styling */
:root {
    --primary-blue: #007bff; /* A vibrant blue for accents */
    --dark-blue: #0056b3;   /* A darker shade for hover states */
    --accent-dark: #343a40; /* Dark accents for text and backgrounds */
    --light-gray: #f8f9fa;  /* Light background for sections */
    --white: #ffffff;
    --text-color: #495057;
    --heading-color: #212529;
    --border-color: #dee2e6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--dark-blue);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: var(--accent-dark);
}

.secondary-btn:hover {
    background-color: #212529;
}

/* Header */
header {
    background-color: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 600;
}

.logo a {
    color: var(--heading-color);
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--heading-color);
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    height: 3px;
    width: 25px;
    background-color: var(--heading-color);
    margin: 4px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background-color: var(--light-gray);
    padding: 80px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.hero-content h2 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-align: left;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Page Hero (for other pages) */
.page-hero {
    background-color: var(--accent-dark);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    margin-bottom: 40px;
}

.page-hero h2 {
    color: var(--white);
    font-size: 3rem;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Sections General */
section {
    padding: 60px 0;
}

section:nth-of-type(even) {
    background-color: var(--light-gray);
}

/* Services Overview Section (Homepage) */
.services-overview h3,
.value-proposition h3,
.testimonials h3,
.contact-section h3 {
    text-align: center;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.service-card h4 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-cards + .btn { /* For the "View All Services" button */
    display: block;
    margin: 40px auto 0;
    width: fit-content;
}

/* Value Proposition Section */
.value-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    text-align: center;
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-item i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.value-item h4 {
    font-size: 1.4rem;
    color: var(--heading-color);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light-gray);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    font-style: italic;
    position: relative;
}

.testimonial-card p:first-of-type {
    margin-bottom: 15px;
}

.testimonial-card .client-name {
    font-weight: 600;
    color: var(--primary-blue);
    text-align: right;
    font-style: normal;
    margin-top: 15px;
}

/* Call to Action Bottom */
.cta-bottom {
    background-color: var(--primary-blue);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.cta-bottom h3 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.cta-bottom .btn {
    background-color: var(--white);
    color: var(--primary-blue);
}

.cta-bottom .btn:hover {
    background-color: #e2e6ea;
    color: var(--dark-blue);
}

/* Footer */
footer {
    background-color: var(--accent-dark);
    color: var(--white);
    padding: 50px 0 20px;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 50px;
    height: 2px;
    background-color: var(--primary-blue);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--white);
    opacity: 0.8;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--primary-blue);
}

.footer-col p {
    margin-bottom: 10px;
}

.footer-col p a {
    color: var(--white);
    opacity: 0.8;
}

.footer-col p a:hover {
    opacity: 1;
    color: var(--primary-blue);
}

.social-icons a {
    color: var(--white);
    font-size: 1.2rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-blue);
}

.copyright {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    opacity: 0.7;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* Services Detail Page */
.services-detail .service-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.services-detail .service-item:last-child {
    margin-bottom: 0;
}

.services-detail .service-item.reverse {
    flex-direction: row-reverse;
}

.services-detail .service-text {
    flex: 2;
    min-width: 300px;
}

.services-detail .service-text h3 {
    color: var(--primary-blue);
    font-size: 2rem;
}

.services-detail .service-text ul {
    list-style: none;
    margin-top: 15px;
}

.services-detail .service-text ul li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
}

.services-detail .service-text ul li::before {
    content: "\f00c"; /* Font Awesome checkmark icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary-blue);
    position: absolute;
    left: 0;
    top: 0;
}

.services-detail .service-image {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.services-detail .service-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* Contact Page */
.contact-section .container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
    align-items: flex-start;
}

.contact-info, .contact-form-container {
    flex: 1;
    min-width: 300px;
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-info h3, .contact-form-container h3 {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.contact-info p i {
    margin-right: 10px;
    color: var(--accent-dark);
    font-size: 1.3rem;
}

.contact-form-container form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--heading-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

textarea {
    resize: vertical;
}

.error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 5px;
}

.form-status {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.form-status.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* About Page */
.about-content .container {
    padding-top: 40px;
}

.about-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 2;
    min-width: 300px;
}

.about-text h3 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-text ul {
    list-style: none;
    margin-top: 20px;
    margin-bottom: 20px;
}

.about-text ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-weight: 500;
}

.about-text ul li::before {
    content: "\f00c"; /* Font Awesome checkmark icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--accent-dark);
    position: absolute;
    left: 0;
    top: 0;
}


/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
    }

    nav {
        order: 1;
        width: 100%;
    }

    nav ul {
        flex-direction: column;
        display: none; /* Hidden by default */
        width: 100%;
        text-align: center;
        padding-top: 20px;
        background-color: var(--white);
        border-top: 1px solid var(--border-color);
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: flex;
        order: 2; /* Move toggle to the right if needed, beside logo */
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h2 {
        font-size: 2.5rem;
        text-align: center;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .page-hero h2 {
        font-size: 2.2rem;
    }

    .services-detail .service-item,
    .services-detail .service-item.reverse {
        flex-direction: column;
    }

    .contact-section .container {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.7rem;
    }

    .service-card, .value-item, .testimonial-card {
        padding: 20px;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
        bottom: 15px;
        right: 15px;
    }
}