/*========================================
    ENHANCED MODERN UI/UX DESIGN
    Primary Color: #002b1b (Dark Green)
    Inspired by Modern Web Design Trends
=========================================*/

:root {
    /* Color Palette */
    --primary-color: #002b1b;
    --primary-light: #004d30;
    --primary-dark: #001a10;
    --secondary-color: #00d9a3;
    --accent-color: #00ffc8;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-white: #ffffff;
    --bg-light: #f8fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 2px 8px rgba(0, 43, 27, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 43, 27, 0.12);
    --shadow-lg: 0 10px 40px rgba(0, 43, 27, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 43, 27, 0.2);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ====================================
   1. GLOBAL ENHANCEMENTS
======================================= */

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

body {
    font-family: 'Inter', 'Segoe UI', 'Roboto', -apple-system, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    background: var(--bg-white);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--secondary-color);
    color: var(--text-white);
}

/* ====================================
   2. MODERN HERO SECTION
======================================= */

.header-area {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
    padding: 120px 0 80px;
}

/* Animated Background Shapes */
.header-area::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 217, 163, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.header-area::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 200, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

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

.header-inner {
    position: relative;
    z-index: 2;
    padding: 40px 0;
}

.header-inner .subtitle {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: inline-block;
    padding: 8px 24px;
    background: rgba(0, 217, 163, 0.1);
    border-radius: var(--radius-full);
    animation: slideInUp 0.6s ease-out;
}

.header-inner .title {
    font-size: 72px;
    line-height: 1.1;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 24px;
    letter-spacing: -2px;
    animation: slideInUp 0.8s ease-out;
}

.header-inner .title span {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-inner .description {
    font-size: 20px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    animation: slideInUp 1s ease-out;
}

/* ====================================
   3. ULTRA MODERN BUTTONS
======================================= */

.boxed-btn,
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--primary-dark);
    box-shadow: 0 8px 25px rgba(0, 217, 163, 0.3);
    text-transform: none;
    letter-spacing: 0.5px;
}

.boxed-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    transition: left var(--transition-slow);
    z-index: -1;
}

.boxed-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 217, 163, 0.4);
    color: var(--primary-dark);
}

.boxed-btn:hover::before {
    left: 0;
}

.boxed-btn:active {
    transform: translateY(-1px);
}

/* Secondary Button */
.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--text-white);
}

/* ====================================
   4. MODERN CARD SYSTEM
======================================= */

.modern-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

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

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

/* Feature Cards */
.single-what-we-cover-item,
.single-header-bottom-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.single-what-we-cover-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 0;
}

.single-what-we-cover-item:hover::after {
    opacity: 1;
}

.single-what-we-cover-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.single-what-we-cover-item:hover .icon,
.single-what-we-cover-item:hover .content {
    position: relative;
    z-index: 1;
    color: var(--text-white);
}

.single-what-we-cover-item .icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 217, 163, 0.1), rgba(0, 255, 200, 0.1));
    border-radius: var(--radius-lg);
    font-size: 40px;
    color: var(--primary-color);
    transition: all var(--transition-base);
    position: relative;
    z-index: 1;
}

.single-what-we-cover-item:hover .icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1) rotate(5deg);
    color: var(--text-white);
}

/* ====================================
   5. SECTION ENHANCEMENTS
======================================= */

.section-title {
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out;
}

.section-title h2,
.section-title h3 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.section-title h2 span,
.section-title h3 span {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Background Colors */
.bg-blue,
.bg-liteblue {
    background: var(--bg-light) !important;
}

.bg-image {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

/* ====================================
   6. QUALITY/FEATURE SECTION
======================================= */

.quality-area {
    overflow: hidden;
}

.quality-img {
    min-height: 700px;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
    border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
}

.quality-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 43, 27, 0.3), transparent);
}

.quality-content {
    padding: 80px 60px;
    display: flex;
    align-items: center;
    min-height: 700px;
}

.quality-content-wrapper {
    max-width: 600px;
}

.quality-content-wrapper h4 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.3;
}

.quality-content-wrapper p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* ====================================
   7. COUNTER SECTION
======================================= */

.counterup-area {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    position: relative;
    overflow: hidden;
}

.counterup-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.singler-counterup-item-01 {
    text-align: center;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
    transition: all var(--transition-base);
}

.singler-counterup-item-01:hover {
    transform: translateY(-10px);
}

.singler-counterup-item-01 .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: 36px;
    color: var(--secondary-color);
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.singler-counterup-item-01:hover .icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1) rotate(5deg);
}

.singler-counterup-item-01 .count-wrap {
    font-size: 56px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.singler-counterup-item-01 .title {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ====================================
   8. BLOG/NEWS CARDS
======================================= */

.single-blog-grid-01 {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 450px;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    transition: all var(--transition-base);
}

.single-blog-grid-01::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    transition: all var(--transition-base);
}

.single-blog-grid-01:hover::before {
    background: linear-gradient(to top, var(--primary-color) 0%, transparent 100%);
}

.single-blog-grid-01:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.single-blog-grid-01 .content {
    position: relative;
    z-index: 2;
}

.single-blog-grid-01 .post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.single-blog-grid-01 .post-meta li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.single-blog-grid-01 .title a {
    color: var(--text-white);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    transition: color var(--transition-fast);
}

.single-blog-grid-01:hover .title a {
    color: var(--secondary-color);
}

/* ====================================
   9. PRICING CARDS
======================================= */

.single-price-plan-01 {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.single-price-plan-01::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, transparent, rgba(0, 217, 163, 0.05), transparent);
    transform: rotate(45deg);
    transition: all var(--transition-slow);
}

