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

:root {
    /* Enhanced Tropical Color Palette */
    --primary-color: #1c2ba8;
    --primary-light: #2d3bc4;
    --primary-dark: #0f1a7a;
    --secondary-color: #ff6b35;
    --accent-color: #00d4ff;
    
    /* Tropical Gradient Colors */
    --coral-color: #ff6b35;
    --orange-color: #f7931e;
    --teal-color: #20b2aa;
    --turquoise-color: #00ced1;
    --ocean-blue: #1c2ba8;
    
    /* Dark Theme Colors */
    --bg-primary: #0a0b0f;
    --bg-secondary: #1a1b23;
    --bg-tertiary: #2a2b35;
    --bg-card: #1e1f28;
    --bg-glass: rgba(26, 27, 35, 0.8);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b8bcc8;
    --text-muted: #8b8f9a;
    
    /* Border Colors */
    --border-color: #2a2b35;
    --border-light: #3a3b45;
    
    /* Enhanced Gradients with Tropical Colors */
    --gradient-primary: linear-gradient(135deg, #1c2ba8 0%, #2d3bc4 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    --gradient-accent: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    --gradient-tropical: linear-gradient(135deg, #ff6b35 0%, #f7931e 25%, #20b2aa 50%, #00ced1 75%, #1c2ba8 100%);
    --gradient-hero: radial-gradient(ellipse at center, rgba(28, 43, 168, 0.15) 0%, transparent 70%);
    --gradient-coral-teal: linear-gradient(135deg, #ff6b35 0%, #20b2aa 100%);
    --gradient-ocean-wave: linear-gradient(135deg, #00ced1 0%, #20b2aa 50%, #1c2ba8 100%);
    
    /* Typography */
    --font-primary: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Spacing */
    --section-padding: 120px 0;
    --container-padding: 0 24px;
    --max-width: 1400px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(28, 43, 168, 0.3);
    
    /* Animations */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

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

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

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

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-smooth);
}

.navbar.scrolled {
    background: var(--bg-secondary);
    box-shadow: var(--shadow-md);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
}

.nav-logo {
    position: relative;
    width: 110px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-logo .logo-spiral {
    width: 110px;
    height: auto;
    display: block;
}

.nav-logo .logo-text {
    width: 110px;
    height: auto;
    display: block;
    margin-top: 0px; /* No overlap needed */
    filter: brightness(0) invert(1); /* Makes the text white */
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

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

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

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

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

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

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all var(--transition-smooth);
}

/* Theme Selector */
.theme-selector {
    position: relative;
    margin-left: 20px;
}

.theme-toggle {
    background: none;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 16px;
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    border-color: var(--primary-color);
    background: var(--bg-tertiary);
}

.theme-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px;
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-smooth);
    z-index: 1000;
}

.theme-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-bottom: 8px;
}

.theme-option:last-child {
    margin-bottom: 0;
}

.theme-option:hover {
    background: var(--bg-tertiary);
}

.theme-option.active {
    background: var(--primary-color);
    color: white;
}

.theme-preview {
    display: flex;
    gap: 4px;
}

.theme-preview span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.theme-option span:last-child {
    font-size: 14px;
    font-weight: 500;
}

/* Color Theme Variables */
body[data-theme="tropical"] {
    --primary-color: #1c2ba8;
    --primary-light: #20b2aa;
    --primary-dark: #0f1a7a;
    --secondary-color: #ff6b35;
    --accent-color: #00ced1;
    --gradient-primary: var(--gradient-tropical);
    --gradient-secondary: var(--gradient-coral-teal);
    --gradient-accent: var(--gradient-ocean-wave);
    --gradient-hero: radial-gradient(ellipse at center, rgba(32, 178, 170, 0.15) 0%, transparent 70%);
    --shadow-glow: 0 0 40px rgba(32, 178, 170, 0.3);
}

body[data-theme="emerald"] {
    --primary-color: #059669;
    --primary-light: #10b981;
    --primary-dark: #047857;
    --secondary-color: #f59e0b;
    --accent-color: #06b6d4;
    --gradient-primary: linear-gradient(135deg, #059669 0%, #10b981 100%);
    --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    --gradient-hero: radial-gradient(ellipse at center, rgba(5, 150, 105, 0.15) 0%, transparent 70%);
    --shadow-glow: 0 0 40px rgba(5, 150, 105, 0.3);
}

body[data-theme="purple"] {
    --primary-color: #7c3aed;
    --primary-light: #8b5cf6;
    --primary-dark: #6d28d9;
    --secondary-color: #ec4899;
    --accent-color: #06b6d4;
    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    --gradient-hero: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.3);
}

