:root {
    --primary-color: #C5A028; /* Gold - darker for better contrast */
    --secondary-color: #0F172A; /* Slate 900 */
    --accent-color: #334155; /* Slate 700 */
    --text-light: #F8FAFC;
    --text-dark: #1E293B;
    --background-light: #FFFFFF;
    --background-off-white: #F8FAFC;
    --border-color: #E2E8F0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', sans-serif; /* Prefer Inter if available */
}

body {
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    background-color: var(--primary-color);
    color: #FFFFFF;
    border-radius: 4px; /* More square for corporate feel */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-light); /* On dark backgrounds mostly */
    color: var(--text-light);
    margin-left: 1rem;
}

.btn-outline:hover {
    background-color: var(--text-light);
    color: var(--secondary-color);
    border-color: var(--text-light);
}

/* Header */
header {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
/* Ensure logo images scale nicely */
.logo img {
    height: auto;
    width: auto;
    /* max-height handled inline or via utility */
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 2.5rem;
}

.nav-links a {
    color: #94A3B8; /* Muted text */
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    /* Combine gradient and image in one property for better browser handling */
    background: linear-gradient(rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.4)), url('../images/hero-bg.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #0F172A; /* Dark blue fill matching the image */
    width: 100%;
    height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden; /* Prevent image overflow */
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    height: 100%;
}

.hero-content {
    flex: 1.2;
    text-align: left;
    z-index: 2;
    padding-right: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.1;
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 90%; /* Let it take more width */
    color: #CBD5E1;
    font-weight: 300;
}

.hero-image-corner {
    flex: 1;
    display: flex;
    justify-content: flex-end; /* Align to right corner */
    align-items: center;
    position: relative;
    /* Optional: Move it slightly off-screen or to the edge */
}

.floating-lotus {
    max-width: 450px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3)); /* Gold glow */
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Page Headers (Inner Pages) */
.page-header {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 5rem 0;
    text-align: center;
}
.page-header h1 { color: var(--text-light); font-size: 3rem; margin-bottom: 1rem; }
.page-header p { color: #CBD5E1; font-size: 1.2rem; }

/* Sections */
section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title .line {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto 1.5rem auto;
}

.section-title p {
    color: var(--accent-color);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Grid */
.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--background-light);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    color: #64748B;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* About & Solutions Flex Layouts */
.about-content, .solution-block {
    display: flex; /* Ensure these are flex by default in CSS too */
    align-items: center;
    gap: 4rem;
}

.about-image {
    flex: 1;
    /* background-color: #F1F5F9; Removed grey background */
    height: 400px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Unequal split */
    gap: 4rem;
}

.contact-info-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #CBD5E1;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: #94A3B8;
    padding: 4rem 0 2rem 0;
    margin-top: auto;
}

.footer-logo {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 1rem;
}

.footer-links h3 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 900px) {
    .nav-links {
        display: none; /* Mobile menu needed */
    }
    
    .hero-container {
        flex-direction: column-reverse; /* Image on top or bottom? usually content first on mobile, but visual key might be image first. Let's do Content First (column) or Column-Reverse for Image Top. Let's do standard column for now: Content Top, Image Bottom. Actually, let's keep content top. */
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 2rem;
    }

    .hero-content {
        text-align: center;
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image-corner {
        justify-content: center;
        width: 100%;
    }

    .floating-lotus {
        max-width: 300px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content, .solution-block {
        flex-direction: column;
        gap: 2rem;
    }

    /* Reverse the ordering for solution blocks on mobile so image is always top or bottom consistent */
    .solution-block:nth-child(even) {
        flex-direction: column;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
         grid-template-columns: 1fr;
    }
}
