/* --- Global Styles & Variables --- */
:root {
    --primary-color: #007bff;
    --primary-hover: #0056b3;
    --secondary-color: #6c757d;
    --dark-text: #0a2540;
    --body-text: #343a40;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border-color: #dee2e6;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-body);
    color: var(--body-text);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; color: var(--dark-text); line-height: 1.3; }
h1 { font-size: 3.2rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; }
a { color: var(--primary-color); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--primary-hover); }
.text-center { text-align: center; }

/* --- Buttons --- */
.btn { padding: 12px 24px; border-radius: 5px; font-weight: 600; transition: all 0.3s ease; border: none; cursor: pointer; display: inline-block; }
.btn-primary { background: var(--primary-color); color: var(--white); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: var(--shadow-hover); color: var(--white); }
.btn-secondary { background: #e9ecef; color: var(--dark-text); }
.btn-secondary:hover { background: #ced4da; }
.btn-large { padding: 15px 35px; font-size: 1.1rem; }

/* --- Header & Mega Menu --- */
.main-header { background: var(--white); box-shadow: 0 2px 4px rgba(0,0,0,0.05); padding: 1rem 0; position: sticky; top: 0; z-index: 1000; }
nav { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 40px; display: block; }
.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 30px; }
.nav-links > li > a { color: var(--dark-text); font-weight: 600; padding: 10px 0; position: relative; }
.nav-links > li > a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary-color); transition: width 0.3s ease; }
.nav-links > li:hover > a::after { width: 100%; }
.dropdown { position: relative; }
.mega-menu { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: var(--white); box-shadow: var(--shadow); border-radius: 8px; padding: 25px; margin-top: 10px; display: flex; gap: 30px; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.dropdown:hover .mega-menu { display: flex; opacity: 1; visibility: visible; }
.mega-menu-column h4 { margin-bottom: 1rem; color: var(--secondary-color); font-size: 0.9rem; text-transform: uppercase; }
.mega-menu-column a { display: block; padding: 8px 15px; color: var(--dark-text); border-radius: 5px; }
.mega-menu-column a:hover { background: var(--light-bg); }
.mb-20 { margin-bottom: 20px; }

/* --- Hero Section --- */
.hero { background: var(--light-bg); padding: 100px 0; }
.hero h1 { margin-bottom: 1rem; }
.hero .subtitle { font-size: 1.25rem; max-width: 750px; margin: 0 auto 2.5rem auto; color: #495057; }

/* --- General Sections & Cards --- */
.section-padding { padding: 80px 0; }
.bg-light { background: var(--light-bg); }
.section-subtitle { max-width: 600px; margin: 0 auto 3rem auto; color: #495057; font-size: 1.1rem; }
.grid { display: grid; gap: 30px; }
.grid-4-col { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: var(--white); padding: 2rem; border-radius: 8px; box-shadow: var(--shadow); text-align: center; transition: all 0.3s ease; }
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.card-icon { height: 48px; margin-bottom: 1rem; color: var(--primary-color); }

/* --- Workflow Diagram --- */
.workflow-diagram img { max-width: 100%; height: auto; }

/* --- Pricing Section --- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; align-items: center; justify-content: center; }
.pricing-card { background: var(--white); padding: 2.5rem 2rem; border-radius: 8px; border: 1px solid var(--border-color); text-align: left; }
.pricing-card.popular { border-color: var(--primary-color); border-width: 2px; transform: scale(1.05); z-index: 10; }
.pricing-card .price { font-size: 3rem; font-weight: 700; color: var(--dark-text); }
.pricing-card .price-desc { color: var(--secondary-color); margin-bottom: 1.5rem; }
.pricing-card ul { list-style: none; margin: 1.5rem 0; }
.pricing-card ul li { margin-bottom: 1rem; padding-left: 30px; position: relative; }
.pricing-card ul li::before { content: '✓'; color: var(--primary-color); position: absolute; left: 0; font-weight: bold; font-size: 1.2rem; }

/* --- Solutions Page --- */
.page-header { padding: 80px 0; background: var(--light-bg); }
.solution-section .solution-content { display: flex; align-items: center; gap: 50px; }
.solution-section.reverse .solution-content { flex-direction: row-reverse; }
.solution-text { flex: 1; }
.solution-text ul { list-style: none; margin-top: 1.5rem; }
.solution-text ul li { padding-left: 25px; position: relative; margin-bottom: 0.5rem; }
.solution-text ul li::before { content: '✓'; color: var(--primary-color); position: absolute; left: 0; }
.solution-icon { flex-basis: 200px; text-align: center; color: var(--primary-color); }
.solution-icon img { max-width: 100px; }

/* --- Integrations Page --- */
.integrations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 3rem; }
.grid-span-full { grid-column: 1 / -1; margin-bottom: 1rem; }

/* --- Footer --- */
.main-footer { background: var(--dark-text); color: #adb5bd; padding: 60px 0 20px 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-bottom: 40px; }
.footer-col h4 { color: var(--white); margin-bottom: 1rem; }
.footer-col a, .footer-col p { color: #adb5bd; display: block; margin-bottom: 0.5rem; }
.footer-col a:hover { color: var(--white); }
.footer-logo { height: 40px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-bottom { text-align: center; border-top: 1px solid #343a40; padding-top: 20px; font-size: 0.9rem; }

/* --- Animations --- */
[data-animation] { opacity: 0; transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
[data-animation="fade-in-up"] { transform: translateY(30px); }
[data-animation="fade-in-right"] { transform: translateX(-30px); }
[data-animation="fade-in-left"] { transform: translateX(30px); }
[data-animation="zoom-in"] { transform: scale(0.95); }
.is-visible[data-animation] { opacity: 1; transform: none; }

/* --- Responsive & Mobile Menu --- */
.hamburger { display: none; cursor: pointer; }
.hamburger span { display: block; width: 25px; height: 3px; margin: 5px 0; background: var(--dark-text); transition: all 0.3s ease-in-out; }

@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .nav-menu { display: none; position: absolute; top: 70px; left: 0; width: 100%; background: var(--white); flex-direction: column; align-items: stretch; padding: 20px; box-shadow: var(--shadow); }
    .nav-menu.active { display: flex; }
    .nav-links, .nav-actions { flex-direction: column; width: 100%; gap: 0; }
    .nav-links li, .nav-actions a { width: 100%; text-align: center; padding: 15px 0; }
    .dropdown .mega-menu { display: none !important; } /* Hide mega menu on mobile */
    .hamburger { display: block; }
    .solution-section .solution-content, .solution-section.reverse .solution-content { flex-direction: column; text-align: center; }
    .solution-icon { margin-top: 2rem; }
    .pricing-card.popular { transform: scale(1); }
}

/* --- About Us Page --- */
.content-focus {
    max-width: 800px;
    margin: 0 auto;
}
.mission-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 3rem;
}
.value-card {
    background: var(--light-bg);
    padding: 2rem;
    border-left: 4px solid var(--primary-color);
}
.founder-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}
.founder-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid var(--white);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}
.founder-card h4 {
    color: var(--secondary-color);
    font-weight: 400;
    margin-bottom: 1rem;
}
.cta-section {
    background: var(--dark-text);
    color: var(--white);
    padding: 60px 0;
}
.cta-section h2 {
    color: var(--white);
}
.cta-section p {
    color: #adb5bd;
    margin-bottom: 2rem;
}

/* --- Contact Us Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
}
.contact-form-wrapper h3, .contact-info h3 {
    margin-bottom: 2rem;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-body);
}
.form-group textarea {
    resize: vertical;
}
.contact-info .contact-card {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}
.contact-info .contact-card h4 {
    margin-bottom: 0.5rem;
}
.contact-info .contact-link {
    font-weight: 600;
    font-size: 1.1rem;
}

/* --- Responsive for New Sections --- */
@media(max-width: 992px) {
    .mission-values {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-info {
        margin-top: 3rem;
    }
}

/* --- NEW STYLES - Add to bottom of style.css --- */

/* --- Login & Register Page Layout --- */
.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh; /* Ensures it takes up most of the screen */
    padding: 60px 20px;
    background-color: var(--light-bg);
}

.auth-box {
    width: 100%;
    max-width: 420px; /* Constrains the width */
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.auth-box h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-box .form-group {
    margin-bottom: 1.5rem;
}

.auth-box .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.auth-box .form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-body);
}

.auth-box .form-switch {
    text-align: center;
    margin-top: 1.5rem;
}

.thank-you-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 40px 0;
    text-align: center;
    background: var(--light-bg);
}
.thank-you-container {
    background: var(--white);
    padding: 3rem 4rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 600px;
}
.thank-you-icon {
    width: 80px;
    height: 80px;
    color: #28a745; /* A nice success green */
    margin-bottom: 1.5rem;
}
.thank-you-container h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.thank-you-container .subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}
.next-steps {
    text-align: left;
    margin-bottom: 2rem;
    line-height: 1.8;
}
.next-steps p {
    font-weight: 600;
    color: var(--dark-text);
}

/* Add this to your style.css file */

.content-focus {
    max-width: 960px; /* Constrains the width of the section */
    margin: 0 auto;   /* Centers the container */
}

.process-card {
    background: var(--white);
    padding: 2.5rem 2rem; /* A little more padding */
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08); /* A slightly softer, deeper shadow */
    text-align: left;
    border: none; /* Explicitly no border */
}

.process-card h3 {
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}