body[data-theme="crimson"] {
    --primary-color: #dc2626;
    --primary-light: #ef4444;
    --primary-dark: #b91c1c;
    --secondary-color: #f59e0b;
    --accent-color: #06b6d4;
    --gradient-primary: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    --gradient-hero: radial-gradient(ellipse at center, rgba(220, 38, 38, 0.15) 0%, transparent 70%);
    --shadow-glow: 0 0 40px rgba(220, 38, 38, 0.3);
}

body[data-theme="gold"] {
    --primary-color: #d97706;
    --primary-light: #f59e0b;
    --primary-dark: #b45309;
    --secondary-color: #059669;
    --accent-color: #06b6d4;
    --gradient-primary: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    --gradient-secondary: linear-gradient(135deg, #059669 0%, #10b981 100%);
    --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    --gradient-hero: radial-gradient(ellipse at center, rgba(217, 119, 6, 0.15) 0%, transparent 70%);
    --shadow-glow: 0 0 40px rgba(217, 119, 6, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    background: var(--bg-primary);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    z-index: -1;
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.title-line {
    display: block;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 24px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 600px;
}

.floating-cards {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.floating-card {
    position: absolute;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 20px 16px;
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-smooth);
    z-index: 1;
    animation: orbit 20s linear infinite;
    min-width: 140px;
    opacity: 0.9;
}

.floating-card:hover {
    transform: scale(1.1) !important;
    opacity: 1;
    z-index: 10;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.floating-card .card-icon {
    font-size: 2.2rem;
    margin-bottom: 4px;
}

.floating-card .card-text {
    font-weight: 600;
    font-size: 13px;
    text-align: center;
    color: var(--text-primary);
    line-height: 1.2;
}

/* Orbital Animation - Cards move in circular paths */
.card-1 {
    top: 15%;
    left: 15%;
    animation-delay: 0s;
    animation: orbit1 25s linear infinite;
}

.card-2 {
    top: 5%;
    right: 25%;
    animation-delay: 3s;
    animation: orbit2 22s linear infinite;
}

.card-3 {
    bottom: 25%;
    left: 25%;
    animation-delay: 6s;
    animation: orbit3 28s linear infinite;
}

.card-4 {
    bottom: 15%;
    right: 15%;
    animation-delay: 9s;
    animation: orbit4 24s linear infinite;
}

.card-5 {
    top: 45%;
    left: 8%;
    animation-delay: 12s;
    animation: orbit5 26s linear infinite;
}

.card-6 {
    top: 65%;
    right: 35%;
    animation-delay: 15s;
    animation: orbit6 23s linear infinite;
}

.card-7 {
    bottom: 45%;
    left: 40%;
    animation-delay: 18s;
    animation: orbit7 27s linear infinite;
}

.card-8 {
    top: 25%;
    right: 8%;
    animation-delay: 21s;
    animation: orbit8 29s linear infinite;
}

/* Individual orbital animations for each card - No rotation for crisp text */
@keyframes orbit1 {
    0% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(30px) translateY(-20px); }
    50% { transform: translateX(0) translateY(-40px); }
    75% { transform: translateX(-30px) translateY(-20px); }
    100% { transform: translateX(0) translateY(0); }
}

@keyframes orbit2 {
    0% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(-25px) translateY(35px); }
    50% { transform: translateX(-50px) translateY(0); }
    75% { transform: translateX(-25px) translateY(-35px); }
    100% { transform: translateX(0) translateY(0); }
}

@keyframes orbit3 {
    0% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(40px) translateY(25px); }
    50% { transform: translateX(80px) translateY(0); }
    75% { transform: translateX(40px) translateY(-25px); }
    100% { transform: translateX(0) translateY(0); }
}

@keyframes orbit4 {
    0% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(-35px) translateY(-30px); }
    50% { transform: translateX(0) translateY(-60px); }
    75% { transform: translateX(35px) translateY(-30px); }
    100% { transform: translateX(0) translateY(0); }
}

@keyframes orbit5 {
    0% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(45px) translateY(-15px); }
    50% { transform: translateX(90px) translateY(0); }
    75% { transform: translateX(45px) translateY(15px); }
    100% { transform: translateX(0) translateY(0); }
}

@keyframes orbit6 {
    0% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(-20px) translateY(-40px); }
    50% { transform: translateX(-40px) translateY(0); }
    75% { transform: translateX(-20px) translateY(40px); }
    100% { transform: translateX(0) translateY(0); }
}

