/* ============================================
   SERVICE PAGE SPECIFIC STYLES
   ============================================ */

/* Body background - matches homepage */
body {
    background-color: #ffffff;
    transition: background-color 0.3s ease;
}

body.dark-theme {
    background-color: #0a0a0a;
}

/* Hero Section */
.service-hero {
    min-height: 80vh;
    padding: 180px 5% 120px;
    background: transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.3;
    pointer-events: none;
}

.hero-orb-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, #1c3765, transparent);
    top: -20%;
    right: -10%;
}

.hero-orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #489156, transparent);
    bottom: -20%;
    left: -10%;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin: 0 0 3rem 0;
    padding: 0;
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 500;
}

.breadcrumb a {
    color: #4a5568;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.breadcrumb a:hover {
    color: var(--primary-blue);
}

.breadcrumb i {
    color: #cbd5e0;
    font-size: 0.65rem;
}

.breadcrumb .current {
    color: var(--primary-blue);
    font-weight: 600;
}

.hero-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(28, 55, 101, 0.08), rgba(72, 145, 86, 0.08));
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #1a1a1a;
    max-width: 900px;
}

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

.hero-subtitle {
    font-size: 1.375rem;
    font-weight: 400;
    line-height: 1.7;
    color: #666666;
    max-width: 700px;
    margin-bottom: 3rem;
}

/* Dark Theme - Hero Section (background handled by body) */

body.dark-theme .breadcrumb {
    color: #cbd5e0;
}

body.dark-theme .breadcrumb a {
    color: #cbd5e0;
}

body.dark-theme .breadcrumb a:hover {
    color: var(--primary-green);
}

body.dark-theme .breadcrumb i {
    color: #4a5568;
}

body.dark-theme .breadcrumb .current {
    color: var(--primary-green);
    font-weight: 600;
}

body.dark-theme .hero-tag {
    background: rgba(72, 145, 86, 0.15);
    color: var(--primary-green);
}

body.dark-theme .hero-title {
    color: var(--light-text);
}

body.dark-theme .hero-subtitle {
    color: var(--dark-text-light);
}

body.dark-theme .cta-secondary {
    color: var(--light-text);
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-theme .cta-secondary:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.cta-primary, .cta-secondary {
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.0625rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.cta-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    border: none;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(72, 145, 86, 0.25);
}

.cta-secondary {
    background: transparent;
    color: #1a1a1a;
    border: 2px solid rgba(0, 0, 0, 0.15);
}

.cta-secondary:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
    transform: translateY(-3px);
}

/* Philosophy Section */
.philosophy-section {
    padding: 120px 5%;
    background: transparent;
}

.philosophy-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.philosophy-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.philosophy-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #666666;
    margin-bottom: 1.5rem;
}

.philosophy-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* Stat Boxes - Concept Card Design */
.stat-box {
    padding: 2rem 1.75rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Gradient glow at bottom on hover */
.stat-box::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    pointer-events: none;
}

/* Unique gradient glow for each card */
.stat-box:nth-child(1)::before {
    background: radial-gradient(ellipse at bottom, rgba(59, 130, 246, 0.08), transparent 60%);
}

.stat-box:nth-child(2)::before {
    background: radial-gradient(ellipse at bottom, rgba(16, 185, 129, 0.08), transparent 60%);
}

.stat-box:nth-child(3)::before {
    background: radial-gradient(ellipse at bottom, rgba(245, 158, 11, 0.08), transparent 60%);
}

.stat-box:nth-child(4)::before {
    background: radial-gradient(ellipse at bottom, rgba(236, 72, 153, 0.08), transparent 60%);
}

.stat-box:hover::before {
    opacity: 1;
}

.stat-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

/* Unique gradient border on hover for each card */
.stat-box:nth-child(1):hover {
    border: 1px solid transparent;
    background: linear-gradient(#ffffff, #ffffff) padding-box,
                linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899) border-box;
}

