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

:root {
    --primary-purple: #8B5CF6;
    --primary-purple-light: #A78BFA;
    --primary-purple-dark: #7C3AED;
    --secondary-purple: #C4B5FD;
    --accent-purple: #DDD6FE;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --text-white: #FFFFFF;
    --background-light: #F9FAFB;
    --background-white: #FFFFFF;
    --border-light: #E5E7EB;
    --shadow-soft: 0 10px 25px -5px rgba(139, 92, 246, 0.1), 0 4px 6px -2px rgba(139, 92, 246, 0.05);
    --shadow-medium: 0 20px 25px -5px rgba(139, 92, 246, 0.15), 0 10px 10px -5px rgba(139, 92, 246, 0.1);
    --shadow-large: 0 25px 50px -12px rgba(139, 92, 246, 0.25);
    --gradient-primary: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
    --gradient-secondary: linear-gradient(135deg, #C4B5FD 0%, #DDD6FE 100%);
    --gradient-hero: linear-gradient(135deg, rgba(139, 92, 246, 0.9) 0%, rgba(167, 139, 250, 0.8) 100%);
}

html {
    scroll-behavior: smooth;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h2 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    font-size: 2rem;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: var(--gradient-secondary);
    color: var(--primary-purple-dark);
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-purple);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    padding: 2rem;
}



.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    /* 🔥 REMOVE THIS LINE */
    /* min-height: 70vh; */
}

.hero-content,
.container {
    width: 100%;
}



.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-badge {
    display: inline-block;
    background: var(--gradient-secondary);
    color: var(--primary-purple-dark);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid var(--secondary-purple);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hero-cta {
    font-size: 1.1rem;
    padding: 16px 32px;
}

.hero-cta-secondary {
    background: transparent;
    color: var(--primary-purple);
}

.hero-content {
  width: 100%;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-stat .stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.hero-stat .stat-text {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 0.2rem;
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-cards {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: var(--background-white);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    animation: float 6s ease-in-out infinite;
    cursor: pointer;
}

.floating-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-large);
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 15%;
    right: 15%;
    animation-delay: 1.5s;
}

.card-3 {
    bottom: 25%;
    left: 5%;
    animation-delay: 3s;
}

.card-4 {
    bottom: 10%;
    right: 10%;
    animation-delay: 4.5s;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.card-content h4 {
    font-size: 1rem;
    color: var(--primary-purple-dark);
    margin-bottom: 0.2rem;
    font-weight: 600;
}

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

.hero-shape {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.shape-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
    animation: blob-float 8s ease-in-out infinite;
}

.blob-1 {
    width: 200px;
    height: 200px;
    background: var(--gradient-primary);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.blob-2 {
    width: 150px;
    height: 150px;
    background: var(--gradient-secondary);
    bottom: 30%;
    right: 20%;
    animation-delay: 2s;
}

.blob-3 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #c4b5fd 0%, #a78bfa 100%);
    top: 60%;
    left: 60%;
    animation-delay: 4s;
}

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

@keyframes blob-float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    33% {
        transform: translateY(-30px) translateX(20px);
    }
    66% {
        transform: translateY(20px) translateX(-15px);
    }
}

/* Hero Mobile Responsiveness */
@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .hero-visual {
        height: 300px;
        order: -1;
    }
    
    .floating-card {
        padding: 1rem;
    }
    
    .card-content h4 {
        font-size: 0.9rem;
    }
    
    .card-content p {
        font-size: 0.7rem;
    }
    
    .shape-blob {
        filter: blur(20px);
    }
    
    .blob-1 {
        width: 100px;
        height: 100px;
    }
    
    .blob-2 {
        width: 80px;
        height: 80px;
    }
    
    .blob-3 {
        width: 60px;
        height: 60px;
    }
}

/* Page Header */
.page-header {
    background: var(--gradient-secondary);
    padding: 150px 0 80px;
    text-align: center;
}

