/* Modern Hero Section */
.modern-hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 80px 0;
    width: 100%;
    box-sizing: border-box;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.hero-text {
    color: #1e293b;
    position: relative;
    z-index: 5;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 600;
    color: #667eea;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #1e293b 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 40px;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.hero-description.ql-editor {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.hero-description span {
    background-color: transparent !important;
    color: #64748b !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.hero-description::selection {
    background: rgba(102, 126, 234, 0.2);
    color: #1e293b;
}

.hero-description::-moz-selection {
    background: rgba(102, 126, 234, 0.2);
    color: #1e293b;
}

.modern-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    border: none;
    cursor: pointer;
    min-width: 160px;
    position: relative;
    z-index: 10;
    pointer-events: auto;
    flex-direction: row;
}

.modern-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
    color: white !important;
    text-decoration: none;
    background: linear-gradient(135deg, #4c51bf 0%, #553c9a 100%);
}

.modern-cta-btn .btn-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 2px;
}

.modern-cta-btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Dashboard Styles */
.hero-dashboard {
    position: relative;
    perspective: 1000px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.dashboard-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: rotateY(-4deg) rotateX(4deg);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.dashboard-container:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.dashboard-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1e293b;
    font-weight: 600;
    font-size: 1.1rem;
}

.dashboard-icon {
    width: 24px;
    height: 24px;
    color: #667eea;
}

.dashboard-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #10b981;
    font-size: 14px;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Business Dashboard Modules */
