/* ==========================================
   Modern Services Page Styles
   ========================================== */

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(22, 22, 32, 0.98);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 16px;
    padding: 12px;
    min-width: 320px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(6, 182, 212, 0.1);
    backdrop-filter: blur(20px);
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.dropdown-item {
    list-style: none;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-primary);
}

.dropdown-link:hover {
    background: rgba(6, 182, 212, 0.1);
    transform: translateX(5px);
}

.dropdown-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #06b6d4;
    transition: all 0.3s ease;
}

.dropdown-link:hover .dropdown-icon {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    color: white;
    transform: scale(1.1);
}

.dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dropdown-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.dropdown-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Modern Hero Section */
.services-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 150px 0 100px;
    overflow: hidden;
    background: var(--bg-primary);
}

.services-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.services-hero-bg .gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.services-hero-bg .orb-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    top: -200px;
    right: -200px;
}

.services-hero-bg .orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    bottom: -100px;
    left: -100px;
}

.services-hero-bg .orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    top: 50%;
    left: 30%;
    opacity: 0.2;
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(6, 182, 212, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.services-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #22d3ee;
    margin-bottom: 30px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #06b6d4;
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.services-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
}

.services-hero-title .gradient-text {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-hero-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 50px;
}

.hero-stats-row {
    display: flex;
    gap: 60px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat .stat-value {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.hero-stat .stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 13px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: #06b6d4;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease infinite;
}

@keyframes scrollWheel {
    0% { top: 8px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* Featured Services Section */
.featured-services {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.section-header-modern {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 80px;
}

.section-header-modern .section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #22d3ee;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-header-modern .section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header-modern .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Showcase Items */
.services-showcase {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.showcase-item.reverse {
    direction: rtl;
}

.showcase-item.reverse > * {
    direction: ltr;
}

.showcase-visual {
    position: relative;
}

.showcase-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    position: relative;
}

.showcase-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, transparent 50%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.showcase-item:hover .showcase-image::before {
    opacity: 1;
}

.showcase-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.showcase-item:hover .showcase-image img {
    transform: scale(1.05);
}

.showcase-number {
    position: absolute;
    top: -20px;
    right: -20px;
    font-family: var(--font-display);
    font-size: 7rem;
    font-weight: 700;
    color: rgba(6, 182, 212, 0.1);
    line-height: 1;
    z-index: -1;
}

.showcase-content {
    padding: 20px 0;
}

.showcase-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    margin-bottom: 25px;
    box-shadow: 0 15px 35px rgba(6, 182, 212, 0.3);
}

.showcase-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.showcase-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
}

.showcase-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 35px;
}

.showcase-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.showcase-features li i {
    color: #10b981;
    font-size: 1rem;
}

.showcase-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #22d3ee;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.btn-text:hover {
    gap: 15px;
}

/* Process Section Modern */
.process-section-modern {
    padding: 120px 0;
    background: var(--bg-primary);
}

.process-timeline-modern {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
}

.timeline-line {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);
    opacity: 0.3;
}

.process-step-modern {
    text-align: center;
    position: relative;
    flex: 1;
}

.process-step-modern .step-number {
    width: 80px;
    height: 80px;
    background: var(--bg-card);
    border: 2px solid rgba(6, 182, 212, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #06b6d4;
    margin: 0 auto 25px;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.process-step-modern:hover .step-number {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    border-color: transparent;
    color: white;
    transform: scale(1.1);
}

.process-step-modern .step-icon {
    width: 50px;
    height: 50px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #22d3ee;
    margin: 0 auto 15px;
}

.process-step-modern h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.process-step-modern p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 200px;
    margin: 0 auto;
}

/* CTA Section Modern */
.cta-section-modern {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.cta-box {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 30px;
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.cta-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    opacity: 0.1;
}

.cta-circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
}

.cta-circle:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -50px;
}

.cta-circle:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 10%;
    opacity: 0.05;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .showcase-item {
        gap: 50px;
    }
    
    .showcase-number {
        font-size: 5rem;
    }
}

@media (max-width: 992px) {
    .dropdown-menu {
        position: fixed;
        top: 80px;
        left: 20px;
        right: 20px;
        transform: translateY(-20px);
        min-width: auto;
    }
    
    .nav-dropdown:hover .dropdown-menu {
        transform: translateY(0);
    }
    
    .hero-stats-row {
        gap: 40px;
    }
    
    .showcase-item {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .showcase-item.reverse {
        direction: ltr;
    }
    
    .showcase-visual {
        order: -1;
    }
    
    .showcase-number {
        top: -10px;
        right: 10px;
        font-size: 4rem;
    }
    
    .showcase-image img {
        height: 300px;
    }
    
    .process-timeline-modern {
        flex-wrap: wrap;
        gap: 40px;
    }
    
    .timeline-line {
        display: none;
    }
    
    .process-step-modern {
        flex: 0 0 calc(50% - 20px);
    }
    
    .cta-box {
        padding: 60px 40px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .services-hero {
        padding: 120px 0 80px;
    }
    
    .hero-stats-row {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .hero-stat .stat-value {
        font-size: 2.5rem;
    }
    
    .showcase-features {
        grid-template-columns: 1fr;
    }
    
    .showcase-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .process-step-modern {
        flex: 0 0 100%;
    }
    
    .cta-box {
        padding: 50px 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .section-header-modern .section-title {
        font-size: 2rem;
    }
}
