
/* Global Styles */
:root {
    --primary-color: #ff6b6b; /* Coral Red */
    --secondary-color: #f7b32b; /* Gold */
    --success-color: #4ecdc4; /* Teal */
    --danger-color: #d00000; /* Red */
    --light-color: #fff3e0; /* Light Peach */
    --dark-color: #2d2d34; /* Dark Charcoal */
    --white: #ffffff;

    --gray-100: #f5f5f5;
    --gray-200: #e0e0e0;
    --gray-300: #c2c2c2;
    --gray-400: #a3a3a3;
    --gray-500: #858585;
    --gray-600: #666666;
    --gray-700: #4d4d4d;
    --gray-800: #333333;
    --gray-900: #1a1a1a;

    --font-family: 'Arial', sans-serif;
    --heading-font-family: 'Arial', sans-serif;
}


body {
    font-family: var(--font-family);
    color: var(--gray-900);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--white);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font-family);
    margin-bottom: 15px;
    line-height: 1.3;
    color: var(--dark-color);
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p {
    margin-bottom: 20px;
    color: var(--gray-700);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background-color: var(--light-color);
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    border: 1px solid var(--primary-color);
    cursor: pointer;
    font-size: 1rem;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: bold;
    transition: color 0.3s ease;
}

.btn-link:hover {
    color: #0056b3;
}

section {
    padding: 80px 0;
}

section:nth-child(even) {
    background-color: var(--gray-100);
}

.text-center {
    text-align: center;
}

/* Header */
header {
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 4px 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: bold;
    color: var(--primary-color);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--gray-800);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    gap: 15px;
}

/* Hero Section */
.hero-section {
    background-color: var(--gray-100);
    padding: 100px 0;
    text-align: left;
}

.hero-section .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--gray-700);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-visual {
    flex: 1;
    text-align: center;
}

.hero-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* About Preview */
.about-preview {
    background-color: var(--white);
    padding: 80px 0;
}

.about-preview .about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-preview h2 {
    margin-bottom: 25px;
}

.about-preview p {
    font-size: 1.1rem;
    color: var(--gray-700);
    margin-bottom: 30px;
}

/* Why Choose Us */
.why-choose-us {
    background-color: var(--gray-100);
    text-align: center;
}

.why-choose-us h2 {
    margin-bottom: 40px;
}

.reasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.reason-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.reason-item .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.reason-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.reason-item p {
    font-size: 0.95rem;
    color: var(--gray-700);
    margin-bottom: 0;
}

/* Our Services */
.our-services {
    background-color: var(--white);
}

.our-services h2 {
    text-align: center;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-category {
    background-color: var(--gray-100);
    padding: 30px;
    border-radius: 8px;
}

.service-category h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.service-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-category ul li {
    margin-bottom: 10px;
    color: var(--gray-700);
    font-size: 0.95rem;
}

/* Client Testimonials */
.testimonials {
    background-color: var(--gray-100);
    text-align: center;
}

.testimonials h2 {
    margin-bottom: 40px;
}

.testimonial-list {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
}

.testimonial-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-item p {
    font-style: italic;
    color: var(--gray-800);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.testimonial-item span {
    font-weight: bold;
    color: var(--dark-color);
}

/* FAQ Section */
.faq-section {
    background-color: var(--white);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 25px;
    padding: 20px;
    background-color: var(--gray-100);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.faq-item h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: var(--dark-color);
    cursor: pointer;
}

.faq-item p {
    font-size: 0.95rem;
    color: var(--gray-700);
    margin-bottom: 0;
    display: none; /* Hidden by default, toggle with JS */
}

.faq-item.active p {
    display: block;
}

/* Contact Form Section */
.contact-form-section {
    background-color: var(--gray-100);
    text-align: center;
}

.contact-form-section h2 {
    margin-bottom: 40px;
}

.contact-form-section form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--gray-800);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray-300);
    border-radius: 5px;
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.form-message {
    margin-top: 20px;
    font-weight: bold;
    color: var(--success-color); /* Default success message color */
}

.form-message.error {
    color: var(--danger-color);
}

/* Newsletter Subscription Module */
.newsletter-section {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.newsletter-section h2 {
    color: var(--white);
    margin-bottom: 30px;
}

.newsletter-section form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: flex-end;
}

.newsletter-section .form-group {
    margin-bottom: 0;
    flex: 1;
    min-width: 200px;
    text-align: left;
}

.newsletter-section .form-group label {
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-section input[type="text"],
.newsletter-section input[type="email"],
.newsletter-section input[type="date"] {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.newsletter-section input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-section .checkbox-group {
    flex-basis: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.newsletter-section .checkbox-group label {
    margin-bottom: 0;
}

.newsletter-section .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
    border: none;
}

.newsletter-section .btn-primary:hover {
    background-color: var(--gray-200);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--gray-300);
    padding: 60px 0 30px;
    font-size: 0.95rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--gray-300);
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-section p {
    color: var(--gray-300);
    margin-bottom: 10px;
}

.social-icons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--gray-300);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color);
}

.newsletter-footer {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.newsletter-footer input[type="email"] {
    padding: 10px;
    border: 1px solid var(--gray-600);
    border-radius: 5px;
    background-color: var(--gray-800);
    color: var(--white);
    flex-grow: 1;
}

.newsletter-footer .btn-secondary {
    padding: 10px 15px;
    border-color: var(--gray-600);
    background-color: var(--gray-800);
    color: var(--white);
}

.newsletter-footer .btn-secondary:hover {
    background-color: var(--gray-700);
    border-color: var(--gray-500);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--gray-800);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-bottom p {
    margin-bottom: 10px;
    color: var(--gray-400);
}

.privacy-terms a {
    color: var(--gray-400);
    margin: 0 5px;
}

.privacy-terms a:hover {
    color: var(--primary-color);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        order: 2;
    }
    .hero-visual {
        order: 1;
        margin-bottom: 30px;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
        display: none; /* Hide desktop nav for mobile */
    }
    header .container {
        flex-wrap: wrap;
    }
    .header-actions {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 20px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .newsletter-section form {
        flex-direction: column;
        align-items: center;
    }
    .newsletter-section .form-group {
        width: 100%;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    section { padding: 60px 0; }
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-content h1 { font-size: 2rem; }
    .hero-content p { font-size: 1.1rem; }
    .hero-buttons {
        flex-direction: column;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
    }
    .reason-item, .testimonial-item {
        max-width: 100%;
    }
    .testimonial-list {
        flex-direction: column;
        align-items: center;
    }
    .contact-form-section form, .newsletter-section form {
        padding: 25px;
    }
}

 /* Modal Styles */
    .modal {
      display: none; /* Hidden by default */
      position: fixed; 
      z-index: 1000; 
      left: 0;
      top: 0;
      width: 100%; 
      height: 100%;
      overflow: auto; 
      background-color: rgba(0,0,0,0.5); /* Black w/ opacity */
      justify-content: center;
      align-items: center;
    }

    .modal-content {
      background-color: #fff;
      padding: 20px;
      border-radius: 8px;
      width: 90%;
      max-width: 600px;
      position: relative;
      box-shadow: 0 5px 15px rgba(0,0,0,0.3);
      animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
      from { transform: translateY(-50px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }

    .close {
      position: absolute;
      top: 15px;
      right: 20px;
      font-size: 24px;
      font-weight: bold;
      color: #333;
      cursor: pointer;
    }

    .modal h2 {
      margin-top: 0;
      color: #007BFF;
    }

    .modal p {
      line-height: 1.6;
      margin: 10px 0;
    }
