/* ============================================
   Digital Hamirpur - Modern Website Styles
   IT Company in Hamirpur HP
   Designed by: Gaurav Sharma
   ============================================ */

/* ===== CSS Variables ===== */
:root {
    /* Modern Color Palette - Professional & Eye-catching */
    --primary-color: #667eea; /* Vibrant Purple-Blue */
    --secondary-color: #764ba2; /* Deep Purple */
    --accent-color: #f093fb; /* Soft Pink */
    --accent-secondary: #4facfe; /* Sky Blue */
    --dark-color: #1a202c; /* Rich Dark */
    --light-color: #f7fafc;
    --text-color: #2d3748;
    --text-light: #718096;
    --border-color: #e2e8f0;
    --success-color: #48bb78;
    --danger-color: #f56565;
    --warning-color: #ed8936;
    --info-color: #4299e1;
    
    /* Beautiful Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-tertiary: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-sunset: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-ocean: linear-gradient(135deg, #667eea 0%, #4facfe 100%);
    --gradient-purple: linear-gradient(135deg, #c471f5 0%, #fa71cd 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    --shadow-colored: 0 10px 30px rgba(102, 126, 234, 0.3);
    
    --transition: all 0.3s ease;
    --border-radius: 12px;
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

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

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

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.8;
}

.gradient-text {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 2px 8px rgba(251, 191, 36, 0.5));
    font-weight: 900;
}

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

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
}

.logo i {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.1);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 80%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--dark-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 50%, #7c3aed 100%);
    color: white;
    padding: 6rem 0 4rem;
}

/* Animated Shapes in Hero */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

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

.shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #fcd34d, #f59e0b);
    top: -10%;
    left: -5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, #a78bfa, #8b5cf6);
    bottom: -10%;
    right: -5%;
    animation-delay: 5s;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -70px) scale(1.15);
    }
    66% {
        transform: translate(-30px, 40px) scale(0.95);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, rgba(124, 58, 237, 0.5) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-badge i {
    color: #fbbf24;
    font-size: 1rem;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-badge span {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-title {
    color: white;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.1s both;
    font-size: clamp(1.75rem, 5vw, 3rem);
    line-height: 1.2;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.6), 0 3px 15px rgba(0, 0, 0, 0.4);
    font-weight: 800;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2.5rem;
    opacity: 1;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.2s both;
    line-height: 1.8;
    padding: 0 1rem;
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.stat-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(236, 72, 153, 0.15) 100%);
    opacity: 0;
    transition: var(--transition);
}

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

.stat-item:hover {
    transform: translateY(-10px) scale(1.02);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.15) 100%);
    border-color: rgba(251, 191, 36, 0.6);
    box-shadow: 0 20px 60px rgba(251, 191, 36, 0.4);
}

.stat-item i {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.75rem;
    color: #fbbf24;
    filter: drop-shadow(0 4px 10px rgba(251, 191, 36, 0.5));
    transition: var(--transition);
}

.stat-item:hover i {
    transform: scale(1.15);
    color: #f59e0b;
}

.stat-item h3 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: #fbbf24;
    margin-bottom: 0.5rem;
    font-weight: 800;
    text-shadow: 0 2px 15px rgba(251, 191, 36, 0.3);
}

.stat-item p {
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.75rem;
    border-radius: 50%;
    border: 2px solid rgba(251, 191, 36, 0.5);
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.3);
}

.scroll-indicator i {
    font-size: 1.5rem;
    color: #fbbf24;
    filter: drop-shadow(0 2px 8px rgba(251, 191, 36, 0.5));
    display: block;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-colored);
    border: 2px solid rgba(251, 191, 36, 0.6);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-ocean);
    transition: left 0.3s ease;
    z-index: -1;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.6);
    border-color: rgba(251, 191, 36, 0.9);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-light {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ===== Banner Strip ===== */
.banner-strip {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 0;
    text-align: center;
}

.banner-strip p {
    margin: 0;
    color: white;
}

.banner-strip a {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: underline;
}

.banner-strip a:hover {
    color: white;
}

/* ===== Section Styles ===== */
section {
    padding: 5rem 0;
}

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

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.125rem;
}

/* ===== Services Grid ===== */
.services-overview {
    background: white;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    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: var(--transition);
}

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

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

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.5);
}

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

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

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

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

/* ===== Features Grid ===== */
.why-choose-us,
.why-choose-detailed {
    background: var(--light-color);
}

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

