/* ========================================
   FRESH MODERN DESIGN SYSTEM
   Inspired by: Awwwards, Dribbble, Behance
   ======================================== */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Modern Color Palette */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --accent: #8b5cf6;
    --dark: #0f172a;
    --light: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Typography */
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero Section - Full Screen Modern */
.main-slider {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.main-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.main-slider .banner-carousel .item {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
}

.main-slider h2 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.main-slider p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Modern Buttons */
.theme-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: #ffffff;
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.theme-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    color: var(--primary-dark);
}

.bg-theme-color2 {
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    color: #ffffff !important;
}

.bg-theme-color2:hover {
    background: linear-gradient(135deg, #db2777 0%, #7c3aed 100%);
    color: #ffffff !important;
}

/* About Section - Glassmorphism Style */
.about-section {
    padding: 50px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.about-section .inner-column {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sec-title h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sec-title .sub-title {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, #ede9fe 0%, #fce7f3 100%);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

/* Services - Card Grid */
.services-section-three {
    padding: var(--spacing-xl) 0;
    background: #ffffff;
}

.service-block-three .inner-box {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.service-block-three .inner-box:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.25);
}

.service-block-three .icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-block-three .icon-box i {
    font-size: 48px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hide counter numbers in service icons */
.service-block-three .inner-box::before,
.service-block-three .icon-box::before,
.service-block-three .content::before {
    display: none !important;
    content: none !important;
}

.service-block-three .title a {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.service-block-three .content p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 0.75rem;
}

/* Portfolio - Masonry Style */
.projects-section {
    padding: var(--spacing-xl) 0;
    background: var(--light);
}

.project-block .inner-box {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.project-block .image-box {
    position: relative;
    width: 100%;
    height: 100%;
}

.project-block .image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-block:hover .image-box img {
    transform: scale(1.08);
}

.project-block .info-box {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, transparent 100%);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-block:hover .info-box {
    transform: translateY(0);
    opacity: 1;
}

.project-block .info-box .title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.project-block .info-box .text {
    color: rgba(255, 255, 255, 0.8);
}

/* Testimonials - Minimal Cards */
.testimonial-section {
    padding: var(--spacing-xl) 0;
    background: #ffffff;
}

.testimonial-block .inner-box {
    background: var(--light);
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.testimonial-block .inner-box:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 40px -12px rgba(99, 102, 241, 0.15);
}

.testimonial-block .image-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.testimonial-block .image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
}

.testimonial-block .name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.testimonial-block .designation {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.testimonial-block .text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

/* Pricing - Modern Cards */
.pricing-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.pricing-block .inner-box {
    background: #ffffff;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    border: 2px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pricing-block .inner-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.pricing-block .inner-box:hover::before {
    transform: scaleX(1);
}

.pricing-block .inner-box:hover {
    border-color: var(--primary);
    transform: translateY(-12px);
    box-shadow: 0 30px 60px -12px rgba(99, 102, 241, 0.25);
}

.pricing-block .title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.pricing-block .price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 1.5rem 0;
}

.pricing-block .price sup {
    font-size: 1.5rem;
    font-weight: 600;
}

.pricing-block .features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.pricing-block .features li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-block .features li::before {
    display: none;
}

/* CTA Section */
.features-section-three {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
}

.features-section-three::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
}

.feature-block-three .inner-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-block-three .inner-box:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(99, 102, 241, 0.5);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
    }

    .main-slider {
        min-height: 50vh;
        padding-top: 80px;
    }

    .main-slider .banner-carousel .item {
        min-height: 50vh;
        padding-top: 80px;
    }

    .main-slider h2 {
        font-size: 2.5rem;
    }

    .sec-title h2 {
        font-size: 2rem;
    }

    .service-block-three .inner-box,
    .testimonial-block .inner-box,
    .pricing-block .inner-box {
        margin-bottom: 1.5rem;
    }

    .about-section {
        padding: 50px 0;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .main-slider {
        min-height: 50vh;
    }

    .main-slider .banner-carousel .item {
        min-height: 50vh;
    }

    .about-section {
        padding: 50px 0;
    }
}

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

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

.wow {
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

.fadeInUp {
    animation-name: fadeInUp;
}

.fadeInLeft {
    animation-name: slideInLeft;
}

/* Utility Classes */
.gradient-bg {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Header Updates */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.sticky-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Mobile Menu - Removed conflicting styles, using original theme styles */
