﻿/* ===================================
   Modern Portfolio CSS
   ================================== */

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

:root {
    /* Colors */
    --primary: #6528F7;
    --primary-dark: #5511F8;
    --secondary: #FF6B6B;
    --accent: #4ECDC4;
    --dark: #0F172A;
    --dark-light: #1E293B;
    --bg: #ffffff;
    --bg-light: #F8FAFC;
    --text: #334155;
    --text-light: #64748B;
    --border: #E2E8F0;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6528F7 0%, #A855F7 100%);
    --gradient-secondary: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    --gradient-success: linear-gradient(135deg, #00D4AA 0%, #00B894 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.theme-dark {
    --bg: #0B1220;
    --bg-light: #111827;
    --text: #CBD5E1;
    --text-light: #94A3B8;
    --border: #1F2937;
    --dark: #F8FAFC;
    --dark-light: #E2E8F0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.55);
}

body.theme-dark {
    color-scheme: dark;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

.faq-section {
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.faq-item {
    background: var(--bg-light);
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    margin-bottom: 12px;
}

.case-study-section {
    padding: 100px 0;
    background: var(--bg);
}

.case-study-modern {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 32px;
    align-items: stretch;
}

.case-study-aside {
    display: flex;
    flex-direction: column;
    gap: 22px;
    height: 100%;
}

.case-study-image-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 300px;
    box-shadow: var(--shadow-lg);
    flex: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.case-study-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(9, 6, 16, 0.7) 0%, rgba(9, 6, 16, 0.3) 60%, rgba(9, 6, 16, 0.15) 100%);
    transition: opacity 0.3s ease;
}

.case-study-aside-meta {
    position: absolute;
    left: 24px;
    bottom: 24px;
    display: grid;
    gap: 8px;
    color: #fff;
    z-index: 1;
}

.case-study-aside-meta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
}

.case-study-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: white;
    background: var(--gradient-primary);
}

.case-study-stats {
    display: grid;
    gap: 12px;
    margin-top: auto;
}

.case-stat-card {
    background: var(--bg-light);
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.case-stat-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
}

.case-stat-label {
    color: var(--text-muted);
    font-size: 13px;
}

.case-study-main {
    background: var(--bg-light);
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.case-study-summary {
    font-size: 18px;
    color: var(--text);
    margin: 12px 0 18px;
}

.case-study-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--text-muted);
    font-size: 14px;
}

.case-study-meta i {
    color: var(--primary);
    margin-right: 8px;
}

.case-study-timeline {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
}

.timeline-item {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(101, 40, 247, 0.08);
    border: 1px solid rgba(101, 40, 247, 0.2);
}

.timeline-label {
    display: inline-block;
    font-weight: 700;
    margin-bottom: 6px;
}

.timeline-item p {
    color: var(--text-muted);
    margin: 0;
}

.case-study-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.case-study-list i {
    color: var(--primary);
    margin-right: 8px;
}

.case-study-image-card:hover {
    transform: translateY(-4px);
}

.case-study-image-card:hover img {
    transform: scale(1.04);
}

.case-study-image-card:hover .case-study-image-overlay {
    opacity: 0.85;
}

.case-study-main:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(101, 40, 247, 0.2);
    border-color: rgba(101, 40, 247, 0.35);
}

.case-stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(101, 40, 247, 0.35);
    box-shadow: 0 16px 30px rgba(101, 40, 247, 0.25);
}

@media (max-width: 1024px) {
    .case-study-modern {
        grid-template-columns: 1fr;
    }
}


.hero-subdescription {
    margin-top: 12px;
    font-size: 16px;
    color: var(--text-muted);
    max-width: 720px;
}

.gcc-markets-section {
    padding: 60px 0 40px;
}

.markets-list {
    list-style: none;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin: 0;
    padding: 0;
}