.feature-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-item i {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.feature-item h3 {
    margin-bottom: 0.75rem;
}

.feature-item p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

/* ===== Mid Banner ===== */
.mid-banner {
    background: var(--gradient-primary);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mid-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.banner-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* ===== About Preview ===== */
.about-preview {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.image-placeholder i {
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.5);
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.highlight i {
    color: var(--success-color);
    font-size: 1.25rem;
}

/* ===== Location Section ===== */
.location-section {
    background: white;
}

.location-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.location-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.info-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.info-card:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.info-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

.location-map {
    position: relative;
}

.map-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--light-color);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-areas {
    margin-top: 3rem;
    text-align: center;
}

.service-areas h3 {
    margin-bottom: 1.5rem;
}

.areas-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.areas-list span {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.areas-list span:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.areas-list span i {
    color: var(--primary-color);
}

.areas-list span:hover i {
    color: white;
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--dark-color);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Testimonials Carousel ===== */
.testimonials {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.testimonials-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: none;
}

.carousel-slide.active {
    opacity: 1;
    display: block;
}

.testimonial-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.quote-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.1;
}

.stars {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.stars i {
    color: #fbbf24;
    font-size: 1.25rem;
    filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.3));
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
    text-align: center;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    justify-content: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-colored);
}

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

.testimonial-author h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    font-size: 1.25rem;
}

.carousel-btn:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-colored);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.3);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.dot:hover {
    background: rgba(102, 126, 234, 0.6);
    transform: scale(1.2);
}

.dot.active {
    background: var(--primary-color);
    width: 40px;
    border-radius: 6px;
}

