/* Modern Cutting-Edge CSS for Soft Build Hub */
/* Font import removed - loaded in HTML for better performance */

:root {
    /* Modern Color Palette */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --accent-2: #f59e0b;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-text: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    
    /* Dark Theme Colors */
    --bg-dark: #0a0a0f;
    --bg-dark-2: #111118;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-glass: rgba(255, 255, 255, 0.1);
    
    /* Light Theme Colors */
    --bg-light: #fafbfc;
    --bg-white: #ffffff;
    --text-dark: #1a1a2e;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px 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);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
    --shadow-glow-lg: 0 0 40px rgba(99, 102, 241, 0.4);
    
    /* Spacing - Compact */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--bg-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-display: swap;
}

/* Optimize animations for performance */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Performance optimizations */
* {
    will-change: auto;
}

/* Only apply will-change to animated elements */
.gradient-orb,
.floating-card,
.service-card-modern:hover,
.portfolio-card-modern:hover {
    will-change: transform;
}

/* Optimize rendering */
.service-card-modern,
.portfolio-card-modern,
.testimonial-card-slider {
    contain: layout style paint;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.brand-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.4rem;
    font-weight: 500;
}

/* Navigation - Glassmorphism */
.navbar {
    padding: 0.75rem 0;
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: var(--shadow-md);
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::before,
.nav-link.active::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-link:hover {
    color: var(--primary) !important;
    background: rgba(99, 102, 241, 0.05);
}

/* Hero Section - Ultra Modern */
.hero-section {
    position: relative;
    min-height: 85vh;
    padding: 100px 0 60px;
    overflow: hidden;
    background: linear-gradient(135deg, #fafbfc 0%, #f0f4f8 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    bottom: -150px;
    left: -150px;
    animation-delay: 5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease;
}

.badge-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 550px;
    margin-bottom: 1.5rem;
    font-weight: 400;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn-primary-modern,
button.btn-primary-modern {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    font-size: 0.95rem;
}

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

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

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-lg);
}

.btn-outline-modern {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
}

.btn-outline-modern:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.stat-box {
    text-align: left;
}

.stat-number {
    font-size: 2rem;
    font-weight: 500;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.25rem;
    font-weight: 400;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 400px;
    animation: fadeInRight 1s ease 0.5s both;
}

.floating-card {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: floatCard 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.card-2 {
    top: 50%;
    right: 20%;
    animation-delay: 2s;
    width: 110px;
    height: 110px;
}

.card-3 {
    bottom: 10%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Section Headers */
.section-badge {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.section-title {
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* Services Section - Compact Modern */
.services-section {
    padding: 3rem 0;
    position: relative;
}

.services-section .row {
    margin-left: 0;
    margin-right: 0;
}

.services-section .row > [class*='col-'] {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.service-card-modern {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    height: 100%;
    z-index: 1;
}

.service-card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
    pointer-events: none;
}

.service-card-modern:hover .service-card-glow {
    opacity: 1;
}

.service-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow-lg);
    border-color: rgba(99, 102, 241, 0.3);
}

.service-card-modern .service-icon-modern,
.service-card-modern .service-title,
.service-card-modern .service-description,
.service-card-modern .service-features {
    position: relative;
    z-index: 2;
}

.service-icon-modern {
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s;
    position: relative;
    z-index: 2;
}

.service-card-modern:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.icon-wrapper i {
    font-size: 1.5rem;
    color: white;
}

.service-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.service-description {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    color: var(--text-light);
    transition: all 0.3s;
    font-size: 0.85rem;
    position: relative;
    z-index: 2;
}

.service-features li:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.service-features i {
    color: var(--primary);
    font-size: 1.25rem;
}

.service-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.service-link a:hover {
    gap: 1rem;
    color: var(--primary-dark);
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: var(--bg-light);
    position: relative;
}

.stat-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.stat-item h3 {
    font-size: 2.2rem;
    font-weight: 500;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

/* Portfolio Section - Compact Modern */
.portfolio-section {
    padding: 3rem 0;
}

.portfolio-card-modern {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    cursor: pointer;
}

.portfolio-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(99, 102, 241, 0.3);
}

.portfolio-image-modern {
    background: var(--gradient-primary);
    padding: 2rem 1rem;
    text-align: center;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

.portfolio-card-modern:hover .portfolio-image-modern::before {
    left: 100%;
}

.portfolio-image-modern i {
    font-size: 2.5rem;
    color: white;
    z-index: 1;
}

.portfolio-content-modern {
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.95);
}

.portfolio-title {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.portfolio-desc {
    color: var(--text-light);
    font-weight: 400;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.portfolio-tags .tag {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 6px;
    background: var(--gradient-primary);
    color: white;
    border: none;
}

/* Testimonials - Slider Modern Compact */
.testimonials-section {
    padding: 3rem 0;
    background: var(--bg-light);
}

.testimonial-card-slider {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
}

.testimonial-stars i {
    font-size: 1rem;
}

.testimonial-quote-text {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-style: italic;
}

.testimonial-author-slider {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-author-slider strong {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
}

.testimonial-author-slider span {
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 400;
}

.carousel-control-prev,
.carousel-control-next {
    width: 45px;
    height: 45px;
    background-color: var(--primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: all 0.3s;
}

.carousel-control-prev {
    left: -22px;
}

.carousel-control-next {
    right: -22px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
    
    .testimonial-card-slider {
        padding: 1.5rem;
    }
    
    .testimonial-quote-text {
        font-size: 0.9rem;
    }
}


/* Contact Section - Modern Compact */
.contact-section {
    padding: 3rem 0;
}

.contact-form-modern {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.form-control {
    border: 1.5px solid rgba(99, 102, 241, 0.15);
    border-radius: 10px;
    padding: 0.7rem 1rem;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

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

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
    font-size: 0.875rem;
}

.contact-info-modern {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-item:first-child {
    padding-top: 0;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.contact-icon i {
    color: white;
    font-size: 1.1rem;
}

.contact-details {
    flex: 1;
}

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

.contact-details p {
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 400;
    margin: 0;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 3rem 0 1.5rem;
    color: white;
}

.footer h4,
.footer h5 {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 1.1rem;
}

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

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

.footer-link {
    color: rgba(255, 255, 255, 0.7) !important;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: #ffffff !important;
    transform: translateX(5px);
    text-decoration: none !important;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s;
}

.footer a:hover {
    color: white;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s;
    margin-right: 0.75rem;
    color: #ffffff !important;
}

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-glow);
    color: #ffffff !important;
}

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

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

.fade-in {
    animation: fadeInUp 0.8s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-visual {
        height: 300px;
        margin-top: 3rem;
    }
    
    .floating-card {
        width: 80px;
        height: 80px;
    }
    
    .floating-card i {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .service-card-modern,
    .portfolio-card {
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary-modern,
    .btn-outline-modern {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        align-items: center;
    }
}

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

/* Smooth transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease;
}

/* Reduce overall text boldness - Good vibes in small */
.fw-medium {
    font-weight: 500;
}

p, li, span, .lead {
    font-weight: 400;
}

strong {
    font-weight: 500;
}

/* Ensure buttons work properly */
button.btn-primary-modern,
a.btn-primary-modern {
    text-decoration: none;
    border: none;
}

button.btn-primary-modern:hover,
a.btn-primary-modern:hover {
    text-decoration: none;
    color: white;
}