.page-header h1 {
    color: var(--primary-purple-dark);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

/* Introduction Section */
.intro {
    background: var(--background-light);
}

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

.intro-content h2 {
    color: var(--primary-purple-dark);
    margin-bottom: 2rem;
}

.intro-content p {
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Statistics Section */
.stats {
    background: var(--background-white);
}

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

.stat-card {
    background: var(--background-white);
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Services Preview */
.services-preview {
    background: var(--background-light);
}

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

.service-card {
    background: var(--background-white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    color: var(--primary-purple-dark);
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Testimonials */
.testimonials {
    background: var(--gradient-secondary);
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    height: 300px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
    background: var(--background-white);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: var(--shadow-medium);
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-content p {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.testimonial-author strong {
    color: var(--primary-purple-dark);
    display: block;
    margin-bottom: 0.5rem;
}

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

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--background-white);
    color: var(--primary-purple);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--primary-purple);
    color: var(--text-white);
    transform: scale(1.1);
}

/* Services Detailed */
.services-detailed {
    background: var(--background-light);
}

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

.service-detailed-card {
    background: var(--background-white);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.service-detailed-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.service-icon-large {
    font-size: 3rem;
    padding: 1rem;
    background: var(--gradient-secondary);
    border-radius: 20px;
}

.service-features {
    list-style: none;
    margin: 1.5rem 0;
}

.service-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-purple);
    font-weight: bold;
}

.service-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.tech-tag {
    background: var(--accent-purple);
    color: var(--primary-purple-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Process Section */
.process {
    background: var(--background-white);
}

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

.process-step {
    text-align: center;
    padding: 2rem 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.process-step h4 {
    color: var(--primary-purple-dark);
    margin-bottom: 1rem;
}

/* Portfolio */
.portfolio-filter {
    background: var(--background-light);
    padding: 2rem 0;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-purple);
    background: transparent;
    color: var(--primary-purple);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

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

.portfolio {
    background: var(--background-white);
}

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

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

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

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

.responsive-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .responsive-image {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

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

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

.portfolio-info h3 {
    margin-bottom: 1rem;
    color: var(--text-white);
}

.portfolio-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    backdrop-filter: blur(10px);
}

/* Products */
.product-categories {
    background: var(--background-light);
    padding: 2rem 0;
}

.category-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.category-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-purple);
    background: transparent;
    color: var(--primary-purple);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-btn.active,
.category-btn:hover {
    background: var(--primary-purple);
    color: var(--text-white);
}

.products {
    background: var(--background-white);
}

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

.product-card {
    background: var(--background-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

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

.product-image {
    position: relative;
    background: var(--gradient-secondary);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-placeholder {
    font-size: 4rem;
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-white);
}

.product-badge.new {
    background: #10B981;
}

.product-badge.popular {
    background: #F59E0B;
}

.product-info {
    padding: 2rem;
}

.product-info h3 {
    color: var(--primary-purple-dark);
    margin-bottom: 1rem;
}

.product-description {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature {
    background: var(--accent-purple);
    color: var(--primary-purple-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-purple-dark);
}

.product-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
}

/* Blog */
.featured-post {
    background: var(--background-white);
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.featured-image img {
    border-radius: 20px;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.post-category {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: 500;
}

.post-date {
    color: var(--text-light);
}

.blog-categories {
    background: var(--background-light);
    padding: 2rem 0;
}

.blog-posts {
    background: var(--background-white);
}

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

.post-card {
    background: var(--background-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

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

.post-image img {
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 2rem;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.post-read-time {
    color: var(--text-light);
    font-size: 0.9rem;
}

.load-more {
    text-align: center;
    margin-top: 3rem;
}

/* Newsletter */
.newsletter {
    background: var(--gradient-primary);
    color: var(--text-white);
    text-align: center;
}

.newsletter-content h2 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
}

.newsletter-form button {
    background: var(--text-white);
    color: var(--primary-purple);
}

/* Community */
.community-stats {
    background: var(--background-light);
}

.discussions-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.discussion-card {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.discussion-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.discussion-avatar {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.discussion-content {
    flex: 1;
}

.discussion-header {
    margin-bottom: 1rem;
}

.discussion-header h4 {
    color: var(--primary-purple-dark);
    margin-bottom: 0.5rem;
}

.discussion-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.author {
    font-weight: 500;
}

.discussion-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.discussions-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Events */
.upcoming-events {
    background: var(--background-light);
}

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

.event-card {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.event-date {
    text-align: center;
    padding: 1rem;
    background: var(--gradient-primary);
    color: var(--text-white);
    border-radius: 15px;
    min-width: 80px;
}

.event-date .day {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

.event-date .month {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.event-content {
    flex: 1;
}

.event-content h4 {
    color: var(--primary-purple-dark);
    margin-bottom: 1rem;
}

.event-details {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Contact */
.contact-section {
    background: var(--background-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.contact-form-container {
    background: var(--background-light);
    padding: 3rem;
    border-radius: 25px;
}

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

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

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--border-light);
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

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

.contact-info {
    background: var(--gradient-secondary);
    padding: 3rem;
    border-radius: 25px;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: var(--background-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--primary-purple-dark);
    margin-bottom: 0.5rem;
}

.response-time {
    background: var(--background-white);
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.response-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.time {
    font-weight: bold;
    color: var(--primary-purple);
}

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

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

.faq-item {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.faq-item h4 {
    color: var(--primary-purple-dark);
    margin-bottom: 1rem;
}

/* Map */
.map-section {
    background: var(--background-white);
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.map-placeholder {
    height: 400px;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-content {
    text-align: center;
    color: var(--primary-purple-dark);
}

/* CTA Sections */
.cta-section {
    background: var(--gradient-primary);
    color: var(--text-white);
    text-align: center;
}

.cta-content h2 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

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

.cta-content .btn {
    background: var(--text-white);
    color: var(--primary-purple);
}

.join-community {
    background: var(--gradient-primary);
    color: var(--text-white);
    text-align: center;
}

.join-content h2 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.join-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.join-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.join-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.join-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Why Choose */
.why-choose {
    background: var(--background-light);
}

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

.feature-card {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h4 {
    color: var(--primary-purple-dark);
    margin-bottom: 1rem;
}

/* Team */
.team {
    background: var(--background-white);
}

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

.team-card {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--secondary-purple);
}

.team-image {
    margin-bottom: 1.5rem;
}

.team-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto;
}

.team-card h4 {
    color: var(--primary-purple-dark);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--primary-purple);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-bio {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Mission Vision */
.mission-vision {
    background: var(--background-white);
}

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

.mv-card {
    background: var(--background-light);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

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

.mv-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.mv-card h3 {
    color: var(--primary-purple-dark);
    margin-bottom: 1rem;
}

/* Achievements */
.achievements {
    background: var(--background-light);
}

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

.achievement-card {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

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

.achievement-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.achievement-card h4 {
    color: var(--primary-purple-dark);
    margin-bottom: 1rem;
}

/* Company Story */
.company-story {
    background: var(--background-white);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.story-text h2 {
    color: var(--primary-purple-dark);
    margin-bottom: 2rem;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.story-image img {
    border-radius: 20px;
}

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

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

.footer-section h3,
.footer-section h4 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

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

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--secondary-purple);
}

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

.social-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
    color: var(--text-white);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--background-white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-medium);
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

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

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

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 15px;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .join-buttons {
        flex-direction: column;
        align-items: center;
    }

    .join-features {
        justify-content: center;
        gap: 1rem;
    }

    .event-card {
        flex-direction: column;
        text-align: center;
    }

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

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

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

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

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

    .filter-buttons {
        justify-content: center;
    }

    .carousel-controls {
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .product-price {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .discussion-card {
        flex-direction: column;
        text-align: center;
    }

    .discussion-meta {
        justify-content: center;
    }

    .discussion-stats {
        justify-content: center;
    }
}

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

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

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

.text-right {
    text-align: right;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
:focus {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}