.dot.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    opacity: 0.3;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--primary-color);
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.footer-column h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

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

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-info i {
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ===== Scroll to Top ===== */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

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

.scroll-to-top:hover {
    transform: translateY(-5px);
}

/* ===== Page Header ===== */
.page-header {
    background: var(--gradient-primary);
    color: white;
    padding: 5rem 0 3rem;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb a:hover {
    color: white;
    text-decoration: underline;
}

.breadcrumb i {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb span {
    color: white;
}

/* ===== Service Detail Pages ===== */
.service-detail {
    padding: 5rem 0;
    background: white;
}

.service-detail.alternate {
    background: var(--light-color);
}

.service-detail-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
    align-items: center;
}

.service-detail-image .image-placeholder {
    aspect-ratio: 1/1;
}

.service-features,
.service-technologies,
.service-benefits {
    margin: 2rem 0;
}

.service-features h3,
.service-technologies h3,
.service-benefits h3 {
    margin-bottom: 1rem;
}

.service-features ul {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.service-features ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.service-features ul li i {
    color: var(--success-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-tags span {
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 8px;
}

.benefit-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* ===== Service Packages ===== */
.service-packages {
    background: var(--light-color);
}

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

.package-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.package-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.package-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
}

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

.package-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.package-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.package-header i {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.package-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 1.5rem 0;
}

.package-price .currency {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

.package-price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-color);
}

.package-price .period {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 1rem;
}

.package-features {
    list-style: none;
    margin-bottom: 2rem;
}

.package-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.package-features i {
    color: var(--success-color);
    margin-top: 0.25rem;
}

/* ===== Portfolio ===== */
.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

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

.portfolio-image .image-placeholder {
    aspect-ratio: 4/3;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.95);
    color: white;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.portfolio-overlay h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.portfolio-tags span {
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.75rem;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    transition: var(--transition);
}

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

/* ===== Success Stories ===== */
.success-stories {
    background: white;
}

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

.story-card {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.story-card:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.story-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.story-icon i {
    font-size: 2rem;
    color: white;
}

.story-stats {
    margin-bottom: 1.5rem;
}

.story-stats h3 {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.25rem;
}

.story-stats span {
    color: var(--text-light);
    font-weight: 600;
}

.story-client {
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 1rem;
}

/* ===== Technologies Section ===== */
.technologies-section {
    background: var(--light-color);
}

.tech-categories {
    display: grid;
    gap: 2rem;
}

.tech-category {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.tech-category h3 {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tech-category h3 i {
    color: var(--primary-color);
}

.tech-icons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1.5rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.tech-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.tech-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.tech-item:hover i {
    color: white;
}

.tech-item span {
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
}

/* ===== Contact Page ===== */
.contact-section {
    background: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-info-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-info-card:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.contact-info-card h3 {
    font-size: 1.125rem;
    margin: 1rem 0 0.5rem;
}

.contact-info-card p,
.contact-info-card a {
    color: var(--text-light);
    font-size: 0.95rem;
}

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

.social-connect {
    margin-top: 2rem;
}

.social-connect h3 {
    margin-bottom: 1.5rem;
}

.social-links-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.social-links-large a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 600;
}

.social-links-large a:hover {
    background: var(--primary-color);
    color: white;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ===== Map Section ===== */
.map-section {
    background: var(--light-color);
}

.map-container {
    margin-top: 2rem;
}

/* ===== Service Areas ===== */
.service-areas-section {
    background: white;
}

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

.area-card {
    text-align: center;
    padding: 2rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.area-card:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.area-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.area-card h3 {
    margin-bottom: 0.5rem;
}

.area-card p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

/* ===== FAQ Section ===== */
.faq-section {
    background: var(--light-color);
}

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

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--light-color);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.125rem;
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
}

.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 p {
    padding: 0 2rem 1.5rem;
    color: var(--text-light);
}

/* ===== About Page ===== */
.about-company,
.founder-section,
.our-process {
    background: white;
}

.about-image-large {
    position: relative;
}

.about-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
}

.about-badge i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.company-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    padding: 2rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    text-align: center;
}

.value-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-item h4 {
    margin-bottom: 0.75rem;
}

.value-item p {
    color: var(--text-light);
    margin: 0;
}

.founder-section {
    background: var(--light-color);
}

.founder-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
    align-items: center;
}

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

.founder-title {
    color: var(--primary-color);
    font-weight: 600;
    display: block;
    margin-bottom: 1.5rem;
}

.founder-skills h4 {
    margin-bottom: 1rem;
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin: 1rem 0 2rem;
}

.skills-list span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
}

.skills-list i {
    color: var(--success-color);
}

.founder-social {
    display: flex;
    gap: 1rem;
}

.founder-social a {
    width: 50px;
    height: 50px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.founder-social a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.advantage-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.advantage-icon i {
    font-size: 2rem;
    color: white;
}

.advantage-card h3 {
    margin-bottom: 1rem;
}

.advantage-card p {
    color: var(--text-light);
    margin: 0;
}

.statistics-section {
    background: var(--gradient-primary);
    color: white;
    padding: 5rem 0;
}

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

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

.stat-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.stat-card h3 {
    font-size: 3rem;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-size: 1.125rem;
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.step-content {
    flex: 1;
    padding-top: 0.5rem;
}

.step-content h3 {
    margin-bottom: 0.75rem;
}

.step-content p {
    color: var(--text-light);
    margin: 0;
}

/* ===== Legal Pages ===== */
.legal-content {
    background: white;
    padding: 4rem 0;
}

.legal-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: start;
}

.legal-sidebar {
    position: sticky;
    top: 100px;
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.legal-sidebar h3 {
    margin-bottom: 1.5rem;
}

.legal-nav {
    list-style: none;
}

.legal-nav li {
    margin-bottom: 0.75rem;
}

.legal-nav a {
    color: var(--text-color);
    transition: var(--transition);
    display: block;
    padding: 0.5rem;
    border-radius: 8px;
}

.legal-nav a:hover {
    color: var(--primary-color);
    background: white;
    padding-left: 1rem;
}

.legal-text {
    max-width: 800px;
}

.legal-update {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--light-color);
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.legal-update i {
    color: var(--primary-color);
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary-color);
}

.legal-section h3 {
    color: var(--dark-color);
    margin: 2rem 0 1rem;
    font-size: 1.25rem;
}

.legal-section ul {
    margin: 1rem 0 1rem 2rem;
}

.legal-section ul li {
    margin-bottom: 0.75rem;
    color: var(--text-color);
    line-height: 1.8;
}

.contact-box {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    margin: 2rem 0;
}

.contact-box p {
    margin-bottom: 1rem;
}

.contact-box a {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-box a:hover {
    text-decoration: underline;
}

.legal-footer {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 3rem;
}

.legal-footer p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.legal-footer i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-15px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: 80vh;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-stats {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.25rem;
    }

    .stat-item {
        padding: 1.5rem 1rem;
    }

    .about-content,
    .service-detail-content,
    .contact-wrapper,
    .founder-content,
    .location-content {
        grid-template-columns: 1fr;
    }

    .legal-wrapper {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        position: static;
    }

    .service-detail.alternate .service-detail-content {
        direction: ltr;
    }

    .process-timeline::before {
        left: 20px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.125rem;
    }
}

@media (max-width: 640px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 3rem 0;
    }

    .hero-section {
        min-height: 85vh;
        padding: 4rem 0 2rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-badge {
        padding: 0.625rem 1.25rem;
        margin-bottom: 1.5rem;
    }

    .hero-badge span {
        font-size: 0.75rem;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    .hero-cta {
        gap: 1rem;
        margin-bottom: 2.5rem;
        flex-direction: column;
    }

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

    .btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .stat-item {
        padding: 1.25rem;
    }

    .stat-item i {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .stat-item h3 {
        font-size: 1.75rem;
    }

    .stat-item p {
        font-size: 0.875rem;
    }

    .shape {
        filter: blur(60px);
        opacity: 0.4;
    }

    .shape-1 {
        width: 350px;
        height: 350px;
    }

    .shape-2 {
        width: 300px;
        height: 300px;
    }

    .shape-3 {
        width: 250px;
        height: 250px;
    }

    .scroll-indicator {
        bottom: 1rem;
    }

    .scroll-indicator i {
        font-size: 1.5rem;
    }

    .testimonials-carousel {
        padding: 0 50px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .services-grid,
    .features-grid,
    .packages-grid,
    .portfolio-grid,
    .stories-grid,
    .areas-grid {
        grid-template-columns: 1fr;
    }

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

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

    .tech-icons {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 1rem;
        right: 1rem;
    }
}

/* ===== Print Styles ===== */
@media print {
    .header,
    .nav-toggle,
    .banner-strip,
    .mid-banner,
    .cta-section,
    .footer,
    .scroll-to-top {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    section {
        page-break-inside: avoid;
    }
}
