/* --- Global Styles & Variables --- */
:root {
    --primary-color: #2ecc71; /* Green */
    --primary-color-dark: #27ae60;
    --secondary-color: #3498db; /* Blue */
    --secondary-color-dark: #2980b9;
    --white-color: #ffffff;
    --light-gray-color: #f8f9fa;
    --medium-gray-color: #dee2e6;
    --dark-gray-color: #343a40;
    --text-color: #495057;
    --text-color-light: #6c757d;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --transition-speed: 0.3s;
    --section-padding: 80px 0;
    --border-radius: 8px;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size */
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--white-color);
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* --- Utility Classes --- */
.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.default-section {
    padding: var(--section-padding);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--dark-gray-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 { font-size: 2.8rem; font-weight: 700; }
h2 { font-size: 2.2rem; text-align: center; margin-bottom: 3rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; font-weight: 600; }

p {
    margin-bottom: 1rem;
    color: var(--text-color-light);
}
section p:last-child {
    margin-bottom: 0;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}
a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
}

ul { list-style: none; }

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px; /* Pill shape */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-speed) ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-align: center;
}
.cta-button.primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}
.cta-button.primary:hover {
    background-color: var(--primary-color-dark);
    border-color: var(--primary-color-dark);
    color: var(--white-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.cta-button.secondary {
    background-color: transparent;
    color: var(--white-color); /* Default for Hero */
    border-color: var(--white-color); /* Default for Hero */
}
.cta-button.secondary:hover {
    background-color: var(--white-color);
    color: var(--primary-color); /* Change text color on hover */
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
/* Adjust secondary button colors for non-hero sections if needed */
.contact-form-container .cta-button.primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}
.contact-form-container .cta-button.primary:hover {
    background-color: var(--secondary-color-dark);
    border-color: var(--secondary-color-dark);
}


/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    padding: 0.2rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: background-color var(--transition-speed) ease, padding var(--transition-speed) ease;
}
.site-header.scrolled { /* Optional: Add class on scroll for different style */
   /* padding: 10px 0; */
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--dark-gray-color);
    letter-spacing: -0.5px;
}
.logo a:hover { color: var(--primary-color); }

.main-nav { display: block; } /* Hide on mobile initially via media query */
.main-nav ul {
    display: flex;
}
.main-nav li {
    margin-left: 30px;
}
.main-nav a {
    font-weight: 500;
    color: var(--text-color);
    padding-bottom: 5px;
    position: relative;
    font-size: 0.95rem;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { /* Add 'active' class with JS for current section */
    width: 100%;
}
.main-nav a:hover { color: var(--primary-color); }

.mobile-nav-toggle {
    display: none; /* Shown on mobile via media query */
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--dark-gray-color);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 100px 0 60px; /* Adjust padding */
    background-color: var(--dark-gray-color); /* Fallback */
    color: var(--white-color);
    overflow: hidden;
}
.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Placeholder for GSAP animation target */
    background: linear-gradient(45deg, rgba(52, 152, 219, 0.3), rgba(46, 204, 113, 0.3));
    opacity: 0.5; /* Adjust as needed */
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 3;
}
.hero-section h1 {
    color: var(--white-color);
    margin-bottom: 1.5rem;
    font-size: 3.2rem; /* Larger hero heading */
}
.hero-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}
.hero-buttons .cta-button {
    margin: 0 10px;
}
.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    animation: bounce 2s infinite ease-out;
}
.scroll-down-indicator:hover {
    color: var(--white-color);
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

/* --- About Section --- */
.about-section {
    background-color: var(--light-gray-color);
}
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-text p {
    font-size: 1.05rem;
}
.about-image img {
}

/* --- Solutions Section --- */
.solutions-section {
    background-color: var(--white-color);
}
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.solution-card {
    background-color: var(--white-color);
    padding: 35px 30px;
    text-align: center;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--medium-gray-color);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.card-icon {
    font-size: 2.8rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    line-height: 1;
}
.solution-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--dark-gray-color);
}
.solution-card p {
    font-size: 0.95rem;
    color: var(--text-color-light);
    line-height: 1.6;
}

/* --- Why Us Section --- */
.why-us-section {
    background-color: var(--light-gray-color);
}
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}
.stat-item {
    background-color: var(--white-color);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}
.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray-color);
    font-family: var(--font-heading);
    line-height: 1.2;
}
.stat-item p {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color-light);
    margin-top: 0.5rem;
}

