/* Infinitum Solutions (FZE) CSS Design System
   Sleek modern dark-themed aesthetics with glassmorphism & gradients */

:root {
    --bg-primary: #0a0f1d;
    --bg-secondary: #131a30;
    --bg-card: rgba(22, 30, 59, 0.65);
    --bg-card-hover: rgba(30, 41, 79, 0.85);
    --accent-color: #00f2fe;
    --accent-gradient-start: #00f2fe;
    --accent-gradient-end: #4facfe;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --glass-border: rgba(255, 255, 255, 0.07);
    --shadow-glow: 0 0 20px rgba(0, 242, 254, 0.15);
    --font-outfit: 'Outfit', sans-serif;
    --font-inter: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-inter);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6, .font-outfit {
    font-family: var(--font-outfit);
    font-weight: 600;
}

/* Custom Gradients & Text Accent */
.text-accent {
    color: var(--accent-color);
    background: linear-gradient(135deg, var(--accent-gradient-start), var(--accent-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-accent {
    background: linear-gradient(135deg, var(--accent-gradient-start), var(--accent-gradient-end));
}

/* Glassmorphism Card Style */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 12px 40px 0 rgba(0, 242, 254, 0.15);
}

/* Navigation Bar Styling */
.custom-navbar {
    background: rgba(10, 15, 29, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.logo-icon i {
    background: linear-gradient(135deg, var(--accent-gradient-start), var(--accent-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-nav .nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 8px 16px !important;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: #fff;
    text-shadow: var(--shadow-glow);
}

/* Buttons */
.btn-accent {
    background: linear-gradient(135deg, var(--accent-gradient-start), var(--accent-gradient-end));
    color: #0a0f1d !important;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.25);
    transition: all 0.3s ease;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.45);
    opacity: 0.95;
}

.btn-outline-accent {
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-accent:hover {
    background: linear-gradient(135deg, var(--accent-gradient-start), var(--accent-gradient-end));
    color: #0a0f1d !important;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.25);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 140px 0 100px 0;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, transparent 70%);
    z-index: -1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.15) 0%, transparent 70%);
    z-index: -1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

/* Services section cards */
.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(0, 242, 254, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    border: 1px solid rgba(0, 242, 254, 0.2);
    transition: all 0.3s ease;
}

.glass-card:hover .service-icon-wrapper {
    background: linear-gradient(135deg, var(--accent-gradient-start), var(--accent-gradient-end));
    color: #0a0f1d;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

/* Pricing/Packages Cards */
.pricing-header {
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.pricing-price {
    font-size: 2.25rem;
    font-weight: 800;
}

.pricing-features li {
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.pricing-features li i {
    color: var(--accent-color);
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--accent-gradient-start), var(--accent-gradient-end));
    color: #0a0f1d;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

/* Gallery Portfolio */
.gallery-filter-btn {
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    background: var(--bg-card);
    transition: all 0.3s ease;
    border-radius: 30px;
    padding: 8px 20px;
}

.gallery-filter-btn.active, .gallery-filter-btn:hover {
    background: linear-gradient(135deg, var(--accent-gradient-start), var(--accent-gradient-end));
    color: #0a0f1d;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.25);
}

.gallery-item {
    transition: all 0.3s ease;
}

.gallery-card {
    position: relative;
    overflow: hidden;
}

.gallery-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.gallery-image-wrapper img {
    transition: all 0.5s ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-card:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 29, 0.85);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

/* Timeline Profile History */
.timeline {
    position: relative;
    border-left: 2px solid var(--glass-border);
    padding-left: 30px;
    margin-left: 10px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-gradient-start), var(--accent-gradient-end));
    left: -39px;
    top: 5px;
    border: 3px solid var(--bg-primary);
}

/* Clients Grid and Logo Slider */
.client-logo-wrapper {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

.client-logo-wrapper:hover {
    filter: grayscale(0%);
    opacity: 1;
    border-color: var(--accent-color);
    box-shadow: var(--shadow-glow);
}

.client-logo-wrapper img {
    max-height: 50px;
    max-width: 80%;
}

/* Footer styling */
.custom-footer {
    background: #060912;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--accent-gradient-start), var(--accent-gradient-end));
    color: #0a0f1d !important;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Forms & Inputs styling */
.form-control, .form-select {
    background-color: rgba(22, 30, 59, 0.4);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    background-color: rgba(30, 41, 79, 0.6);
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
    color: #fff;
}

/* Admin Dashboard layout */
.admin-sidebar {
    background: var(--bg-secondary);
    border-right: 1px solid var(--glass-border);
    min-height: calc(100vh - 73px);
}

.admin-nav-link {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.admin-nav-link:hover, .admin-nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.02);
    border-left-color: var(--accent-color);
}

.admin-nav-link i {
    width: 24px;
    font-size: 1.1rem;
}

.admin-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--glass-border);
}

.stat-card {
    padding: 24px;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    opacity: 0.8;
}

.table-custom {
    color: var(--text-secondary);
    border-collapse: separate;
    border-spacing: 0 10px;
}

.table-custom tbody tr {
    background: rgba(22, 30, 59, 0.4);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.table-custom tbody tr:hover {
    background: rgba(30, 41, 79, 0.6);
}

.table-custom th, .table-custom td {
    border: none;
    padding: 15px 20px;
    vertical-align: middle;
}

.table-custom td:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.table-custom td:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.text-success-custom {
    color: #10b981;
}

.text-danger-custom {
    color: #ef4444;
}