.stat-box:nth-child(2):hover {
    border: 1px solid transparent;
    background: linear-gradient(#ffffff, #ffffff) padding-box,
                linear-gradient(135deg, #10b981, #3b82f6, #8b5cf6) border-box;
}

.stat-box:nth-child(3):hover {
    border: 1px solid transparent;
    background: linear-gradient(#ffffff, #ffffff) padding-box,
                linear-gradient(135deg, #f59e0b, #ec4899, #8b5cf6) border-box;
}

.stat-box:nth-child(4):hover {
    border: 1px solid transparent;
    background: linear-gradient(#ffffff, #ffffff) padding-box,
                linear-gradient(135deg, #ec4899, #8b5cf6, #3b82f6) border-box;
}

/* Icon Badge */
.stat-box-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.stat-box-icon-badge i {
    font-size: 1rem;
    color: #6b7280;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Unique gradient icon badge on hover */
.stat-box:nth-child(1):hover .stat-box-icon-badge {
    border: 1px solid transparent;
    background: linear-gradient(#ffffff, #ffffff) padding-box,
                linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(139, 92, 246, 0.6), rgba(236, 72, 153, 0.5)) border-box;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.3);
}

.stat-box:nth-child(1):hover .stat-box-icon-badge i {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-box:nth-child(2):hover .stat-box-icon-badge {
    border: 1px solid transparent;
    background: linear-gradient(#ffffff, #ffffff) padding-box,
                linear-gradient(135deg, rgba(16, 185, 129, 0.8), rgba(59, 130, 246, 0.6), rgba(139, 92, 246, 0.5)) border-box;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.3);
}

.stat-box:nth-child(2):hover .stat-box-icon-badge i {
    background: linear-gradient(135deg, #34d399, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-box:nth-child(3):hover .stat-box-icon-badge {
    border: 1px solid transparent;
    background: linear-gradient(#ffffff, #ffffff) padding-box,
                linear-gradient(135deg, rgba(245, 158, 11, 0.8), rgba(236, 72, 153, 0.6), rgba(139, 92, 246, 0.5)) border-box;
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.3);
}

.stat-box:nth-child(3):hover .stat-box-icon-badge i {
    background: linear-gradient(135deg, #fbbf24, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-box:nth-child(4):hover .stat-box-icon-badge {
    border: 1px solid transparent;
    background: linear-gradient(#ffffff, #ffffff) padding-box,
                linear-gradient(135deg, rgba(236, 72, 153, 0.8), rgba(139, 92, 246, 0.6), rgba(59, 130, 246, 0.5)) border-box;
    box-shadow: 0 0 25px rgba(236, 72, 153, 0.3);
}

.stat-box:nth-child(4):hover .stat-box-icon-badge i {
    background: linear-gradient(135deg, #f472b6, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Background Number */
.stat-box-number-bg {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    font-size: 6rem;
    font-weight: 900;
    color: #f3f4f6;
    opacity: 0.5;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    line-height: 1;
    user-select: none;
    pointer-events: none;
}

/* Unique color for each number on hover */
.stat-box:nth-child(1):hover .stat-box-number-bg {
    color: rgba(59, 130, 246, 0.15);
    opacity: 1;
    transform: translateY(-50%) scale(1.02);
}

.stat-box:nth-child(2):hover .stat-box-number-bg {
    color: rgba(16, 185, 129, 0.15);
    opacity: 1;
    transform: translateY(-50%) scale(1.02);
}

.stat-box:nth-child(3):hover .stat-box-number-bg {
    color: rgba(245, 158, 11, 0.15);
    opacity: 1;
    transform: translateY(-50%) scale(1.02);
}

.stat-box:nth-child(4):hover .stat-box-number-bg {
    color: rgba(236, 72, 153, 0.15);
    opacity: 1;
    transform: translateY(-50%) scale(1.02);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.4rem;
    position: relative;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gradient on hover for each stat number */
.stat-box:nth-child(1):hover .stat-number {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(139, 92, 246, 0.8), rgba(236, 72, 153, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-box:nth-child(2):hover .stat-number {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.9), rgba(59, 130, 246, 0.8), rgba(139, 92, 246, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-box:nth-child(3):hover .stat-number {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.9), rgba(236, 72, 153, 0.8), rgba(139, 92, 246, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-box:nth-child(4):hover .stat-number {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.9), rgba(139, 92, 246, 0.8), rgba(59, 130, 246, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

/* Dark Theme Support */
body.dark-theme .stat-box {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-theme .stat-box:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

body.dark-theme .stat-box-icon-badge {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .stat-box-icon-badge i {
    color: rgba(255, 255, 255, 0.7);
}

body.dark-theme .stat-box-number-bg {
    color: rgba(255, 255, 255, 0.03);
}

body.dark-theme .stat-box:nth-child(1):hover .stat-box-number-bg {
    color: rgba(59, 130, 246, 0.2);
}

body.dark-theme .stat-box:nth-child(2):hover .stat-box-number-bg {
    color: rgba(16, 185, 129, 0.2);
}

body.dark-theme .stat-box:nth-child(3):hover .stat-box-number-bg {
    color: rgba(245, 158, 11, 0.2);
}

body.dark-theme .stat-box:nth-child(4):hover .stat-box-number-bg {
    color: rgba(236, 72, 153, 0.2);
}

body.dark-theme .stat-box:nth-child(1):hover {
    border: 1px solid transparent;
    background: linear-gradient(#1a1a1a, #1a1a1a) padding-box,
                linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6) border-box;
}

body.dark-theme .stat-box:nth-child(2):hover {
    border: 1px solid transparent;
    background: linear-gradient(#1a1a1a, #1a1a1a) padding-box,
                linear-gradient(135deg, #34d399, #60a5fa, #a78bfa) border-box;
}

body.dark-theme .stat-box:nth-child(3):hover {
    border: 1px solid transparent;
    background: linear-gradient(#1a1a1a, #1a1a1a) padding-box,
                linear-gradient(135deg, #fbbf24, #f472b6, #a78bfa) border-box;
}

body.dark-theme .stat-box:nth-child(4):hover {
    border: 1px solid transparent;
    background: linear-gradient(#1a1a1a, #1a1a1a) padding-box,
                linear-gradient(135deg, #f472b6, #a78bfa, #60a5fa) border-box;
}

body.dark-theme .stat-box:nth-child(1):hover .stat-box-icon-badge {
    border: 1px solid transparent;
    background: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05)) padding-box,
                linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(139, 92, 246, 0.6), rgba(236, 72, 153, 0.5)) border-box;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.3);
}

body.dark-theme .stat-box:nth-child(1):hover .stat-box-icon-badge i {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark-theme .stat-box:nth-child(2):hover .stat-box-icon-badge {
    border: 1px solid transparent;
    background: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05)) padding-box,
                linear-gradient(135deg, rgba(16, 185, 129, 0.8), rgba(59, 130, 246, 0.6), rgba(139, 92, 246, 0.5)) border-box;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.3);
}

body.dark-theme .stat-box:nth-child(2):hover .stat-box-icon-badge i {
    background: linear-gradient(135deg, #34d399, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark-theme .stat-box:nth-child(3):hover .stat-box-icon-badge {
    border: 1px solid transparent;
    background: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05)) padding-box,
                linear-gradient(135deg, rgba(245, 158, 11, 0.8), rgba(236, 72, 153, 0.6), rgba(139, 92, 246, 0.5)) border-box;
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.3);
}

body.dark-theme .stat-box:nth-child(3):hover .stat-box-icon-badge i {
    background: linear-gradient(135deg, #fbbf24, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark-theme .stat-box:nth-child(4):hover .stat-box-icon-badge {
    border: 1px solid transparent;
    background: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05)) padding-box,
                linear-gradient(135deg, rgba(236, 72, 153, 0.8), rgba(139, 92, 246, 0.6), rgba(59, 130, 246, 0.5)) border-box;
    box-shadow: 0 0 25px rgba(236, 72, 153, 0.3);
}

body.dark-theme .stat-box:nth-child(4):hover .stat-box-icon-badge i {
    background: linear-gradient(135deg, #f472b6, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark-theme .stat-number {
    color: #ffffff;
}

body.dark-theme .stat-box:nth-child(1):hover .stat-number {
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark-theme .stat-box:nth-child(2):hover .stat-number {
    background: linear-gradient(135deg, #34d399, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark-theme .stat-box:nth-child(3):hover .stat-number {
    background: linear-gradient(135deg, #fbbf24, #f472b6, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark-theme .stat-box:nth-child(4):hover .stat-number {
    background: linear-gradient(135deg, #f472b6, #a78bfa, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark-theme .stat-label {
    color: rgba(255, 255, 255, 0.6);
}

.philosophy-visual {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, #f8f9fa, #e8eef3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.philosophy-visual::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(60px);
}

.philosophy-visual i {
    font-size: 8rem;
    color: var(--primary-green);
    opacity: 0.2;
}

/* Services Grid */
.services-overview {
    padding: 120px 5%;
    background: transparent;
}

.section-header {
    max-width: 1400px;
    margin: 0 auto 4rem;
    text-align: center;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(28, 55, 101, 0.08), rgba(72, 145, 86, 0.08));
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.section-description {
    font-size: 1.125rem;
    color: #666666;
    max-width: 700px;
    line-height: 1.8;
    margin: 0 auto;
}

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

/* Service Card - Approach Grid Style */
.service-card {
    text-align: center;
    padding: 3rem 2.5rem;
    background: #ffffff;
    border: 1px solid rgba(28, 55, 101, 0.15);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(91, 141, 238, 0.05), rgba(72, 145, 86, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(91, 141, 238, 0.2);
}

/* Unique gradient borders on hover for each card */
.service-card:nth-child(1):hover {
    border: 1px solid transparent;
    background: linear-gradient(#ffffff, #ffffff) padding-box,
                linear-gradient(135deg, #667eea, #764ba2, #ec4899) border-box;
}

.service-card:nth-child(2):hover {
    border: 1px solid transparent;
    background: linear-gradient(#ffffff, #ffffff) padding-box,
                linear-gradient(135deg, #f093fb, #f5576c, #fbbf24) border-box;
}

.service-card:nth-child(3):hover {
    border: 1px solid transparent;
    background: linear-gradient(#ffffff, #ffffff) padding-box,
                linear-gradient(135deg, #4facfe, #00f2fe, #8b5cf6) border-box;
}

.service-card:nth-child(4):hover {
    border: 1px solid transparent;
    background: linear-gradient(#ffffff, #ffffff) padding-box,
                linear-gradient(135deg, #10b981, #34d399, #6ee7b7) border-box;
}

.service-card:nth-child(5):hover {
    border: 1px solid transparent;
    background: linear-gradient(#ffffff, #ffffff) padding-box,
                linear-gradient(135deg, #f97316, #fb923c, #fdba74) border-box;
}

.service-card:nth-child(6):hover {
    border: 1px solid transparent;
    background: linear-gradient(#ffffff, #ffffff) padding-box,
                linear-gradient(135deg, #6366f1, #8b5cf6, #a78bfa) border-box;
}

.service-icon {
    width: 90px;
    height: 90px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.2rem;
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.service-card:hover .service-icon {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
}

.service-icon i {
    font-size: 2.2rem;
    color: white;
}

/* Colorful gradients for each service icon */
.service-card:nth-child(1) .service-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.service-card:nth-child(4) .service-icon {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.service-card:nth-child(5) .service-icon {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
}

.service-card:nth-child(6) .service-icon {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-text);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gradient title on hover for each service card */
.service-card:nth-child(1):hover h3 {
    background: linear-gradient(135deg, #667eea, #764ba2, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card:nth-child(2):hover h3 {
    background: linear-gradient(135deg, #f093fb, #f5576c, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card:nth-child(3):hover h3 {
    background: linear-gradient(135deg, #4facfe, #00f2fe, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card:nth-child(4):hover h3 {
    background: linear-gradient(135deg, #10b981, #34d399, #6ee7b7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card:nth-child(5):hover h3 {
    background: linear-gradient(135deg, #f97316, #fb923c, #fdba74);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card:nth-child(6):hover h3 {
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-text);
    margin-bottom: 1.5rem;
}

/* Dark Theme Support */
body.dark-theme .service-card {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-theme .service-card:hover {
    box-shadow: 0 20px 60px rgba(72, 145, 86, 0.2);
}

body.dark-theme .service-card:nth-child(1):hover {
    border: 1px solid transparent;
    background: linear-gradient(#1a1a1a, #1a1a1a) padding-box,
                linear-gradient(135deg, #667eea, #764ba2, #ec4899) border-box;
}

body.dark-theme .service-card:nth-child(2):hover {
    border: 1px solid transparent;
    background: linear-gradient(#1a1a1a, #1a1a1a) padding-box,
                linear-gradient(135deg, #f093fb, #f5576c, #fbbf24) border-box;
}

body.dark-theme .service-card:nth-child(3):hover {
    border: 1px solid transparent;
    background: linear-gradient(#1a1a1a, #1a1a1a) padding-box,
                linear-gradient(135deg, #4facfe, #00f2fe, #8b5cf6) border-box;
}

body.dark-theme .service-card:nth-child(4):hover {
    border: 1px solid transparent;
    background: linear-gradient(#1a1a1a, #1a1a1a) padding-box,
                linear-gradient(135deg, #10b981, #34d399, #6ee7b7) border-box;
}

body.dark-theme .service-card:nth-child(5):hover {
    border: 1px solid transparent;
    background: linear-gradient(#1a1a1a, #1a1a1a) padding-box,
                linear-gradient(135deg, #f97316, #fb923c, #fdba74) border-box;
}

body.dark-theme .service-card:nth-child(6):hover {
    border: 1px solid transparent;
    background: linear-gradient(#1a1a1a, #1a1a1a) padding-box,
                linear-gradient(135deg, #6366f1, #8b5cf6, #a78bfa) border-box;
}

body.dark-theme .service-card:nth-child(1) .service-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}

body.dark-theme .service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 8px 32px rgba(245, 87, 108, 0.3);
}

body.dark-theme .service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 8px 32px rgba(79, 172, 254, 0.3);
}

body.dark-theme .service-card:nth-child(4) .service-icon {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3);
}

body.dark-theme .service-card:nth-child(5) .service-icon {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.3);
}

body.dark-theme .service-card:nth-child(6) .service-icon {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
}

body.dark-theme .service-card h3 {
    color: var(--light-text);
}

body.dark-theme .service-card:nth-child(1):hover h3 {
    background: linear-gradient(135deg, #667eea, #764ba2, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark-theme .service-card:nth-child(2):hover h3 {
    background: linear-gradient(135deg, #f093fb, #f5576c, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark-theme .service-card:nth-child(3):hover h3 {
    background: linear-gradient(135deg, #4facfe, #00f2fe, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark-theme .service-card:nth-child(4):hover h3 {
    background: linear-gradient(135deg, #10b981, #34d399, #6ee7b7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark-theme .service-card:nth-child(5):hover h3 {
    background: linear-gradient(135deg, #f97316, #fb923c, #fdba74);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark-theme .service-card:nth-child(6):hover h3 {
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark-theme .service-card p {
    color: var(--dark-text-light);
}

/* Dark Theme - All Other Sections (backgrounds handled by body) */

body.dark-theme .philosophy-content h2 {
    color: var(--light-text);
}

body.dark-theme .philosophy-content p {
    color: var(--dark-text-light);
}

body.dark-theme .philosophy-visual {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

body.dark-theme .deep-dive-content h2,
body.dark-theme .deep-dive-content h3 {
    color: var(--light-text);
}

body.dark-theme .deep-dive-content p {
    color: var(--dark-text-light);
}

body.dark-theme .deep-dive-content ul li {
    color: var(--light-text);
}

body.dark-theme .deep-dive-visual {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

body.dark-theme .section-header h2,
body.dark-theme .section-intro h2,
body.dark-theme .section-title {
    color: var(--light-text);
}

body.dark-theme .section-header p,
body.dark-theme .section-intro p,
body.dark-theme .section-description {
    color: var(--dark-text-light);
}

body.dark-theme .section-tag {
    background: rgba(72, 145, 86, 0.15);
    color: var(--primary-green);
}

body.dark-theme .service-feature-text {
    color: var(--light-text);
}

/* Service Features List - Exact Homepage Match */
.service-features-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: grid;
    gap: 0.8rem;
}

.service-feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0;
    background: transparent;
    transition: transform 0.2s ease;
}

.service-feature-item:hover {
    transform: translateX(5px);
}

.service-feature-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--primary-green);
    font-size: 0.9rem;
}

.service-feature-text {
    color: #1a1a1a;
    font-weight: 500;
    font-size: 1rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    margin-top: 1rem;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 1rem;
}

/* Deep Dive Sections */
.deep-dive-section {
    padding: 120px 5%;
    background: transparent;
}

.deep-dive-section:nth-child(even) {
    background: transparent;
}

.deep-dive-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.deep-dive-container.reverse {
    direction: rtl;
}

.deep-dive-container.reverse > * {
    direction: ltr;
}

.deep-dive-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.deep-dive-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: #1a1a1a;
}

.deep-dive-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #666666;
    margin-bottom: 1.5rem;
}

.deep-dive-content ul {
    list-style: none;
    margin: 1.5rem 0;
}

.deep-dive-content ul li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    font-size: 1.0625rem;
    color: #1a1a1a;
}

.deep-dive-content ul li i {
    color: var(--primary-green);
    margin-top: 0.35rem;
    font-size: 0.875rem;
}

.deep-dive-visual {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, #e8eef3, #f8f9fa);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.deep-dive-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    border-radius: 50%;
    opacity: 0.08;
    filter: blur(60px);
}

.deep-dive-visual i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10rem;
    color: var(--primary-green);
    opacity: 0.15;
}

/* Process Section */
.process-section {
    padding: 120px 5%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.process-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.process-header {
    text-align: center;
    margin-bottom: 5rem;
}

.process-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.process-header p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.process-step h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.process-step p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

/* FAQ Section */
.faq-section {
    padding: 120px 5%;
    background: transparent;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.faq-header p {
    font-size: 1.125rem;
    color: #666666;
}

.faq-item {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-green);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-green);
}

.faq-question i {
    font-size: 1rem;
    transition: transform 0.3s ease;
    color: var(--primary-green);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 2rem 1.5rem;
    font-size: 1rem;
    line-height: 1.8;
    color: #666666;
}

/* Dark Theme - FAQ Section (background handled by body) */

body.dark-theme .faq-header h2 {
    color: var(--light-text);
}

body.dark-theme .faq-header p {
    color: var(--dark-text-light);
}

body.dark-theme .faq-item {
    background: var(--dark-card);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .faq-item:hover {
    border-color: var(--primary-green);
}

body.dark-theme .faq-question {
    color: var(--light-text);
}

body.dark-theme .faq-question:hover {
    color: var(--primary-green);
}

body.dark-theme .faq-answer-content {
    color: var(--dark-text-light);
}



/* CTA Section */
/* CTA Section - Better spacing and layout */
.cta-section {
    padding: 100px 5%;
    background: transparent;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--dark-text);
    line-height: 1.2;
}

body.dark-theme .cta-content h2 {
    color: var(--light-text);
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--gray-text);
    margin-bottom: 3rem;
    line-height: 1.8;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

body.dark-theme .cta-content p {
    color: var(--dark-text-light);
}

/* Fix CTA button alignment */
.cta-content .hero-cta-group {
    justify-content: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .philosophy-container,
    .deep-dive-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .philosophy-visual,
    .deep-dive-visual {
        height: 400px;
    }

    .process-steps {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 140px 5% 80px;
        min-height: auto;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
        justify-content: center;
    }

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

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

    .process-steps {
        grid-template-columns: 1fr;
    }

    .deep-dive-container.reverse {
        direction: ltr;
    }

    .cta-section {
        padding: 80px 5%;
    }

    .cta-content h2 {
        font-size: 2rem;
        margin-bottom: 1.25rem;
    }

    .cta-content p {
        font-size: 1.125rem;
        margin-bottom: 2.5rem;
    }
}

/* Desktop Dropdown Styles - Premium Glass Morphism */
@media (min-width: 969px) {
        .dropdown {
            position: absolute;
            top: calc(100% + 0.75rem);
            left: 50%;
            transform: translateX(-50%) translateY(-10px);
            background: linear-gradient(135deg,
                        rgba(255, 255, 255, 0.95),
                        rgba(255, 255, 255, 0.92));
            backdrop-filter: blur(60px) saturate(180%);
            -webkit-backdrop-filter: blur(60px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.6);
            border-radius: 24px;
            min-width: 340px;
            padding: 0.8rem;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 20px 60px rgba(72, 145, 86, 0.12),
                        0 8px 24px rgba(0, 0, 0, 0.08),
                        inset 0 1px 1px rgba(255, 255, 255, 0.8);
            z-index: 1000;
        }

        .dropdown::before {
            content: '';
            position: absolute;
            top: -6px;
            left: 50%;
            transform: translateX(-50%) rotate(45deg);
            width: 12px;
            height: 12px;
            background: linear-gradient(135deg,
                        rgba(255, 255, 255, 0.95),
                        rgba(255, 255, 255, 0.92));
            backdrop-filter: blur(60px);
            border-left: 1px solid rgba(255, 255, 255, 0.6);
            border-top: 1px solid rgba(255, 255, 255, 0.6);
            z-index: -1;
        }

        .nav-item:hover .dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
        }

        .dropdown a {
            display: flex;
            align-items: center;
            gap: 0.875rem;
            padding: 0.875rem 1rem;
            border-radius: 16px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            text-decoration: none;
            color: #1a1a1a;
            margin-bottom: 0.375rem;
            background: rgba(255, 255, 255, 0.6);
            border: 1px solid rgba(255, 255, 255, 0.4);
            backdrop-filter: blur(10px);
            position: relative;
            overflow: hidden;
        }

        .dropdown a:last-child {
            margin-bottom: 0;
        }

        .dropdown a:hover {
            background: rgba(255, 255, 255, 0.8);
            border-color: rgba(72, 145, 86, 0.2);
            transform: translateX(4px);
            box-shadow: 0 4px 16px rgba(72, 145, 86, 0.08);
        }

        .dropdown a i {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            font-size: 1.1rem;
            flex-shrink: 0;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .dropdown-content {
            display: flex;
            flex-direction: column;
        }

        .dropdown-label {
            font-size: 0.9375rem;
            font-weight: 600;
            color: #1a1a1a;
        }

        .dropdown-desc {
            font-size: 0.8125rem;
            color: #666666;
            margin-top: 0.125rem;
        }

        /* Common dropdown item positioning for ::before */
        .dropdown a {
            position: relative;
        }

        /* Dropdown Item 1 - Design & Build (Blue-Purple-Pink) */
        .dropdown-item-1::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 3px;
            background: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
            border-radius: 10px 0 0 10px;
            transform: scaleY(0);
            transition: transform 0.3s ease;
        }

        .dropdown-item-1 i {
            color: #60a5fa;
            background: linear-gradient(135deg, rgba(96, 165, 250, 0.12), rgba(167, 139, 250, 0.08), rgba(244, 114, 182, 0.05));
            transition: all 0.3s ease;
        }

        .dropdown-item-1:hover {
            background: linear-gradient(135deg, rgba(96, 165, 250, 0.08), rgba(167, 139, 250, 0.08), rgba(244, 114, 182, 0.08));
            padding-left: 1.25rem;
        }

        .dropdown-item-1:hover::before {
            transform: scaleY(1);
        }

        .dropdown-item-1:hover i {
            background: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
            color: white;
            transform: scale(1.15) rotate(8deg);
            box-shadow: 0 4px 12px rgba(96, 165, 250, 0.4);
        }

        .dropdown-item-1:hover .dropdown-label {
            background: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Dropdown Item 2 - Modernize & Migrate (Green-Blue-Purple) */
        .dropdown-item-2::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 3px;
            background: linear-gradient(135deg, #34d399, #60a5fa, #a78bfa);
            border-radius: 10px 0 0 10px;
            transform: scaleY(0);
            transition: transform 0.3s ease;
        }

        .dropdown-item-2 i {
            color: #34d399;
            background: linear-gradient(135deg, rgba(52, 211, 153, 0.12), rgba(96, 165, 250, 0.08), rgba(167, 139, 250, 0.05));
            transition: all 0.3s ease;
        }

        .dropdown-item-2:hover {
            background: linear-gradient(135deg, rgba(52, 211, 153, 0.08), rgba(96, 165, 250, 0.08), rgba(167, 139, 250, 0.08));
            padding-left: 1.25rem;
        }

        .dropdown-item-2:hover::before {
            transform: scaleY(1);
        }

        .dropdown-item-2:hover i {
            background: linear-gradient(135deg, #34d399, #60a5fa, #a78bfa);
            color: white;
            transform: scale(1.15) rotate(8deg);
            box-shadow: 0 4px 12px rgba(52, 211, 153, 0.4);
        }

        .dropdown-item-2:hover .dropdown-label {
            background: linear-gradient(135deg, #34d399, #60a5fa, #a78bfa);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Dropdown Item 3 - Manage & Support (Orange-Pink-Purple) */
        .dropdown-item-3::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 3px;
            background: linear-gradient(135deg, #fbbf24, #f472b6, #a78bfa);
            border-radius: 10px 0 0 10px;
            transform: scaleY(0);
            transition: transform 0.3s ease;
        }

        .dropdown-item-3 i {
            color: #fbbf24;
            background: linear-gradient(135deg, rgba(251, 191, 36, 0.12), rgba(244, 114, 182, 0.08), rgba(167, 139, 250, 0.05));
            transition: all 0.3s ease;
        }

        .dropdown-item-3:hover {
            background: linear-gradient(135deg, rgba(251, 191, 36, 0.08), rgba(244, 114, 182, 0.08), rgba(167, 139, 250, 0.08));
            padding-left: 1.25rem;
        }

        .dropdown-item-3:hover::before {
            transform: scaleY(1);
        }

        .dropdown-item-3:hover i {
            background: linear-gradient(135deg, #fbbf24, #f472b6, #a78bfa);
            color: white;
            transform: scale(1.15) rotate(8deg);
            box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
        }

        .dropdown-item-3:hover .dropdown-label {
            background: linear-gradient(135deg, #fbbf24, #f472b6, #a78bfa);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Dropdown Item 4 - Growth & Scale (Teal-Cyan-Blue) */
        .dropdown-item-4::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 3px;
            background: linear-gradient(135deg, #0d9488, #14b8a6, #06b6d4);
            border-radius: 10px 0 0 10px;
            transform: scaleY(0);
            transition: transform 0.3s ease;
        }

        .dropdown-item-4 i {
            color: #14b8a6;
            background: linear-gradient(135deg, rgba(13, 148, 136, 0.12), rgba(20, 184, 166, 0.08), rgba(6, 182, 212, 0.05));
            transition: all 0.3s ease;
        }

        .dropdown-item-4:hover {
            background: linear-gradient(135deg, rgba(13, 148, 136, 0.08), rgba(20, 184, 166, 0.08), rgba(6, 182, 212, 0.08));
            padding-left: 1.25rem;
        }

        .dropdown-item-4:hover::before {
            transform: scaleY(1);
        }

        .dropdown-item-4:hover i {
            background: linear-gradient(135deg, #14b8a6, #22d3ee, #38bdf8);
            color: white;
            transform: scale(1.15) rotate(8deg);
            box-shadow: 0 4px 12px rgba(20, 184, 166, 0.4);
        }

        .dropdown-item-4:hover .dropdown-label {
            background: linear-gradient(135deg, #14b8a6, #22d3ee, #38bdf8);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Dark theme support for dropdowns */
        body.dark-theme .dropdown {
            background: rgba(26, 26, 26, 0.98);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        body.dark-theme .dropdown::before {
            background: rgba(26, 26, 26, 0.98);
            border-left: 1px solid rgba(255, 255, 255, 0.1);
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        body.dark-theme .dropdown a {
            color: #e2e8f0;
        }

        body.dark-theme .dropdown-label {
            color: #e2e8f0;
        }

        body.dark-theme .dropdown-desc {
            color: #94a3b8;
        }
    }

/* ============================================
   PREMIUM GLASS MORPHISM NAV - OVERRIDE
   ============================================ */
nav {
    background: linear-gradient(135deg,
                rgba(72, 145, 86, 0.15) 0%,
                rgba(28, 55, 101, 0.15) 100%),
                rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(40px) !important;
    border: 1px solid rgba(72, 145, 86, 0.2) !important;
    box-shadow: 0 8px 32px rgba(72, 145, 86, 0.15),
                inset 0 1px 1px rgba(255, 255, 255, 0.6) !important;
}

nav.scrolled {
    background: linear-gradient(135deg,
                rgba(72, 145, 86, 0.25) 0%,
                rgba(28, 55, 101, 0.25) 100%),
                rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(50px) !important;
    box-shadow: 0 12px 48px rgba(72, 145, 86, 0.2),
                inset 0 1px 1px rgba(255, 255, 255, 0.8) !important;
}

body.dark-theme nav {
    background: linear-gradient(135deg,
                rgba(72, 145, 86, 0.2) 0%,
                rgba(28, 55, 101, 0.2) 100%),
                rgba(10, 10, 10, 0.3) !important;
    border: 1px solid rgba(72, 145, 86, 0.15) !important;
    box-shadow: 0 4px 16px rgba(72, 145, 86, 0.2),
                inset 0 1px 1px rgba(72, 145, 86, 0.1) !important;
}

body.dark-theme nav.scrolled {
    background: linear-gradient(135deg,
                rgba(72, 145, 86, 0.3) 0%,
                rgba(28, 55, 101, 0.3) 100%),
                rgba(10, 10, 10, 0.5) !important;
    backdrop-filter: blur(30px) !important;
    border: 1px solid rgba(72, 145, 86, 0.2) !important;
    box-shadow: 0 12px 40px rgba(72, 145, 86, 0.25),
                inset 0 1px 1px rgba(72, 145, 86, 0.15) !important;
}


/* ============================================
   DESKTOP - HIDE MOBILE ONLY ELEMENTS
   ============================================ */
@media (min-width: 969px) {
    .mobile-menu-header-item {
        display: none !important;
    }

    .mobile-get-started-item {
        display: none !important;
    }
}

/* ============================================
   MOBILE MENU - MATCHES HOME PAGE
   ============================================ */
@media (max-width: 968px) {
    /* Fix nav transform to allow proper menu positioning */
    #nav {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }

    /* Hide desktop contact button on mobile */
    .contact-btn {
        display: none;
    }

    /* Mobile Menu Toggle Button */
    .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        color: #1a1a1a;
        font-size: 1.5rem;
        cursor: pointer;
        transition: all 0.3s ease;
        flex-shrink: 0;
        position: relative;
        z-index: 10000;
    }

    .menu-toggle i {
        font-size: 1.4rem;
        color: #1a1a1a;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* When menu is open, make X button visible */
    .nav-menu.active ~ .menu-toggle i {
        color: #1a1a1a !important;
    }

    body.dark-theme .nav-menu.active ~ .menu-toggle i,
    body.dark-mode .nav-menu.active ~ .menu-toggle i {
        color: #e2e8f0 !important;
    }

    body.dark-theme .menu-toggle i,
    body.dark-mode .menu-toggle i {
        color: #e2e8f0;
    }

    /* Mobile Menu Backdrop - hidden for full screen menu */
    .menu-backdrop {
        display: none !important;
    }

    /* Mobile menu - full screen overlay */
    .nav-menu {
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important;
        inset: 0 !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        margin: 0 !important;
        background: white !important;
        z-index: 1001 !important;
        padding: 5.5rem 1.5rem 2rem !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: opacity 0.3s ease, visibility 0.3s ease !important;
        -webkit-overflow-scrolling: touch;
        isolation: isolate;
    }

    .nav-menu.active {
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Mobile menu logo header */
    .mobile-menu-header-item {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 0 1.5rem 0 !important;
        margin-bottom: 1.5rem !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
        list-style: none !important;
    }

    .mobile-menu-logo {
        height: 32px !important;
        width: auto !important;
        opacity: 0.9 !important;
    }

    /* Get Started button - Professional design */
    .mobile-get-started-item {
        display: block !important;
        margin-bottom: 2rem !important;
        padding-bottom: 2rem !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
        list-style: none !important;
    }

    .mobile-get-started-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding: 1.1rem 1.75rem !important;
        background: linear-gradient(135deg, #489156 0%, #5da86a 100%) !important;
        color: white !important;
        font-size: 1.05rem !important;
        font-weight: 600 !important;
        border-radius: 16px !important;
        text-decoration: none !important;
        cursor: pointer !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: 0 6px 20px rgba(72, 145, 86, 0.3),
                    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
        letter-spacing: -0.01em !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .mobile-get-started-btn::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: -100% !important;
        width: 100% !important;
        height: 100% !important;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
        transition: left 0.5s ease !important;
    }

    .mobile-get-started-btn:hover::before {
        left: 100% !important;
    }

    .mobile-get-started-btn:hover {
        transform: translateY(-2px) scale(1.02) !important;
        box-shadow: 0 8px 28px rgba(72, 145, 86, 0.4),
                    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    }

    .mobile-get-started-btn:active {
        transform: translateY(0) scale(0.98) !important;
    }

    .mobile-get-started-btn i:first-child {
        font-size: 1.1rem !important;
        background: rgba(255, 255, 255, 0.2) !important;
        padding: 0.5rem !important;
        border-radius: 10px !important;
        backdrop-filter: blur(10px) !important;
    }

    .mobile-get-started-btn span {
        flex: 1 !important;
        text-align: center !important;
        margin: 0 0.5rem !important;
    }

    .mobile-get-started-btn i:last-child {
        font-size: 0.9rem !important;
        opacity: 0.8 !important;
        transition: transform 0.3s ease !important;
    }

    .mobile-get-started-btn:hover i:last-child {
        transform: translateX(4px) !important;
        opacity: 1 !important;
    }

    /* Menu items */
    .nav-menu .nav-item {
        width: 100% !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
        margin: 0 !important;
    }

    .nav-menu .nav-item:first-child {
        margin-top: 0 !important;
    }

    .nav-menu .nav-item:last-child {
        border-bottom: none !important;
    }

    .nav-menu .nav-item > a {
        padding: 1.5rem 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        font-size: 1.15rem !important;
        font-weight: 600 !important;
        color: #1a1a1a !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        text-decoration: none !important;
        letter-spacing: -0.01em !important;
    }

    .nav-menu .nav-item > a:hover {
        color: #5da86a !important;
        padding-left: 8px !important;
    }

    .nav-menu .dropdown-arrow {
        font-size: 0.875rem !important;
        color: rgba(0, 0, 0, 0.4) !important;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    body.dark-mode .nav-menu .nav-item {
        border-bottom-color: rgba(255, 255, 255, 0.08) !important;
    }

    body.dark-mode .nav-menu .nav-item > a {
        color: #ffffff !important;
    }

    body.dark-mode .menu-backdrop.active {
        background: rgba(0, 0, 0, 0.7);
    }

    .nav-menu .dropdown {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        background: transparent !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: none !important;
        border: none !important;
        width: 100% !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
    }

    .nav-menu .dropdown::before {
        display: none !important;
    }

    .nav-menu.active .nav-item.active .dropdown {
        max-height: 800px !important;
        padding: 0.75rem 0 1rem 0 !important;
        margin: 0 !important;
        opacity: 1 !important;
        overflow: visible !important;
    }

    .nav-menu .nav-item.active {
        overflow: visible !important;
    }

    .nav-menu .dropdown a {
        padding: 1rem 0.75rem !important;
        margin: 0.375rem 0 !important;
        border-radius: 12px !important;
        font-size: 0.95rem !important;
        background: rgba(72, 145, 86, 0.06) !important;
        display: flex !important;
        align-items: flex-start !important;
        gap: 0.75rem !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        width: 100% !important;
        box-sizing: border-box !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        transform: translateX(0) !important;
        border: 1px solid rgba(72, 145, 86, 0.1) !important;
        min-height: fit-content !important;
    }

    .nav-menu .dropdown a:hover {
        background: rgba(72, 145, 86, 0.12) !important;
        border-color: rgba(72, 145, 86, 0.2) !important;
        transform: translateX(4px) !important;
    }

    .nav-menu .dropdown a i {
        font-size: 1.1rem !important;
        width: 38px !important;
        height: 38px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 10px !important;
        background: linear-gradient(135deg, rgba(72, 145, 86, 0.15), rgba(72, 145, 86, 0.08)) !important;
        color: #489156 !important;
        flex-shrink: 0 !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .nav-menu .dropdown a:hover i {
        background: linear-gradient(135deg, rgba(72, 145, 86, 0.25), rgba(72, 145, 86, 0.15)) !important;
        transform: scale(1.05) !important;
    }

    .nav-menu .dropdown-content {
        display: flex !important;
        flex-direction: column !important;
        flex: 1 !important;
        min-width: 0 !important;
        overflow: visible !important;
        gap: 0.25rem !important;
    }

    .nav-menu .dropdown-label {
        color: #1a1a1a !important;
        font-weight: 600 !important;
        font-size: 0.9375rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        letter-spacing: -0.01em !important;
        line-height: 1.3 !important;
    }

    .nav-menu .dropdown-desc {
        color: rgba(0, 0, 0, 0.55) !important;
        font-size: 0.8125rem !important;
        margin-top: 0.125rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        line-height: 1.5 !important;
        display: block !important;
    }

    .nav-menu .nav-item.active .dropdown-arrow {
        transform: rotate(180deg) !important;
    }

    .nav-menu .mobile-contact-item {
        display: block !important;
        border-bottom: none !important;
        margin-top: 2.5rem !important;
        padding-top: 1.5rem !important;
        border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
        list-style: none !important;
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-menu.active .mobile-contact-item {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.3s;
    }

    .nav-menu .mobile-contact-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        padding: 1rem 2rem !important;
        background: linear-gradient(135deg, #489156 0%, #5da86a 100%) !important;
        color: white !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        border-radius: 14px !important;
        border: none !important;
        cursor: pointer !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: 0 4px 16px rgba(72, 145, 86, 0.25) !important;
        -webkit-tap-highlight-color: transparent !important;
        letter-spacing: -0.01em !important;
    }

    .nav-menu .mobile-contact-btn:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 24px rgba(72, 145, 86, 0.35) !important;
    }

    .nav-menu .mobile-contact-btn:active {
        transform: translateY(0) !important;
    }

    /* Dark theme support for mobile menu */
    body.dark-theme .nav-menu,
    body.dark-mode .nav-menu {
        background: #0a0a0a !important;
    }

    body.dark-theme .mobile-menu-header-item,
    body.dark-mode .mobile-menu-header-item {
        border-bottom-color: rgba(255, 255, 255, 0.06) !important;
    }

    body.dark-theme .mobile-get-started-item,
    body.dark-mode .mobile-get-started-item {
        border-bottom-color: rgba(255, 255, 255, 0.06) !important;
    }

    body.dark-theme .mobile-get-started-btn,
    body.dark-mode .mobile-get-started-btn {
        background: linear-gradient(135deg, #5da86a 0%, #489156 100%) !important;
        box-shadow: 0 6px 20px rgba(72, 145, 86, 0.4),
                    inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
    }

    body.dark-theme .mobile-get-started-btn:hover,
    body.dark-mode .mobile-get-started-btn:hover {
        box-shadow: 0 8px 28px rgba(72, 145, 86, 0.5),
                    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    }

    body.dark-theme .nav-menu .nav-item,
    body.dark-mode .nav-menu .nav-item {
        border-bottom-color: rgba(255, 255, 255, 0.06) !important;
    }

    body.dark-theme .nav-menu .nav-item > a,
    body.dark-mode .nav-menu .nav-item > a {
        color: #e2e8f0 !important;
    }

    body.dark-theme .nav-menu .nav-item > a:hover,
    body.dark-mode .nav-menu .nav-item > a:hover {
        color: #5da86a !important;
    }

    body.dark-theme .nav-menu .dropdown-arrow,
    body.dark-mode .nav-menu .dropdown-arrow {
        color: rgba(255, 255, 255, 0.4) !important;
    }

    body.dark-theme .nav-menu .dropdown a,
    body.dark-mode .nav-menu .dropdown a {
        background: rgba(72, 145, 86, 0.12) !important;
        border-color: rgba(72, 145, 86, 0.15) !important;
    }

    body.dark-theme .nav-menu .dropdown a:hover,
    body.dark-mode .nav-menu .dropdown a:hover {
        background: rgba(72, 145, 86, 0.18) !important;
        border-color: rgba(72, 145, 86, 0.25) !important;
    }

    body.dark-theme .nav-menu .dropdown-label,
    body.dark-mode .nav-menu .dropdown-label {
        color: #f1f5f9 !important;
    }

    body.dark-theme .nav-menu .dropdown-desc,
    body.dark-mode .nav-menu .dropdown-desc {
        color: rgba(226, 232, 240, 0.6) !important;
    }

    body.dark-theme .nav-menu .dropdown a i,
    body.dark-mode .nav-menu .dropdown a i {
        background: linear-gradient(135deg, rgba(72, 145, 86, 0.25), rgba(72, 145, 86, 0.15)) !important;
        color: #5da86a !important;
    }

    body.dark-theme .nav-menu .mobile-contact-item,
    body.dark-mode .nav-menu .mobile-contact-item {
        border-top-color: rgba(255, 255, 255, 0.06) !important;
    }

    body.dark-theme .nav-menu .mobile-contact-btn,
    body.dark-mode .nav-menu .mobile-contact-btn {
        background: linear-gradient(135deg, #5da86a 0%, #489156 100%) !important;
        box-shadow: 0 4px 16px rgba(72, 145, 86, 0.35) !important;
    }

    body.dark-theme .nav-menu .mobile-contact-btn:hover,
    body.dark-mode .nav-menu .mobile-contact-btn:hover {
        box-shadow: 0 6px 24px rgba(72, 145, 86, 0.45) !important;
    }

    /* Dark mode scrollbar */
    body.dark-theme .nav-menu::-webkit-scrollbar-track,
    body.dark-mode .nav-menu::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
    }

    body.dark-theme .nav-menu::-webkit-scrollbar-thumb,
    body.dark-mode .nav-menu::-webkit-scrollbar-thumb {
        background: rgba(72, 145, 86, 0.4);
    }

    body.dark-theme .nav-menu::-webkit-scrollbar-thumb:hover,
    body.dark-mode .nav-menu::-webkit-scrollbar-thumb:hover {
        background: rgba(72, 145, 86, 0.6);
    }
}

/* Scroll Reveal Animations - CSS Based */

/* Fade Up Animation */
.reveal-fade-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-fade-up.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* Slide Left Animation */
.reveal-slide-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-slide-left.reveal-active {
    opacity: 1;
    transform: translateX(0);
}

/* Slide Right Animation */
.reveal-slide-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-slide-right.reveal-active {
    opacity: 1;
    transform: translateX(0);
}

/* Scale Up Animation */
.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-scale.reveal-active {
    opacity: 1;
    transform: scale(1);
}

/* Zoom In Animation */
.reveal-zoom {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-zoom.reveal-active {
    opacity: 1;
    transform: scale(1);
}

/* Blur Reveal Animation */
.reveal-blur {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-blur.reveal-active {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Stagger delays for sequential animations */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Ensure elements are visible if JavaScript fails */
.no-js [class*="reveal-"] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
}

/* ============================================
   FOOTER - FANCY FADING FOOTER
   ============================================ */

footer {
    background: linear-gradient(to bottom, rgba(248, 250, 252, 0) 0%, rgba(248, 250, 252, 1) 15%, #f8fafc 100%);
    color: #334155;
    padding: 100px 5% 50px;
    position: relative;
    margin-top: -100px;
    overflow: hidden;
    z-index: 500;
}

footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.02) 0%,
        transparent 50%,
        rgba(16, 185, 129, 0.02) 100%
    );
    pointer-events: none;
    z-index: -1;
}

body.dark-theme footer {
    color: var(--dark-text-light);
}

body.dark-theme footer::before {
    background: linear-gradient(
        135deg,
        rgba(72, 145, 86, 0.03) 0%,
        transparent 50%,
        rgba(72, 145, 86, 0.03) 100%
    );
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 5rem;
    margin-bottom: 5rem;
    position: relative;
    z-index: 1;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand {
    gap: 1.5rem;
}

.footer-logo-img {
    width: 180px;
    height: auto;
    display: block;
    transition: all 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.02);
}

body.dark-theme .footer-logo-img {
    filter: brightness(1.1);
}

.footer-tagline {
    font-size: 1rem;
    color: var(--gray-text);
    line-height: 1.7;
    max-width: 350px;
    margin: 0;
}

body.dark-theme .footer-tagline {
    color: var(--dark-text-light);
}

.footer-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(72, 145, 86, 0.25);
    width: fit-content;
}

.footer-cta-button i {
    font-size: 1.1rem;
}

.footer-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(72, 145, 86, 0.35);
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
}

body.dark-theme .footer-cta-button {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    box-shadow: 0 6px 20px rgba(72, 145, 86, 0.4);
}

body.dark-theme .footer-cta-button:hover {
    box-shadow: 0 8px 28px rgba(72, 145, 86, 0.5);
}

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--dark-text);
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

body.dark-theme .footer-col h4 {
    color: var(--light-text);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.footer-links li {
    line-height: 1.5;
}

.footer-links a {
    color: var(--gray-text);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
    display: inline-block;
}

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

body.dark-theme .footer-links a {
    color: var(--dark-text-light);
}

body.dark-theme .footer-links a:hover {
    color: var(--primary-green);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.1rem;
}

.footer-social a:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(72, 145, 86, 0.3);
}

body.dark-theme .footer-social a {
    background: #1e293b;
    color: #94a3b8;
}

body.dark-theme .footer-social a:hover {
    background: var(--primary-green);
    color: white;
    box-shadow: 0 4px 12px rgba(72, 145, 86, 0.4);
}

.footer-bottom {
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: var(--gray-text);
    font-size: 0.875rem;
    margin: 0;
    font-weight: 400;
}

body.dark-theme .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .footer-bottom p {
    color: var(--dark-text-light);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--gray-text);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    font-weight: 400;
}

.footer-legal a:hover {
    color: var(--primary-green);
}

body.dark-theme .footer-legal a {
    color: var(--dark-text-light);
}

body.dark-theme .footer-legal a:hover {
    color: var(--primary-green);
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 120px 5% 50px;
        margin-top: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-col {
        gap: 1rem;
    }

    .footer-logo-img {
        width: 150px;
    }

    .footer-tagline {
        font-size: 0.9375rem;
    }

    .footer-cta-button {
        width: 100%;
        max-width: 100%;
        padding: 1rem 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding-top: 2rem;
        margin-top: 2rem;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer-social {
        justify-content: flex-start;
    }
}
