/* style.css - Optimized and Enhanced Styles for Consultancy Pro */

:root {
    --primary: #4361ee;
    --primary-dark: #3a56d4;
    --secondary: #4cc9f0;
    --accent: #7209b7;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --success: #2ecc71;
    --warning: #f39c12;
    --danger: #e74c3c;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --sidebar-width: 260px;
    --header-height: 70px;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 6rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(67, 97, 238, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: rgba(67, 97, 238, 0.1);
    transform: translateY(-3px);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav ul li a {
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary);
    font-weight: 600;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 10rem 0 5rem;
    background: linear-gradient(135deg, #f5f7ff 0%, #e6eeff 100%);
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-content {
    flex: 1;
    animation: fadeInUp 1s ease;
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-image {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.image-container {
    position: relative;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    overflow: hidden;
}

.chart-container {
    height: 300px;
    margin-bottom: 1.5rem;
}

.stats-card {
    display: flex;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 15px;
    padding: 1.5rem;
    color: white;
    margin-top: 20px;
}

.stat {
    text-align: center;
    padding: 0 1rem;
}

.stat .value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat .label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Services Section */
.services {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--light);
    border-radius: 15px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--primary);
    z-index: -1;
    transition: var(--transition);
    opacity: 0.05;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.8rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.service-cta {
    margin-top: auto;
    padding-top: 20px;
}

.features {
    margin-bottom: 1.5rem;
}

.features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--success);
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.learn-more:hover {
    gap: 0.7rem;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #f5f7ff 0%, #e6eeff 100%);
}

.about .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature {
    display: flex;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.process {
    margin-top: 3rem;
}

.process h3 {
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.process h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.step {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--primary);
    z-index: -1;
    transition: var(--transition);
    opacity: 0.05;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.step:hover::before {
    height: 100%;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h4 {
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Testimonials */
.testimonials {
    background: white;
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto 3rem;
    overflow: hidden;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.testimonial {
    display: none;
    animation: fadeIn 0.5s ease;
    flex: 0 0 100%;
    scroll-snap-align: start;
    padding: 0 15px;
}

.testimonial.active {
    display: block;
}

.testimonial-content {
    background: var(--light);
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
    box-shadow: var(--shadow);
    min-height: 220px;
    display: flex;
    flex-direction: column;
}

.testimonial-content::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.1;
    font-family: Georgia, serif;
}

.rating {
    color: var(--warning);
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.client-info {
    display: flex;
    flex-direction: column;
    margin-top: auto;
}

.client-info h4 {
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
}

.client-info p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 0;
    font-style: normal;
}

.testimonial-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--light-gray);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--primary);
    transform: scale(1.2);
}

.clients-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.logo-item {
    background: var(--light);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    transition: var(--transition);
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.logo-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.contact .container {
    display: flex;
    gap: 3rem;
}

.contact-content {
    flex: 1;
}

.contact-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-content p {
    opacity: 0.9;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-info {
    margin-top: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-content h4 {
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
}

.info-content p {
    opacity: 0.8;
    margin-bottom: 0;
}

.contact-form {
    flex: 1;
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-about p {
    opacity: 0.7;
    margin: 1rem 0 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4 {
    position: relative;
    padding-bottom: 0.8rem;
    margin-bottom: 1.2rem;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.footer-links ul li {
    margin-bottom: 0.7rem;
}

.footer-links ul li a {
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--primary);
    padding-left: 5px;
}

.footer-newsletter p {
    opacity: 0.7;
    margin-bottom: 1rem;
}

.newsletterForm .form-group {
    position: relative;
}

.newsletterForm input {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.newsletterForm input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletterForm button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.newsletterForm button:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-bottom p {
    opacity: 0.7;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    opacity: 0.7;
    font-size: 0.9rem;
    transition: var(--transition);
}

.legal-links a:hover {
    opacity: 1;
    color: var(--primary);
}

/* Auth Page Styles */
.auth-page {
    background: linear-gradient(135deg, #f5f7ff 0%, #e6eeff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.auth-container {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 1.5rem;
    gap: 2rem;
}

.auth-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 2rem;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.auth-header .logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.auth-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--gray);
    margin-bottom: 0;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.auth-footer {
    margin-top: 1rem;
    text-align: center;
}

.auth-footer p {
    margin-bottom: 0;
}

.auth-extra {
    display: none;
}

/* Dashboard Styles */
.sidebar {
    width: var(--sidebar-width);
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    color: white;
    height: 100vh;
    position: fixed;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-menu {
    padding: 15px 0;
}

.menu-item {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.menu-item:hover, .menu-item.active {
    background: rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--secondary);
}

.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    transition: all 0.3s;
}

.header {
    height: var(--header-height);
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.dashboard-content {
    padding: 25px;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.page-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.5rem;
}

.stat-content {
    flex: 1;
}

.stat-title {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
}

.trend-up {
    color: var(--success);
}

.trend-down {
    color: var(--danger);
}

.table-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.table-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--light-gray);
}

.table-title {
    font-size: 1.2rem;
    font-weight: 600;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: var(--light);
}

th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    font-size: 0.85rem;
}

tbody tr {
    border-bottom: 1px solid var(--light-gray);
}

td {
    padding: 15px 20px;
    color: var(--dark);
}

.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.badge-active {
    background: rgba(46, 204, 113, 0.1);
    color: var(--success);
}

.badge-pending {
    background: rgba(243, 156, 18, 0.1);
    color: var(--warning);
}

.badge-inactive {
    background: rgba(108, 117, 125, 0.1);
    color: var(--gray);
}

/* Form Elements */
.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.input-group {
    display: flex;
    align-items: center;
}

.input-group-text {
    background: var(--light);
    border: 1px solid var(--light-gray);
    border-right: none;
    padding: 0 1rem;
    border-radius: 8px 0 0 8px;
    color: var(--gray);
}

.toggle-password {
    background: transparent;
    border: 1px solid var(--light-gray);
    border-left: none;
    padding: 0 0.8rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.alert-danger {
    background-color: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.2);
    color: var(--danger);
}

.alert-success {
    background-color: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.2);
    color: var(--success);
}

/* Utility Classes */
.text-success {
    color: var(--success);
}

.text-danger {
    color: var(--danger);
}

.is-invalid {
    border-color: var(--danger) !important;
}

.invalid-feedback {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Case Studies */
.case-studies {
    background: var(--light);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.case-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.case-header {
    background: var(--primary);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.case-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.case-content {
    padding: 1.5rem;
}

.case-content h4 {
    color: var(--primary);
    margin: 1rem 0 0.5rem;
}

.case-content ul {
    margin-top: 1rem;
    padding-left: 1rem;
}

.case-content li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.case-content li:before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
}

.case-cta {
    text-align: center;
    margin-top: 2rem;
}

/* FAQ Section */
.faq {
    background: white;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background: var(--light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.faq-question i {
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Trust Badges */
.trust-badges {
    background: var(--light);
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
}

.badge-item {
    text-align: center;
    padding: 1.5rem;
    transition: var(--transition);
    background: white;
    border-radius: 12px;
}

.badge-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.badge-item img {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
    object-fit: contain;
}

.badge-item p {
    font-weight: 500;
    color: var(--dark);
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 300px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    z-index: 1000;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.chat-widget.active {
    transform: translateY(0);
    opacity: 1;
}

.chat-header {
    background: var(--primary);
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.chat-content {
    padding: 1.5rem;
    background: white;
    text-align: center;
}

.chat-content .btn {
    margin-top: 1rem;
}

/* Compliance Timeline */
.compliance-timeline {
    background: rgba(67, 97, 238, 0.05);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #4e73df;
}

.timeline-item {
    position: relative;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 15px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #4e73df;
    border: 3px solid white;
}

/* Compliance Grid */
.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.compliance-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.compliance-card-header {
    background: #4e73df;
    color: white;
    padding: 15px;
    font-weight: 600;
}

.compliance-card-body {
    padding: 20px;
}

/* Update Cards */
.update-card {
    border-left: 3px solid #4e73df;
    transition: all 0.3s ease;
}

.update-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.benefit-card {
    background: rgba(78, 115, 223, 0.05);
    border: 1px solid rgba(78, 115, 223, 0.1);
    border-radius: 10px;
    padding: 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(359deg); }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container,
    .about .container,
    .contact .container {
        flex-direction: column;
    }
    
    .hero-content,
    .hero-image,
    .about-content,
    .about-image,
    .contact-content,
    .contact-form {
        width: 100%;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .hero-image {
        margin-top: 3rem;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 3rem;
    }
    
    .auth-container {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 3rem;
        padding: 3rem;
    }
    
    .auth-card {
        margin: 0;
    }
    
    .auth-extra {
        display: block;
        max-width: 400px;
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }
    
    nav ul.show {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .sidebar {
        width: 70px;
        overflow: hidden;
    }
    
    .sidebar-header .logo-text,
    .menu-item span {
        display: none;
    }
    
    .main-content {
        margin-left: 70px;
    }
    
    .stat-value {
        font-size: 1.3rem;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .marquee-content {
        animation: marquee 15s linear infinite;
    }
    
    .case-grid {
        grid-template-columns: 1fr;
    }
    
    .badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .chat-widget {
        width: 250px;
        right: 15px;
        bottom: 15px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .stats-card {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .header {
        padding: 0 15px;
    }
    
    .header-right {
        gap: 10px;
    }
    
    .user-name {
        display: none;
    }
    
    .badges-grid {
        grid-template-columns: 1fr;
    }
    
    .chat-widget {
        width: 90%;
        right: 5%;
    }
}