/* --- Contact Section --- */
.contact-section {
    background-color: var(--white-color);
}
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Adjust ratio as needed */
    gap: 50px;
    margin-top: 1rem; /* Reduce space after h2 */
}
.contact-info h3, .contact-form-container h3 {
    margin-bottom: 2rem;
    text-align: left;
}
.address-block {
    margin-bottom: 2rem;
}
.address-block h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.7rem;
    color: var(--dark-gray-color);
}
.address-block h4 i {
    color: var(--secondary-color);
    font-size: 1.2em;
}
.address-block p {
    margin-bottom: 0.5rem;
    padding-left: 28px; /* Align text under icon */
    color: var(--text-color);
}
.address-block p i {
    margin-right: 8px;
    color: var(--secondary-color);
}
.address-block a {
    color: var(--secondary-color);
}
.address-block a:hover {
    color: var(--primary-color);
}
.map-placeholder {
    height: 300px;
    background-color: var(--light-gray-color);
    border: 1px solid var(--medium-gray-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color-light);
    border-radius: var(--border-radius);
    margin-top: 2rem;
    overflow: hidden; /* For embedded map */
}
#map-container iframe { /* Style embedded Google Map */
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-form-container .form-group {
    margin-bottom: 1.5rem;
}
.contact-form-container label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-gray-color);
    font-size: 0.9rem;
}
.contact-form-container input[type="text"],
.contact-form-container input[type="email"],
.contact-form-container input[type="tel"],
.contact-form-container select,
.contact-form-container textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray-color);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
.contact-form-container input:focus,
.contact-form-container select:focus,
.contact-form-container textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
}
.contact-form-container textarea {
    resize: vertical;
    min-height: 120px;
}
.contact-form-container select {
     appearance: none; /* Basic styling for select */
     background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
     background-repeat: no-repeat;
     background-position: right 1rem center;
     background-size: .65em auto;
     padding-right: 2.5rem; /* Make space for arrow */
}
.contact-form-container button[type="submit"] {
    width: auto;
    padding: 12px 40px;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--dark-gray-color);
    color: var(--light-gray-color);
    padding: 40px 0 30px;
    text-align: center;
}
.footer-social {
    margin-bottom: 1rem;
}
.footer-social a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    margin: 0 12px;
    transition: color var(--transition-speed) ease, transform var(--transition-speed) ease;
    display: inline-block;
}
.footer-social a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}
.site-footer p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}
.site-footer a {
    color: rgba(255, 255, 255, 0.7);
}
.site-footer a:hover {
    color: var(--white-color);
}

/* --- Back to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--secondary-color);
    color: var(--white-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-speed) ease, visibility var(--transition-speed) ease, background-color var(--transition-speed) ease, transform var(--transition-speed) ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}
.back-to-top.show {
    opacity: 0.8;
    visibility: visible;
}
.back-to-top:hover {
    opacity: 1;
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* --- Chat Widget --- */
.chat-widget {
    position: fixed;
    bottom: 80px; /* Position above back-to-top */
    right: 20px;
    background-color: #25D366; /* WhatsApp Green */
    color: var(--white-color);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 998;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform var(--transition-speed) ease;
}
.chat-widget:hover {
    transform: scale(1.1);
    color: var(--white-color);
}

/* --- Responsive Design --- */

/* Tablets */
@media (max-width: 992px) {
    html { font-size: 15px; }
    h1 { font-size: 2.6rem; }
    h2 { font-size: 2rem; }
    .container { width: 92%; }
    .about-content { grid-template-columns: 1fr; text-align: center; gap: 30px;}
    .about-image { order: -1; max-width: 500px; margin: 0 auto;} /* Image first on tablet */
    .solutions-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
    .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .contact-info { text-align: center; }
    .address-block h4 { justify-content: center;}
    .address-block p { text-align: left; padding-left: calc(50% - 150px); max-width: 300px; margin-left:auto; margin-right:auto; } /* Center-align address text */
     .map-placeholder { max-width: 100%; margin-left: auto; margin-right: auto; }
}

/* Mobile Phones */
@media (max-width: 768px) {
    :root { --section-padding: 60px 0; }
    h1 { font-size: 2.1rem; }
    h2 { font-size: 1.8rem; margin-bottom: 2rem; }
    .hero-section p { font-size: 1rem; }
    .hero-buttons { display: flex; flex-direction: column; align-items: center; gap: 15px;}
    .hero-buttons .cta-button { width: 80%; max-width: 300px; margin: 0; }

    /* Mobile Navigation */
    .main-nav {
        display: none; /* Hide desktop nav */
        position: absolute;
        top: 100%; /* Position below header */
        left: 0;
        width: 100%;
        background-color: var(--white-color);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
    }
    .main-nav.active { /* Show mobile nav when active */
        display: block;
    }
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    .main-nav li {
        margin: 10px 0;
        margin-left: 0;
    }
    .main-nav a {
       padding: 10px 20px;
       display: block;
    }
    .main-nav a::after { display: none; } /* Hide underline on mobile */

    .mobile-nav-toggle {
        display: block; /* Show hamburger icon */
    }

    .about-content { gap: 30px; }
    .solutions-grid { grid-template-columns: 1fr; gap: 20px; }
    .stats-container { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px;}
    .stat-number { font-size: 2rem; }
    .contact-wrapper { gap: 30px; }
    .address-block p { padding-left: 15px; text-align: center; } /* Adjust alignment */

    .back-to-top { width: 40px; height: 40px; font-size: 1.1rem; bottom: 15px; right: 15px;}
    .chat-widget { width: 50px; height: 50px; font-size: 1.8rem; bottom: 65px; right: 15px; }
}