/* ========================================
   JA Digital Solutions - Styles CSS
   Design moderne, professionnel, startup
   ======================================== */

/* Variables CSS */
:root {
    /* Couleurs principales */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0ea5e9;
    --accent: #f59e0b;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #0ea5e9 100%);
    --gradient-dark: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    --gradient-light: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 100%);
    
    /* Couleurs neutres */
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --white: #ffffff;
    
    /* Typographie */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Espacements */
    --container-width: 1200px;
    --section-padding: 100px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Ombres */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    
    /* Border radius */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* Reset et Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Badge */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--gradient-light);
    border: 1px solid var(--primary-light);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 12px 0;
    border-bottom-color: var(--gray-200);
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: var(--radius);
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 20px;
    position: relative;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.logo-bracket {
    font-size: 18px;
    font-weight: 300;
    opacity: 0.8;
    font-family: 'Courier New', monospace;
}

.logo-letter {
    font-size: 22px;
    font-weight: 800;
    margin: 0 1px;
}

.logo-icon i {
    font-size: 20px;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.logo-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 20px;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
    background: var(--gray-100);
}

.nav-link.active {
    color: var(--primary);
}

.nav-link.btn-contact {
    background: var(--gradient-primary);
    color: var(--white);
    margin-left: 8px;
}

.nav-link.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-light);
    top: -200px;
    right: -200px;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -100px;
    left: -100px;
    animation: float 15s ease-in-out infinite reverse;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 30px) scale(1.1); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.5; transform: translate(-50%, -50%) scale(1.2); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-full);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease;
}

.hero-badge i {
    color: var(--primary);
    font-size: 14px;
}

.hero-badge span {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.hero-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--gray-600);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
    border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 500;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--gray-400);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 1; top: 8px; }
    50% { opacity: 0; top: 20px; }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.scroll-indicator span {
    font-size: 12px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ========================================
   Services Preview Section
   ======================================== */
.services-preview {
    padding: var(--section-padding) 0;
    background: var(--gray-100);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 24px;
    color: var(--primary);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--white);
    overflow: hidden;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    flex: 0 0 100%;
    min-width: 100%;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: var(--transition);
    opacity: 1;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-xl);
}

.testimonial-content {
    padding: 48px;
    text-align: center;
}

.quote-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
}

.quote-icon i {
    color: var(--white);
    font-size: 28px;
}

.testimonial-text {
    font-size: 18px;
    color: var(--gray-700);
    line-height: 1.9;
    margin-bottom: 32px;
    font-style: italic;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.author-avatar {
    width: 70px;
    height: 70px;
    background: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid var(--gray-200);
    padding: 8px;
}

.author-avatar img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.author-avatar i {
    font-size: 28px;
    color: var(--primary);
}

.author-info {
    text-align: left;
}

.author-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.author-info span {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 500;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.slider-btn {
    width: 52px;
    height: 52px;
    border: 2px solid var(--gray-200);
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 18px;
}

.slider-btn:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background: var(--gray-300);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* Progress bar for auto-slide */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 5s linear;
}

/* ========================================
   Why Us Section
   ======================================== */
.why-us {
    padding: var(--section-padding) 0;
    background: var(--gradient-dark);
    color: var(--white);
}

.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-us-text .section-badge {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.why-us-text .section-title {
    color: var(--white);
}

.why-us-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.benefits-list li i {
    color: var(--accent);
    font-size: 20px;
}

.why-us-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.visual-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.visual-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.visual-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.visual-icon i {
    font-size: 24px;
    color: var(--white);
}

.visual-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.visual-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    padding: var(--section-padding) 0;
    background: var(--gray-100);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info .section-title {
    margin-bottom: 16px;
}

.contact-info > p {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-method:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 22px;
    color: var(--white);
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 500;
}

.contact-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
}

.contact-cta {
    padding: 16px 24px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius);
    text-align: center;
}

.contact-cta p {
    color: var(--primary);
    font-weight: 500;
}

/* Contact Visual - Code Card */
.contact-visual {
    perspective: 1000px;
}