.markets-list a {
    display: block;
    padding: 12px 16px;
    background: var(--bg-light);
    border-radius: 12px;
    color: var(--text);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.markets-list a:hover,
.markets-list a:focus {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: var(--shadow-sm);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ===================================
   Preloader
   ================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===================================
   Header & Navigation
   ================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.theme-dark .header {
    background: rgba(15, 23, 42, 0.9);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 20px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 2px;
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-dot {
    color: var(--primary);
    font-size: 36px;
    line-height: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu .mobile-only {
    display: none;
}

.nav-tool {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(135deg, #6b5cff, #ff8b3d);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(107, 92, 255, 0.32);
    transition: var(--transition);
}

.nav-tool svg {
    width: 18px;
    height: 18px;
    display: block;
}

.nav-tool:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(255, 139, 61, 0.35);
    color: #fff;
}

.nav-link {
    font-weight: 500;
    color: var(--text);
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.theme-toggle:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}


.theme-dark .preloader {
    background: #0F172A;
}

.theme-dark .btn-secondary {
    background: #0B1220;
    color: #E2E8F0;
    border-color: #1F2937;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.theme-dark .btn-secondary i,
.theme-dark .btn-secondary span {
    color: #E2E8F0;
}

.theme-dark .experience-badge {
    background: #0F172A;
    border: 1px solid #1F2937;
}

.theme-dark .service-card,
.theme-dark .testimonial-card,
.theme-dark .blog-card-home,
.theme-dark .contact-card,
.theme-dark .contact-form-wrapper,
.theme-dark .portfolio-item {
    background: #0F172A;
    border: 1px solid #1F2937;
}

.theme-dark .blog-section {
    background: linear-gradient(135deg, #0B1220 0%, #101B2E 100%);
}

.theme-dark .blog-category-tag {
    background: #111827;
    color: #E2E8F0;
    box-shadow: none;
}

.theme-dark .gradient-card-1,
.theme-dark .gradient-card-2,
.theme-dark .gradient-card-3 {
    background: #0F172A;
}

.theme-dark .contact-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    border-color: rgba(101, 40, 247, 0.35);
}

.theme-dark .form-group input,
.theme-dark .form-group textarea {
    background: #0B1220;
    color: #E2E8F0;
    border-color: #1F2937;
}

.theme-dark .form-group input:focus,
.theme-dark .form-group textarea:focus {
    background: #0B1220;
}

.theme-dark .social-icon-large {
    background: #0F172A;
    color: #E2E8F0;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===================================
   Buttons
   ================================== */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    font-size: 15px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: 0 4px 16px rgba(101, 40, 247, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(101, 40, 247, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--dark);
    border: 2px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.btn-secondary i,
.btn-secondary span {
    color: var(--dark);
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(101, 40, 247, 0.3);
}

.btn-secondary:hover i,
.btn-secondary:hover span {
    color: white;
}

.btn-large {
    padding: 16px 36px;
    font-size: 16px;
}

/* ===================================
   Hero Section
   ================================== */
.hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: clamp(90px, 12vh, 120px) 0 clamp(50px, 10vh, 80px);
    background: linear-gradient(135deg, #0D0614 0%, #1A0B2E 50%, #0D0614 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #6528F7, transparent);
    top: -100px;
    right: -100px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #A855F7, transparent);
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #4ECDC4, transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

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

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: clamp(40px, 4.5vw, 64px);
    color: white;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.gradient-text {
    background: linear-gradient(135deg, #A855F7, #EC4899, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: clamp(24px, 4vh, 36px);
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: clamp(28px, 6vh, 48px);
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats {
    display: flex;
    gap: 32px;
    padding: clamp(12px, 3vh, 24px) 0;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

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

.hero-image {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    animation: fadeIn 1s ease 1s both;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 16px;
}

.first-hero-card,
.hero-card:first-child {
    grid-column: 1 / -1;
    justify-content: center;
}

.first-card-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.card-content h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 4px;
}

.card-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
    animation: fadeIn 1s ease 1.5s both;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s ease-in-out infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

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

/* ===================================
   Section Headers
   ================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(101, 40, 247, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--dark);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
}

/* ===================================
   About Section
   ================================== */
.about {
    padding: 100px 0;
    background: var(--bg);
}

.about-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: center;
}

.image-wrapper {
    position: relative;
}

.profile-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--gradient-primary);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    color: white;
    box-shadow: var(--shadow-xl);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: white;
    padding: 24px 32px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.badge-number {
    font-size: 36px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge-text {
    font-size: 14px;
    color: var(--text);
    font-weight: 600;
}

.about-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--dark);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text);
    line-height: 1.8;
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 32px 0;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-weight: 500;
}

.skill-item i {
    color: var(--primary);
    font-size: 20px;
}

/* ===================================
   Services Section
   ================================== */
.services {
    padding: 100px 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

.service-card.featured {
    background: var(--gradient-primary);
    color: white;
}

.service-card.featured * {
    color: white;
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.service-icon {
    width: 70px;
    height: 70px;
    position: relative;
    margin-bottom: 24px;
}

.service-icon i {
    font-size: 36px;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.service-card.featured .service-icon i {
    color: white;
}

.icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(101, 40, 247, 0.1);
    border-radius: 16px;
    z-index: 0;
}

.service-card.featured .icon-bg {
    background: rgba(255, 255, 255, 0.2);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    margin-bottom: 24px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--text);
}

.service-card.featured .service-features li {
    color: rgba(255, 255, 255, 0.9);
}

.service-features i {
    color: var(--primary);
    font-size: 14px;
}

.service-card.featured .service-features i {
    color: white;
}

.service-link a {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-card.featured .service-link a {
    color: white;
}

/* ===================================
   Stats Section
   ================================== */
.stats-section {
    padding: 80px 0;
    background: var(--gradient-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.stat-card {
    text-align: center;
    color: white;
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    backdrop-filter: blur(10px);
}

.stat-icon i {
    font-size: 36px;
}

.stat-content h3 {
    font-size: 48px;
    color: white;
    margin-bottom: 8px;
}

.stat-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

/* ===================================
   Portfolio Section
   ================================== */
.portfolio {
    padding: 100px 0;
    background: var(--bg);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-8px);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
}

.portfolio-placeholder {
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: white;
    transition: var(--transition);
}

.gradient-1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.gradient-2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.gradient-3 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.gradient-4 { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.gradient-5 { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.gradient-6 { background: linear-gradient(135deg, #30cfd0 0%, #330867 100%); }

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-placeholder {
    transform: scale(1.1);
}

.portfolio-info {
    text-align: center;
    color: white;
}

.portfolio-info h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 12px;
}

.portfolio-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.portfolio-tags {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.portfolio-tags span {
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
}

/* ===================================
   Testimonials Section
   ================================== */
.testimonials {
    padding: 100px 0;
    background: var(--bg-light);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.stars i {
    color: #FFA726;
    font-size: 18px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.author-info h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.author-info p {
    font-size: 14px;
    color: var(--text-light);
}

/* ===================================
   CTA Section
   ================================== */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-primary);
    text-align: center;
}

.cta-content h2 {
    font-size: 48px;
    color: white;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary);
}

.cta-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

/* ===================================
   Blog Section (Home Page)
   ================================== */
.blog-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #faf9ff 0%, #f8f7ff 100%);
}

.blog-grid-home {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.blog-card-home {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.blog-card-home:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(101, 40, 247, 0.15);
}

.blog-card-image {
    position: relative;
    overflow: hidden;
}

.blog-placeholder-home {
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    transition: transform 0.4s ease;
}

.blog-card-home:hover .blog-placeholder-home {
    transform: scale(1.05);
}

.blog-category-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: white;
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.blog-card-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
}

.blog-meta span {
    font-size: 13px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-meta i {
    color: var(--primary);
    font-size: 12px;
}

.blog-card-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.blog-card-home:hover .blog-card-content h3 {
    color: var(--primary);
}

.blog-card-content p {
    font-size: 15px;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    transition: gap 0.3s ease;
}

.blog-card-home:hover .read-more-link {
    gap: 12px;
}

.read-more-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.blog-card-home:hover .read-more-link i {
    transform: translateX(4px);
}

.blog-cta {
    text-align: center;
}

/* ===================================
   Contact Section
   ================================== */
.contact {
    padding: 100px 0;
    background: var(--bg);
}

.contact-grid {
    display: grid;
    gap: 48px;
}

/* Contact Cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-card {
    background: var(--bg-light);
    padding: 40px 32px;
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

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

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

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(101, 40, 247, 0.15);
    border-color: rgba(101, 40, 247, 0.1);
}

.gradient-card-1 {
    background: linear-gradient(135deg, #f8f7ff 0%, #fff 100%);
}

.gradient-card-2 {
    background: linear-gradient(135deg, #fff 0%, #faf9ff 100%);
}

.gradient-card-3 {
    background: linear-gradient(135deg, #faf9ff 0%, #f8f7ff 100%);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 28px;
    color: white;
    box-shadow: 0 8px 24px rgba(101, 40, 247, 0.25);
}

.contact-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.contact-card p,
.contact-card a {
    color: var(--text);
    font-size: 15px;
    line-height: 1.6;
}

.contact-card a {
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--primary);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-light);
    padding: 48px;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 2px;
}

.form-group input,
.form-group textarea {
    padding: 16px 20px;
    border: 2px solid rgba(101, 40, 247, 0.08);
    border-radius: 14px;
    background: white;
    color: var(--dark);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(101, 40, 247, 0.08);
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(148, 163, 184, 0.5);
}

/* Social Section */
.contact-social-section {
    text-align: center;
    padding-top: 32px;
}

.contact-social-section h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
}

.social-icons-large {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.social-icon-large {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text);
    transition: var(--transition);
}

.social-icon-large:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-4px);
}

/* ===================================
   Breadcrumbs
   ================================== */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb span {
    color: #fff;
    font-weight: 500;
}

.breadcrumb i {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
}

/* ===================================
   Footer
   ================================== */
.footer {
    background: #0F172A;
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-text {
    color: white;
}

.footer-brand p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===================================
   Back to Top Button
   ================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
}

/* ===================================
   Responsive Design
   ================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 30px 0;
        gap: 16px;
    }

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

    .nav-menu .mobile-only {
        display: block;
    }


    .nav-cta {
        display: none;
    }

    .nav-actions {
        gap: 8px;
    }

    .theme-toggle {
        width: 38px;
        height: 38px;
        display: none;
    }

    .nav-tool {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .navbar {
        padding: 16px 0;
    }

    /* Hero Section Mobile - More Attractive */
    .hero {
        padding: 100px 0 50px;
        min-height: 70vh;
    }

    .hero-container {
        gap: 32px;
    }

    .hero-title {
        font-size: 36px;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 30px;
        line-height: 1.7;
    }

    .hero-badge {
        font-size: 13px;
        padding: 8px 16px;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 14px;
        margin-bottom: 36px;
    }

    .btn-large {
        width: 100%;
        padding: 14px 28px;
        font-size: 15px;
    }

    .hero-stats {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        padding: 20px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        text-align: center;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 13px;
    }

    .hero-image {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }

    /* Section Headers */
    .section-header {
        margin-bottom: 40px;
    }

    .section-badge {
        font-size: 11px;
        padding: 6px 14px;
        margin-bottom: 12px;
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    /* About Section */
    .about {
        padding: 50px 0;
    }

    .about-content {
        gap: 32px;
    }

    .image-placeholder {
        font-size: 60px;
        max-width: 280px;
        margin: 0 auto;
    }

    .experience-badge {
        bottom: -8px;
        right: -8px;
        padding: 12px 20px;
    }

    .badge-number {
        font-size: 24px;
    }

    .badge-text {
        font-size: 12px;
    }

    .about-text h3 {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .about-text p {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .skills-list {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 24px 0;
    }

    .skill-item {
        font-size: 14px;
    }

    .skill-item i {
        font-size: 16px;
    }

    /* Services Section */
    .services {
        padding: 50px 0;
    }

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

    .service-card {
        padding: 24px 20px;
    }

    .service-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 16px;
    }

    .service-icon i {
        font-size: 28px;
    }

    .icon-bg {
        width: 56px;
        height: 56px;
    }

    .service-card h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .service-card p {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .service-features {
        margin-bottom: 16px;
    }

    .service-features li {
        padding: 6px 0;
        font-size: 13px;
    }

    /* Stats Section */
    .stats-section {
        padding: 50px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .stat-icon {
        width: 56px;
        height: 56px;
        margin: 0 auto 12px;
    }

    .stat-icon i {
        font-size: 24px;
    }

    .stat-content h3 {
        font-size: 32px;
        margin-bottom: 4px;
    }

    .stat-content p {
        font-size: 13px;
    }

    /* Portfolio Section */
    .portfolio {
        padding: 50px 0;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .portfolio-item {
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        background: white;
    }

    .portfolio-image {
        position: relative;
        overflow: hidden;
    }

    .portfolio-placeholder {
        font-size: 48px;
        aspect-ratio: 16/9;
        opacity: 0.9;
    }

    .portfolio-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        opacity: 1;
        background: linear-gradient(to top, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.85) 60%, transparent 100%);
        padding: 24px 20px;
        transform: translateY(0);
    }

    .portfolio-info {
        text-align: left;
    }

    .portfolio-info h3 {
        font-size: 19px;
        margin-bottom: 8px;
        font-weight: 700;
    }

    .portfolio-info p {
        font-size: 14px;
        margin-bottom: 14px;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.9);
    }

    .portfolio-tags {
        gap: 8px;
    }

    .portfolio-tags span {
        padding: 6px 14px;
        font-size: 12px;
        background: rgba(101, 40, 247, 0.2);
        border: 1px solid rgba(101, 40, 247, 0.4);
    }

    /* Blog Section (Home) */
    .blog-section {
        padding: 50px 0;
    }

    .blog-grid-home {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 36px;
    }

    .blog-card-home {
        border-radius: 16px;
    }

    .blog-placeholder-home {
        font-size: 40px;
        aspect-ratio: 16/9;
    }

    .blog-card-content {
        padding: 24px 20px;
    }

    .blog-card-content h3 {
        font-size: 18px;
    }

    .blog-card-content p {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .blog-meta {
        gap: 12px;
    }

    .blog-meta span {
        font-size: 12px;
    }

    /* Testimonials Section */
    .testimonials {
        padding: 50px 0;
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-card {
        padding: 24px 20px;
    }

    .stars {
        margin-bottom: 16px;
    }

    .stars i {
        font-size: 16px;
    }

    .testimonial-text {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .author-avatar {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .author-info h4 {
        font-size: 15px;
    }

    .author-info p {
        font-size: 13px;
    }

    /* CTA Section */
    .cta-section {
        padding: 50px 0;
    }

    .cta-content h2 {
        font-size: 26px;
        margin-bottom: 16px;
    }

    .cta-content p {
        font-size: 14px;
        margin-bottom: 28px;
    }

    /* Contact Section */
    .contact {
        padding: 50px 0;
    }

    .contact-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card {
        padding: 32px 24px;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .form-row-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-group input,
    .form-group textarea {
        padding: 14px 18px;
        font-size: 14px;
    }

    .contact-social-section h3 {
        font-size: 20px;
    }

    .social-icon-large {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .breadcrumb {
        font-size: 12px;
        margin-bottom: 16px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-brand p,
    .footer-links a,
    .footer-contact p {
        font-size: 14px;
    }

    /* Back to Top */
    .back-to-top {
        bottom: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    /* Hero Section */
    .hero {
        padding: 90px 0 40px;
        min-height: 65vh;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 7px 14px;
    }

    .btn-large {
        padding: 13px 24px;
        font-size: 14px;
    }

    .hero-stats {
        padding: 18px;
        gap: 16px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 12px;
    }

    /* Sections */
    .section-header {
        margin-bottom: 36px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .section-badge {
        font-size: 11px;
        padding: 6px 14px;
    }

    /* About */
    .about {
        padding: 40px 0;
    }

    .about-content {
        gap: 24px;
    }

    .image-placeholder {
        font-size: 50px;
        max-width: 220px;
    }

    .about-text h3 {
        font-size: 20px;
    }

    .about-text p {
        font-size: 13px;
    }

    .skills-list {
        gap: 10px;
        margin: 20px 0;
    }

    .skill-item {
        font-size: 13px;
    }

    /* Services */
    .services {
        padding: 40px 0;
    }

    .service-card {
        padding: 20px 16px;
    }

    .service-icon {
        width: 48px;
        height: 48px;
    }

    .service-icon i {
        font-size: 24px;
    }

    .icon-bg {
        width: 48px;
        height: 48px;
    }

    .service-card h3 {
        font-size: 17px;
    }

    .service-card p {
        font-size: 13px;
    }

    .service-features li {
        font-size: 12px;
    }

    /* Stats Grid */
    .stats-section {
        padding: 40px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-icon {
        width: 48px;
        height: 48px;
    }

    .stat-icon i {
        font-size: 20px;
    }

    .stat-content h3 {
        font-size: 28px;
    }

    .stat-content p {
        font-size: 12px;
    }

    /* Portfolio */
    .portfolio {
        padding: 50px 0;
    }

    .portfolio-placeholder {
        font-size: 36px;
    }

    .portfolio-overlay {
        padding: 16px;
    }

    .portfolio-info h3 {
        font-size: 17px;
    }

    .portfolio-info p {
        font-size: 13px;
    }

    .portfolio-tags {
        gap: 6px;
    }

    .portfolio-tags span {
        font-size: 11px;
        padding: 4px 12px;
    }

    /* Testimonials */
    .testimonials {
        padding: 40px 0;
    }

    .testimonial-card {
        padding: 20px 16px;
    }

    .testimonial-text {
        font-size: 13px;
    }

    .author-avatar {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .author-info h4 {
        font-size: 14px;
    }

    .author-info p {
        font-size: 12px;
    }

    /* CTA */
    .cta-section {
        padding: 40px 0;
    }

    .cta-content h2 {
        font-size: 24px;
    }

    .cta-content p {
        font-size: 13px;
        margin-bottom: 24px;
    }

    /* Contact */
    .contact {
        padding: 40px 0;
    }

    .contact-card {
        padding: 20px 16px;
    }

    .contact-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .contact-card h3 {
        font-size: 17px;
    }

    .contact-card p,
    .contact-card a {
        font-size: 13px;
    }

    .social-links h3 {
        font-size: 18px;
    }

    .social-icon {
        width: 44px;
        height: 44px;
        font-size: 16px;
        gap: 12px;
    }

    /* Contact Form */
    .contact-form-wrapper {
        padding: 28px 20px;
        margin: 32px auto;
    }

    .form-group label {
        font-size: 13px;
    }

    .form-group input,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 14px;
    }

    .form-group textarea {
        min-height: 120px;
    }

    /* Footer */
    .footer {
        padding: 32px 0 16px;
    }

    .footer-content {
        gap: 20px;
    }

    .footer-brand p,
    .footer-links a,
    .footer-contact p {
        font-size: 13px;
    }

    /* Navbar */
    .navbar {
        padding: 14px 0;
    }

    .logo {
        font-size: 22px;
    }

    .logo-dot {
        font-size: 28px;
    }
}

@media (max-height: 800px) and (min-width: 900px) {
    .hero {
        padding: 100px 0 40px;
    }

    .hero-badge {
        margin-top: 8px;
        margin-bottom: 16px;
        padding: 8px 16px;
        font-size: 13px;
    }

    .hero-title {
        font-size: clamp(34px, 4vw, 52px);
        margin-bottom: 16px;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 24px;
        line-height: 1.6;
    }

    .hero-buttons {
        margin-bottom: 24px;
        gap: 12px;
    }

    .hero-stats {
        padding: 12px 0;
        gap: 20px;
    }

    .stat-number {
        font-size: 30px;
    }

.hero-image {
    gap: 16px;
}

    .hero-card {
        padding: 16px;
        border-radius: 16px;
    }

    .card-icon {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

.scroll-indicator {
    display: none;
}
}

/* ===================================
   Legal Pages
   ================================== */
.legal-hero {
    position: relative;
    padding: 140px 0 70px;
    background: var(--bg-light);
    overflow: hidden;
}

.legal-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(101, 40, 247, 0.15), transparent 55%),
                radial-gradient(circle at bottom right, rgba(255, 107, 107, 0.12), transparent 55%);
    pointer-events: none;
}

.legal-hero-content {
    position: relative;
    max-width: 780px;
    text-align: left;
}

.legal-hero-content h1 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 12px;
}

.legal-hero-content p {
    color: var(--text-light);
    font-size: 18px;
}

.legal-content {
    padding: 60px 0 100px;
}

.legal-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    padding: 40px;
}

.legal-card h2 {
    font-size: 22px;
    margin-bottom: 12px;
}

.legal-card p {
    color: var(--text);
    margin-bottom: 16px;
}

.legal-card ul {
    list-style: disc;
    padding-left: 22px;
    margin-bottom: 18px;
    color: var(--text);
}

.legal-card li {
    margin-bottom: 8px;
}

.legal-meta {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 10px;
}

@media (max-width: 768px) {
    .legal-hero {
        padding: 120px 0 60px;
    }

    .legal-card {
        padding: 28px;
    }
}

/* ===================================
   Animations
   ================================== */
.fade-in {
    animation: fadeIn 0.6s ease both;
}

.slide-up {
    animation: slideUp 0.6s ease both;
}

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