.dashboard-modules {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.module-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 14px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.module-card:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.module-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.module-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.crm-module .module-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.hr-module .module-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.pm-module .module-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.module-title h3 {
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 4px 0;
}

.module-title span {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 500;
}

.module-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-label {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 500;
}

.stat-value {
    color: #1e293b;
    font-size: 1.05rem;
    font-weight: 700;
}

.module-progress {
    margin-top: 12px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 2s ease;
    animation: fillProgress 2s ease-out;
}

.crm-module .progress-fill {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.hr-module .progress-fill {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.pm-module .progress-fill {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

@keyframes fillProgress {
    from { width: 0; }
    to { width: var(--width); }
}

.progress-text {
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Management Modules - Compact Design */
.management-modules {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.management-modules h4 {
    color: #1e293b;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.management-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    transition: all 0.2s ease;
}

.management-card:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.card-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.management-card.attendance .card-icon {
    background: #3b82f6;
}

.management-card.tickets .card-icon {
    background: #f59e0b;
}

.management-card.financial .card-icon {
    background: #10b981;
}

.card-title {
    color: #1e293b;
    font-size: 0.85rem;
    font-weight: 600;
}

.card-stats {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.stat-value {
    color: #1e293b;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    color: #64748b;
    font-size: 0.65rem;
    font-weight: 500;
    margin-top: 2px;
}

.dashboard-chart {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.chart-header h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.chart-controls {
    display: flex;
    gap: 8px;
}

.chart-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chart-btn.active,
.chart-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.chart-container {
    height: 120px;
    display: flex;
    align-items: end;
    gap: 8px;
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 8px;
    height: 100%;
    width: 100%;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px 4px 0 0;
    animation: growUp 1s ease-out;
}

@keyframes growUp {
    from { height: 0; }
    to { height: var(--height); }
}

.dashboard-activity h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.activity-icon {
    width: 32px;
    height: 32px;
    background: rgba(102, 126, 234, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
}

.activity-content span {
    color: white;
    font-weight: 500;
    display: block;
    margin-bottom: 2px;
}

.activity-content small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

/* System Status Grid */
.dashboard-status-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.status-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.status-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.status-icon {
    width: 32px;
    height: 32px;
    color: #667eea;
    flex-shrink: 0;
}

.status-info {
    flex: 1;
}

.status-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: block;
}

.status-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 4px;
}

.status-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
    transition: width 2s ease;
    animation: fillBar 2s ease-out;
}

@keyframes fillBar {
    from { width: 0; }
    to { width: var(--width); }
}

.status-value {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Notifications */
.dashboard-notifications {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
}

.dashboard-notifications h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.notification-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notification-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.notification-item.new {
    border-left: 3px solid #10b981;
}

.notification-icon {
    width: 32px;
    height: 32px;
    background: rgba(102, 126, 234, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-content span {
    color: white;
    font-weight: 500;
    display: block;
    margin-bottom: 2px;
}

.notification-content small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.notification-badge {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Quick Actions */
.dashboard-actions {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
}

.dashboard-actions h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.action-btn:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.action-btn svg {
    width: 20px;
    height: 20px;
    color: #667eea;
    flex-shrink: 0;
}

/* Floating Cards */
.dashboard-floating {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(30, 41, 59, 0.3);
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    text-align: left;
    min-width: 120px;
}

.floating-card .card-icon {
    width: 16px;
    height: 16px;
    color: #667eea;
    flex-shrink: 0;
}

.card-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.card-2 {
    top: 60%;
    left: -30px;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    right: -10px;
    animation-delay: 4s;
}

.card-4 {
    top: 30%;
    left: -40px;
    animation-delay: 1s;
}

.card-5 {
    bottom: 40%;
    right: -30px;
    animation-delay: 3s;
}

.card-6 {
    top: 80%;
    left: -20px;
    animation-delay: 5s;
}

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

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

.bg-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    animation: float 8s ease-in-out infinite;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 3s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 6s;
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Hero Decorative Elements */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-decoration .floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    animation: float 12s ease-in-out infinite;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.1);
}

.hero-decoration .shape-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 5%;
    animation-delay: 0s;
}

.hero-decoration .shape-2 {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 10%;
    animation-delay: 4s;
}

.hero-decoration .shape-3 {
    width: 140px;
    height: 140px;
    top: 40%;
    right: 20%;
    animation-delay: 8s;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .modern-hero-section {
        padding: 60px 0;
        min-height: auto;
    }
    
    .hero-container {
        padding: 0 30px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .dashboard-container {
        transform: none;
        padding: 24px;
        margin: 0 auto;
        max-width: 600px;
    }
    
    .dashboard-modules {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .management-modules {
        margin-top: 20px;
    }
    
    .modules-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .modern-hero-section {
        padding: 40px 0;
        min-height: auto;
    }
    
    .hero-container {
        padding: 0 20px;
    }
    
    .hero-content {
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .hero-badge {
        padding: 6px 16px;
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .modern-cta-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
        min-width: 140px;
    }
    
    .dashboard-container {
        padding: 20px;
        margin: 0 auto;
        max-width: 100%;
        border-radius: 16px;
    }
    
    .dashboard-header {
        margin-bottom: 20px;
        padding-bottom: 12px;
    }
    
    .dashboard-title {
        font-size: 1rem;
    }
    
    .dashboard-modules {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 20px;
    }
    
    .module-card {
        padding: 16px;
        border-radius: 12px;
    }
    
    .module-header {
        margin-bottom: 12px;
        gap: 12px;
    }
    
    .module-icon {
        width: 36px;
        height: 36px;
    }
    
    .module-title h3 {
        font-size: 1rem;
    }
    
    .module-title span {
        font-size: 0.8rem;
    }
    
    .module-stats {
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .stat-row {
        padding: 4px 0;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .stat-value {
        font-size: 1rem;
    }
    
    .management-modules {
        padding: 14px;
        margin-top: 16px;
    }
    
    .management-modules h4 {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }
    
    .modules-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .management-card {
        padding: 12px;
    }
    
    .card-header {
        margin-bottom: 8px;
        gap: 8px;
    }
    
    .card-icon {
        width: 20px;
        height: 20px;
    }
    
    .card-title {
        font-size: 0.8rem;
    }
    
    .card-stats {
        gap: 6px;
    }
    
    .stat {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-value {
        font-size: 0.85rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
        margin-top: 2px;
    }
    
    .floating-card {
        display: none;
    }
    
    /* Hide decorative elements on mobile */
    .hero-background,
    .hero-decoration {
        display: none;
    }
}

@media (max-width: 480px) {
    .modern-hero-section {
        padding: 30px 0;
    }
    
    .hero-container {
        padding: 0 15px;
    }
    
    .hero-content {
        gap: 30px;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 16px;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .hero-badge {
        padding: 5px 14px;
        font-size: 12px;
        margin-bottom: 16px;
    }
    
    .modern-cta-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-width: 120px;
    }
    
    .dashboard-container {
        padding: 16px;
        border-radius: 12px;
    }
    
    .dashboard-header {
        margin-bottom: 16px;
        padding-bottom: 10px;
    }
    
    .dashboard-title {
        font-size: 0.95rem;
        gap: 8px;
    }
    
    .dashboard-icon {
        width: 20px;
        height: 20px;
    }
    
    .dashboard-status {
        font-size: 13px;
    }
    
    .dashboard-modules {
        gap: 12px;
        margin-bottom: 16px;
    }
    
    .module-card {
        padding: 14px;
        border-radius: 10px;
    }
    
    .module-header {
        margin-bottom: 10px;
        gap: 10px;
    }
    
    .module-icon {
        width: 32px;
        height: 32px;
    }
    
    .module-title h3 {
        font-size: 0.95rem;
    }
    
    .module-title span {
        font-size: 0.75rem;
    }
    
    .module-stats {
        gap: 6px;
        margin-bottom: 10px;
    }
    
    .stat-row {
        padding: 3px 0;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .stat-value {
        font-size: 0.95rem;
    }
    
    .progress-bar {
        height: 4px;
        margin-bottom: 6px;
    }
    
    .progress-text {
        font-size: 0.75rem;
    }
    
    .management-modules {
        padding: 12px;
        margin-top: 12px;
    }
    
    .management-modules h4 {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .modules-grid {
        gap: 10px;
    }
    
    .management-card {
        padding: 10px;
    }
    
    .card-header {
        margin-bottom: 6px;
        gap: 6px;
    }
    
    .card-icon {
        width: 18px;
        height: 18px;
    }
    
    .card-title {
        font-size: 0.75rem;
    }
    
    .card-stats {
        gap: 4px;
    }
    
    .stat-value {
        font-size: 0.8rem;
    }
    
    .stat-label {
        font-size: 0.55rem;
    }
}

/* Extra small devices (phones in portrait) */
@media (max-width: 360px) {
    .modern-hero-section {
        padding: 25px 0;
    }
    
    .hero-container {
        padding: 0 12px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .dashboard-container {
        padding: 12px;
    }
    
    .module-card {
        padding: 12px;
    }
    
    .management-card {
        padding: 8px;
    }
}

/* Additional utility classes for hero section */
.hero-section-overflow-fix {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.hero-content-mobile-optimized {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

/* Ensure no horizontal scroll on any device */
@media (max-width: 1200px) {
    .modern-hero-section {
        overflow-x: hidden;
    }
    
    .hero-container {
        overflow-x: hidden;
    }
    
    .hero-content {
        overflow-x: hidden;
    }
}

/* Landscape orientation fixes for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .modern-hero-section {
        padding: 20px 0;
        min-height: auto;
    }
    
    .hero-content {
        gap: 20px;
    }
    
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .dashboard-container {
        padding: 15px;
        max-height: 400px;
        overflow-y: auto;
    }
}

/* Modern Login Design */
section.modern-login-section {
    position: relative;
    padding: 10px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Login Decorative Elements - Same as other pages */
.login-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.login-decoration .floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.25) 0%, rgba(118, 75, 162, 0.25) 100%);
    animation: float 10s ease-in-out infinite;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
    border: 2px solid rgba(102, 126, 234, 0.1);
}

.login-decoration .shape-1 {
    width: 80px;
    height: 80px;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.login-decoration .shape-2 {
    width: 120px;
    height: 120px;
    top: 65%;
    right: 10%;
    animation-delay: 4s;
}

.login-decoration .shape-3 {
    width: 100px;
    height: 100px;
    top: 35%;
    right: 3%;
    animation-delay: 8s;
}

/* Override any inline styles */
section.modern-login-section[style*="background"] {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
    background-image: none !important;
}

@keyframes backgroundShift {
    0%, 100% {
        transform: translateX(0) translateY(0) scale(1);
        opacity: 1;
    }
    33% {
        transform: translateX(-30px) translateY(-20px) scale(1.1);
        opacity: 0.8;
    }
    66% {
        transform: translateX(20px) translateY(15px) scale(0.9);
        opacity: 0.9;
    }
}

.login-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Login Breadcrumb - Using existing breadcrumb styles */
.modern-breadcrumb-section {
    position: relative;
    padding: 40px 0;
    background: #f0f4f7;
    overflow: hidden;
    margin-bottom: 0; /* removed extra space under breadcrumb */
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.breadcrumb-content {
    text-align: center;
}

.breadcrumb-header {
    margin-bottom: 0;
}

.breadcrumb-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 12px 24px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.breadcrumb-badge svg {
    width: 16px;
    height: 16px;
    stroke: #ffffff;
}

.breadcrumb-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.breadcrumb-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 400;
    line-height: 1.6;
}

.login-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 10px 0;
}

.login-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 0;
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 20;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.login-card-header {
    text-align: center;
    padding: 50px 40px 30px;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.login-logo {
    margin-bottom: 25px;
}

.logo-img {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    padding: 15px;
}

.login-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.login-subtitle {
    color: #64748b;
    font-size: 16px;
    margin: 0;
    font-weight: 400;
    line-height: 1.5;
}

.login-card-body {
    padding: 30px 40px 40px;
}

.login-card-footer {
    padding: 0 40px 40px;
    text-align: center;
}

/* Social Login */
.social-login-section {
    margin-bottom: 32px;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    color: #4a5568;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 100%;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e0;
    color: #2d3748;
    text-decoration: none;
}

.social-icon {
    width: 20px;
    height: 20px;
}

.google-btn:hover {
    border-color: #4285f4;
    background: #f8f9ff;
}

.facebook-btn:hover {
    border-color: #1877f2;
    background: #f0f4ff;
}

.twitter-btn:hover {
    border-color: #1da1f2;
    background: #f0f8ff;
}

.linkedin-btn:hover {
    border-color: #0a66c2;
    background: #f0f4ff;
}

.divider {
    position: relative;
    text-align: center;
    margin: 24px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.divider-text {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 0 20px;
    color: #a0aec0;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Form Styles */
.modern-form-group {
    margin-bottom: 24px;
}

.modern-label {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 14px;
}

.input-wrapper {
    position: relative;
}

.modern-input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    color: #1e293b;
    background: #f9fafb;
    transition: all 0.3s ease;
    outline: none;
}

.modern-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
    background: #ffffff;
}

.modern-input::placeholder {
    color: #9ca3af;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #a0aec0;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.password-toggle:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.eye-icon {
    width: 20px;
    height: 20px;
}

.error-message {
    color: #e53e3e;
    font-size: 13px;
    margin-top: 6px;
    font-weight: 500;
}

/* Form Options */
.form-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
    position: relative;
}

.remember-me {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
    user-select: none;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    background: #f9fafb;
    flex-shrink: 0;
    cursor: pointer;
}

.checkbox-container:hover .checkmark {
    border-color: #9ca3af;
    background: #f3f4f6;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label {
    font-weight: 500;
    color: #374151;
    font-size: 14px;
    margin: 0;
    cursor: default;
    pointer-events: none;
}

.forgot-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.forgot-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.forgot-link a:hover {
    color: #5a67d8;
    text-decoration: underline;
}

.lock-icon {
    width: 18px;
    height: 18px;
    opacity: 0.8;
    flex-shrink: 0;
}


/* Login Button */
.modern-login-btn {
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    margin-bottom: 24px;
}

.modern-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.4);
}

.modern-login-btn:active {
    transform: translateY(0);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.modern-login-btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Decorative Elements */
.login-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
}

/* Floating circles */
.login-decoration .floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
    animation: float 8s ease-in-out infinite;
    box-shadow: 
        0 8px 32px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.login-decoration .shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
}

.login-decoration .shape-2 {
    width: 150px;
    height: 150px;
    top: 70%;
    right: -10%;
    animation-delay: 3s;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.login-decoration .shape-3 {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 15%;
    animation-delay: 6s;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.03) 100%);
}

/* Geometric shapes */
.login-decoration .shape-4 {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 25%;
    animation-delay: 2s;
    border-radius: 20px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
    animation: float 6s ease-in-out infinite, rotate 12s linear infinite;
}

.login-decoration .shape-5 {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 15%;
    animation-delay: 4s;
    border-radius: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.08) 100%);
    animation: float 7s ease-in-out infinite, pulse 4s ease-in-out infinite;
    transform: rotate(45deg);
}

.login-decoration .shape-6 {
    width: 100px;
    height: 100px;
    top: 50%;
    left: 10%;
    animation-delay: 1s;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
    animation: float 9s ease-in-out infinite, scale 6s ease-in-out infinite;
}

/* Floating particles */
.login-decoration .shape-7 {
    width: 8px;
    height: 8px;
    top: 15%;
    left: 20%;
    animation-delay: 0.5s;
    background: rgba(255, 255, 255, 0.8);
    animation: particleFloat 10s linear infinite;
}

.login-decoration .shape-8 {
    width: 6px;
    height: 6px;
    top: 60%;
    right: 30%;
    animation-delay: 2.5s;
    background: rgba(255, 255, 255, 0.6);
    animation: particleFloat 12s linear infinite;
}

.login-decoration .shape-9 {
    width: 10px;
    height: 10px;
    top: 40%;
    left: 80%;
    animation-delay: 5s;
    background: rgba(255, 255, 255, 0.7);
    animation: particleFloat 8s linear infinite;
}

.login-decoration .shape-10 {
    width: 12px;
    height: 12px;
    top: 75%;
    left: 5%;
    animation-delay: 3.5s;
    background: rgba(255, 255, 255, 0.9);
    animation: particleFloat 11s linear infinite;
}

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

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes scale {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(0px) translateX(0px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-breadcrumb {
        margin-bottom: 40px;
    }
    
    .breadcrumb-title {
        font-size: 2.5rem;
    }
    
    .breadcrumb-description {
        font-size: 1.1rem;
    }
    
    .breadcrumb-badge {
        font-size: 12px;
        padding: 6px 16px;
    }
    
    .login-card {
        margin: 20px;
        max-width: none;
    }
    
    .login-card-header,
    .login-card-body,
    .login-card-footer {
        padding: 30px 24px;
    }
    
    .login-title {
        font-size: 24px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .modern-login-section {
        padding: 10px;
    }
    
    .login-card-header,
    .login-card-body,
    .login-card-footer {
        padding: 24px 20px;
    }
    
    .social-buttons {
        gap: 10px;
    }
    
    .social-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* Signup Page Specific Styles */
.required {
    color: #e53e3e;
    font-weight: 600;
}

.modern-alert {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    margin-bottom: 24px;
}

.alert-icon {
    color: #3b82f6;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-content h4 {
    margin: 0 0 8px 0;
    color: #1e40af;
    font-size: 16px;
    font-weight: 600;
}

.alert-content p {
    margin: 0;
    color: #1e40af;
    font-size: 14px;
    line-height: 1.5;
}

.modern-error-alert {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    margin-bottom: 24px;
}

.error-icon {
    color: #ef4444;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.error-content h4 {
    margin: 0 0 12px 0;
    color: #dc2626;
    font-size: 16px;
    font-weight: 600;
}

.error-content ul {
    margin: 0;
    padding-left: 20px;
    color: #dc2626;
    font-size: 14px;
    line-height: 1.5;
}

.error-content li {
    margin-bottom: 4px;
}

/* Terms and Conditions */
.terms-checkbox {
    margin-bottom: 0;
}

.terms-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* Form Actions */
.form-actions {
    margin-top: 32px;
    text-align: center;
}

.signup-text {
    color: #a0aec0;
    font-size: 14px;
    margin-bottom: 16px;
    font-weight: 400;
}

.modern-secondary-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.05);
    color: #667eea;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.modern-secondary-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    text-decoration: none;
}

.modern-secondary-btn:active {
    transform: translateY(0);
}

.modern-secondary-btn .btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.modern-secondary-btn:hover .btn-icon {
    transform: translateX(-4px);
}

/* Captcha Styling */
#captcha_container {
    margin: 24px 0;
    display: flex;
    justify-content: center;
}

#captcha_container .g-recaptcha {
    transform: scale(0.9);
    transform-origin: center;
}

/* Help Block Styling */
.help-block.with-errors {
    color: #e53e3e;
    font-size: 13px;
    margin-top: 8px;
    font-weight: 500;
}

/* Password Row Layout */
.password-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .password-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Subdomain Field Styling */
.subdomain-wrapper {
    position: relative;
}

.subdomain-suffix {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    pointer-events: none;
    background: #f9fafb;
    padding: 0 8px;
    border-radius: 4px;
}

.modern-input:focus + .subdomain-suffix {
    color: #667eea;
}

/* Logo Styling */
.logo-img {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
    border-radius: 12px;
}

/* Modern CTA Section */
.modern-cta-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

.cta-text {
    color: white;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 8px 16px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.cta-badge svg {
    width: 16px;
    height: 16px;
    color: #4ade80;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px 0;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

.cta-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.modern-cta-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    background: white;
    color: #667eea;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modern-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.modern-cta-btn:hover::before {
    left: 100%;
}

.modern-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: #5a67d8;
}

.modern-cta-btn:active {
    transform: translateY(-1px);
}

.modern-cta-btn .btn-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 2px;
}

.modern-cta-btn:hover .btn-icon {
    transform: translateX(4px);
}

.cta-features {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
}

.feature-item svg {
    width: 16px;
    height: 16px;
    color: #4ade80;
}

.cta-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.cta-decoration .floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.cta-decoration .shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.cta-decoration .shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.cta-decoration .shape-3 {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

.cta-decoration .shape-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 30%;
    animation-delay: 1s;
}

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

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes scale {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(0px) translateX(0px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-cta-section {
        padding: 60px 0;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .cta-description {
        font-size: 1.1rem;
    }
    
    .modern-cta-btn {
        padding: 16px 32px;
        font-size: 16px;
    }
    
    .cta-features {
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 16px;
    }
}

/* Modern Features Section */
.modern-features-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.features-header {
    text-align: center;
    margin-bottom: 80px;
}

.features-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.features-badge svg {
    width: 16px;
    height: 16px;
}

.features-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.features-description {
    font-size: 1.25rem;
    color: #64748b;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 20px;
}

.feature-icon i {
    font-size: 32px;
    color: white;
    position: relative;
    z-index: 2;
}

.feature-content {
    position: relative;
    z-index: 2;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.feature-description {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

.feature-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.feature-card:hover .feature-hover-effect {
    opacity: 1;
}

/* Image Feature Cards */
.feature-image-card {
    text-align: center;
    padding: 20px;
}

.image-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover .image-container {
    transform: scale(1.05);
}

.image-container img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
}

.features-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.features-decoration .floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    animation: float 8s ease-in-out infinite;
}

.features-decoration .shape-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.features-decoration .shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 3s;
}

.features-decoration .shape-3 {
    width: 80px;
    height: 80px;
    top: 30%;
    right: 20%;
    animation-delay: 6s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-features-section {
        padding: 60px 0;
    }
    
    .features-header {
        margin-bottom: 60px;
    }
    
    .features-title {
        font-size: 2.5rem;
    }
    
    .features-description {
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .feature-card {
        padding: 30px 24px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .feature-icon i {
        font-size: 28px;
    }
    
    .feature-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .features-title {
        font-size: 2rem;
    }
    
    .features-description {
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 24px 20px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 24px;
    }
}

/* Modern Clients Section */
.modern-clients-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
}

.clients-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.clients-content {
    text-align: center;
}

.clients-header {
    margin-bottom: 60px;
}

.clients-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.clients-badge svg {
    width: 16px;
    height: 16px;
}

.clients-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.2;
}

.clients-logos {
    position: relative;
    overflow: hidden;
}

.logos-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 40px 0;
}

.client-logo {
    flex: 0 0 auto;
    opacity: 0.6;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 80px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.logo-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.client-logo:hover .logo-wrapper::before {
    opacity: 1;
}

.logo-img {
    max-width: 80px;
    max-height: 50px;
    object-fit: contain;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.client-logo:hover .logo-img {
    transform: scale(1.1);
}

.clients-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.clients-decoration .floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    animation: float 10s ease-in-out infinite;
}

.clients-decoration .shape-1 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.clients-decoration .shape-2 {
    width: 100px;
    height: 100px;
    top: 70%;
    right: 15%;
    animation-delay: 4s;
}

.clients-decoration .shape-3 {
    width: 80px;
    height: 80px;
    top: 40%;
    right: 5%;
    animation-delay: 8s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-clients-section {
        padding: 60px 0;
    }
    
    .clients-header {
        margin-bottom: 40px;
    }
    
    .clients-title {
        font-size: 2rem;
    }
    
    .logos-container {
        gap: 30px;
        padding: 30px 0;
    }
    
    .logo-wrapper {
        width: 100px;
        height: 70px;
    }
    
    .logo-img {
        max-width: 70px;
        max-height: 45px;
    }
}

@media (max-width: 480px) {
    .clients-title {
        font-size: 1.75rem;
    }
    
    .logos-container {
        gap: 20px;
        padding: 20px 0;
    }
    
    .logo-wrapper {
        width: 80px;
        height: 60px;
    }
    
    .logo-img {
        max-width: 60px;
        max-height: 40px;
    }
}

/* Modern Breadcrumb Section */
.modern-breadcrumb-section {
    position: relative;
    padding: 70px 0 20px 0;
    background: #f0f4f7;
    overflow: hidden;
    margin-bottom: 0; /* ensure no extra space under breadcrumb */
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.breadcrumb-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100px;
}

.breadcrumb-header {
    margin-bottom: 10px;
}

.breadcrumb-badge {
    display: none; /* Hidden breadcrumb badge */
}

.breadcrumb-badge svg {
    width: 16px;
    height: 16px;
}

.breadcrumb-title {
    display: none; /* Hidden breadcrumb title */
}

.breadcrumb-nav {
    display: flex;
    justify-content: center;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 8px 16px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.05);
}

.breadcrumb-link:hover {
    color: #2d3748;
    background: rgba(0, 0, 0, 0.05);
    text-decoration: none;
}

.breadcrumb-link svg {
    width: 16px;
    height: 16px;
}

.breadcrumb-separator {
    display: flex;
    align-items: center;
    color: #718096;
}

.breadcrumb-separator svg {
    width: 12px;
    height: 12px;
}

.breadcrumb-current {
    display: flex;
    align-items: center;
    color: #2d3748;
    font-weight: 600;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 20px;
}

.breadcrumb-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.breadcrumb-decoration .floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 8s ease-in-out infinite;
}

.breadcrumb-decoration .shape-1 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.breadcrumb-decoration .shape-2 {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 15%;
    animation-delay: 3s;
}

.breadcrumb-decoration .shape-3 {
    width: 80px;
    height: 80px;
    top: 40%;
    right: 5%;
    animation-delay: 6s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-breadcrumb-section {
        padding: 60px 0;
    }
    
    .breadcrumb-header {
        margin-bottom: 30px;
    }
    
    .breadcrumb-title {
        font-size: 2.5rem;
    }
    
    .breadcrumb-list {
        flex-direction: column;
        gap: 12px;
        padding: 16px 20px;
    }
    
    .breadcrumb-separator {
        transform: rotate(90deg);
    }
}

@media (max-width: 480px) {
    .breadcrumb-title {
        font-size: 2rem;
    }
    
    .breadcrumb-list {
        padding: 12px 16px;
    }
    
    .breadcrumb-link,
    .breadcrumb-current {
        padding: 6px 10px;
        font-size: 14px;
    }
}

/* Dark Theme Support */
@media (prefers-color-scheme: dark) {
    .login-card {
        background: rgba(26, 32, 44, 0.95);
        color: #e2e8f0;
    }
    
    .login-title {
        color: #f7fafc;
    }
    
    .login-subtitle {
        color: #a0aec0;
    }
    
    .modern-label {
        color: #f7fafc;
    }
    
    .modern-input {
        background: #2d3748;
        border-color: #4a5568;
        color: #f7fafc;
    }
    
    .modern-input:focus {
        border-color: #667eea;
    }
    
    .social-btn {
        background: #2d3748;
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    .checkbox-label {
        color: #e2e8f0;
    }
    
    .modern-alert {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(147, 51, 234, 0.2) 100%);
        border-color: rgba(59, 130, 246, 0.3);
    }
    
    .alert-content h4,
    .alert-content p {
        color: #93c5fd;
    }
    
    .modern-error-alert {
        background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.2) 100%);
        border-color: rgba(239, 68, 68, 0.3);
    }
    
    .error-content h4,
    .error-content ul {
        color: #fca5a5;
    }
    
    .modern-secondary-btn {
        color: #93c5fd;
        border-color: #93c5fd;
    }
    
    .modern-secondary-btn:hover {
        background: #93c5fd;
        color: #1e293b;
    }
}

/* Pricing Section */
.pricing-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #667eea;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.badge-icon {
    font-size: 16px;
}

.pricing-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px 0;
}

.pricing-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

.currency-selector-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.currency-selector {
    background: white;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.currency-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.currency-select {
    padding: 10px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: white;
    color: #374151;
    font-size: 14px;
    min-width: 200px;
}

.currency-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.pricing-tab {
    padding: 12px 24px;
    background: white;
    color: #64748b;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.pricing-tab.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.pricing-tab:hover:not(.active) {
    background: #f1f5f9;
    color: #374151;
}

.pricing-content {
    position: relative;
}

.pricing-tab-pane {
    display: none;
}

.pricing-tab-pane.active {
    display: block;
}

/* General table structure */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Header row */
.pricing-table th {
    background: linear-gradient(135deg, #6675ff, #7b60ff);
    color: #fff;
    font-weight: 600;
    text-align: center;
    padding: 16px 0;
    font-size: 16px;
}

/* First column (feature list) */
.pricing-table td:first-child {
    background: #f9fbfd;
    font-weight: 500;
    text-align: left;
    padding-left: 20px;
    color: #222;
    min-width: 220px;
    border-right: 1px solid #e5e7eb;
}

/* Data cells */
.pricing-table td {
    text-align: center;
    padding: 14px;
    border-bottom: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
}

/* Plan title row */
.pricing-table .plan-header {
    background: #f8fafc;
    font-weight: 700;
    color: #111827;
    font-size: 18px;
    position: relative;
    padding: 20px 16px;
}

.pricing-table .plan-header.recommended {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Feature header */
.pricing-table .feature-header {
    background: linear-gradient(135deg, #6675ff, #7b60ff);
    color: white;
    font-weight: 700;
    font-size: 18px;
    padding: 20px 16px;
    text-align: center;
}

/* Plan name */
.plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: inherit;
}

/* Plan price */
.plan-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

/* Price text */
.pricing-table .price {
    font-size: 20px;
    color: #111827;
    font-weight: 700;
    margin: 0;
}

.pricing-table .price.free {
    color: #10b981; /* green for Free plan */
}

.pricing-table .plan-header.recommended .price {
    color: white;
}

.period {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
    margin: 0;
}

.pricing-table .plan-header.recommended .period {
    color: rgba(255, 255, 255, 0.8);
}

/* Feature labels */
.feature-label {
    background: #f9fbfd;
    font-weight: 500;
    text-align: left;
    padding: 14px 20px;
    color: #222;
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

/* Feature values */
.feature-value {
    text-align: center;
    padding: 14px;
    border-bottom: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    font-weight: 600;
    color: #374151;
}

/* Checkmarks */
.pricing-table .checkmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
}

.pricing-table .cross {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
}

/* Recommended badge */
.recommended-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: white;
    padding: 4px 16px;
    border-radius: 0 0 8px 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Last column fix */
.pricing-table td:last-child,
.pricing-table th:last-child {
    border-right: none;
}

/* Row height consistency */
.pricing-table tr {
    height: 55px;
}

/* Pricing Decorative Elements */
.pricing-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.pricing-decoration .floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    animation: float 8s ease-in-out infinite;
}

.pricing-decoration .shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.pricing-decoration .shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 3s;
}

.pricing-decoration .shape-3 {
    width: 100px;
    height: 100px;
    top: 40%;
    right: 25%;
    animation-delay: 6s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-section {
        padding: 60px 0;
    }
    
    .pricing-title {
        font-size: 2rem;
    }
    
    .pricing-table {
        font-size: 14px;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 12px 8px;
    }
    
    .plan-name {
        font-size: 1.125rem;
    }
    
    .pricing-table .price {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .pricing-header {
        margin-bottom: 40px;
    }
    
    .pricing-title {
        font-size: 1.75rem;
    }
    
    .pricing-subtitle {
        font-size: 1rem;
    }
    
    .currency-selector {
        padding: 16px 20px;
    }
    
    .pricing-tabs {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .pricing-tab {
        width: 200px;
        text-align: center;
    }
    
    .pricing-table {
        font-size: 12px;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 10px 6px;
    }
    
    .plan-name {
        font-size: 1rem;
    }
    
    .pricing-table .price {
        font-size: 16px;
    }
}

/* Modern FAQ Section */
.modern-faq-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.faq-header {
    text-align: center;
    margin-bottom: 80px;
}

.faq-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #667eea;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.badge-icon {
    font-size: 16px;
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.faq-content {
    position: relative;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.faq-question {
    border-bottom: 1px solid #e2e8f0;
}

.faq-button {
    width: 100%;
    padding: 24px 30px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.faq-button:hover {
    background: #f8fafc;
}

.faq-button:focus {
    outline: none;
    background: #f1f5f9;
}

.question-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: #667eea;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-button[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    background: #f8fafc;
}

.answer-content {
    padding: 0 30px 30px;
}

.answer-content .ql-editor {
    font-size: 1rem;
    line-height: 1.6;
    color: #4a5568;
}

.answer-content .ql-editor p {
    margin: 0 0 16px 0;
}

.answer-content .ql-editor p:last-child {
    margin-bottom: 0;
}

.no-faqs {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
    font-size: 1.125rem;
}

/* FAQ Decorative Elements */
.faq-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.faq-decoration .floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    animation: float 10s ease-in-out infinite;
}

.faq-decoration .shape-1 {
    width: 100px;
    height: 100px;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.faq-decoration .shape-2 {
    width: 140px;
    height: 140px;
    top: 70%;
    right: 12%;
    animation-delay: 4s;
}

.faq-decoration .shape-3 {
    width: 120px;
    height: 120px;
    top: 45%;
    right: 20%;
    animation-delay: 8s;
}

/* FAQ Responsive Design */
@media (max-width: 768px) {
    .modern-faq-section {
        padding: 80px 0;
    }
    
    .faq-container {
        padding: 0 16px;
    }
    
    .faq-header {
        margin-bottom: 60px;
    }
    
    .faq-title {
        font-size: 2rem;
    }
    
    .faq-button {
        padding: 20px 24px;
    }
    
    .question-text {
        font-size: 1rem;
        padding-right: 16px;
    }
    
    .answer-content {
        padding: 0 24px 24px;
    }
}

@media (max-width: 480px) {
    .modern-faq-section {
        padding: 60px 0;
    }
    
    .faq-title {
        font-size: 1.75rem;
    }
    
    .faq-button {
        padding: 16px 20px;
    }
    
    .question-text {
        font-size: 0.95rem;
        padding-right: 12px;
    }
    
    .answer-content {
        padding: 0 20px 20px;
    }
}

/* Modern Contact Section */
.modern-contact-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
}

/* Ensure all text in contact section is readable */
.modern-contact-section * {
    color: inherit !important;
}

.modern-contact-section .contact-label,
.modern-contact-section .contact-value,
.modern-contact-section .form-title,
.modern-contact-section .form-subtitle,
.modern-contact-section .modern-input,
.modern-contact-section .modern-textarea {
    color: inherit !important;
}

/* Ensure logo images are always visible */
.logo-img,
.login-logo img,
img[alt*="Worksuite"],
img[alt*="worksuite"],
img[alt*="WIRQO"],
img[alt*="wirqo"],
.logo img,
.navbar-brand img,
.footer-logo img,
.footer-logo .logo-img,
.footer .logo img,
.footer .logo-img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 100% !important;
    height: auto !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    filter: none !important;
    transform: none !important;
}

/* Complete Login Logo Redesign */
.login-logo {
    position: relative !important;
    display: inline-block !important;
    margin: 0 auto 25px auto !important;
    text-align: center !important;
}

/* Removed background glow for login logo */

.login-logo .logo-img {
    display: block !important;
    width: auto !important;
    height: 70px !important;
    max-width: 200px !important;
    object-fit: contain !important;
    border-radius: 15px !important;
    background: white !important;
    padding: 12px 20px !important;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 1px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    z-index: 1 !important;
}

.login-logo:hover .logo-img {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 5px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

/* Removed hover effect for background glow */

/* Removed logoGlow animation */

/* Footer Logo Complete Redesign */
.footer-logo {
    position: relative !important;
    display: inline-block !important;
    margin-bottom: 20px !important;
}

/* Removed background glow for footer logo */

.footer-logo .hover-logo {
    display: inline-block !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.footer-logo .hover-logo:hover {
    transform: translateY(-2px) !important;
}

.footer-logo img,
.footer .logo img,
.footer-logo .logo-img,
.footer .logo-img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: 60px !important;
    max-width: 180px !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    background: white !important;
    padding: 10px 16px !important;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 2px 10px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    z-index: 1 !important;
    filter: none !important;
    transform: none !important;
}

.footer-logo:hover img {
    transform: scale(1.05) !important;
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.2),
        0 4px 15px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

/* Fix Footer Typography Readability */
.modern-footer,
.footer {
    color: #ffffff !important;
}

.modern-footer h1,
.modern-footer h2,
.modern-footer h3,
.modern-footer h4,
.modern-footer h5,
.modern-footer h6,
.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6 {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

.modern-footer p,
.modern-footer span,
.modern-footer div,
.footer p,
.footer span,
.footer div {
    color: #e2e8f0 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.modern-footer a,
.footer a {
    color: #cbd5e0 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    transition: color 0.3s ease !important;
}

.modern-footer a:hover,
.footer a:hover {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

.modern-footer .company-description,
.footer .company-description {
    color: #a0aec0 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    line-height: 1.6 !important;
}

/* Force footer logo visibility - override any conflicting styles */
.modern-footer .footer-logo img,
.modern-footer .footer-logo .logo-img,
.footer .footer-logo img,
.footer .footer-logo .logo-img,
.footer-logo img,
.footer-logo .logo-img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: 60px !important;
    max-width: 180px !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    background: white !important;
    padding: 10px 16px !important;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 2px 10px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    z-index: 1 !important;
    filter: none !important;
    transform: none !important;
}

/* Modern Footer Styles - Desktop & Mobile Responsive */
.modern-footer {
    background: #1e293b;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

.footer-main {
    position: relative;
    z-index: 2;
}

/* Desktop Grid Layout - Force Grid on Footer Container */
.modern-footer .footer-main {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr 1fr !important;
    gap: 40px !important;
    align-items: start !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 60px 20px 40px !important;
    box-sizing: border-box !important;
}

/* Override any Bootstrap or other framework grid systems */
.modern-footer .container,
.modern-footer .row,
.modern-footer [class*="col-"] {
    display: contents !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.footer-widget {
    margin-bottom: 0;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Desktop Logo & Company Info */
.footer-widget:first-child .footer-logo {
    margin-bottom: 20px;
    text-align: left;
}

.footer-widget:first-child .company-description {
    color: #94a3b8 !important;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: left;
}

/* Desktop Widget Titles */
.footer-widget .widget-title {
    color: #ffffff !important;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: left;
}

/* Desktop Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-links li {
    margin-bottom: 0;
}

.footer-link {
    color: #94a3b8 !important;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    padding: 5px 0;
    display: block;
}

.footer-link:hover {
    color: #ffffff !important;
}

/* Desktop Social Links */
.social-links {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #94a3b8 !important;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-link svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

/* Social Media Specific Colors */
.social-link.facebook:hover {
    background: #1877f2 !important;
    color: #ffffff !important;
}

.social-link.twitter:hover {
    background: #1da1f2 !important;
    color: #ffffff !important;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    color: #ffffff !important;
}

.social-link.dribbble:hover {
    background: #ea4c89 !important;
    color: #ffffff !important;
}

.social-link.youtube:hover {
    background: #ff0000 !important;
    color: #ffffff !important;
}

/* Better Icon Visibility */
.social-link svg {
    filter: brightness(1.2);
}

.social-link:hover svg {
    filter: brightness(1.5);
    transform: scale(1.1);
}

/* Replace SVG content with correct company logos */
.social-link.facebook svg {
    display: block !important;
}

.social-link.facebook svg path {
    d: path("M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z") !important;
}

.social-link.twitter svg {
    display: block !important;
}

.social-link.twitter svg path {
    d: path("M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z") !important;
}

/* Instagram perfect centering - Override all conflicting styles */
.social-link.instagram {
    position: relative !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    align-items: unset !important;
    justify-content: unset !important;
    line-height: 0 !important;
    text-align: center !important;
    overflow: visible !important;
}

.social-link.instagram svg {
    width: 20px !important;
    height: 20px !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    align-self: unset !important;
    text-indent: 0 !important;
    line-height: 0 !important;
    max-width: 20px !important;
    max-height: 20px !important;
    overflow: visible !important;
}

.social-link.instagram svg path {
    transform-box: fill-box !important;
    transform-origin: center !important;
}

.social-link.instagram:hover svg {
    transform: translate(-50%, -50%) scale(1.1) !important;
}


.social-link.dribbble svg {
    display: block !important;
}

.social-link.dribbble svg path {
    d: path("M12 0C5.374 0 0 5.373 0 12s5.374 12 12 12 12-5.373 12-12S18.626 0 12 0zm6.568 5.302c1.4 1.4 2.432 3.302 2.432 5.698 0 .8-.1 1.6-.3 2.3-.5-.1-1.1-.2-1.7-.3-.1-.4-.2-.8-.4-1.2.6-.2 1.1-.5 1.6-.9-.8-1.1-1.8-2-2.9-2.7.3-.6.6-1.1 1-1.6 1.1.4 2.1 1.1 2.9 2.1zm-3.1 1.1c-.3.5-.6 1-.9 1.4-1-.4-2.1-.6-3.2-.6s-2.2.2-3.2.6c-.3-.4-.6-.9-.9-1.4.5-.3 1-.5 1.6-.7.6-.1 1.2-.2 1.8-.2s1.2.1 1.8.2c.6.2 1.1.4 1.6.7zm-8.1 2.1c.4.6.8 1.2 1.3 1.7-1.1.8-2.1 1.8-2.8 2.9-.8-1.1-1.3-2.4-1.3-3.8 0-1.1.3-2.1.8-3 .5.3 1 .7 1.5 1.2.3.4.5.8.7 1.3.1.2.2.4.2.7zm1.7 3.8c.6.6 1.3 1.1 2.1 1.4.1.4.2.8.2 1.2 0 .2 0 .4-.1.6-.6.1-1.2.1-1.8.1-1.1 0-2.1-.2-3.1-.5.1-.4.2-.8.4-1.2.4-.6.9-1.1 1.5-1.5zm6.8 2.9c-.1-.4-.2-.8-.4-1.2.8-.1 1.6-.3 2.3-.5.1.4.2.8.2 1.2 0 .4-.1.8-.2 1.2-.7.2-1.5.4-2.3.5-.1-.4-.2-.8-.4-1.2zm3.1-1.1c.6-.2 1.1-.5 1.6-.9.1.4.2.8.2 1.3 0 1.4-.5 2.7-1.3 3.8-.7-1.1-1.7-2.1-2.8-2.9.5-.5.9-1.1 1.3-1.7.1-.2.2-.4.2-.7.1-.2.1-.4.1-.6zm-6.8-3.8c.4.6.8 1.2 1.3 1.7-.1.1-.2.1-.3.2-.4.2-.8.3-1.2.3-.2 0-.4 0-.6-.1.1-.4.2-.8.4-1.2.2-.4.5-.8.8-1.1.1-.1.2-.2.3-.3.1 0 .2-.1 .3-.2zm-3.1 1.1c.3.1.6.1.9.1.3 0 .6 0 .9-.1.1.4.2.8.4 1.2.1.2.2.4.4.6.3.3.6.5 1 .7.1-.4.2-.8.2-1.2 0-.4-.1-.8-.2-1.2-.5.2-1.1.4-1.7.6-.1-.2-.2-.4-.4-.6-.1-.2-.2-.4-.4-.6zm3.1 3.8c.1.4.2.8.4 1.2-.6.1-1.2.1-1.8.1-.6 0-1.2 0-1.8-.1.1-.4.2-.8.4-1.2.4.2.8.3 1.2.3.4 0 .8-.1 1.2-.3.1.2.2.4.4.6.1.2.2.4.4.6z") !important;
}

.social-link.youtube svg {
    display: block !important;
}

.social-link.youtube svg path {
    d: path("M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z") !important;
}

/* Desktop Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-label {
    color: #64748b !important;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    color: #ffffff !important;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: #94a3b8 !important;
}

/* Desktop Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    text-align: center;
}

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

.footer-bottom .row {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-bottom .col-md-6 {
    flex: none;
    width: auto;
    text-align: center;
}

.copyright {
    color: #64748b !important;
    font-size: 0.85rem;
    margin: 0;
    text-align: center;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.footer-decoration {
    display: none;
}

/* Mobile Navigation Menu Fix */
.navigation-bar .navbar-toggler {
    border: none !important;
    padding: 8px !important;
    background: transparent !important;
    cursor: pointer !important;
    display: none !important;
    position: relative !important;
    z-index: 1000 !important;
    min-width: 40px !important;
    min-height: 40px !important;
}

.navigation-bar .navbar-toggler:focus {
    outline: 2px solid #3b82f6 !important;
    outline-offset: 2px !important;
    box-shadow: none !important;
}

.navigation-bar .navbar-toggler-lines {
    display: block !important;
    width: 25px !important;
    height: 3px !important;
    background: #374151 !important;
    margin: 5px 0 !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

.navigation-bar .navbar-toggler-lines::before,
.navigation-bar .navbar-toggler-lines::after {
    content: '' !important;
    position: absolute !important;
    width: 25px !important;
    height: 3px !important;
    background: #374151 !important;
    transition: all 0.3s ease !important;
}

.navigation-bar .navbar-toggler-lines::before {
    top: -8px !important;
}

.navigation-bar .navbar-toggler-lines::after {
    top: 8px !important;
}

/* Active state for mobile toggle */
.navigation-bar .navbar-toggler[aria-expanded="true"] .navbar-toggler-lines {
    background: transparent !important;
}

.navigation-bar .navbar-toggler[aria-expanded="true"] .navbar-toggler-lines::before {
    transform: rotate(45deg) !important;
    top: 0 !important;
}

.navigation-bar .navbar-toggler[aria-expanded="true"] .navbar-toggler-lines::after {
    transform: rotate(-45deg) !important;
    top: 0 !important;
}

/* Mobile Navigation Menu */
.navigation-bar .navbar-collapse {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}

.navigation-bar .navbar-collapse.collapse {
    display: none !important;
}

.navigation-bar .navbar-collapse.collapse.show {
    display: flex !important;
    flex-direction: column !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
    padding: 20px !important;
    z-index: 999 !important;
    border-radius: 0 0 8px 8px !important;
}

/* Mobile Navigation Links */
.navigation-bar .navbar-collapse.collapse.show .navbar-nav {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0 !important;
    margin-bottom: 20px !important;
}

.navigation-bar .navbar-collapse.collapse.show .nav-item {
    width: 100% !important;
    border-bottom: 1px solid #f3f4f6 !important;
}

.navigation-bar .navbar-collapse.collapse.show .nav-item:last-child {
    border-bottom: none !important;
}

.navigation-bar .navbar-collapse.collapse.show .nav-link {
    padding: 15px 0 !important;
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    font-size: 1rem !important;
}

.navigation-bar .navbar-collapse.collapse.show .nav-link::after {
    display: none !important;
}

/* Mobile Button Container */
.navigation-bar .navbar-collapse.collapse.show .my-3 {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 !important;
}

.navigation-bar .navbar-collapse.collapse.show .btn {
    width: 100% !important;
    text-align: center !important;
    padding: 12px 20px !important;
    margin: 0 !important;
}

/* Navigation Bar Responsive Design */
@media (max-width: 768px) {
    .navigation-bar .navbar-toggler {
        display: block !important;
    }
    
    .navigation-bar .navbar-collapse {
        display: none !important;
    }
    
    .navigation-bar .navbar-collapse.show {
        display: flex !important;
    }
    
    .navigation-bar .navbar {
        justify-content: space-between !important;
        align-items: center !important;
    }
}

@media (min-width: 769px) {
    .navigation-bar .navbar-toggler {
        display: none !important;
    }
    
    .navigation-bar .navbar-collapse {
        display: flex !important;
    }
    
    .navigation-bar .navbar-collapse.collapse {
        display: flex !important;
    }
}

/* Footer Responsive Design - Mobile Overrides */
@media (max-width: 768px) {
    /* Mobile Grid Override */
    .modern-footer .footer-main {
        display: block !important;
        grid-template-columns: none !important;
        text-align: center;
        padding: 40px 20px 25px !important;
    }
    
    .modern-footer .container,
    .modern-footer .row,
    .modern-footer [class*="col-"] {
        display: block !important;
    }
    
    .footer-widget {
        margin-bottom: 30px;
    }
    
    /* Mobile Logo & Company Info */
    .footer-widget:first-child .footer-logo {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .footer-widget:first-child .company-description {
        text-align: center;
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    /* Mobile Widget Titles */
    .footer-widget .widget-title {
        text-align: center;
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    /* Mobile Footer Links */
    .footer-links {
        align-items: center;
        gap: 8px;
    }
    
    .footer-link {
        font-size: 0.85rem;
    }
    
    /* Mobile Social Links */
    .social-links {
        justify-content: center;
        gap: 10px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .social-link svg {
        width: 18px;
        height: 18px;
    }
    
    /* Mobile Social Media Hover Effects */
    .social-link:hover {
        transform: translateY(-1px);
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    }
    
    
    /* Mobile Contact Info */
    .contact-info {
        align-items: center;
        gap: 15px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 5px;
    }
    
    .contact-icon {
        width: 28px;
        height: 28px;
        margin-bottom: 5px;
    }
    
    .contact-icon svg {
        width: 14px;
        height: 14px;
    }
    
    .contact-details {
        align-items: center;
    }
    
    .contact-label {
        font-size: 0.7rem;
    }
    
    .contact-value {
        font-size: 0.8rem;
    }
    
    /* Mobile Footer Bottom */
    .footer-bottom {
        padding: 15px 0;
        text-align: center;
    }
    
    .footer-bottom .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    .footer-bottom .row {
        display: block;
        text-align: center;
    }
    
    .footer-bottom .col-md-6 {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .footer-bottom .col-md-6:last-child {
        margin-bottom: 0;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 0;
    }
    
    .copyright {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .modern-footer .footer-main {
        padding: 30px 20px 20px !important;
    }
    
    .footer-logo img,
    .footer-logo .logo-img {
        height: 45px !important;
        max-width: 120px !important;
        padding: 6px 10px !important;
    }
    
    .company-description {
        font-size: 0.85rem;
        margin-bottom: 18px;
    }
    
    .widget-title {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }
    
    .footer-link {
        font-size: 0.8rem;
    }
    
    .social-links {
        gap: 8px;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
    }
    
    .social-link svg {
        width: 16px;
        height: 16px;
    }
    
    /* Small Mobile Social Media Hover Effects */
    .social-link:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }
    
    
    .contact-info {
        gap: 12px;
    }
    
    .contact-icon {
        width: 26px;
        height: 26px;
    }
    
    .contact-icon svg {
        width: 13px;
        height: 13px;
    }
    
    .contact-label {
        font-size: 0.65rem;
    }
    
    .contact-value {
        font-size: 0.75rem;
    }
    
    .footer-bottom {
        padding: 12px 0;
        text-align: center;
    }
    
    .footer-bottom .row {
        display: block;
        text-align: center;
    }
    
    .footer-bottom .col-md-6 {
        width: 100%;
        text-align: center;
        margin-bottom: 8px;
    }
    
    .footer-bottom .col-md-6:last-child {
        margin-bottom: 0;
    }
    
    .copyright {
        font-size: 0.75rem;
    }
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.contact-html-content {
    text-align: center;
    margin-bottom: 80px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info-section {
    margin-bottom: 40px;
}

.contact-info-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.contact-details {
    flex: 1;
}

.contact-label {
    font-size: 14px;
    font-weight: 600;
    color: #667eea !important;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 1.125rem;
    font-weight: 500;
    color: #1e293b !important;
    line-height: 1.5;
}

.contact-form-section {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b !important;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.form-subtitle {
    font-size: 1.125rem;
    color: #64748b !important;
    margin: 0;
    line-height: 1.6;
}

.modern-contact-form {
    width: 100%;
}

.alert-container {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.modern-form-group {
    margin-bottom: 24px;
}

.input-wrapper {
    position: relative;
}

.modern-input,
.modern-textarea {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    color: #374151 !important;
    background: #f9fafb;
    transition: all 0.3s ease;
    font-family: inherit;
}

.modern-textarea {
    padding: 16px 20px 16px 50px;
    resize: vertical;
    min-height: 120px;
}

.modern-input:focus,
.modern-textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    width: 20px;
    height: 20px;
    z-index: 2;
}

.textarea-icon {
    top: 20px;
    transform: none;
}

.input-icon svg {
    width: 20px;
    height: 20px;
}

.form-actions {
    margin-top: 32px;
}

.modern-contact-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.modern-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-text {
    font-weight: 600;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-icon svg {
    width: 20px;
    height: 20px;
}

/* Contact Decorative Elements */
.contact-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.contact-decoration .floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    animation: float 12s ease-in-out infinite;
}

.contact-decoration .shape-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 5%;
    animation-delay: 0s;
}

.contact-decoration .shape-2 {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 10%;
    animation-delay: 4s;
}

.contact-decoration .shape-3 {
    width: 140px;
    height: 140px;
    top: 40%;
    right: 20%;
    animation-delay: 8s;
}

/* Contact Responsive Design */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact-form-section {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .modern-contact-section {
        padding: 80px 0;
    }
    
    .contact-container {
        padding: 0 16px;
    }
    
    .contact-html-content {
        margin-bottom: 60px;
    }
    
    .form-title {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-form-section {
        padding: 30px;
    }
    
    .contact-info-item {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .modern-contact-section {
        padding: 60px 0;
    }
    
    .form-title {
        font-size: 1.75rem;
    }
    
    .form-subtitle {
        font-size: 1rem;
    }
    
    .contact-form-section {
        padding: 24px;
    }
    
    .contact-info-item {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        align-self: center;
    }
}

/* Modern Features Section Styling - Same as clients section */
.modern-features-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.features-header {
    text-align: center;
    margin-bottom: 60px;
}

.features-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.badge-icon {
    font-size: 16px;
}

.features-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.2;
}

.features-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.3;
    position: relative;
    z-index: 2;
}

.feature-description {
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

/* Decorative Elements - Same as clients section */
.features-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.features-decoration .floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    animation: float 10s ease-in-out infinite;
}

.features-decoration .shape-1 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.features-decoration .shape-2 {
    width: 100px;
    height: 100px;
    top: 70%;
    right: 15%;
    animation-delay: 4s;
}

.features-decoration .shape-3 {
    width: 80px;
    height: 80px;
    top: 40%;
    right: 5%;
    animation-delay: 8s;
}

/* Responsive Design for Features */
@media (max-width: 768px) {
    .modern-features-section {
        padding: 60px 0;
    }
    
    .features-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .feature-card {
        padding: 24px 20px;
    }
}

/* Integration Section Styling - Modern Compact Design */
.modern-integration-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

.integration-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.integration-header {
    text-align: center;
    margin-bottom: 25px;
}

.integration-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 25px;
    padding: 8px 20px;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.integration-badge .badge-icon {
    margin-right: 8px;
    font-size: 14px;
}

.integration-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 12px;
    line-height: 1.2;
}

.integration-subtitle {
    font-size: 1rem;
    color: #4a5568;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.integration-card {
    background: white;
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.integration-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.integration-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.integration-card:hover::before {
    transform: scaleX(1);
}

.integration-image {
    height: 40px;
    width: auto;
    margin: 0 auto 12px;
    transition: all 0.3s ease;
    filter: grayscale(0.3);
}

.integration-card:hover .integration-image {
    transform: scale(1.05);
    filter: grayscale(0);
}

.integration-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

/* Responsive Design for Integration */
@media (max-width: 768px) {
    .modern-integration-section {
        padding: 20px 0;
    }
    
    .integration-container {
        padding: 0 15px;
    }
    
    .integration-header {
        margin-bottom: 20px;
    }
    
    .integration-title {
        font-size: 1.8rem;
    }
    
    .integration-subtitle {
        font-size: 0.9rem;
    }
    
    .integration-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 15px;
        margin-top: 15px;
        margin-bottom: 0;
    }
    
    .integration-card {
        padding: 16px 12px;
    }
    
    .integration-image {
        height: 35px;
        margin-bottom: 8px;
    }
    
    .integration-name {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .modern-integration-section {
        padding: 15px 0;
    }
    
    .integration-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 12px;
        margin-bottom: 0;
    }
    
    .integration-card {
        padding: 14px 10px;
    }
    
    .integration-image {
        height: 30px;
    }
    
    .integration-name {
        font-size: 0.8rem;
    }
}

/* Saas Features Section - Modern Styling */
.saas-features {
    position: relative;
    padding: 40px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
}

.saas-features .container {
    position: relative;
    z-index: 2;
}

.saas-features .sp-100 {
    padding: 20px 0;
}

.saas-features h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.2;
}

.saas-features p {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
}

.saas-features .mock-img {
    text-align: center;
    position: relative;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.saas-features .mock-img img {
    max-width: 100%;
    height: auto;
    border-radius: 25px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.2),
        0 15px 35px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: 
        brightness(1.1) 
        contrast(1.15) 
        saturate(1.1) 
        drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
    position: relative;
    z-index: 2;
}

.saas-features .mock-img::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c);
    border-radius: 35px;
    z-index: -1;
    opacity: 0.1;
    animation: gradientShift 8s ease-in-out infinite;
}

.saas-features .mock-img:hover img {
    transform: translateY(-12px) scale(1.03) rotate(1deg);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.25),
        0 20px 50px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    filter: 
        brightness(1.15) 
        contrast(1.2) 
        saturate(1.2) 
        drop-shadow(0 8px 25px rgba(0, 0, 0, 0.15));
}

.saas-features .mock-img:hover::before {
    opacity: 0.2;
    animation-duration: 4s;
}

@keyframes gradientShift {
    0%, 100% {
        background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c);
    }
    25% {
        background: linear-gradient(45deg, #764ba2, #f093fb, #f5576c, #667eea);
    }
    50% {
        background: linear-gradient(45deg, #f093fb, #f5576c, #667eea, #764ba2);
    }
    75% {
        background: linear-gradient(45deg, #f5576c, #667eea, #764ba2, #f093fb);
    }
}

/* Saas Features Decorative Elements */
.saas-features-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.saas-features-decoration .floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    animation: float 10s ease-in-out infinite;
}

.saas-features-decoration .shape-1 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.saas-features-decoration .shape-2 {
    width: 100px;
    height: 100px;
    top: 70%;
    right: 15%;
    animation-delay: 4s;
}

.saas-features-decoration .shape-3 {
    width: 80px;
    height: 80px;
    top: 40%;
    right: 5%;
    animation-delay: 8s;
}

/* Responsive Design for Saas Features */
@media (max-width: 768px) {
    .saas-features {
        padding: 30px 0;
    }
    
    .saas-features h3 {
        font-size: 1.75rem;
    }
    
    .saas-features .sp-100 {
        padding: 15px 0;
    }
}

/* CRITICAL LAYOUT FIXES - HIGHEST PRIORITY */
body {
    overflow-x: hidden !important;
}

/* IMMEDIATE LAYOUT FIX - PREVENT LOADING LAG */
html, body {
    margin: 0 !important;
    padding: 0 !important;
}

/* Force immediate sidebar positioning to prevent lag */
aside.main-sidebar,
.main-sidebar,
.sidebar {
    z-index: 1000 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    height: 100vh !important;
    width: 280px !important;
    background: #2c3e50 !important;
    overflow-y: auto !important;
    transform: none !important;
    transition: none !important;
}

/* Force immediate main container positioning */
section.main-container,
.main-container,
#fullscreen {
    margin-left: 280px !important;
    width: calc(100% - 280px) !important;
    min-height: calc(100vh - 63px) !important;
    position: relative !important;
    transform: none !important;
    transition: none !important;
}

/* Force sidebar positioning with maximum specificity */
aside.main-sidebar,
.main-sidebar,
.sidebar {
    z-index: 1000 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    height: 100vh !important;
    width: 280px !important;
    background: #2c3e50 !important;
    overflow-y: auto !important;
}

/* Force main container positioning */
section.main-container,
.main-container,
#fullscreen {
    margin-left: 280px !important;
    width: calc(100% - 280px) !important;
    min-height: calc(100vh - 63px) !important;
    position: relative !important;
    transition: width 0.3s ease-in-out, margin-left 0.3s ease-in-out !important;
}

/* Force content wrapper positioning */
.content-wrapper,
.super-admin-dashboard,
.px-4 {
    margin-left: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Mobile responsive - use existing breakpoints */
@media (max-width: 991.98px) {
    .main-sidebar,
    aside.main-sidebar,
    .sidebar {
        transform: translate3d(-293px, 0, 0) !important;
        transition: 0.3s !important;
    }
    
    .main-container,
    section.main-container,
    #fullscreen {
        margin-left: 0px !important;
        width: 100% !important;
    }
}

/* Preloader positioning fix - prevent layout interference */
.preloader-container {
    position: fixed !important;
    top: 0 !important;
    left: 280px !important;
    width: calc(100% - 280px) !important;
    height: 100% !important;
    background: rgba(255, 255, 255, 0.9) !important;
    z-index: 9999 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-left: 0 !important;
}

/* Hide preloader by default to prevent layout issues */
.preloader-container[style*="display: none"] {
    display: none !important;
}

/* Ensure preloader doesn't interfere with layout */
.preloader-container .spinner-border {
    position: relative !important;
    z-index: 10000 !important;
}

/* Card hover effects for dashboard */
.card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

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

/* Dashboard stats cards */
.bg-white.p-20.rounded.border {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.bg-white.p-20.rounded.border:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

/* Force all content elements to respect sidebar */
.page-title,
.alert,
.row,
.content-row,
.page-heading,
.breadcrumb,
.navbar,
.header,
.topbar {
    margin-left: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Force all dashboard and page content */
.super-admin-dashboard,
.dashboard-content,
.page-content,
.content-area,
.px-4,
.py-0,
.py-lg-4,
.border-top-0 {
    margin-left: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Force all form elements and inputs */
.form-control,
.input-group,
.btn,
.card,
.table {
    margin-left: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Emergency override for any remaining issues */
* {
    box-sizing: border-box !important;
}

/* Ensure body wrapper doesn't interfere */
.body-wrapper {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* IMMEDIATE LAYOUT PREVENTION - NO FLASH OF INCORRECT LAYOUT */
/* Apply layout immediately on page load */
body.loading,
body.loaded,
body.ready {
    overflow-x: hidden !important;
}

/* Force layout before any JavaScript loads */
.main-sidebar {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Prevent content from showing before layout is applied */
.main-container {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure no layout shift during page transitions */
.page-transition,
.route-change {
    margin-left: 280px !important;
    width: calc(100% - 280px) !important;
}

/* Fix for specific pages that have loading issues */
.faq-page,
.dashboard-page,
.packages-page,
.companies-page,
.billing-page,
.admin-faq-page,
.super-admin-page,
.offline-request-page,
.support-ticket-page {
    margin-left: 280px !important;
    width: calc(100% - 280px) !important;
    min-height: calc(100vh - 63px) !important;
}


