/* Comptably ERP Website Styles */

:root {
    --primary-color: #17a2b8;
    --primary-dark: #138496;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --light-color: #f8fafc;
    --dark-color: #1e293b;
    --border-color: #e2e8f0;
    --text-muted: #64748b;
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    padding-top: 56px;
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--dark-color) !important;
    transition: color 0.3s ease;
    padding: 0.5rem 0.75rem !important;
}

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

.navbar-nav .btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    border-radius: 6px;
}

/* Hero Section - New Design */
.hero-section-new {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: white;
    padding: 1rem 0 4rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0 0L100 100" stroke="rgba(23, 162, 184, 0.1)" stroke-width="1"/><path d="M100 0L0 100" stroke="rgba(23, 162, 184, 0.1)" stroke-width="1"/></svg>');
    background-size: 30px 30px;
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.hero-section-new .hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(23, 162, 184, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(23, 162, 184, 0.3);
    backdrop-filter: blur(10px);
}

.hero-section-new .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-section-new .hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-feature i {
    font-size: 1.25rem;
}

.hero-section-new .hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hero-section-new .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.hero-section-new .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-section-new .hero-trust {
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.hero-section-new .trust-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.hero-section-new .trust-logos {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.trust-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
}

.trust-counter .counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.trust-counter span:not(.counter) {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.counter-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

.hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 100%;
    margin-top: 1rem;
}

.dashboard-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    animation: float 3s ease-in-out infinite;
    z-index: 10;
    color: var(--primary-color);
}

.floating-card i {
    font-size: 1.4rem;
    margin-right: 0.25rem;
}

.card-1 {
    top: 15%;
    right: 5%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 15%;
    left: 5%;
    animation-delay: 1s;
}

.card-3 {
    top: 65%;
    right: 8%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* RTL Support for Arabic */
.rtl {
    direction: rtl;
    text-align: right;
}

/* Navbar RTL fixes */
.rtl .navbar-brand {
    margin-right: 0;
    margin-left: 1rem;
}

.rtl .navbar-nav {
    padding-right: 0;
}

.rtl .navbar-collapse {
    justify-content: flex-end;
}

.rtl .navbar-toggler {
    margin-left: 0;
    margin-right: auto;
}

@media (max-width: 991px) {
    .rtl .navbar-toggler {
        margin-right: 0;
        margin-left: 0;
    }
    
    .rtl .navbar-collapse {
        text-align: right;
    }
    
    .rtl .navbar-nav {
        align-items: flex-start;
    }
    
    .rtl .navbar-nav .nav-item {
        width: 100%;
        text-align: right;
    }
}

.rtl .ms-auto {
    margin-left: 0 !important;
    margin-right: auto !important;
}

.rtl .ms-2 {
    margin-left: 0 !important;
    margin-right: 0.5rem !important;
}

.rtl .me-1, 
.rtl .me-2, 
.rtl .me-3 {
    margin-right: 0 !important;
    margin-left: 0.25rem !important;
}

.rtl .me-2 {
    margin-left: 0.5rem !important;
    margin-right: 0 !important;
}

.rtl .me-3 {
    margin-left: 1rem !important;
}

/* Fix navbar buttons in RTL */
.rtl .navbar-nav .btn.btn-outline-primary.me-2 {
    margin-right: 0 !important;
    margin-left: 0.5rem !important;
}

.rtl .navbar-nav .btn.btn-primary.ms-2 {
    margin-left: 0 !important;
    margin-right: 0.5rem !important;
}

.rtl .dropdown-menu {
    text-align: right;
    right: 0;
    left: auto;
}

.rtl .dropdown-menu-end {
    right: auto;
    left: 0;
}

.rtl .hero-actions {
    flex-direction: row-reverse;
}

.rtl .trust-logos {
    flex-direction: row-reverse;
}

/* RTL support for new hero section */
.rtl .hero-feature {
    flex-direction: row-reverse;
}

.rtl .hero-section-new .hero-badge i {
    margin-right: 0;
    margin-left: 0.5rem;
}

.rtl .hero-section-new .btn i {
    margin-right: 0;
    margin-left: 0.5rem;
}

.rtl .floating-card i {
    margin-right: 0;
    margin-left: 0.25rem;
}

.rtl .floating-card.card-1 {
    right: auto;
    left: 5%;
}

.rtl .floating-card.card-2 {
    left: auto;
    right: 5%;
}

.rtl .floating-card.card-3 {
    right: auto;
    left: 8%;
}

/* Language Switcher Styles */
.dropdown-toggle::after {
    margin-left: 0.5rem;
}

.rtl .dropdown-toggle::after {
    margin-left: 0;
    margin-right: 0.5rem;
}

.flag-icon {
    margin-right: 0.5rem;
    font-size: 1.1em;
}

.rtl .flag-icon {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* Fix language dropdown in RTL */
.rtl #languageDropdown .fas {
    margin-right: 0;
    margin-left: 0.25rem;
}

/* Arabic Font Support */
.rtl,
[lang="ar"] {
    font-family: 'Segoe UI', 'Tahoma', 'Arial', sans-serif;
}

/* Responsive RTL */
@media (max-width: 768px) {
    .rtl .hero-actions {
        flex-direction: column;
    }
    
    .rtl .trust-logos {
        flex-direction: column;
    }
}
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .floating-card {
        display: none;
    }
    
    .trust-logos {
        justify-content: center;
    }
    
    /* New hero section responsive */
    .hero-section-new {
        padding: 0 0 2rem;
        text-align: center;
    }
    
    .hero-section-new .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-section-new .hero-features {
        align-items: center;
    }
    
    .hero-section-new .trust-logos {
        justify-content: center;
        gap: 2rem;
    }
    
    .hero-section-new .hero-content {
        padding: 0;
        margin-top: 1rem;
    }
    
    .hero-section-new .hero-visual {
        margin: 0;
    }
}

@media (min-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .dashboard-mockup {
        max-width: 800px;
    }
}

/* Section Headings */
.display-4 {
    font-size: 2.25rem;
    font-weight: 700;
}

.display-5 {
    font-size: 2rem;
    font-weight: 700;
}

.lead {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* Dashboard Mockup */
.dashboard-mockup {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
}

.dashboard-mockup img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

/* Responsive Dashboard Image */
@media (max-width: 768px) {
    .dashboard-mockup {
        max-width: 100%;
        margin: 0 1rem;
    }
    
    .hero-image {
        padding: 1rem 0;
    }
}

@media (min-width: 1200px) {
    .dashboard-mockup {
        max-width: 950px;
    }
}

.mockup-header {
    background: #f1f5f9;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

.mockup-dots {
    display: flex;
    gap: 8px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
}

.mockup-dots span:first-child {
    background: #ef4444;
}

.mockup-dots span:nth-child(2) {
    background: #f59e0b;
}

.mockup-dots span:last-child {
    background: #10b981;
}

.mockup-content {
    display: flex;
    height: 300px;
}

.mockup-sidebar {
    width: 120px;
    background: #f8fafc;
    padding: 16px 8px;
    border-right: 1px solid var(--border-color);
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    margin-bottom: 4px;
    border-radius: 6px;
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.sidebar-item.active {
    background: var(--primary-color);
    color: white;
}

.sidebar-item i {
    width: 16px;
    text-align: center;
}

.mockup-main {
    flex: 1;
    padding: 16px;
    background: white;
}

.chart-placeholder {
    height: 120px;
    background: linear-gradient(45deg, #e2e8f0 25%, transparent 25%), 
                linear-gradient(-45deg, #e2e8f0 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #e2e8f0 75%), 
                linear-gradient(-45deg, transparent 75%, #e2e8f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    border-radius: 8px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.chart-placeholder::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.1;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.stat-card {
    background: #f8fafc;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
}

.stat-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Feature Cards */
.feature-card {
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.feature-card h5 {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

/* Stats Section */
.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Buttons */
.btn {
    font-weight: 500;
    border-radius: 6px;
    padding: 0.625rem 1.25rem;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
}

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

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

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
}

/* Footer */
footer {
    background: var(--dark-color) !important;
}

footer h5, footer h6 {
    color: white;
}

footer p {
    color: rgba(255, 255, 255, 0.8) !important;
}

footer .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

footer a {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

footer .social-links a {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 1.2rem;
}

footer .social-links a:hover {
    color: var(--primary-color) !important;
}

.social-links a {
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .dashboard-mockup {
        max-width: 100%;
        margin-top: 2rem;
    }
    
    .mockup-content {
        height: 250px;
    }
    
    .mockup-sidebar {
        width: 100px;
    }
    
    .sidebar-item span {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 70px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
    }
}

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

.hero-section .col-lg-6:first-child {
    animation: fadeInUp 0.8s ease-out;
}

.hero-section .col-lg-6:last-child {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Klit.ma Inspired Styles */

/* Hero Stats */
.hero-stats {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 2rem 0;
    margin-top: 2rem;
}

.hero-stats .stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.hero-stats .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.hero-stats .stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Mockup Title */
.mockup-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 1rem;
}

/* New Order Card */
.new-order-card {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--success-color);
}

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

.order-badge {
    background: var(--success-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.order-number {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-color);
}

.order-details {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.order-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.order-time i {
    color: var(--warning-color);
}

/* Benefit Items */
.benefit-item {
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.25rem;
}

.benefit-item h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 4rem 0;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    position: relative;
    margin-bottom: 2rem;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

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

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

.author-info h6 {
    margin: 0;
    font-weight: 600;
    color: var(--dark-color);
}

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

/* Pricing Cards */
.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
}

.enterprise-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-card.enterprise {
    border: 2px solid #f59e0b;
    background: linear-gradient(135deg, #fff7ed, #ffffff);
}

.pricing-card.enterprise:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.2);
}

.pricing-period {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.pricing-description {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.4;
}

.pricing-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.pricing-features li {
    padding: 0.375rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

/* Pricing Card Buttons */
.pricing-card .btn {
    font-size: 0.875rem;
    padding: 0.625rem 1rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pricing-card .btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.pricing-card .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

.pricing-card .btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.pricing-card .btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

/* Partnership Page Styles */
.partnership-card {
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.partnership-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.partnership-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.partnership-card h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.partnership-card ul {
    margin: 1.5rem 0;
}

.partner-card {
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.partner-logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.25rem;
}

.partner-card h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

/* Contact Page Styles */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    height: fit-content;
}

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

.contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-details h6 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--light-color);
    border-radius: 8px;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.feature-card h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-card ul {
    margin-top: 1rem;
}

.feature-card ul li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Team Cards */
.team-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

.team-card h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

/* Value Items */
.value-item {
    padding: 1.5rem;
}

.value-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.value-item h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

/* About Image */
.about-image .image-placeholder {
    height: 400px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Additional Page Styles */

/* About Page Styles */
.about-image .image-placeholder {
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.value-card {
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.team-card {
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

.milestone {
    text-align: center;
    padding: 1.5rem;
}

.milestone-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Features Page Styles */
.feature-section {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    height: 100%;
}

.feature-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2rem;
}

.feature-list {
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.feature-item:hover {
    background: #f8fafc;
}

.feature-item i {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.feature-item h6 {
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.additional-feature {
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.additional-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.additional-feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.25rem;
}

.integration-list {
    margin-top: 1.5rem;
}

.integration-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.integration-item:hover {
    background: #f8fafc;
}

.integration-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

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

.integration-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    width: 100%;
    max-width: 400px;
}

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

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

.integration-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.integration-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.integration-icon i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.integration-icon span {
    font-size: 0.875rem;
    font-weight: 500;
}

/* Contact Page Styles */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    flex-shrink: 0;
}

.contact-item h6 {
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.quick-action-card {
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.quick-action-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.quick-action-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.map-placeholder {
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Roadmap Page Styles */
.roadmap-timeline {
    position: relative;
    padding-left: 2rem;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -1.5rem;
    top: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    z-index: 2;
}

.timeline-item.completed .timeline-marker {
    background: var(--success-color);
}

.timeline-item.in-progress .timeline-marker {
    background: var(--warning-color);
}

.timeline-item.planned .timeline-marker {
    background: var(--primary-color);
}

.timeline-item.future .timeline-marker {
    background: var(--secondary-color);
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--border-color);
}

.timeline-item.completed .timeline-content {
    border-left-color: var(--success-color);
}

.timeline-item.in-progress .timeline-content {
    border-left-color: var(--warning-color);
}

.timeline-item.planned .timeline-content {
    border-left-color: var(--primary-color);
}

.timeline-item.future .timeline-content {
    border-left-color: var(--secondary-color);
}

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

.timeline-header h4 {
    margin: 0;
    font-weight: 600;
}

.feature-request-card {
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-request-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-request-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.25rem;
}

.progress-stat {
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.progress-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.progress-stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    z-index: 9999;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    border-left: 4px solid var(--success-color);
}

.notification-error {
    border-left: 4px solid var(--danger-color);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.notification-content i {
    color: var(--success-color);
    font-size: 1.25rem;
}

.notification-error .notification-content i {
    color: var(--danger-color);
}

.notification-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    margin-left: auto;
}

.notification-close:hover {
    color: var(--dark-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Animation Classes */
.animate-in {
    animation: fadeInUp 0.6s ease-out;
}

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

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

/* Form Enhancements */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--dark-color);
}

/* Utility classes */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Ensure proper text contrast in colored sections */
.bg-primary,
.bg-primary *,
section.bg-primary,
section.bg-primary * {
    color: white !important;
}

.bg-primary h1,
.bg-primary h2,
.bg-primary h3,
.bg-primary h4,
.bg-primary h5,
.bg-primary h6,
.bg-primary p,
.bg-primary .lead,
.bg-primary .text-muted {
    color: white !important;
}

.bg-primary .text-muted {
    opacity: 0.8;
}

/* Override for buttons with light background in colored sections */
.bg-primary .btn-light,
.bg-primary .btn-outline-light,
section.bg-primary .btn-light,
section.bg-primary .btn-outline-light {
    color: var(--dark-color) !important;
}

.bg-primary .btn-outline-light:hover,
section.bg-primary .btn-outline-light:hover {
    color: var(--dark-color) !important;
}

/* Hero stats with teal background */
.hero-stats {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 2rem 0;
    margin-top: 2rem;
}

.hero-stats .stat-number {
    color: white !important;
}

.hero-stats .stat-label {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Value items with colored background */
.value-item {
    padding: 1.5rem;
}

.value-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.value-item h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.value-item p {
    color: rgba(255, 255, 255, 0.8);
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.shadow-sm {
    box-shadow: var(--shadow) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Print Styles */
@media print {
    .navbar,
    .back-to-top,
    .notification {
        display: none !important;
    }

    body {
        padding-top: 0 !important;
    }
}

/* Status Page Styles */
.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.status-card {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.status-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.status-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.status-icon {
  margin-right: 1rem;
  font-size: 1.5rem;
}

.status-info {
  flex: 1;
}

.status-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.status-url {
  margin: 0;
  color: #6c757d;
  font-size: 0.9rem;
}

.status-indicator {
  margin-left: 1rem;
}

.status-details {
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
}

.status-metric {
  text-align: center;
}

.metric-label {
  display: block;
  font-size: 0.8rem;
  color: #6c757d;
  margin-bottom: 0.25rem;
}

.metric-value {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: #495057;
}

/* Incident Timeline */
.incident-timeline {
  position: relative;
  padding-left: 2rem;
}

.incident-timeline::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e9ecef;
}

.incident-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 2rem;
}

.incident-item::before {
  content: '';
  position: absolute;
  left: -0.5rem;
  top: 0.5rem;
  width: 1rem;
  height: 1rem;
  background: #17a2b8;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 2px #e9ecef;
}

.incident-date {
  position: absolute;
  left: -3rem;
  top: 0;
  text-align: center;
  background: white;
  padding: 0.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  min-width: 3rem;
}

.date-day {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  color: #17a2b8;
}

.date-month {
  display: block;
  font-size: 0.8rem;
  color: #6c757d;
}

.incident-content {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.incident-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.incident-description {
  margin: 0 0 1rem 0;
  color: #6c757d;
}

.incident-status {
  margin-top: 1rem;
}

/* Metric Cards */
.metric-card {
  background: white;
  padding: 2rem 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.metric-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.metric-icon {
  margin-bottom: 1rem;
}

.metric-value {
  font-size: 2rem;
  font-weight: 700;
  color: #17a2b8;
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 0.9rem;
  color: #6c757d;
  font-weight: 500;
}

/* Responsive Design for Status Page */
@media (max-width: 768px) {
  .status-grid {
    grid-template-columns: 1fr;
  }
  
  .incident-timeline {
    padding-left: 1rem;
  }
  
  .incident-item {
    padding-left: 1.5rem;
  }
  
  .incident-date {
    left: -2.5rem;
    min-width: 2.5rem;
  }
  
  .status-details {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .status-metric {
    text-align: left;
  }
}