.contact-card {
    background: var(--dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: var(--transition-slow);
}

.contact-card:hover {
    transform: rotateY(0) rotateX(0);
}

.card-header {
    padding: 16px 20px;
    background: var(--dark-light);
    display: flex;
    align-items: center;
}

.card-dots {
    display: flex;
    gap: 8px;
}

.card-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.card-dots span:nth-child(1) { background: #ff5f57; }
.card-dots span:nth-child(2) { background: #febc2e; }
.card-dots span:nth-child(3) { background: #28c840; }

.card-content {
    padding: 32px;
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 14px;
    line-height: 2;
}

.typing-animation {
    display: flex;
    flex-direction: column;
}

.code-comment {
    color: var(--gray-500);
}

.code-line {
    color: var(--gray-300);
}

.code-line.indent {
    padding-left: 24px;
}

.code-keyword {
    color: #c678dd;
}

.code-string {
    color: #98c379;
}

.cursor {
    animation: blink 1s infinite;
    color: var(--primary);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links a,
.footer-contact a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    padding: 8px 0;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

/* ========================================
   Page Header (for inner pages)
   ======================================== */
.page-header {
    padding: 160px 0 80px;
    background: var(--gradient-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header .hero-bg {
    opacity: 0.5;
}

.page-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Features Section (Fonctionnalités page)
   ======================================== */
.features-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.feature-icon-wrapper {
    position: relative;
    margin-bottom: 24px;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.feature-icon i {
    font-size: 28px;
    color: var(--white);
}

.feature-icon-bg {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 64px;
    height: 64px;
    background: var(--gradient-light);
    border-radius: var(--radius);
    z-index: 0;
}

.feature-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.feature-content > p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-700);
}

.feature-list li i {
    color: var(--primary);
    font-size: 14px;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-primary);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.cta-buttons .btn-primary:hover {
    box-shadow: var(--shadow-lg);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

/* ========================================
   Specialties Page
   ======================================== */
.specialties-nav {
    padding: 30px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 72px;
    z-index: 100;
}

.spec-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.spec-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.spec-tab:hover {
    background: var(--white);
    border-color: var(--gray-300);
}

.spec-tab.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}

.spec-tab i {
    font-size: 18px;
}

/* Specialty Section */
.specialty-section {
    padding: var(--section-padding) 0;
    display: none;
}

.specialty-section.active {
    display: block;
}

.specialty-header {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 60px;
}

.specialty-icon-large {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.specialty-icon-large i {
    font-size: 44px;
    color: var(--white);
}

.specialty-intro h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.specialty-intro p {
    font-size: 18px;
    color: var(--gray-600);
}

/* Specialty Features */
.specialty-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.spec-feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.spec-feature-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.spec-feature-card.full-width {
    grid-column: 1 / -1;
}

.spec-feature-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.spec-feature-icon i {
    font-size: 24px;
    color: var(--primary);
}

.spec-feature-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.spec-feature-content > p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 20px;
}

.spec-feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.spec-feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-700);
}

.spec-feature-list li i {
    color: var(--primary);
    font-size: 16px;
}

/* Process Flow */
.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
    padding: 24px;
    background: var(--gray-100);
    border-radius: var(--radius);
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.process-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-icon i {
    font-size: 24px;
    color: var(--white);
}

.process-step span {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    text-align: center;
}

.process-arrow {
    color: var(--gray-400);
    font-size: 20px;
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .why-us-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-visual {
        order: -1;
    }
    
    .contact-card {
        transform: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
    
    .testimonial-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 16px;
        transform: translateX(100%);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-link {
        font-size: 24px;
        padding: 16px;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .testimonial-card {
        flex: 0 0 100%;
        min-width: 280px;
    }
    
    .why-us-visual {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-brand p {
        max-width: none;
    }
    
    .footer-contact a {
        justify-content: center;
    }
    
    .specialty-header {
        flex-direction: column;
        text-align: center;
    }
    
    .specialty-features {
        grid-template-columns: 1fr;
    }
    
    .process-flow {
        flex-direction: column;
    }
    
    .process-arrow {
        transform: rotate(90deg);
    }
    
    .specialties-nav {
        top: 64px;
    }
    
    .spec-tabs {
        gap: 8px;
    }
    
    .spec-tab {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .spec-tab span {
        display: none;
    }
    
    .spec-tab i {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}
