/* --- Reset & Base --- */
:root {
    --primary-color: #007BFF; /* Bright Blue */
    --secondary-color: #17A2B8; /* Teal */
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --text-color: #495057;
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    line-height: 1.7;
    color: var(--text-color);
    background-color: #fff; /* Base background */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--dark-color);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 60px 0;
}

.section-bg-light {
    background-color: var(--light-color);
}

.section-bg-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}
.section-bg-gradient h1, .section-bg-gradient h2, .section-bg-gradient p {
    color: white;
}


/* --- Header & Navigation --- */
.main-header {
    background-color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}



.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px; /* Adjust as per your logo.svg */
}

/* Desktop Navigation */
.main-nav {
    display: flex; /* For desktop layout */
    align-items: center;
}

.main-nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav ul li a {
    font-family: var(--heading-font);
    font-weight: 600;
    color: var(--dark-color);
    padding: 8px 0;
    position: relative;
    font-size: 0.95rem;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px; /* Adjust for visual */
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 100%;
}


/* Header Controls (Login, Language) - Desktop */
.header-controls {
    display: flex;
    align-items: center;
    gap: 20px; /* Space between lang and login */
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.login-btn svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.5px; /* Make icon a bit bolder */
}

/* Language Switcher */
.language-switcher {
    position: relative;
}

.language-switcher .current-lang {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    cursor: pointer;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-color);
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease;
}
.language-switcher .current-lang:hover {
    background-color: var(--light-color);
}

.language-switcher .current-lang svg {
    width: 18px;
    height: 18px;
}
.language-switcher .current-lang span {
    margin-right: 5px; /* Space before caret */
}
.language-switcher .current-lang::after { /* Caret */
    content: '▼';
    font-size: 0.7em;
    margin-left: auto;
    transition: transform 0.3s ease;
}
.language-switcher.open .current-lang::after {
    transform: rotate(180deg);
}

.language-switcher .lang-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    list-style: none;
    padding: 5px 0;
    margin: 0;
    min-width: 100px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 10;
}

.language-switcher.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-switcher .lang-dropdown li a {
    display: block;
    padding: 8px 15px;
    font-size: 0.9rem;
    color: var(--dark-color);
    transition: background-color 0.2s ease;
}

.language-switcher .lang-dropdown li a:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}


/* Hamburger Menu Button */
.mobile-menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001; /* Above nav */
}

.mobile-menu-toggle svg { /* Style both icons initially */
    width: 28px;
    height: 28px;
    stroke: var(--dark-color);
}
.mobile-menu-toggle .close-icon {
    display: none;
}

.main-nav .mobile-header-controls{
	display:none;
}

/* --- Mobile Navigation --- */
@media (max-width: 992px) { /* Adjust breakpoint as needed */
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%; /* Start off-screen */
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #fff;
        box-shadow: 5px 0 15px rgba(0,0,0,0.1);
        flex-direction: column;
        align-items: flex-start; /* Align items to the start */
        padding: 80px 30px 30px; /* Space for close button, etc. */
        transition: left 0.4s cubic-bezier(0.23, 1, 0.32, 1); /* Smooth slide */
        z-index: 999;
    }

    .main-nav.mobile-nav-active {
        left: 0; /* Slide in */
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
    }

    .main-nav ul li {
        margin: 0; /* Remove left margin */
        width: 100%;
    }

    .main-nav ul li a {
        display: block; /* Make links full width */
        padding: 15px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--light-color);
    }
    .main-nav ul li:last-child a {
        border-bottom: none;
    }

    .main-nav ul li a::after { /* Remove underline for mobile */
        display: none;
    }

    /* Mobile - Header Controls inside Nav */
    .header-controls {
        display: none; /* Hide desktop controls */
    }

    .main-nav .mobile-header-controls { /* Wrapper for controls inside mobile nav */
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 30px; /* Space above controls */
        padding-top: 20px;
        border-top: 1px solid #eee;
    }
    .main-nav .login-btn,
    .main-nav .language-switcher {
        width: 100%;
        margin-bottom: 15px;
    }
    .main-nav .login-btn {
        justify-content: center; /* Center login button text/icon */
    }
    .main-nav .language-switcher .current-lang {
        justify-content: space-between; /* Make lang switcher full width */
        border: 1px solid #eee;
    }
    .main-nav .language-switcher .lang-dropdown { /* Adjust dropdown for mobile */
        position: static; /* No longer absolute */
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border-top: 1px solid #eee;
        display: none; /* Initially hidden, toggled by JS/CSS */
        width: 100%;
    }
    .main-nav .language-switcher.open .lang-dropdown {
        display: block; /* Show when open */
    }


    .mobile-menu-toggle {
        display: block; /* Show hamburger */
    }
    /* Optional: Dark overlay when mobile menu is active */
    body.mobile-menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 998; /* Below nav, above content */
    }
}


/* --- Hero Section --- */
.hero {
    background-color: var(--light-color); /* Fallback if SVG doesn't load or for simplicity */
    /* background-image: url('../images/hero-bg.svg');
    background-size: cover;
    background-position: center; */
    padding: 80px 0;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--heading-font);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-group .btn {
    margin: 0 10px;
}


/* --- Feature Cards --- */
.features-grid, .solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card, .solution-card {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover, .solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-card .icon, .solution-card .icon {
    margin-bottom: 20px;
}

.feature-card .icon img, .solution-card .icon img,
.feature-card .icon svg, .solution-card .icon svg {
    width: 64px; /* Adjust size of feature icons */
    height: 64px;
    margin: 0 auto;
    /* If using inline SVG and want to color with CSS: */
    /* fill: var(--primary-color); */
    /* stroke: var(--primary-color); */
}

.feature-card h3, .solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* --- Text & Content Sections --- */
.text-center {
    text-align: center;
}

.content-section {
    padding: 60px 0;
}

.content-section .lead {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

/* --- Contact Form --- */
.contact-form {
    max-width: 700px;
    margin: 40px auto 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--heading-font);
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--body-font);
    font-size: 1rem;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* --- Footer --- */
.main-footer {
    background-color: var(--dark-color);
    color: #adb5bd;
    padding: 40px 0;
    text-align: center;
}

.main-footer .footer-links {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.main-footer .footer-links li {
    display: inline-block;
    margin: 0 15px;
}

.main-footer .footer-links li a {
    color: #adb5bd;
    font-size: 0.9rem;
}

.main-footer .footer-links li a:hover {
    color: var(--light-color);
}

.main-footer .copyright {
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1rem; }

    .main-header .container {
        flex-direction: column;
        align-items: center;
    }
    .main-nav { margin-top: 15px; }
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    .main-nav ul li {
        margin: 10px 0;
    }

    .features-grid, .solutions-grid {
        grid-template-columns: 1fr; /* Stack on smaller screens */
    }
}