/* Modern Clean Design - Uizard Style */
:root {
    --primary: #6366F1;
    --primary-dark: #4F46E5;
    --primary-light: #818CF8;
    --secondary: #8B5CF6;
    --accent: #EC4899;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --bg-accent: #F3F4F6;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand-modern {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-brand-modern:hover {
    color: var(--primary);
}

.brand-logo {
    transition: transform 0.3s ease;
}

.navbar-brand-modern:hover .brand-logo {
    transform: scale(1.05);
}

.brand-text {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.nav-link-modern {
    font-weight: 500;
    color: var(--text-secondary) !important;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.nav-link-modern:hover {
    color: var(--primary) !important;
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.nav-link-modern.active {
    color: var(--primary) !important;
    background: rgba(99, 102, 241, 0.1);
    font-weight: 600;
}

/* Hero Section */
.hero-modern {
    background: linear-gradient(135deg, #F9FAFB 0%, #FFFFFF 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title {
    color: var(--text-primary);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero-text {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.7;
}

.btn-modern-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-modern-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.btn-modern-outline {
    background: white;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-modern-outline:hover {
    background: var(--bg-secondary);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.hero-card-modern {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.hero-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
    border-color: var(--secondary);
}

.hero-card-badge {
    display: inline-block;
    background: var(--bg-accent);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    font-weight: 500;
}

.hero-list-item:last-child {
    border-bottom: none;
}

.hero-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.hero-metric {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    color: white;
    margin-top: 1.5rem;
}

.hero-metric-number {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.hero-metric-text {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
}

/* Sections */
.section-modern {
    background: var(--bg-primary);
}

.section-modern-alt {
    background: var(--bg-secondary);
}

.section-badge {
    display: inline-block;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-title {
    color: var(--text-primary);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.section-text {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.7;
}

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

.feature-card-modern:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
    border-color: var(--secondary);
    background: linear-gradient(135deg, #FFFFFF 0%, #F9FAFB 100%);
}

.feature-icon-modern {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.feature-title-modern {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feature-text-modern {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

/* Portfolio */
.portfolio-card-modern {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.portfolio-card-modern:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
    border-color: var(--secondary);
    background: linear-gradient(135deg, #FFFFFF 0%, #F9FAFB 100%);
}

.portfolio-icon-modern {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    margin: 0 auto;
}

.portfolio-title-modern {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.portfolio-text-modern {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.portfolio-badge-modern {
    display: inline-block;
    background: var(--bg-accent);
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Portfolio Carousel */
.portfolio-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

.carousel-arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid var(--primary);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    color: var(--primary);
    font-size: 1.25rem;
}

.carousel-arrow-btn.prev-arrow {
    left: 1rem;
}

.carousel-arrow-btn.next-arrow {
    right: 1rem;
}

.carousel-arrow-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-dark);
}

.carousel-arrow-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.portfolio-carousel {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.portfolio-slide {
    min-width: 100%;
    flex-shrink: 0;
    width: 100%;
    padding: 0 0.5rem;
    box-sizing: border-box;
}

.carousel-indicator-modern {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-indicator-modern.active {
    background: var(--primary);
    width: 32px;
    border-radius: 6px;
}

.carousel-indicator-modern:hover {
    background: var(--primary-light);
}

/* Service Cards */
.service-card-modern {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.service-card-modern:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
    border-color: var(--secondary);
    background: linear-gradient(135deg, #FFFFFF 0%, #F9FAFB 100%);
}

.featured-service {
    background: linear-gradient(135deg, #F9FAFB 0%, #FFFFFF 100%);
    border: 2px solid var(--primary);
}

.featured-service .service-badge-modern {
    display: none !important;
}

.service-badge-modern {
    position: absolute;
    top: -12px;
    right: 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

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

.service-icon-modern svg {
    width: 40px;
    height: 40px;
    stroke: white;
}

.service-title-modern {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.service-text-modern {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-list-modern {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list-modern li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9375rem;
}

.service-list-modern li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* Contact Form */
.contact-card-modern {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.contact-card-modern:hover {
    transform: scale(1.01);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
    border-color: var(--secondary);
}

.form-label-modern {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
    display: block;
}

.form-control-modern {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-primary);
}

.form-control-modern:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

.form-help-text {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Footer */
.footer-modern {
    background: var(--text-primary);
    color: white;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* Responsive */
@media (max-width: 992px) {
    .hero-modern {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hero-card-modern {
        margin-top: 2rem;
    }
    
    .feature-card-modern {
        margin-bottom: 1.5rem;
    }
    
    .service-card-modern {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .section-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-card-modern {
        padding: 2rem;
        margin-top: 2rem;
    }
    
    .contact-card-modern {
        padding: 2rem;
    }
    
    .hero-metric {
        padding: 1.5rem;
    }
    
    .hero-metric-number {
        font-size: 2.5rem;
    }
    
    .feature-card-modern {
        padding: 1.75rem;
    }
    
    .service-card-modern {
        padding: 2rem;
    }
    
    .portfolio-card-modern {
        padding: 2rem;
    }
    
    .portfolio-carousel-wrapper {
        padding: 0 3.5rem;
    }
    
    .carousel-arrow-btn {
        width: 44px;
        height: 44px;
        font-size: 1.125rem;
    }
    
    .carousel-arrow-btn.prev-arrow {
        left: 0.5rem;
    }
    
    .carousel-arrow-btn.next-arrow {
        right: 0.5rem;
    }
    
    .portfolio-icon-modern {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .service-icon-modern {
        width: 70px;
        height: 70px;
    }
    
    .service-icon-modern svg {
        width: 35px;
        height: 35px;
    }
    
    .feature-icon-modern {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .section-text {
        font-size: 1rem;
    }
    
    .btn-modern-primary,
    .btn-modern-outline {
        width: 100%;
        margin-bottom: 0.75rem;
    }
    
    .hero-card-modern {
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    .hero-list-item {
        padding: 0.875rem 0;
        font-size: 0.9375rem;
    }
    
    .hero-icon-wrapper {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .hero-metric {
        padding: 1.25rem;
        margin-top: 1rem;
    }
    
    .hero-metric-number {
        font-size: 2rem;
    }
    
    .hero-metric-text {
        font-size: 0.875rem;
    }
    
    .feature-card-modern {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .feature-title-modern {
        font-size: 1.125rem;
    }
    
    .feature-text-modern {
        font-size: 0.875rem;
    }
    
    .service-card-modern {
        padding: 1.75rem;
        border-radius: 20px;
    }
    
    .service-title-modern {
        font-size: 1.25rem;
    }
    
    .service-text-modern {
        font-size: 0.9375rem;
    }
    
    .portfolio-card-modern {
        padding: 1.5rem;
        border-radius: 20px;
        margin: 0 auto;
        max-width: 100%;
    }
    
    .portfolio-title-modern {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }
    
    .portfolio-text-modern {
        font-size: 0.875rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    
    .portfolio-icon-modern {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .portfolio-slide {
        padding: 0 0.75rem;
    }
    
    .portfolio-carousel-wrapper {
        padding: 0 3rem;
    }
    
    .carousel-arrow-btn {
        width: 44px;
        height: 44px;
        font-size: 1.125rem;
    }
    
    .carousel-arrow-btn.prev-arrow {
        left: 0.5rem;
    }
    
    .carousel-arrow-btn.next-arrow {
        right: 0.5rem;
    }
    
    .contact-card-modern {
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    .form-control-modern {
        padding: 0.75rem 1rem;
        font-size: 0.9375rem;
    }
    
    .form-label-modern {
        font-size: 0.875rem;
    }
    
    .navbar-brand-modern {
        font-size: 1.25rem;
    }
    
    .brand-logo {
        height: 32px;
    }
    
    .hero-badge,
    .section-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }
    
    .service-badge-modern {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
        right: 16px;
    }
    
    .portfolio-badge-modern {
        font-size: 0.8125rem;
        padding: 0.4rem 1rem;
    }
    
    .footer-modern {
        padding: 3rem 0;
    }
    
    .footer-text,
    .footer-link {
        font-size: 0.875rem;
    }
    
    .carousel-indicator-modern {
        width: 10px;
        height: 10px;
    }
    
    .carousel-indicator-modern.active {
        width: 24px;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
    
    .row > * {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .hero-card-modern,
    .feature-card-modern,
    .service-card-modern,
    .portfolio-card-modern,
    .contact-card-modern {
        margin-left: 0;
        margin-right: 0;
    }
    
    .d-flex.gap-3 {
        gap: 0.75rem !important;
    }
    
    .d-flex.gap-4 {
        gap: 1rem !important;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .portfolio-card-modern {
        padding: 1.25rem;
        border-radius: 16px;
    }
    
    .portfolio-icon-modern {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .portfolio-title-modern {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .portfolio-text-modern {
        font-size: 0.8125rem;
        margin-bottom: 0.75rem;
    }
    
    .portfolio-slide {
        padding: 0 0.5rem;
    }
    
    .portfolio-carousel-wrapper {
        padding: 0 3rem;
    }
    
    .carousel-arrow-btn {
        width: 44px;
        height: 44px;
        font-size: 1.125rem;
        box-shadow: var(--shadow-lg);
    }
    
    .carousel-arrow-btn.prev-arrow {
        left: 0.25rem;
    }
    
    .carousel-arrow-btn.next-arrow {
        right: 0.25rem;
    }
    
    .section-modern-alt {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}
    
    .mb-4 {
        margin-bottom: 1.5rem !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