.single-price-plan-01:hover::before {
    top: 0;
    left: 0;
}

.single-price-plan-01:hover,
.single-price-plan-01.active {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
    transform: translateY(-10px) scale(1.03);
}

.single-price-plan-01 .price-header {
    margin-bottom: 30px;
}

.single-price-plan-01 .name {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.single-price-plan-01 .price {
    font-size: 56px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.single-price-plan-01 .price-body ul {
    list-style: none;
    margin-bottom: 30px;
}

.single-price-plan-01 .price-body ul li {
    padding: 12px 0;
    color: var(--text-light);
    font-size: 16px;
    border-bottom: 1px solid var(--border-color);
}

.single-price-plan-01 .price-body ul li:last-child {
    border-bottom: none;
}

/* ====================================
   10. TESTIMONIALS
======================================= */

.single-testimonial-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.single-testimonial-item:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.single-testimonial-item .thumb {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 30px;
    border: 4px solid var(--secondary-color);
    box-shadow: 0 8px 20px rgba(0, 217, 163, 0.3);
}

.single-testimonial-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-testimonial-item .description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
    font-style: italic;
}

.single-testimonial-item .icon {
    font-size: 60px;
    color: var(--secondary-color);
    opacity: 0.2;
    margin-bottom: 20px;
}

/* ====================================
   11. BRAND LOGOS
======================================= */

.single-brand {
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    background: var(--bg-white);
    border-radius: var(--radius-md);
}

.single-brand:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.single-brand img {
    filter: grayscale(100%) opacity(0.5);
    transition: all var(--transition-base);
    max-width: 140px;
}

.single-brand:hover img {
    filter: grayscale(0%) opacity(1);
}

/* ====================================
   12. ANIMATIONS
======================================= */

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in { animation: fadeIn 0.8s ease-out; }
.fade-in-up { animation: fadeInUp 0.8s ease-out; }
.scale-in { animation: scaleIn 0.6s ease-out; }

/* Stagger animations */
.fade-in-up:nth-child(1) { animation-delay: 0.1s; }
.fade-in-up:nth-child(2) { animation-delay: 0.2s; }
.fade-in-up:nth-child(3) { animation-delay: 0.3s; }
.fade-in-up:nth-child(4) { animation-delay: 0.4s; }

/* ====================================
   13. RESPONSIVE DESIGN
======================================= */

@media (max-width: 1200px) {
    .header-inner .title {
        font-size: 56px;
    }
    
    .quality-img {
        min-height: 500px;
    }
}

@media (max-width: 992px) {
    .header-inner .title {
        font-size: 48px;
    }
    
    .section-title h2,
    .section-title h3 {
        font-size: 38px;
    }
    
    .quality-content {
        padding: 60px 40px;
    }
}

@media (max-width: 768px) {
    .header-area {
        min-height: 90vh;
        padding: 100px 0 60px;
    }
    
    .header-inner .title {
        font-size: 36px;
        letter-spacing: -1px;
    }
    
    .header-inner .subtitle {
        font-size: 12px;
        letter-spacing: 2px;
    }
    
    .header-inner .description {
        font-size: 16px;
    }
    
    .boxed-btn {
        padding: 14px 30px;
        font-size: 14px;
    }
    
    .section-title h2,
    .section-title h3 {
        font-size: 32px;
    }
    
    .section-title p {
        font-size: 16px;
    }
    
    .modern-card,
    .single-what-we-cover-item {
        padding: 30px 20px;
        margin-bottom: 20px;
    }
    
    .quality-img {
        min-height: 350px;
        border-radius: var(--radius-lg);
        margin-bottom: 30px;
    }
    
    .quality-content {
        padding: 40px 20px;
        min-height: auto;
    }
    
    .quality-content-wrapper h4 {
        font-size: 32px;
    }
    
    .single-blog-grid-01 {
        min-height: 350px;
        padding: 30px;
    }
    
    .single-testimonial-item {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .header-inner .title {
        font-size: 28px;
    }
    
    .section-title h2,
    .section-title h3 {
        font-size: 28px;
    }
    
    .boxed-btn {
        padding: 12px 24px;
        font-size: 13px;
        width: 100%;
        justify-content: center;
    }
    
    .single-what-we-cover-item .icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }
    
    .singler-counterup-item-01 .count-wrap {
        font-size: 42px;
    }
}

/* ====================================
   14. LOADING & PERFORMANCE
======================================= */

img[loading="lazy"] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ====================================
   15. ACCESSIBILITY
======================================= */

.boxed-btn:focus,
a:focus,
button:focus {
    outline: 3px dashed var(--secondary-color);
    outline-offset: 4px;
}

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

@media (prefers-contrast: high) {
    :root {
        --primary-color: #001a10;
        --text-light: #333333;
    }
}

/* ====================================
   16. UTILITY CLASSES
======================================= */

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hover-lift {
    transition: transform var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