@keyframes orbit7 {
    0% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(25px) translateY(45px); }
    50% { transform: translateX(50px) translateY(90px); }
    75% { transform: translateX(25px) translateY(45px); }
    100% { transform: translateX(0) translateY(0); }
}

@keyframes orbit8 {
    0% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(-50px) translateY(20px); }
    50% { transform: translateX(-100px) translateY(0); }
    75% { transform: translateX(-50px) translateY(-20px); }
    100% { transform: translateX(0) translateY(0); }
}

/* Section Styles */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Section */
.services {
    background: var(--bg-secondary);
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    transition: all var(--transition-smooth);
    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: transform var(--transition-smooth);
}

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

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

.service-card.featured {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(28, 43, 168, 0.1) 100%);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

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

.service-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 24px;
}

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

.service-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    padding: 6px 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
}

/* Solutions Section */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.solution-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.solution-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity var(--transition-smooth);
    animation: rotate 4s linear infinite;
}

.solution-item:hover::before {
    opacity: 0.1;
}

.solution-item:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

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

.solution-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    display: block;
}

.solution-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.solution-item p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.solution-metrics {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.solution-metrics span {
    padding: 6px 12px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
}

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

/* Technology Stack */
.tech-stack {
    background: var(--bg-secondary);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
}

.tech-category h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: center;
    color: var(--text-primary);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.tech-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all var(--transition-smooth);
}

.tech-item:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.tech-icon {
    font-size: 1.5rem;
}

.tech-item span {
    font-weight: 600;
    color: var(--text-secondary);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
}

.about-features {
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-cta {
    display: flex;
    align-items: center;
    gap: 32px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-info span {
    color: var(--text-muted);
    font-size: 14px;
}

.about-visual {
    position: relative;
}

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

.card-header {
    margin-bottom: 32px;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.card-subtitle {
    color: var(--text-muted);
    font-size: 14px;
}

.impact-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.metric {
    text-align: center;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 8px;
}

.metric-label {
    color: var(--text-muted);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Contact Section */
.contact {
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-methods {
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    align-items: flex-start;
}

.method-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.method-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.method-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.response-time {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
}

.response-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--gradient-accent);
    color: var(--bg-primary);
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.response-time p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Contact Form */
.contact-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 24px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 16px;
    transition: all var(--transition-fast);
}

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

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

.btn-loading {
    display: none;
}

.btn.loading .btn-text {
    display: none;
}

.btn.loading .btn-loading {
    display: inline;
}

/* Footer */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 24px;
}

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

.footer-brand {
    max-width: 400px;
}

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

.footer-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo-spiral {
    width: 110px;
    height: auto;
    display: block;
}

.footer-logo-text {
    width: 110px;
    height: auto;
    display: block;
    margin-top: 0px; /* No overlap needed */
    filter: brightness(0) invert(1); /* Makes the text white */
}

.footer-logo span {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

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

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

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-badges {
    display: flex;
    gap: 12px;
}

.footer-badges .badge {
    padding: 6px 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

/* Success Message */
.success-message {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
}

.success-message.show {
    opacity: 1;
    visibility: visible;
}

.success-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 48px;
    text-align: center;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 24px;
}

.success-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.success-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border-top: 1px solid var(--border-color);
        flex-direction: column;
        padding: 24px;
        gap: 24px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-smooth);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .theme-selector {
        margin-left: 0;
        margin-top: 20px;
    }
    
    .theme-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-categories {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .about-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 0 16px;
        --section-padding: 60px 0;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .floating-cards {
        display: none;
    }
    
    .service-card,
    .contact-form-container,
    .visual-card {
        padding: 24px;
    }
    
    .impact-metrics {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Tropical Theme Enhancements */
body[data-theme="tropical"] .service-card.featured {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(255, 107, 53, 0.05) 50%, rgba(32, 178, 170, 0.05) 100%);
    border-color: var(--coral-color);
}

body[data-theme="tropical"] .gradient-text {
    background: var(--gradient-tropical);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body[data-theme="tropical"] .service-icon {
    background: var(--gradient-coral-teal);
}

body[data-theme="tropical"] .solution-metrics span {
    background: var(--gradient-ocean-wave);
}

body[data-theme="tropical"] .tech-item:hover {
    border-color: var(--teal-color);
}

body[data-theme="tropical"] .floating-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0, 206, 209, 0.1) 100%);
    border-color: var(--turquoise-color);
}