/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Color Variables */
:root {
    --primary-color: #ea580c;
    --primary-dark: #bd441488;
    --secondary-color: #dc2626;
    --accent-color: #f97316;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --background-light: #fef7ed;
    --background-white: #ffffff;
    --border-color: #fed7aa;
    --success-color: #059669;
    --error-color: #dc2626;
    --warning-color: #f59e0b;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.875rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(234, 88, 12, 0.3);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    background-color: var(--background-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-logo h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
}

.client-login {
    background-color: var(--primary-color);
    color: white !important;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.client-login:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ea580c 0%, #fd5454ee 100%);
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.data-flow-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Trusted By Section */
.trusted-by {
    padding: 3rem 0;
    background-color: var(--background-light);
    text-align: center;
}

.trusted-by-text {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 500;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.company-logo {
    height: 60px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
    border-radius: 8px;
    background-color: white;
    padding: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.company-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* Section Styles */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

/* Services Overview */
.services-overview {
    padding: 5rem 0;
    background-color: var(--background-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background-color: var(--background-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.services-cta {
    text-align: center;
}

/* How It Works */
.how-it-works {
    padding: 5rem 0;
    background-color: var(--background-light);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* --- Mission Section --- */
.mission-section {
    padding: 80px 0;
    background-color: var(--background-white);
}

.mission-content {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    background-color: var(--background-light);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
    border: 1px solid var(--border-color);
    max-width: 900px; /* Constrain the width for a more card-like feel */
    margin: 0 auto; /* Center the card */
}

.mission-image {
    flex: 0 0 200px; /* Further reduce image container size */
    text-align: center;
}

.founder-image {
    width: 100%;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 5px solid var(--background-white);
}

.mission-text {
    flex: 1;
    text-align: left;
}

.mission-statement {
    font-size: 1.2rem; /* Reduced font size for a more compact look */
    font-style: italic;
    line-height: 1.6;
    color: var(--text-dark);
    margin-top: 1rem;
    margin-bottom: 0;
}

/* --- Responsive adjustments for Mission Section --- */
@media (max-width: 768px) {
    .mission-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem;
    }

    .mission-image {
        flex-basis: 180px; /* Adjust image size for mobile */
    }
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background-color: var(--background-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.author-info h4 {
    margin: 0;
    color: var(--text-dark);
}

.author-info p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Blog Teaser */
.blog-teaser {
    padding: 5rem 0;
    background-color: var(--background-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background-color: var(--background-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.blog-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.blog-cta {
    text-align: center;
}

/* Page Header */
.page-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    color: white;
}

/* Service Detail Pages */
.service-detail {
    padding: 5rem 0;
}

.service-detail.alt {
    background-color: var(--background-light);
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-text h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.service-intro {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.service-features {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.feature h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.service-examples ul {
    list-style: none;
    padding-left: 0;
}

.service-examples li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 1.5rem;
}

.service-examples li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.service-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.workflow-diagram,
.app-diagram,
.consultation-diagram {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.workflow-diagram p,
.app-diagram p,
.consultation-diagram p {
    color: white;
    font-size: 1rem;
    margin-top: 1rem;
}

/* Tech Stack */
.tech-stack {
    margin-bottom: 2rem;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-item {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Service Benefits */
.service-benefits {
    margin-bottom: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.benefit {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--background-white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.benefit i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.benefit h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Process Steps */
.service-process {
    margin-bottom: 2rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.process-step {
    text-align: center;
}

.step-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-step h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Consultation Services */
.consultation-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.consultation-item {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--background-white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.consultation-item i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.consultation-item h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    color: white;
    opacity: 0.9;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Portfolio Filters */
.portfolio-filters {
    padding: 2rem 0;
    background-color: var(--background-light);
}

.filter-controls {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 500;
    color: var(--text-dark);
}

.filter-group select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: white;
    font-size: 1rem;
}

/* Portfolio Grid */
.portfolio-grid-section {
    padding: 3rem 0 5rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background-color: var(--background-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tech-tag {
    background-color: var(--background-light);
    color: var(--text-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--primary-dark);
}

/* Blog Filters */
.blog-filters {
    padding: 2rem 0;
    background-color: var(--background-light);
}

.search-bar {
    position: relative;
    max-width: 400px;
    margin: 0 auto 2rem;
}

.search-bar input {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}

.search-bar i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--border-color);
    background-color: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-tab.active,
.filter-tab:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Featured Article */
.featured-article {
    padding: 3rem 0;
    background-color: var(--background-white);
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.featured-image {
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.featured-badge {
    background-color: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
    display: inline-block;
}

.featured-text h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.article-date,
.article-category,
.read-time {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Blog Grid */
.blog-grid-section {
    padding: 3rem 0 5rem;
    background-color: var(--background-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background-color: var(--background-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.blog-category {
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.blog-content h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.read-time {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Newsletter Signup */
.newsletter-signup {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.newsletter-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: white;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #d97706;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.contact-methods {
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.contact-details span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.calendly-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.calendly-link:hover {
    color: var(--primary-dark);
}

.office-info {
    margin-top: 2rem;
}

.office-info h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.office-details {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.office-details i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.25rem;
}

.office-details p {
    color: var(--text-dark);
    margin: 0;
}

/* Contact Form */
.contact-form-container {
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-form-container h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    margin: 0;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background-color: var(--background-light);
}

.faq-section h2 {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.faq-item {
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.faq-item p {
    color: var(--text-light);
    margin: 0;
}

/* Login Page */
.login-page {
    background-color: var(--background-light);
    min-height: 100vh;
}

/* Signup Page */
.signup-page {
    background-color: var(--background-light);
    min-height: 100vh;
}

.login-section {
    padding: 8rem 0 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.login-container {
    max-width: 400px;
    margin: 0 auto;
}

.login-card {
    background-color: var(--background-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
    padding: 15px;
}

.logo-img-small {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.login-header h1 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.login-header p {
    color: var(--text-light);
    margin: 0;
}

.login-form {
    margin-bottom: 2rem;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    color: var(--primary-dark);
}

.login-footer {
    text-align: center;
}

.login-footer p {
    color: var(--text-light);
    margin: 0;
}

.login-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

.login-footer a:hover {
    color: var(--primary-dark);
}

/* Signup Section */
.signup-section {
    padding: 8rem 0 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.signup-container {
    max-width: 600px;
    margin: 0 auto;
}

.signup-card {
    background-color: var(--background-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.signup-header {
    text-align: center;
    margin-bottom: 2rem;
}

.signup-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
    padding: 15px;
}

.signup-header h1 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.signup-header p {
    color: var(--text-light);
    margin: 0;
}

.signup-form {
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
}

.password-toggle:hover {
    color: var(--primary-color);
}

.password-requirements {
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.password-requirements p {
    margin: 0 0 0.5rem 0;
    color: var(--text-light);
    font-weight: 500;
}

.password-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.password-requirements li {
    color: var(--text-light);
    margin-bottom: 0.25rem;
    position: relative;
    padding-left: 1.2rem;
}

.password-requirements li::before {
    content: '○';
    position: absolute;
    left: 0;
    color: var(--text-light);
}

.password-requirements li.valid::before {
    content: '✓';
    color: var(--success-color);
}

.password-requirements li.valid {
    color: var(--success-color);
}

.terms-link {
    color: var(--primary-color);
    text-decoration: none;
}

.terms-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.signup-footer {
    text-align: center;
}

.signup-footer p {
    color: var(--text-light);
    margin: 0;
}

.login-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.login-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--background-white);
    margin: 10% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    text-align: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--success-color), #10b981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
}

.modal-header h2 {
    color: var(--text-dark);
    margin: 0;
}

.modal-body {
    padding: 1.5rem 2rem;
    text-align: center;
}

.modal-body p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.modal-footer {
    padding: 1rem 2rem 2rem;
    text-align: center;
}

/* Form Validation Styles */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--error-color);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group.success input,
.form-group.success select,
.form-group.success textarea {
    border-color: var(--success-color);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.error-message {
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

/* Dashboard */
.dashboard-page {
    background-color: var(--background-light);
    min-height: 100vh;
}

.dashboard-header-section {
    padding: 8rem 0 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.welcome-section h1 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.welcome-section p {
    color: white;
    opacity: 0.9;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-email-label {
    color: white;
    opacity: 0.8;
    font-size: 0.9rem;
}

.user-email {
    color: white;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.9rem;
}

.dashboard-actions .btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.dashboard-actions .btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.dashboard-content {
    padding: 2rem 0 4rem;
}

.dashboard-section {
    padding: 8rem 0 4rem;
    background-color: var(--background-light);
    min-height: 100vh;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.dashboard-header h1 {
    color: var(--text-dark);
    margin: 0;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* Profile Widget */
.profile-widget {
    grid-column: span 1;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.profile-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.profile-details h4 {
    color: var(--text-dark);
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
}

.profile-details p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.stat {
    text-align: center;
    padding: 1rem 0.5rem;
    background-color: var(--background-light);
    border-radius: 8px;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.dashboard-widget {
    background-color: var(--background-white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.widget-wide {
    grid-column: 1 / -1;
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.widget-header h3 {
    color: var(--text-dark);
    margin: 0;
}

.widget-action {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.widget-action:hover {
    color: var(--primary-dark);
}

.widget-content {
    padding: 1.5rem;
}

.project-item,
.automation-item,
.ticket-item,
.file-item,
.activity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.project-item:last-child,
.automation-item:last-child,
.ticket-item:last-child,
.file-item:last-child,
.activity-item:last-child {
    border-bottom: none;
}

.project-info,
.automation-info,
.ticket-info,
.file-info,
.activity-info {
    flex: 1;
}

.project-info h4,
.automation-info h4,
.ticket-info h4,
.file-info h4,
.activity-info h4 {
    color: var(--text-dark);
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
}

.project-info p,
.automation-info p,
.ticket-info p,
.file-info p,
.activity-info p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
}

.project-status,
.automation-status,
.ticket-status {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-active {
    background-color: #dcfce7;
    color: #166534;
}

.status-completed {
    background-color: #dbeafe;
    color: #1e40af;
}

.status-in-progress {
    background-color: #fef3c7;
    color: #92400e;
}

.status-running {
    color: var(--success-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-error {
    color: var(--error-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-open {
    background-color: #fef2f2;
    color: #dc2626;
}

.status-resolved {
    background-color: #f0fdf4;
    color: #16a34a;
}

.file-icon {
    width: 40px;
    height: 40px;
    background-color: var(--background-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--primary-color);
}

.activity-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-logo h3 {
    margin: 0;
}

.footer-section p {
    color: #9ca3af;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.client-login-link {
    color: var(--accent-color) !important;
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--background-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .service-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .featured-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .filter-controls {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .project-item,
    .automation-item,
    .ticket-item,
    .file-item,
    .activity-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .login-card {
        padding: 2rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .signup-card {
        padding: 2rem;
    }

    .nav-logo {
        gap: 0.5rem;
    }

    .logo-img {
        height: 35px;
    }

    .nav-logo h2 {
        font-size: 1.25rem;
    }

    .footer-logo {
        gap: 0.5rem;
    }

    .footer-logo-img {
        height: 25px;
    }

    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .welcome-section h1 {
        font-size: 2rem;
    }

    .profile-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .user-info {
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Legal Pages */
.legal-content {
    padding: 3rem 0 5rem;
    background-color: var(--background-white);
}

.legal-document {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-document h2 {
    color: var(--text-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.legal-document h3 {
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.legal-document p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.legal-document ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-document li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.contact-info {
    background-color: var(--background-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-info strong {
    color: var(--primary-color);
}

.cookie-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--background-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-table th,
.cookie-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.cookie-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.cookie-table td {
    color: var(--text-light);
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

/* Dashboard Sub-pages */
.page-header-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

/* Support Tickets */
.tickets-header,
.projects-header,
.automation-filters,
.files-header,
.activity-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.ticket-filters,
.project-filters,
.file-filters,
.filter-group {
    display: flex;
    gap: 1rem;
}

.ticket-filters select,
.project-filters select,
.file-filters select,
.filter-group select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: white;
    font-size: 0.9rem;
}

.tickets-grid,
.projects-grid,
.files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.ticket-card,
.project-card,
.file-card {
    background-color: var(--background-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ticket-card:hover,
.project-card:hover,
.file-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.ticket-header,
.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.ticket-id {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.project-title h3,
.ticket-content h3,
.file-content h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.project-type,
.automation-type {
    background-color: var(--background-light);
    color: var(--text-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.ticket-meta,
.project-meta,
.file-meta {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.meta-item i {
    color: var(--primary-color);
}

.priority {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.priority-high {
    background-color: #fef2f2;
    color: #dc2626;
}

.priority-medium {
    background-color: #fef3c7;
    color: #92400e;
}

.priority-low {
    background-color: #f0fdf4;
    color: #16a34a;
}

.priority-urgent {
    background-color: #fef2f2;
    color: #dc2626;
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--background-light);
    border-radius: 4px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.ticket-actions,
.project-actions,
.file-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Profile Page */
.profile-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
}

.profile-sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.profile-card {
    background-color: var(--background-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.profile-avatar-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 3rem;
    color: white;
}

.profile-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-section {
    background-color: var(--background-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.section-header h2 {
    margin: 0;
    color: var(--text-dark);
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.account-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-danger {
    background-color: var(--error-color);
    color: white;
}

.btn-danger:hover {
    background-color: #b91c1c;
}

/* Automation Status */
.automation-overview {
    margin-bottom: 2rem;
}

.overview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.overview-card {
    background-color: var(--background-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.card-icon.running {
    background-color: var(--success-color);
}

.card-icon.error {
    background-color: var(--error-color);
}

.card-icon.paused {
    background-color: var(--warning-color);
}

.card-icon.success {
    background-color: var(--primary-color);
}

.card-content h3 {
    margin: 0;
    font-size: 2rem;
    color: var(--text-dark);
}

.card-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.automation-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.automation-item {
    background-color: var(--background-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.automation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.automation-title h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
}

.automation-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.automation-meta {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.automation-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-warning {
    background-color: var(--warning-color);
    color: white;
}

.btn-warning:hover {
    background-color: #d97706;
}

/* Files Grid */
.files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.file-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
}

.file-icon {
    width: 50px;
    height: 50px;
    background-color: var(--background-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.file-content {
    flex: 1;
}

.file-content h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
    font-size: 1rem;
}

.file-content p {
    margin: 0 0 0.5rem 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.file-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

.file-actions {
    display: flex;
    gap: 0.5rem;
}

/* Activity Timeline */
.activity-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.activity-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--background-white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    flex-shrink: 0;
}

.activity-icon.success {
    background-color: var(--success-color);
}

.activity-icon.error {
    background-color: var(--error-color);
}

.activity-icon.warning {
    background-color: var(--warning-color);
}

.activity-icon.info {
    background-color: var(--primary-color);
}

.activity-content {
    flex: 1;
}

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.activity-header h3 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1rem;
}

.activity-time {
    color: var(--text-light);
    font-size: 0.85rem;
}

.activity-content p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.activity-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
}

.activity-type,
.activity-project {
    background-color: var(--background-light);
    color: var(--text-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 500;
}

.load-more {
    text-align: center;
    margin-top: 2rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.page-numbers {
    display: flex;
    gap: 0.5rem;
}

/* Responsive Design for Dashboard Sub-pages */
@media (max-width: 768px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }
    
    .profile-sidebar {
        position: static;
    }
    
    .tickets-header,
    .projects-header,
    .automation-filters,
    .files-header,
    .activity-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .ticket-filters,
    .project-filters,
    .file-filters,
    .filter-group {
        flex-direction: column;
    }
    
    .tickets-grid,
    .projects-grid,
    .files-grid {
        grid-template-columns: 1fr;
    }
    
    .overview-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .activity-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .ticket-meta,
    .project-meta,
    .file-meta,
    .automation-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-0 {
    margin-top: 0;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}
