/*
Theme Name: DealSewa
Theme URI: https://dealsewa.com
Author: DealSewa Team
Author URI: https://dealsewa.com
Description: Premium WordPress theme with clean white and green design. Perfect for digital agencies, affiliate marketing sites, and service businesses. Features responsive design, animated sections, journey slider, deals showcase, and conversion-focused CTAs.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dealsewa
Tags: business, portfolio, blog, one-column, custom-colors, custom-menu, featured-images, full-width-template, responsive-design, theme-options, e-commerce

DealSewa WordPress Theme, Copyright 2024
DealSewa is distributed under the terms of the GNU GPL
*/

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

:root {
    --primary-green: #81d742;
    --dark-green: #6bc12a;
    --light-green: #9de35f;
    --green-50: #f0fbe5;
    --green-100: #e1f7cc;
    --green-500: #81d742;
    --green-600: #6bc12a;
    --green-700: #5aa622;
    --white: #ffffff;
    --black: #000000;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-green: 0 10px 30px rgba(129, 215, 66, 0.25);
    --shadow-green-lg: 0 20px 40px rgba(129, 215, 66, 0.35);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--gray-900);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--gray-100);
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--green-100);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--primary-green);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-green);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-green);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--white);
    border: 2px solid var(--primary-green);
}

.btn-primary:hover {
    background: var(--dark-green);
    border-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
}

.btn-outline {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

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

.btn-white {
    background: var(--white);
    color: var(--primary-green);
    border: 2px solid var(--white);
}

.btn-white:hover {
    background: var(--green-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-900);
}

/* Hero Section */
.hero {
    margin-top: 88px;
    padding: 100px 0 120px;
    background: linear-gradient(135deg, #f0fbe5 0%, #e1f7cc 50%, #d1f3b3 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(129, 215, 66, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(129, 215, 66, 0.18) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    background: var(--white);
    color: var(--primary-green);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    border: 2px solid var(--green-100);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    color: var(--gray-900);
    line-height: 1.1;
}

.hero h1 .highlight {
    color: var(--primary-green);
    position: relative;
}

.hero p {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--gray-700);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--green-100);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-green);
    border-color: var(--primary-green);
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.stat-label {
    font-size: 0.9375rem;
    color: var(--gray-600);
    font-weight: 600;
}

/* Floating Elements */
.hero-float {
    position: absolute;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.float-1 { 
    top: 10%; 
    right: 10%; 
    width: 100px; 
    height: 100px; 
    background: var(--primary-green);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.float-2 { 
    bottom: 15%; 
    left: 8%; 
    width: 80px; 
    height: 80px; 
    background: var(--light-green);
    border-radius: 50%;
    animation-delay: 2s;
}

.float-3 { 
    top: 50%; 
    left: 15%; 
    width: 60px; 
    height: 60px; 
    background: var(--dark-green);
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

/* Section Styling */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--green-50);
    color: var(--primary-green);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    border: 2px solid var(--green-100);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    margin-bottom: 1.25rem;
    color: var(--gray-900);
}

.section-title .green {
    color: var(--primary-green);
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.8;
}

/* Services Grid */
#services {
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

#services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(129, 215, 66, 0.03) 0%, rgba(129, 215, 66, 0.08) 100%);
    pointer-events: none;
}

.services-bg-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    opacity: 0.08;
    pointer-events: none;
}

.services-bg-icon {
    position: absolute;
    font-size: 120px;
    color: var(--primary-green);
    animation: floatIcon 20s ease-in-out infinite;
}

.services-bg-icon:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.services-bg-icon:nth-child(2) {
    top: 60%;
    left: 15%;
    font-size: 90px;
    animation-delay: 3s;
}

.services-bg-icon:nth-child(3) {
    top: 20%;
    right: 10%;
    font-size: 100px;
    animation-delay: 1.5s;
}

.services-bg-icon:nth-child(4) {
    bottom: 15%;
    right: 8%;
    font-size: 110px;
    animation-delay: 4.5s;
}

.services-bg-icon:nth-child(5) {
    top: 45%;
    left: 50%;
    font-size: 95px;
    animation-delay: 2s;
}

.services-bg-icon:nth-child(6) {
    bottom: 35%;
    left: 8%;
    font-size: 85px;
    animation-delay: 5s;
}

.services-bg-icon:nth-child(7) {
    top: 75%;
    right: 25%;
    font-size: 105px;
    animation-delay: 6s;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-30px) rotate(5deg) scale(1.05);
    }
    50% {
        transform: translateY(-50px) rotate(-5deg) scale(0.95);
    }
    75% {
        transform: translateY(-30px) rotate(3deg) scale(1.02);
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 2px solid var(--gray-200);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-green);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-green-lg);
    border-color: var(--primary-green);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--green-50);
    border: 2px solid var(--green-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 12px;
    background: var(--primary-green);
    opacity: 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.15;
        transform: scale(1.1);
    }
}

.service-card:hover .service-icon {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
    transform: scale(1.1) rotate(5deg);
}

.service-card:hover .service-icon::before {
    animation: none;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-green);
    font-weight: 700;
    font-size: 0.9375rem;
    transition: gap 0.3s ease;
}

.service-card:hover .service-link {
    gap: 1rem;
}

/* Journey Section */
#journey {
    background: var(--white);
}

.journey-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
    padding: 2rem;
    background: var(--green-50);
    border-radius: 12px;
    border: 2px solid var(--green-100);
}

.journey-intro h3 {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.journey-slider-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 3rem 0;
}

.journey-slider-wrapper {
    overflow: hidden;
    border-radius: 12px;
}

.journey-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.journey-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.journey-slide.active {
    opacity: 1;
}

.journey-content {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 12px;
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.journey-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-green-lg);
    border-color: var(--primary-green);
}

.journey-logo {
    width: 90px;
    height: 90px;
    background: var(--primary-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    border: 3px solid var(--green-100);
}

.journey-brand {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.journey-website {
    color: var(--primary-green);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    display: block;
}

.journey-note {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.journey-milestone {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    border: 2px solid var(--dark-green);
}

/* Journey Navigation */
.journey-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid var(--green-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.25rem;
    color: var(--primary-green);
    z-index: 10;
}

.journey-nav:hover {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-green);
}

.journey-prev {
    left: -25px;
}

.journey-next {
    right: -25px;
}

.journey-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.journey-dot-indicator {
    width: 14px;
    height: 14px;
    background: var(--gray-300);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.journey-dot-indicator:hover {
    background: var(--light-green);
    transform: scale(1.2);
}

.journey-dot-indicator.active {
    background: var(--primary-green);
    border-color: var(--green-100);
    transform: scale(1.3);
    box-shadow: 0 0 0 4px var(--green-50);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 88px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 88px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
        border-right: 2px solid var(--green-100);
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    section {
        padding: 60px 0;
    }

    .hero {
        padding: 60px 0 80px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .journey-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .journey-prev {
        left: 0;
    }

    .journey-next {
        right: 0;
    }

    .journey-content {
        padding: 2rem 1.5rem;
    }

    .services-bg-icon {
        font-size: 60px !important;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

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

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