/* ========================================
   SERVICES PAGE ENHANCED STYLES
   Responsive design for all screen sizes
   ======================================== */

/* Services Overview Stats */
.services-overview {
    background: var(--white);
}

.services-stats {
    margin-top: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--light-gray);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.stat-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-number::after {
    content: '+';
    margin-left: 3px;
}

.stat-label {
    color: var(--gray);
    font-weight: 500;
    font-size: 0.95rem;
}
/* ========================================
   VIDEO HERO SECTION - CLEAN, FULL VISIBILITY
   ======================================== */

.video-hero {
    position: relative;
    height: 80vh; /* Taller for better video visibility */
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.video-background video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Completely transparent - no overlay at all */
.video-overlay {
    display: none; /* Remove the overlay completely */
}

/* Hero content container */
.video-hero .container {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    width: 100%;
}

/* Hero content styling */
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

/* Main heading - simple white text */
.video-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem; /* Larger text */
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: oklab(100% 0 -0.00011);
    font-weight: 800; /* Extra bold for visibility */
}

/* Subtitle text - semi-transparent white */
.video-hero .subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: whitesmoke; /* Slightly transparent for depth */
    max-width: 700px; /* Wider for balance */
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

/* CTA buttons container */
.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Button styles - clean and simple */
.btn {
    padding: 1.1rem 2.2rem;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

/* Primary button - solid color */
.btn--primary {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn--primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Outline button - transparent with white border */
.btn--outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* Button icon animations */
.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}

/* Hover lift animation */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet (768px and below) */
@media (max-width: 768px) {
    .video-hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .video-hero h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .video-hero .subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
}

/* Mobile (576px and below) */
@media (max-width: 576px) {
    .video-hero {
        height: 60vh;
        min-height: 400px;
        margin-top: 70px;
    }
    
    .video-hero h1 {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }
    
    .video-hero .subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }
    
    .hero-cta .btn {
        max-width: 250px;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Small Mobile (375px and below) */
@media (max-width: 375px) {
    .video-hero {
        height: 55vh;
        min-height: 350px;
    }
    
    .video-hero h1 {
        font-size: 1.9rem;
    }
    
    .video-hero .subtitle {
        font-size: 0.9rem;
    }
    
    .hero-cta .btn {
        max-width: 220px;
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .hero-content {
        padding: 1rem;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .video-hero {
        height: 100vh;
        min-height: 400px;
    }
    
    .video-hero h1 {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }
    
    .video-hero .subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-cta {
        flex-direction: row;
    }
    
    .hero-cta .btn {
        max-width: none;
        width: auto;
    }
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    .btn:hover {
        transform: none;
    }
    
    .btn:hover i {
        transform: none;
    }
    
    .hover-lift:hover {
        transform: none;
    }
}

/* Fallback image styling - only shows if video doesn't load */
.video-background img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

/* Show fallback image if video fails to load */
.video-background.no-video img {
    display: block;
}

.video-background.no-video video {
    display: none;
}

/* Ensure video covers entire container without cropping */
.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This ensures full coverage without distortion */
}
/* Services Tabs Section */
.services-tabs-section {
    background: var(--light-gray);
}

.services-tabs {
    max-width: 1200px;
    margin: 0 auto;
}

.tab-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    background: var(--white);
    border: 2px solid transparent;
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.tab-btn i {
    font-size: 1.5rem;
    color: var(--primary);
}

.tab-btn:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.tab-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.tab-btn.active i {
    color: var(--white);
}

/* Tab Content */
.tab-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.tab-pane {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service Detail Layout */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.detail-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.detail-content > p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* Service Features Grid */
.service-features-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.feature {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--light-gray);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.feature h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Service Benefits */
.service-benefits {
    margin-bottom: 2.5rem;
}

.service-benefits h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: var(--primary);
    color: var(--white);
}

.benefit-item i {
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.benefit-item:hover i {
    color: var(--white);
}

.benefit-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Performance Metrics */
.performance-metrics,
.seo-results {
    margin-bottom: 2.5rem;
}

.performance-metrics h4,
.seo-results h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.metric-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--light-gray);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.metric-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.metric-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.metric-label {
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Results Grid */
.results-grid {
    display: grid;
    gap: 1rem;
}

.result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.result-item:hover {
    background: var(--primary);
    color: var(--white);
}

.result-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.result-item:hover i {
    color: var(--white);
}

.result-item span {
    font-weight: 500;
}

/* E-commerce Platforms */
.ecommerce-platforms {
    margin-bottom: 2.5rem;
}

.ecommerce-platforms h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.platform-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: var(--light-gray);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.platform-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.platform-logo i {
    font-size: 2.5rem;
    color: var(--primary);
}

.platform-logo span {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--dark);
}

/* CTA Buttons in Service Details */
.detail-content .cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Visual Section Styles */
.detail-visual {
    position: sticky;
    top: 100px;
}

.service-visual {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 2rem;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Brand Elements Visualization */
.visual-container {
    width: 100%;
}

.brand-elements {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.logo-preview {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    min-height: 150px;
}

.logo-shape {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

.shape-1 {
    background: var(--primary);
    animation-delay: 0s;
}

.shape-2 {
    background: var(--primary-dark);
    animation-delay: 1s;
}

.shape-3 {
    background: var(--primary-light);
    animation-delay: 2s;
}

.color-palette {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
}

.color-swatch {
    aspect-ratio: 1;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.color-swatch:hover {
    transform: scale(1.1);
}

.typography-sample {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
}

.typography-sample h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    margin-bottom: 1rem;
}

.font-primary {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.font-secondary {
    font-family: 'Poppins', sans-serif;
    color: var(--gray);
}

/* ========================================
   HERO SECTION WITH VIDEO BACKGROUND
   ======================================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(108, 61, 184, 0.7) 0%, rgba(45, 55, 72, 0.6) 100%);
    z-index: -1;
}

/* Floating shapes animation */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    background: var(--primary);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: var(--primary-light);
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    background: var(--primary-dark);
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Hero content positioning */
.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
}

/* Hero badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-badge i {
    color: var(--primary-light);
}

/* Hero title */
.hero__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Typing animation */
.typing-animation {
    overflow: hidden;
    border-right: 3px solid var(--primary-light);
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary-light) }
}

/* Fade in animation */
.fade-in-animation {
    animation: fadeIn 2s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Hero subtitle */
.hero__subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero buttons */
.hero__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.btn--primary {
    background: var(--primary);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(108, 61, 184, 0.3);
}

.btn--secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* Hover lift animation */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
}

/* Hero features */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.feature-item i {
    color: var(--primary-light);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
}

.scroll-arrow i {
    color: rgba(255, 255, 255, 0.7);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Pulse animation */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(108, 61, 184, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(108, 61, 184, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(108, 61, 184, 0);
    }
}

/* Responsive adjustments for video */
@media (max-width: 768px) {
    .hero-video {
        display: none; /* Hide video on mobile to save bandwidth */
    }
    
    .hero-background {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__subtitle {
        font-size: 1.1rem;
    }
    
    .hero__buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .typing-animation {
        white-space: normal;
        border-right: none;
        animation: none;
    }
}

@media (max-width: 576px) {
    .hero__title {
        font-size: 2rem;
    }
    
    .hero__subtitle {
        font-size: 1rem;
    }
    
    .hero {
        min-height: 500px;
        height: 100vh;
    }
}

/* About Preview Section */
.about-preview {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-visual {
    position: relative;
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-container:hover .about-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 2rem;
    color: var(--white);
}

.stats-overlay {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stats-overlay .stat h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.stats-overlay .stat p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Service Images */
.service-image {
    height: 200px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

/* Portfolio Preview */
.portfolio-preview {
    background: var(--light-gray);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
}

.portfolio-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(108, 61, 184, 0.9) 0%, rgba(45, 55, 72, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 2rem;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.portfolio-link {
    color: var(--white);
    text-decoration: none;
    border: 2px solid var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.portfolio-link:hover {
    background: var(--white);
    color: var(--primary);
}

/* Testimonials Section */
.testimonials {
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.6;
    color: var(--gray);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.author-info h4 {
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.author-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-overlay {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .about-image {
        height: 300px;
    }
    
    .portfolio-image {
        height: 250px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
}

/* Analytics Dashboard */
.analytics-dashboard {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    width: 100%;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.dashboard-header h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
}

.time-filter {
    background: var(--light-gray);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.metrics-display {
    margin-bottom: 2rem;
}

.metric-chart {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 150px;
    gap: 1rem;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary), var(--primary-light));
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.chart-bar:hover {
    opacity: 0.8;
    transform: scaleY(1.05);
}

.chart-bar span {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
}

.platform-performance {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.platform {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: center;
    gap: 1rem;
}

.platform-name {
    font-weight: 500;
    font-size: 0.9rem;
}

.performance-bar {
    height: 20px;
    background: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
}

.performance-fill {
    height: 100%;
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    border-radius: 10px;
    transition: width 0.5s ease;
}

/* SEO Visualization */
.seo-visualization {
    width: 100%;
}

.search-engine {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
}

.search-bar {
    background: var(--light-gray);
    padding: 1rem 1.5rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.search-bar i {
    color: var(--gray);
}

.search-bar span {
    color: var(--gray);
    font-size: 0.95rem;
}

.search-results {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.search-results .result-item {
    padding: 1rem;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.search-results .result-item:hover {
    background: var(--light-gray);
    border-left-color: var(--primary);
}

.search-results .result-item.featured {
    background: var(--light-gray);
    border-left-color: var(--primary);
}

.result-url {
    color: var(--primary);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.result-title {
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.result-desc {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* E-commerce Demo */
.ecommerce-demo {
    width: 100%;
}

.store-preview {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
}

.store-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--primary);
    color: var(--white);
}

.store-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
}

.store-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    font-size: 0.9rem;
}

.store-nav span {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.store-nav span:hover {
    opacity: 0.8;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.5rem;
}

.product-card {
    background: var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.product-image {
    height: 120px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.product-info {
    padding: 1rem;
}

.product-name {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.product-price {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.add-to-cart {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.5rem;
    border-radius: 5px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    background: var(--primary-dark);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet Landscape (1024px) */
@media (max-width: 1024px) {
    .services-tabs {
        max-width: 100%;
    }
    
    .service-detail {
        gap: 3rem;
    }
    
    .detail-visual {
        position: static;
    }
}

/* Tablet Portrait (768px) */
@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .tab-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tab-content {
        padding: 2rem 1.5rem;
    }
    
    .service-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .detail-content h2 {
        font-size: 2rem;
    }
    
    .detail-content > p {
        font-size: 1rem;
    }
    
    .service-features-grid {
        gap: 1.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .detail-content .cta-buttons {
        flex-direction: column;
    }
    
    .detail-content .cta-buttons .btn {
        width: 100%;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .platform {
        grid-template-columns: 80px 1fr;
    }
}

/* Mobile (576px) */
@media (max-width: 576px) {
    .section-padding {
        padding: 50px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .tab-buttons {
        grid-template-columns: 1fr;
    }
    
    .tab-btn {
        padding: 1rem;
    }
    
    .tab-content {
        padding: 1.5rem 1rem;
    }
    
    .detail-content h2 {
        font-size: 1.75rem;
    }
    
    .detail-content > p {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .service-features-grid {
        gap: 1rem;
    }
    
    .feature {
        gap: 1rem;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
    }
    
    .feature-icon i {
        font-size: 1.25rem;
    }
    
    .service-benefits h4,
    .performance-metrics h4,
    .seo-results h4,
    .ecommerce-platforms h4 {
        font-size: 1.1rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .metric-value {
        font-size: 2rem;
    }
    
    .platforms-grid {
        grid-template-columns: 1fr;
    }
    
    .service-visual {
        padding: 1.5rem 1rem;
        min-height: 300px;
    }
    
    .color-palette {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .metric-chart {
        height: 120px;
    }
    
    .platform {
        grid-template-columns: 70px 1fr;
        font-size: 0.85rem;
    }
    
    .search-bar {
        padding: 0.75rem 1rem;
    }
    
    .store-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .store-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

/* Extra Small Mobile (375px and below) */
@media (max-width: 375px) {
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .tab-btn {
        padding: 0.875rem;
        font-size: 0.9rem;
    }
    
    .tab-btn i {
        font-size: 1.25rem;
    }
    
    .detail-content h2 {
        font-size: 1.5rem;
    }
    
    .feature h4 {
        font-size: 1rem;
    }
    
    .feature p {
        font-size: 0.9rem;
    }
    
    .metric-value {
        font-size: 1.75rem;
    }
    
    .metric-label {
        font-size: 0.85rem;
    }
    
    .benefit-item {
        padding: 0.75rem;
    }
    
    .benefit-item span {
        font-size: 0.85rem;
    }
    
    .platform-logo {
        padding: 1rem 0.75rem;
    }
    
    .platform-logo i {
        font-size: 2rem;
    }
    
    .logo-shape {
        width: 45px;
        height: 45px;
    }
    
    .chart-bar span {
        font-size: 0.75rem;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .service-visual {
        min-height: 250px;
    }
    
    .logo-preview {
        min-height: 100px;
    }
    
    .metric-chart {
        height: 100px;
    }
}

/* Print Styles */
@media print {
    .whatsapp-float,
    .nav__cta,
    .cta-buttons,
    .scroll-indicator {
        display: none;
    }
    
    .service-detail {
        grid-template-columns: 1fr;
    }
    
    .tab-buttons {
        display: none;
    }
    
    .tab-pane {
        display: block !important;
        page-break-inside: avoid;
    }
}
/* ========================================
   PORTFOLIO PREVIEW STYLES
   ======================================== */

.portfolio-preview {
    background: var(--white);
    position: relative;
}

.portfolio-preview .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.portfolio-preview .section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.portfolio-preview .section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.portfolio-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    background: var(--white);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(108, 61, 184, 0.9) 0%, rgba(45, 55, 72, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 2rem;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

.portfolio-overlay p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    font-size: 0.95rem;
}

.portfolio-link {
    color: var(--white);
    text-decoration: none;
    border: 2px solid var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.portfolio-link:hover {
    background: var(--white);
    color: var(--primary);
}

.text-center {
    text-align: center;
}

.portfolio-preview .btn--primary {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
}

/* ========================================
   TESTIMONIALS STYLES
   ======================================== */

.testimonials {
    background: var(--light-gray);
    position: relative;
}

.testimonials .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials .section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.testimonials .section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
    content: '"';
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.1;
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-family: serif;
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.7;
    color: var(--gray);
    font-size: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    flex-shrink: 0;
}

.author-info h4 {
    margin-bottom: 0.25rem;
    color: var(--dark);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
}

.author-info p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet Landscape (1024px) */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

/* Tablet Portrait (768px) */
@media (max-width: 768px) {
    .portfolio-preview .section-header h2,
    .testimonials .section-header h2 {
        font-size: 2rem;
    }
    
    .portfolio-preview .section-header p,
    .testimonials .section-header p {
        font-size: 1rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-image {
        height: 250px;
    }
    
    .portfolio-overlay {
        padding: 1.5rem;
    }
    
    .portfolio-overlay h4 {
        font-size: 1.3rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-card::before {
        font-size: 4rem;
        top: 0.5rem;
        left: 1.5rem;
    }
}

/* Mobile (576px) */
@media (max-width: 576px) {
    .portfolio-preview .section-header h2,
    .testimonials .section-header h2 {
        font-size: 1.75rem;
    }
    
    .portfolio-preview .section-header p,
    .testimonials .section-header p {
        font-size: 0.95rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .portfolio-image {
        height: 220px;
    }
    
    .portfolio-overlay {
        padding: 1rem;
    }
    
    .portfolio-overlay h4 {
        font-size: 1.2rem;
    }
    
    .portfolio-overlay p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .portfolio-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .testimonials-grid {
        gap: 1rem;
    }
    
    .testimonial-card {
        padding: 1.5rem 1rem;
    }
    
    .testimonial-card::before {
        font-size: 3rem;
        top: 0.5rem;
        left: 1rem;
    }
    
    .testimonial-content p {
        font-size: 0.95rem;
    }
    
    .testimonial-author {
        gap: 0.75rem;
    }
    
    .client-avatar {
        width: 50px;
        height: 50px;
    }
    
    .author-info h4 {
        font-size: 1rem;
    }
    
    .author-info p {
        font-size: 0.85rem;
    }
}

/* Extra Small Mobile (375px and below) */
@media (max-width: 375px) {
    .portfolio-preview .section-header h2,
    .testimonials .section-header h2 {
        font-size: 1.5rem;
    }
    
    .portfolio-image {
        height: 200px;
    }
    
    .portfolio-overlay h4 {
        font-size: 1.1rem;
    }
    
    .testimonial-card {
        padding: 1.25rem 0.875rem;
    }
    
    .testimonial-content p {
        font-size: 0.9rem;
    }
    
    .client-avatar {
        width: 45px;
        height: 45px;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .portfolio-image {
        height: 200px;
    }
    
    .testimonial-card {
        padding: 1.5rem 1rem;
    }
}

/* Animation Enhancements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-item,
.testimonial-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Hover Effects Enhancement */
.portfolio-item {
    position: relative;
    overflow: hidden;
}

.portfolio-item::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.6s ease;
    z-index: 1;
}

.portfolio-item:hover::before {
    left: 100%;
}

/* Loading States for Images */
.portfolio-image img,
.client-avatar {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Print Styles */
@media print {
    .portfolio-preview,
    .testimonials {
        page-break-inside: avoid;
    }
    
    .portfolio-item,
    .testimonial-card {
        break-inside: avoid;
    }
    
    .portfolio-overlay {
        position: relative;
        opacity: 1;
        background: var(--light-gray);
        color: var(--dark);
    }
    
    .portfolio-link {
        display: none;
    }
}
/* ========================================
   HERO SECTION WITH VIDEO BACKGROUND - MOBILE OPTIMIZED
   ======================================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(108, 61, 184, 0.7) 0%, rgba(45, 55, 72, 0.6) 100%);
    z-index: -1;
}

/* Floating shapes animation */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    background: var(--primary);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: var(--primary-light);
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    background: var(--primary-dark);
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Hero content positioning */
.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-badge i {
    color: var(--primary-light);
}

/* Hero title */
.hero__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Typing animation */
.typing-animation {
    overflow: hidden;
    border-right: 3px solid var(--primary-light);
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary-light) }
}

/* Fade in animation */
.fade-in-animation {
    animation: fadeIn 2s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Hero subtitle */
.hero__subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero buttons */
.hero__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.btn--primary {
    background: var(--primary);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(108, 61, 184, 0.3);
}

.btn--secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* Hover lift animation */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
}

/* Hero features */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.feature-item i {
    color: var(--primary-light);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
}

.scroll-arrow i {
    color: rgba(255, 255, 255, 0.7);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ========================================
   MOBILE RESPONSIVE ADJUSTMENTS
   ======================================== */

/* Tablet (768px and below) */
@media (max-width: 768px) {
    .hero {
        min-height: 500px;
        height: 80vh;
    }
    
    .hero__title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero__subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        line-height: 1.5;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .hero__buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        margin-bottom: 2rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .feature-item {
        font-size: 0.85rem;
    }
    
    /* Video optimization for tablet */
    .hero-video {
        display: block;
        object-position: center;
    }
    
    /* Adjust floating shapes for smaller screens */
    .shape-1 {
        width: 60px;
        height: 60px;
        top: 15%;
        left: 5%;
    }
    
    .shape-2 {
        width: 100px;
        height: 100px;
        top: 55%;
        right: 5%;
    }
    
    .shape-3 {
        width: 50px;
        height: 50px;
        bottom: 15%;
        left: 15%;
    }
    
    .typing-animation {
        white-space: normal;
        border-right: none;
        animation: none;
    }
    
    .scroll-indicator {
        bottom: 1.5rem;
    }
    
    .scroll-arrow {
        width: 35px;
        height: 35px;
    }
}

/* Mobile (576px and below) */
@media (max-width: 576px) {
    .hero {
        min-height: 450px;
        height: 70vh;
        margin-top: 70px;
    }
    
    .hero__title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .hero__subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.7rem;
        margin-bottom: 1.2rem;
    }
    
    .hero__buttons {
        gap: 0.6rem;
        margin-bottom: 1.5rem;
    }
    
    .btn {
        max-width: 250px;
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .hero-features {
        gap: 0.6rem;
    }
    
    .feature-item {
        font-size: 0.8rem;
    }
    
    /* Further optimize video for mobile */
    .hero-video {
        min-width: 120%;
        min-height: 120%;
    }
    
    /* Reduce floating shapes size */
    .shape-1 {
        width: 40px;
        height: 40px;
    }
    
    .shape-2 {
        width: 70px;
        height: 70px;
    }
    
    .shape-3 {
        width: 35px;
        height: 35px;
    }
    
    .scroll-indicator {
        bottom: 1rem;
    }
    
    .scroll-arrow {
        width: 30px;
        height: 30px;
    }
}

/* Small Mobile (375px and below) */
@media (max-width: 375px) {
    .hero {
        min-height: 400px;
        height: 65vh;
    }
    
    .hero__title {
        font-size: 1.75rem;
    }
    
    .hero__subtitle {
        font-size: 0.9rem;
    }
    
    .hero-badge {
        font-size: 0.7rem;
    }
    
    .btn {
        max-width: 220px;
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
    
    .feature-item {
        font-size: 0.75rem;
    }
    
    .hero__content {
        padding: 0 15px;
    }
}

/* Landscape Mobile Optimization */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: 100vh;
        min-height: 400px;
    }
    
    .hero__title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero__subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-badge {
        margin-bottom: 1rem;
    }
    
    .hero__buttons {
        margin-bottom: 1rem;
    }
    
    .hero-features {
        display: none; /* Hide features in landscape to save space */
    }
    
    .scroll-indicator {
        bottom: 1rem;
    }
}

/* High DPI Screen Optimization */
@media (min-resolution: 192dpi) and (max-width: 768px) {
    .hero-video {
        /* Ensure video quality on high DPI mobile screens */
        min-width: 100%;
        min-height: 100%;
    }
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    .typing-animation,
    .fade-in-animation,
    .shape,
    .scroll-arrow {
        animation: none;
    }
    
    .hover-lift:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
}

/* Data Saver Mode Support */
@media (prefers-reduced-data: reduce) {
    .hero-video {
        display: none;
    }
    
    .hero-background {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    }
}