/* ============================================
   Digitixly - Main Stylesheet
   Pure HTML/CSS/JS Version
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;
    --accent-purple: #8b5cf6;
    --accent-pink: #ec4899;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--gray-700);
    background-color: var(--gray-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

a {
    text-decoration: none;
    color: inherit;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--accent-purple) 50%, var(--accent-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-600), var(--accent-purple));
    color: white;
    font-weight: 600;
    border-radius: 9999px;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.5);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: white;
    color: var(--gray-700);
    font-weight: 600;
    border-radius: 9999px;
    box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-secondary:hover {
    border-color: var(--primary-300);
    color: var(--primary-600);
    transform: translateY(-2px);
}

/* Card Hover Effect */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Navigation Link Effect */
.nav-link {
    position: relative;
    color: var(--gray-600);
    transition: color 0.3s ease;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-600), var(--accent-purple));
    transition: width 0.3s ease;
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-600), var(--accent-purple));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon i {
    color: white;
    font-size: 1.125rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
}

.desktop-nav a {
    font-weight: 500;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    padding: 0.5rem;
    border-radius: 8px;
    color: var(--gray-600);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    color: var(--primary-600);
    background: var(--gray-100);
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn i {
    font-size: 1.5rem;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    background: white;
    border-top: 1px solid var(--gray-100);
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
}

.mobile-nav.active {
    display: block;
    max-height: 400px;
    opacity: 1;
}

.mobile-nav-inner {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: var(--gray-600);
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background: var(--primary-50);
    color: var(--primary-600);
}

.mobile-nav a i {
    margin-right: 0.75rem;
    width: 20px;
}

.mobile-nav .btn-primary {
    margin-top: 0.5rem;
    justify-content: center;
}

/* Header Spacer */
.header-spacer {
    height: 80px;
}

/* Footer Styles */
.footer {
    background: var(--gray-900);
    color: white;
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.footer-about {
    color: var(--gray-400);
    font-size: 0.875rem;
    line-height: 1.7;
    margin: 1.5rem 0;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all 0.3s ease;
}

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

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

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

.footer-links a i {
    font-size: 0.625rem;
    margin-right: 0.5rem;
    color: var(--primary-500);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact-icon {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-contact-icon i {
    color: var(--primary-500);
}

.footer-contact-text {
    color: var(--gray-400);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-contact-text a {
    color: var(--gray-400);
    transition: color 0.3s ease;
}

.footer-contact-text a:hover {
    color: var(--primary-400);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    color: var(--gray-500);
    font-size: 0.875rem;
    text-align: center;
}

.footer-copyright i {
    color: #ef4444;
}

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

.footer-legal a {
    color: var(--gray-500);
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-600), var(--accent-purple));
    color: white;
    border: none;
    border-radius: 9999px;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.5);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gray-50), white, var(--primary-50));
}

.hero-blobs {
    position: absolute;
    inset: 0;
    opacity: 0.3;
}

.hero-blob {
    position: absolute;
    width: 288px;
    height: 288px;
    border-radius: 9999px;
    filter: blur(64px);
    mix-blend-mode: multiply;
    animation: pulse 4s ease-in-out infinite;
}

.hero-blob-1 {
    top: 5rem;
    left: 2.5rem;
    background: var(--primary-300);
}

.hero-blob-2 {
    top: 10rem;
    right: 2.5rem;
    background: var(--accent-purple);
    animation-delay: 1s;
}

.hero-blob-3 {
    bottom: 5rem;
    left: 33%;
    background: var(--accent-pink);
    animation-delay: 2s;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.hero-container {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--primary-100);
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-600);
    border-radius: 9999px;
    margin-right: 0.5rem;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-badge-text {
    color: var(--primary-700);
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 36rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.hero-stat-value {
    font-size: 1.875rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-600), var(--accent-purple), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 58, 138, 0.3), transparent);
}

.hero-float-card {
    position: absolute;
    background: white;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-float-card-1 {
    bottom: -1.5rem;
    left: -1.5rem;
}

.hero-float-card-2 {
    top: -1.5rem;
    right: -1.5rem;
}

.hero-float-icon {
    width: 48px;
    height: 48px;
    background: var(--green-100);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-float-icon i {
    color: var(--green-600);
    font-size: 1.25rem;
}

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

.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.section-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 42rem;
    margin: 0 auto;
}

/* Service Cards */
.services-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

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

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.service-description {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-link i {
    margin-left: 0.5rem;
    font-size: 0.875rem;
}

/* Testimonial Cards */
.testimonials-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: var(--gray-50);
    border-radius: 1.5rem;
    padding: 2rem;
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: -1rem;
    left: 2rem;
    width: 40px;
    height: 40px;
    background: var(--primary-600);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-quote i {
    color: white;
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    color: #fbbf24;
    margin-bottom: 1rem;
    padding-top: 1rem;
}

.testimonial-text {
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 9999px;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
    color: var(--gray-900);
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-600), var(--accent-purple));
}

