:root {
    --primary-color: #1E293B;
    /* Navy Blue - Stability */
    --secondary-color: #10B981;
    /* Emerald Green - Growth/Success */
    --accent-color: #F59E0B;
    /* Gold - Energy/Value */
    --text-color: #1F2937;
    --text-light: #4B5563;
    --background-light: #ECFDF5;
    /* Pale Mint */
    --white: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 10px 0;
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.top-bar-center {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    /* Simulates transparency on white background */
}

.top-bar .separator {
    color: var(--text-light);
}

.whatsapp-link {
    color: var(--secondary-color);
    /* Green for WhatsApp */
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.whatsapp-link:hover {
    text-decoration: underline;
    color: #128C7E;
    /* Darker WhatsApp Green */
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.main-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    /* For white background transparency */
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--primary-color);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #0a2a5e;
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: #f0f5ff;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content .badge {
    display: inline-block;
    background-color: #e0f2fe;
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #111;
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.hero-img-element {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Migration Section */
.migration {
    padding: 100px 0;
    background-color: var(--background-light);
}

.migration-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.feature-list {
    margin: 30px 0;
}

.feature-list li {
    margin-bottom: 10px;
    font-size: 1.05rem;
    color: var(--text-color);
}

.visual-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
    text-align: center;
}

.arrow {
    font-size: 2rem;
    color: var(--secondary-color);
}

/* Compliance Section */
.compliance {
    padding: 100px 0;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.compliance-item {
    text-align: center;
    padding: 30px;
    background-color: #f8fafc;
    border-radius: 8px;
}

.compliance-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: #e5e7eb;
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    /* Reduced from 250px to fit 4 cols */
    gap: 30px;
    /* Reduced gap slightly */
    margin-bottom: 60px;
}

.footer h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-logo {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
    border-radius: 4px;
    /* Optional rounded corners */
}

.footer-locations ul li {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    color: #e5e7eb;
    /* Explicitly set light color */
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #9ca3af;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        position: relative;
    }

    .mobile-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 100px 40px;
        transition: var(--transition);
        z-index: 1000;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
    }

    .top-bar-container {
        flex-direction: column;
        gap: 10px;
        padding: 10px 0;
    }

    .top-bar-center {
        order: -1;
        /* Keep contacts at top on mobile if needed, or remove to keep logos top */
        gap: 10px;
        font-size: 0.9rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .top-logo {
        height: 40px;
    }

    .hero-container,
    .migration-container,
    .compliance-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        order: -1;
    }
}

/* New Sections Styling */
.testimonials {
    padding: 80px 0;
    background-color: #f9fafb;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--secondary-color);
}

.quote {
    font-style: italic;
    margin-bottom: 15px;
    color: var(--text-color);
}

.testimonial-card h4 {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Training Section */
.training {
    padding: 80px 0;
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.video-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-thumbnail {
    height: 180px;
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-light);
}

.video-card h3 {
    padding: 15px 15px 5px;
    font-size: 1.1rem;
}

.video-card p {
    padding: 0 15px 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background-color: var(--background-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.blog-card .date {
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-card h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.blog-card .read-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

/* Chatbot Widget */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.8rem;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    background-color: #0a2a5e;
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 300px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: none;
    /* Hidden by default */
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.chatbot-window.active {
    display: flex;
}

.chatbot-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.chatbot-body {
    height: 250px;
    padding: 15px;
    background-color: #f3f4f6;
    overflow-y: auto;
}

.bot-msg {
    background-color: white;
    padding: 10px;
    border-radius: 8px 8px 8px 0;
    max-width: 80%;
    box-shadow: var(--shadow-sm);
    font-size: 0.9rem;
}

.chatbot-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid var(--border-color);
}

.chatbot-input input {
    flex: 1;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 8px 15px;
    outline: none;
    font-family: inherit;
}

/* Enquiry Form */
.enquiry-section {
    padding: 80px 0;
    min-height: 80vh;
    background-color: var(--background-light);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.form-container h1 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.form-intro {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(15, 61, 135, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.submit-btn {
    width: 100%;
    margin-top: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
}

/* Multi-select Checkboxes */
.dropdown-multiselect {
    position: relative;
}

.select-box {
    position: relative;
    cursor: pointer;
}

.select-box select {
    width: 100%;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
}

.overSelect {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

#checkboxes {
    display: none;
    border: 1px solid var(--border-color);
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    background: white;
    position: absolute;
    width: 100%;
    z-index: 10;
    border-radius: 0 0 6px 6px;
    box-shadow: var(--shadow-md);
}

#checkboxes label {
    display: block;
    padding: 10px;
    border-bottom: 1px solid #eee;
    margin: 0;
    font-weight: normal;
    cursor: pointer;
    transition: background 0.2s;
}

#checkboxes label:hover {
    background-color: #f0f7ff;
}



/* Footer Partner Logo */
.footer-partner {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
}

.footer-partner h4 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: var(--white);
    text-align: center;
}

.footer-partner-logo {
    height: 120px;
    width: auto;
    margin-bottom: 5px;
    background: white;
    padding: 10px;
    border-radius: 4px;
}

.footer-partner p {
    font-size: 1.1rem;
    color: var(--white);
    text-align: center;
}
