/* --- Global Styles & Variables --- */
:root {
    --primary-color: #10238B;
    /*
    --primary-color: #4A6B53;
    /* Dark green from logo */
    --primary-hover: #3E5745;
    /* Darker green for hover */
    --secondary-color: #f0f2f5;
    --text-color: #4A5568;
    --heading-color: #1A202C;
    --white-color: #FFFFFF;
    --border-color: #E2E8F0;
    --font-main: 'Roboto', sans-serif;
    --font-heading: 'Titillium Web', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

ul {
    list-style: none;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--heading-color);
}

.btn-secondary:hover {
    background-color: #d8dde3;
}

.btn-outline {
    border: 1px solid var(--border-color);
    color: var(--heading-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* --- Header & Navbar --- */
.main-header {
    background-color: var(--white-color);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.nav-logo img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: left 0.3s ease, opacity 0.3s ease;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--heading-color);
    transition: all 0.3s ease-in-out;
}

/* --- Sections --- */
section {
    padding: 80px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Hero Section --- */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 60px;
    padding-bottom: 60px;
}

.hero-content h1 {
    color: var(--heading-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin: 1.5rem 0;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-visual img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* --- How It Works --- */
.how-it-works {
    background-color: var(--secondary-color);
    text-align: center;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto 0;
}

.step-card {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.step-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

/* --- Features Section --- */
.features-section {
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

/* --- Use Cases Section --- */
.use-cases-section {
    background-color: var(--secondary-color);
}

.section-header {
    text-align: center;
    padding: 40px 20px 10px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #222;
}

.section-header p {
    font-size: 18px;
    color: #555;
    margin-top: 10px;
}

.card-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 50px;
    background-color: #f5f7fa;
}

.card {
    width: 340px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
}

.card-header {
    padding: 0;
    background-color: transparent;
}

.card-header img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 8px 8px 0 0;
}

.card-body {
    padding: 24px;
    text-align: left;
}

.card-body h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #000;
}

.card-body p {
    font-size: 16px;
    line-height: 1.6;
    color: #3b4450;
}



/* --- Final CTA --- */
.final-cta {
    background-color: var(--primary-color);
    text-align: center;
    color: var(--white-color);
}

.final-cta h2,
.final-cta p {
    color: var(--white-color);
}

.final-cta p {
    max-width: 500px;
    margin: 0 auto;
    opacity: 0.9;
}

.final-cta .btn {
    margin-top: 1.5rem;
    background-color: var(--white-color);
    color: var(--primary-color);
    font-weight: bold;
}

.final-cta .btn:hover {
    background-color: var(--secondary-color);
}

/* --- Advanced Contact Page --- */
.contact-section {
    background: linear-gradient(135deg, #f4f7f5 0%, #ffffff 100%);
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 250px;
    height: 250px;
    background: rgba(74, 107, 83, 0.1);
    border-radius: 50%;
}

.contact-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.contact-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--heading-color);
}

.contact-header p {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 600px;
    margin: 1rem auto 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    padding: 60px;
    position: relative;
    z-index: 1;
}

/* --- Contact Form --- */
.contact-form h3 {
    font-size: 1.8rem;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
}

.contact-form form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--heading-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(74, 107, 83, 0.15);
    outline: none;
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form button {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 10px rgba(74, 107, 83, 0.2);
}

.contact-form button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(74, 107, 83, 0.25);
}

/* --- Contact Info --- */
.contact-info {
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 12px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.contact-info h3 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
}

.contact-info p {
    color: #e7f0ea;
    line-height: 1;
}

.contact-info ul {
    list-style: none;
    margin-top: 0.5rem;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #fff;
}

.contact-info li i {
    font-size: 1rem;
    color: #d8f3dc;
}

.map-container {
    margin-top: 0.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}



/* --- Footer --- */
.main-footer {
    background-color: #F8F9FA;
    padding: 60px 20px;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo img {
    height: 70px;
    width: auto;
}

.footer-logo {
    text-align: center;
    margin-top: 20px;
}

.footer-logo p {
    font-size: 0.9rem;
}

.footer-links h4 {
    margin-bottom: 1rem;
    font-weight: bold;
    color: var(--heading-color);
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: var(--text-color);
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
        margin-top: 2rem;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding: 35px 25px;
    }

    .contact-info li {
        font-size: 0.95rem;
        padding-left: 45px;
    }

    .contact-info li i {
        width: 34px;
        height: 34px;
        font-size: 1.1rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: block;
    }

    .footer-logo {
        margin-bottom: 2rem;
    }
}