.cta-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-container {
    position: relative;
    max-width: 896px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .cta-title {
        font-size: 3rem;
    }
}

.cta-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: white;
    color: var(--primary-600);
    font-weight: 600;
    border-radius: 9999px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: transparent;
    color: white;
    font-weight: 600;
    border-radius: 9999px;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.cta-btn-secondary:hover {
    background: white;
    color: var(--primary-600);
}

/* Page Hero (for inner pages) */
.page-hero {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--gray-900), var(--gray-800), var(--primary-900));
    overflow: hidden;
}

.page-hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-blob {
    position: absolute;
    width: 384px;
    height: 384px;
    border-radius: 9999px;
    filter: blur(64px);
    mix-blend-mode: overlay;
    opacity: 0.3;
}

.page-hero-blob-1 {
    top: 5rem;
    right: 5rem;
    background: var(--primary-500);
}

.page-hero-blob-2 {
    bottom: 5rem;
    left: 5rem;
    background: var(--accent-purple);
}

.page-hero-container {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.page-hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.page-hero-badge i {
    color: var(--primary-400);
    margin-right: 0.5rem;
}

.page-hero-badge span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
}

.page-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .page-hero-title {
        font-size: 3.5rem;
    }
}

.page-hero-description {
    font-size: 1.25rem;
    color: var(--gray-300);
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.7;
}

/* Service Detail Section */
.service-detail {
    padding: 5rem 0;
}

.service-detail:nth-child(even) {
    background: var(--gray-50);
}

.service-detail-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .service-detail-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .service-detail-grid.reverse {
        direction: rtl;
    }
    
    .service-detail-grid.reverse > * {
        direction: ltr;
    }
}

.service-detail-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.service-detail-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .service-detail-title {
        font-size: 2.5rem;
    }
}

.service-detail-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-detail-list {
    list-style: none;
    margin-bottom: 2rem;
}

.service-detail-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.service-detail-list i {
    margin-top: 0.25rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.service-detail-image {
    position: relative;
}

.service-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.service-detail-stat {
    position: absolute;
    bottom: -1.5rem;
    background: white;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-detail-stat-left {
    left: -1.5rem;
}

.service-detail-stat-right {
    right: -1.5rem;
    top: -1.5rem;
    bottom: auto;
}

/* Team Cards */
.team-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.team-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.team-card-image {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    gap: 0.75rem;
}

.team-card-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.team-card-social a:hover {
    background: white;
    color: var(--primary-600);
}

.team-card-info {
    padding: 1.5rem;
    text-align: center;
}

.team-card-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.team-card-role {
    color: var(--primary-600);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.team-card-bio {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Stats Banner */
.stats-banner {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-600), var(--accent-purple));
    overflow: hidden;
}

.stats-banner-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
    .stat-value {
        font-size: 3.5rem;
    }
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
}

/* Contact Form */
.contact-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 2fr 3fr;
    }
}

.contact-info-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.contact-info-text {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon i {
    font-size: 1.25rem;
}

.contact-info-label {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.contact-info-value {
    color: var(--gray-600);
}

.contact-info-value a {
    color: var(--gray-600);
    transition: color 0.3s ease;
}

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

.contact-social-title {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

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

.contact-social a {
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: all 0.3s ease;
}

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

/* Form Styles */
.form-card {
    background: var(--gray-50);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-label span {
    color: #ef4444;
}

.form-input-wrapper {
    position: relative;
}

.form-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.form-input-icon-textarea {
    top: 1rem;
    transform: none;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--gray-900);
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px var(--primary-100);
}

.form-select {
    appearance: none;
    cursor: pointer;
}

.form-select-wrapper::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    pointer-events: none;
}

.form-textarea {
    padding-top: 1rem;
    resize: none;
    min-height: 150px;
}

.form-hint {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
}

.form-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-600), var(--accent-purple));
    color: white;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
}

.form-submit i {
    margin-right: 0.5rem;
}

/* Alert Messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
}

.alert-error {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.alert-icon {
    margin-right: 0.75rem;
}

/* FAQ Section */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--gray-50);
    border-radius: 1rem;
    padding: 1.5rem;
}

.faq-question {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.faq-answer {
    color: var(--gray-600);
}

/* Map Section */
.map-container {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* Feature Cards */
.features-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: var(--gray-50);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--gray-600);
    line-height: 1.7;
}

/* Mission/Vision Cards */
.mission-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.mission-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
}

.mission-icon {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.mission-icon i {
    font-size: 1.5rem;
}

.mission-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.mission-text {
    color: var(--gray-600);
    line-height: 1.7;
}

/* Image Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
}

.gallery-col-2 {
    padding-top: 2rem;
}

/* Utility Classes */
.bg-white { background: white; }
.bg-gray-50 { background: var(--gray-50); }
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.hidden { display: none; }

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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