/* ============================================
   Innovatica Solutions - Theme & Animations
   Light Mode Only (Dark Mode Removed)
   ============================================ */

:root {
    /* Dynatrace Theme - Dark & Modern Tech */
    --light-bg: #0a0e1a;
    --light-bg-secondary: #0f1629;
    --light-text: #e8eaed;
    --light-text-secondary: #a8adb7;
    --light-border: #232d42;
    --light-shadow: rgba(0, 0, 0, 0.4);
    --light-shadow-lg: rgba(0, 0, 0, 0.5);
    
    /* Dark Theme Colors - Dynatrace Inspired */
    --dark-bg: #0a0e1a;
    --dark-bg-secondary: #0f1629;
    --dark-text: #e8eaed;
    --dark-text-secondary: #a8adb7;
    --dark-border: #232d42;
    --dark-shadow: rgba(0, 0, 0, 0.4);
    --dark-shadow-lg: rgba(0, 0, 0, 0.5);
    
    /* Accent Colors - Professional Tech Blues */
    --primary-blue: #2563eb;
    --primary-blue-dark: #1d4ed8;
    --primary-blue-light: rgba(37, 99, 235, 0.1);
    --indigo: #6366f1;
    --indigo-dark: #4f46e5;
    --accent-purple: #7c3aed;
    --accent-blue: #64acff;
    --tech-blue: #3b82f6;
    
    --transition-speed: 0.35s;
    --transition-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme (Default) */
body[data-theme="dark"],
body:not([data-theme]) {
    --bg: var(--dark-bg);
    --bg-secondary: var(--dark-bg-secondary);
    --text: var(--dark-text);
    --text-secondary: var(--dark-text-secondary);
    --border: var(--dark-border);
    --shadow: var(--dark-shadow);
    background-color: #0a0e1a;
    color: #e8eaed;
}

/* ============================================
   Global Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    font-size: 16px;
    transition: background-color var(--transition-speed) var(--transition-ease), 
                color var(--transition-speed) var(--transition-ease);
    overflow-x: hidden;
    letter-spacing: 0.5px;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 1rem;
    animation: fadeInDown 0.8s ease-out;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color var(--transition-speed) var(--transition-ease);
    font-weight: 500;
}

body[data-theme="dark"] a {
    color: #8bb9ff;
}

a:hover {
    color: var(--primary-blue-dark);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes smoothScale {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

[data-aos="fade-up"] {
    animation: fadeIn 0.8s ease-out forwards;
}

[data-aos="fade-right"] {
    animation: fadeInRight 0.8s ease-out forwards;
}

[data-aos="fade-left"] {
    animation: fadeInLeft 0.8s ease-out forwards;
}

/* Navigation Bar - Dynatrace Dark Theme */
nav {
    padding: 0.5rem 2rem;
    background-color: var(--bg);
    transition: all var(--transition-speed) var(--transition-ease);
    border-bottom: 1px solid rgba(100, 150, 255, 0.15);
}

body[data-theme="light"] nav {
    background: linear-gradient(180deg, #0a0e1a 0%, #0f1629 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body[data-theme="dark"] nav {
    background: linear-gradient(180deg, #0f1629 0%, #0a0e1a 100%);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

nav a {
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.35rem 1rem;
    transition: all var(--transition-speed) var(--transition-ease);
    border-radius: 0.375rem;
    color: var(--text);
}

nav a:hover {
    background-color: rgba(100, 150, 255, 0.15);
    color: #64acff;
}

body[data-theme="dark"] nav a:hover {
    background-color: rgba(100, 150, 255, 0.2);
    color: #64acff;
}

/* ============================================
   Hero Section
   ============================================ */
#hero {
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s ease-out;
}

/* Dynatrace Dark Tech Gradient */
body[data-theme="light"] #hero {
    background: linear-gradient(135deg, 
        #0a0e1a 0%,
        #0f1629 25%,
        #16213e 50%,
        #0f1629 75%,
        #0a0e1a 100%);
}

/* Dark theme gradient - Tech focused */
body[data-theme="dark"] #hero {
    background: linear-gradient(135deg, 
        #0a0e1a 0%,
        #16213e 20%,
        #2d1b4e 40%,
        #1a1a3e 60%,
        #0d0f1f 80%,
        #0a0e1a 100%);
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(100, 150, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(100, 150, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

body[data-theme="dark"] #hero::before {
    background: 
        radial-gradient(circle at 20% 50%, rgba(100, 150, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
}

#hero h1 {
    animation: fadeInDown 0.8s ease-out;
    color: #e8eaed;
}

#hero p {
    animation: fadeIn 0.8s ease-out 0.2s both;
    color: #a8adb7;
}

/* ============================================
   Services Section
   ============================================ */
#services {
    background: var(--bg);
    transition: background-color var(--transition-speed) var(--transition-ease);
}

body[data-theme="light"] #services {
    background: linear-gradient(135deg, #0a0e1a 0%, #0f1629 100%);
}

body[data-theme="dark"] #services {
    background: linear-gradient(135deg, #0a0e1a 0%, #0f1629 100%);
}

/* ============================================
   Service Cards - Dynatrace Tech Style
   ============================================ */
.service-card {
    padding: 2.5rem;
    border-radius: 1rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    transition: all var(--transition-speed) var(--transition-ease);
    animation: scaleUp 0.6s ease-out forwards;
    backdrop-filter: blur(10px);
}

body[data-theme="light"] .service-card {
    background: rgba(15, 22, 41, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 150, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

body[data-theme="light"] .service-card:hover {
    border-color: rgba(100, 172, 255, 0.5);
    box-shadow: 0 12px 24px rgba(100, 172, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-8px);
    background: rgba(15, 22, 41, 0.35);
    backdrop-filter: blur(15px);
}

body[data-theme="dark"] .service-card {
    background: rgba(15, 22, 41, 0.2);
    backdrop-filter: blur(10px);
    border-color: rgba(100, 150, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

body[data-theme="dark"] .service-card:hover {
    border-color: rgba(100, 172, 255, 0.5);
    box-shadow: 0 12px 32px rgba(100, 172, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-8px);
    background: rgba(15, 22, 41, 0.35);
    backdrop-filter: blur(15px);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #e8eaed;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #a8adb7;
}

.service-card .w-16 {
    transition: all 0.4s var(--transition-ease);
}

.service-card:hover .w-16 {
    transform: scale(1.1);
}

/* ============================================
   Buttons - Dynatrace Tech Style
   ============================================ */
button, .btn, .button {
    font-size: 0.85rem;
    padding: 0.5rem 1.25rem;
    font-size: 1 rem;
    padding: 0.3rem 0.3rem;
    border: 1px solid rgba(100, 150, 255, 0.3);
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-speed) var(--transition-ease);
    display: inline-block;
    letter-spacing: 0.4px;
    backdrop-filter: blur(8px);
    background: rgba(37, 99, 235, 0.15);
}

button:focus, .btn:focus {
    outline: 2px solid #2563eb;
    outline-offset: 3px;
}

button:hover, .btn:hover {
    transform: translateY(-2px);
}

button:active, .btn:active {
    transform: translateY(0);
}

/* CTA Button - Liquid Glass */
.bg-blue-600 {
    background: rgba(37, 99, 235, 0.25);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 172, 255, 0.3);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all var(--transition-speed) var(--transition-ease);
    font-weight: 700;
}

.bg-blue-600:hover {
    background: rgba(37, 99, 235, 0.35);
    border-color: rgba(100, 172, 255, 0.5);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
}

body[data-theme="dark"] .bg-blue-600 {
    background: rgba(37, 99, 235, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 172, 255, 0.3);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

body[data-theme="dark"] .bg-blue-600:hover {
    background: rgba(37, 99, 235, 0.35);
    border-color: rgba(100, 172, 255, 0.5);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
}

/* ============================================
   About Section - Dynatrace Theme
   ============================================ */
#about {
    position: relative;
    background-color: var(--bg);
}

body[data-theme="light"] #about {
    background: linear-gradient(135deg, #0a0e1a 0%, #0f1629 50%, #0d0e17 100%);
}

body[data-theme="dark"] #about {
    background: linear-gradient(135deg, #0f1629 0%, #0a0e1a 50%, #050709 100%);
}

#about::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(100, 150, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

body[data-theme="dark"] #about::before {
    background: radial-gradient(circle, rgba(100, 150, 255, 0.1) 0%, transparent 70%);
}

/* ============================================
   Footer - Dynatrace Theme
   ============================================ */
footer {
    padding: 3.5rem 2rem 2rem;
    transition: all var(--transition-speed) var(--transition-ease);
}

body[data-theme="light"] footer {
    background: linear-gradient(180deg, #0f1629 0%, #0a0e1a 100%);
    border-top: 1px solid rgba(100, 150, 255, 0.15);
    color: #e8eaed;
}

body[data-theme="dark"] footer {
    background: linear-gradient(180deg, #0f1629 0%, #0a0e1a 100%);
    border-top: 1px solid rgba(100, 150, 255, 0.15);
    color: #e8eaed;
}

body[data-theme="dark"] footer {
    background: linear-gradient(180deg, #0a0e1a 0%, #000b18 100%);
    border-top: 1px solid var(--dark-border);
    color: var(--dark-text);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.4);
}

body[data-theme="light"] footer a {
    color: var(--primary-blue);
    transition: color var(--transition-speed) var(--transition-ease);
}

body[data-theme="light"] footer a:hover {
    color: var(--primary-blue-dark);
}

body[data-theme="dark"] footer a {
    color: #8bb9ff;
    transition: color var(--transition-speed) var(--transition-ease);
}

body[data-theme="dark"] footer a:hover {
    color: #a8d0ff;
}

footer h3, footer h4 {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

footer p {
    font-size: 0.9rem;
}

/* ============================================
   Sections
   ============================================ */
section {
    padding: 4rem 2rem;
    transition: background-color var(--transition-speed));
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================================
   Focus States for Accessibility
   ============================================ */
button:focus, a:focus, input:focus, textarea:focus, select:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 3px;
}

input, textarea, select {
    font-size: 0.95rem;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(100, 150, 255, 0.3);
    border-radius: 0.5rem;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    transition: all var(--transition-speed) var(--transition-ease);
    letter-spacing: 0.3px;
    backdrop-filter: blur(10px);
}

body[data-theme="light"] input, 
body[data-theme="light"] textarea, 
body[data-theme="light"] select {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

body[data-theme="dark"] input, 
body[data-theme="dark"] textarea, 
body[data-theme="dark"] select {
    background: rgba(37, 99, 235, 0.1);
    backdrop-filter: blur(10px);
}

input:focus, textarea:focus, select:focus {
    border-color: rgba(100, 172, 255, 0.5);
    backdrop-filter: blur(15px);
    background: rgba(37, 99, 235, 0.15);
}

/* ============================================
   Theme Toggle Button
   ============================================ */
#themeToggle {
    transition: all var(--transition-speed) var(--transition-ease);
    display: flex;
    align-items: center;
    justify-content: center;
}

body[data-theme="light"] #themeToggle {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 172, 255, 0.3);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

body[data-theme="light"] #themeToggle:hover {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(100, 172, 255, 0.5);
}

body[data-theme="dark"] #themeToggle {
    background: rgba(37, 99, 235, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 150, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body[data-theme="dark"] #themeToggle:hover {
    background: rgba(37, 99, 235, 0.25);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(100, 172, 255, 0.5);
}

body[data-theme="light"] #sunIcon {
    color: #f59e0b;
}

body[data-theme="dark"] #sunIcon {
    color: #fbbf24;
}

body[data-theme="dark"] #moonIcon {
    color: #cbd5e0;
}

/* ============================================
   Theme-Aware Text Colors
   ============================================ */

/* Primary Text (Headlines, Important Text) */
.text-gray-900,
.text-gray-800 {
    color: var(--text) !important;
}

/* Secondary Text (Body Text) */
.text-gray-700,
.text-gray-600 {
    color: var(--text-secondary) !important;
}

/* Tertiary Text (Lighter text) */
.text-gray-500,
.text-gray-400 {
    color: #9ca3af !important;
}

body[data-theme="dark"] .text-gray-500,
body[data-theme="dark"] .text-gray-400 {
    color: #6b7280 !important;
}

/* Blue colors - Light theme */
body[data-theme="light"] .text-blue-600,
body[data-theme="light"] .text-blue-700 {
    color: #2563eb !important;
}

/* Blue colors - Dark theme */
body[data-theme="dark"] .text-blue-600,
body[data-theme="dark"] .text-blue-700 {
    color: #8bb9ff !important;
}

.text-blue-500 {
    color: #3b82f6 !important;
}

body[data-theme="dark"] .text-blue-500 {
    color: #93c5fd !important;
}

/* Indigo colors */
body[data-theme="light"] .text-indigo-400,
body[data-theme="light"] .text-indigo-500 {
    color: #6366f1 !important;
}

body[data-theme="dark"] .text-indigo-400,
body[data-theme="dark"] .text-indigo-500 {
    color: #a5b4fc !important;
}

/* Background colors that should adapt */
body[data-theme="light"] .bg-blue-50 {
    background-color: #eff6ff !important;
}

body[data-theme="dark"] .bg-blue-50 {
    background-color: rgba(99, 102, 241, 0.08) !important;
}

body[data-theme="light"] .bg-blue-100 {
    background-color: #dbeafe !important;
}

body[data-theme="dark"] .bg-blue-100 {
    background-color: rgba(99, 102, 241, 0.12) !important;
}

body[data-theme="light"] .bg-gray-50 {
    background-color: #f9fafb !important;
}

body[data-theme="dark"] .bg-gray-50 {
    background-color: rgba(255, 255, 255, 0.02) !important;
}

/* White background adapts to dark theme */
body[data-theme="light"] .bg-white {
    background-color: #ffffff !important;
}

body[data-theme="dark"] .bg-white {
    background-color: #0a0e1a !important;
}

/* Gradient backgrounds */
body[data-theme="dark"] .bg-gradient-to-br {
    background-color: #0a0e1a !important;
}

/* Border colors */
body[data-theme="light"] .border-blue-200 {
    border-color: #bfdbfe !important;
}

body[data-theme="dark"] .border-blue-200 {
    border-color: rgba(99, 102, 241, 0.25) !important;
}

body[data-theme="light"] .border-gray-200 {
    border-color: #e5e7eb !important;
}

body[data-theme="dark"] .border-gray-200 {
    border-color: rgba(99, 102, 241, 0.15) !important;
}

/* Hover states */
body[data-theme="light"] .hover\:bg-blue-50:hover {
    background-color: #eff6ff !important;
}

body[data-theme="dark"] .hover\:bg-blue-50:hover {
    background-color: rgba(99, 102, 241, 0.1) !important;
}

body[data-theme="light"] .hover\:text-blue-700:hover {
    color: #1d4ed8 !important;
}

body[data-theme="dark"] .hover\:text-blue-700:hover {
    color: #a8d0ff !important;
}

body[data-theme="light"] .hover\:bg-blue-700:hover {
    background-color: #1d4ed8 !important;
}

/* Mobile Menu Button */
body[data-theme="light"] #mobileMenuBtn {
    color: #0f1419;
}

body[data-theme="dark"] #mobileMenuBtn {
    color: #e8eaed;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--text);
}

/* Paragraph text inherits from body already */

/* Service card text colors */
body[data-theme="light"] .service-card h3 {
    color: #0f1419;
}

body[data-theme="dark"] .service-card h3 {
    color: #e8eaed;
}

body[data-theme="light"] .service-card p {
    color: #5a5f6b;
}

body[data-theme="dark"] .service-card p {
    color: #a8adb7;
}

/* Form Labels */
body[data-theme="light"] label {
    color: #0f1419;
}

body[data-theme="dark"] label {
    color: #a8adb7;
}

/* Placeholder text */
body[data-theme="light"] input::placeholder,
body[data-theme="light"] textarea::placeholder {
    color: #9ca3af;
}

body[data-theme="dark"] input::placeholder,
body[data-theme="dark"] textarea::placeholder {
    color: rgba(168, 173, 183, 0.6);
}

/* Option text in selects */
body[data-theme="light"] select option {
    color: #0f1419;
    background-color: #ffffff;
}

body[data-theme="dark"] select option {
    color: #e8eaed;
    background-color: #0f1629;
}

/* ============================================
   Grid Utilities
   ============================================ */
.grid {
    display: grid;
}

.md\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.lg\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gap-8 {
    gap: 2rem;
}

.gap-4 {
    gap: 1rem;
}

/* ============================================
   Flexbox Utilities
   ============================================ */
.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.flex-col {
    flex-direction: column;
}

/* ============================================
   Text Utilities
   ============================================ */
.text-center {
    text-align: center;
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-lg {
    font-size: 1.125rem;
}

/* ============================================
   Spacing Utilities
   ============================================ */
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }

/* ============================================
   Border Radius
   ============================================ */
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 1rem; }
.rounded-2xl { border-radius: 1.5rem; }

/* ============================================
   Shadow
   ============================================ */
.shadow-md { box-shadow: 0 4px 6px var(--shadow); }
.shadow-lg { box-shadow: 0 8px 16px var(--shadow); }

/* ============================================
   Display
   ============================================ */
.hidden { display: none; }
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }

/* ============================================
   Positioning
   ============================================ */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }

/* ============================================
   Width/Height
   ============================================ */
.w-full { width: 100%; }
.h-full { height: 100%; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.aspect-video { aspect-ratio: 16 / 9; }

/* ============================================
   Z-index
   ============================================ */
.z-50 { z-index: 50; }
.-z-10 { z-index: -10; }

/* ============================================
   Responsive Design - MOBILE FIRST
   ============================================ */

/* Extra Small Devices (320px - 374px) */
@media (max-width: 374px) {
    h1 { 
        font-size: 1.5rem; 
        margin-bottom: 0.75rem;
    }
    h2 { 
        font-size: 1.25rem; 
        margin-bottom: 0.5rem;
    }
    h3 { 
        font-size: 1rem; 
    }
    
    section { 
        padding: 1.5rem 0.75rem; 
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    button, .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .service-card {
        padding: 1rem;
        border-radius: 0.75rem;
    }
    
    .service-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
}

/* Small Devices (375px - 479px) */
@media (max-width: 479px) {
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    html {
        font-size: 15px;
    }
    
    h1 { 
        font-size: 1.75rem; 
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    h2 { 
        font-size: 1.4rem; 
        margin-bottom: 0.75rem;
    }
    h3 { 
        font-size: 1.1rem; 
    }
    h4 { 
        font-size: 1rem;
    }
    
    section { 
        padding: 2rem 1rem; 
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section-padding {
        padding: 2rem 0;
    }
    
    p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* Hero Section Mobile */
    #hero {
        min-height: 80vh;
        padding-top: 80px;
    }
    
    #hero h1 {
        font-size: 1.75rem !important;
        margin-bottom: 0.75rem;
    }
    
    #hero p {
        font-size: 1rem !important;
        margin-bottom: 1rem;
    }
    
    #hero .flex {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    #hero a {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1rem;
    }
    
    /* Buttons - Better Mobile Touch Targets */
    button, .btn, a.btn, input[type="button"], input[type="submit"] {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        min-height: 44px;
        min-width: 44px;
        border-radius: 0.5rem;
        transition: all 0.3s ease;
    }
    
    .btn-primary, .btn-secondary,
    .px-8.py-4 {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.95rem;
        width: 100%;
        text-align: center;
    }
    
    /* Forms - Mobile Friendly */
    input, textarea, select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.75rem 1rem;
        border-radius: 0.5rem;
        width: 100%;
    }
    
    textarea {
        min-height: 100px;
    }
    
    /* Service Cards - Better Mobile */
    .service-card {
        padding: 1.25rem;
        border-radius: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .w-16 {
        width: 3rem !important;
        height: 3rem !important;
    }
    
    /* Grid on Mobile */
    .grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .md\:grid-cols-2,
    .lg\:grid-cols-3 {
        grid-template-columns: 1fr !important;
    }
    
    /* Spacing Adjustments */
    .gap-8 {
        gap: 1rem !important;
    }
    
    .gap-4 {
        gap: 0.75rem !important;
    }
    
    .mb-8 {
        margin-bottom: 1rem;
    }
    
    .mb-6 {
        margin-bottom: 1rem;
    }
    
    .px-8 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .py-4 {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }
    
    /* Navigation Mobile */
    nav {
        position: fixed;
        top: 0;
        z-index: 50;
        width: 100%;
    }
    
    nav .container {
        padding: 0.75rem;
    }
    
    nav .hidden.md\:flex {
        display: none;
    }
    
    nav .hidden.md\:flex.space-x-8 {
        display: none !important;
    }
    
    #mobileMenuBtn {
        padding: 0.5rem;
        min-height: 44px;
        min-width: 44px;
    }
    
    #mobileMenu {
        position: relative;
        max-height: 500px;
        padding: 1rem;
        margin-top: 0.5rem;
    }
    
    #mobileMenu a {
        padding: 0.75rem 1rem;
        display: block;
        font-size: 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    #mobileMenu .px-6.py-3 {
        padding: 0.75rem 1rem !important;
        width: 100%;
    }
    
    /* Portfolio Mobile */
    .portfolio-item {
        height: 200px;
        border-radius: 0.75rem;
    }
    
    /* Testimonials Mobile */
    .testimonial-card {
        padding: 1.25rem;
        border-radius: 0.75rem;
        margin-bottom: 1rem;
    }
    
    /* Footer Mobile */
    footer {
        padding: 2rem 1rem 1rem;
    }
    
    footer .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    footer h3, footer h4 {
        font-size: 0.95rem;
    }
    
    footer p {
        font-size: 0.9rem;
    }
    
    footer ul {
        margin: 0.5rem 0;
    }
    
    footer a {
        font-size: 0.9rem;
    }
    
    /* About Section Mobile */
    #about {
        padding: 2rem 1rem;
    }
    
    #about .flex {
        flex-direction: column;
        gap: 2rem;
    }
    
    /* CTA Section Mobile */
    #cta {
        text-align: center;
    }
    
    #cta h2 {
        font-size: 1.4rem;
        margin-bottom: 0.75rem;
    }
    
    #cta .flex {
        flex-direction: column;
        gap: 1rem;
    }
    
    #cta a {
        padding: 0.75rem 1.5rem;
        width: 100%;
    }
}

/* Medium Devices (480px - 767px) - Tablet Small */
@media (min-width: 480px) and (max-width: 767px) {
    html {
        font-size: 16px;
    }
    
    h1 { 
        font-size: 2rem; 
        line-height: 1.3;
    }
    h2 { 
        font-size: 1.6rem; 
    }
    h3 { 
        font-size: 1.2rem; 
    }
    
    section { 
        padding: 2.5rem 1.5rem; 
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    button, .btn {
        padding: 0.75rem 1.75rem;
        font-size: 1rem;
    }
    
    /* Hero Mobile Tablet */
    #hero {
        min-height: 70vh;
        padding-top: 80px;
    }
    
    #hero h1 {
        font-size: 2rem !important;
    }
    
    #hero p {
        font-size: 1.1rem !important;
    }
    
    #hero .flex {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Service Cards - 2 per row on tablet */
    .grid.md\:grid-cols-2.lg\:grid-cols-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.15rem;
    }
    
    /* Footer on Tablet */
    footer .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    footer .md\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Large Devices (768px+) - Desktop */
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
    
    h1 { 
        font-size: 3rem; 
    }
    h2 { 
        font-size: 2rem; 
    }
    h3 { 
        font-size: 1.5rem; 
    }
    
    section { 
        padding: 3rem 2rem; 
    }
    
    .container {
        padding: 0 2rem;
    }
    
    button, .btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    nav, footer { display: none; }
    section { page-break-inside: avoid; }
}

/* ============================================
   High Contrast Mode
   ============================================ */
@media (prefers-contrast: more) {
    body { font-weight: 500; }
    button, .btn { border: 2px solid var(--text); }
    .service-card { border-width: 3px; }
}

/* ============================================
   Reduced Motion Support
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   Global Styles
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* ============================================
   Typography
   ============================================ */

.font-poppins {
    font-family: 'Poppins', sans-serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
    font-weight: 700;
}

p {
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ============================================
   Utility Classes
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-padding {
    padding: 5rem 0;
}

/* ============================================
   Navigation Bar
   ============================================ */

nav {
    backdrop-filter: blur(10px);
    background: rgba(15, 23, 42, 0.8);
    border-bottom: 1px solid rgba(30, 41, 59, 0.5);
}

nav a {
    position: relative;
    transition: color var(--transition-duration) ease;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #6366F1;
    transition: width var(--transition-duration) ease;
}

nav a:hover::after {
    width: 100%;
}

/* ============================================
   Buttons
   ============================================ */

.btn-primary {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    padding: 0.3rem 0.8rem;
    background: linear-gradient(135deg, #6366F1 0%, #3B82F6 100%);
    color: white;
    border-radius: 0.5rem;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-duration) ease;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    padding: 0.3rem 0.8rem;
    border: 2px solid #6366F1;
    color: #6366F1;
    border-radius: 0.5rem;
    background: transparent;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-duration) ease;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: rgba(99, 102, 241, 0.2);
    border-color: #818CF8;
    color: #818CF8;
}

/* ============================================
   Gradients
   ============================================ */

.gradient-text {
    background: linear-gradient(135deg, #6366F1 0%, #3B82F6 50%, #A855F7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-bg {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
}

/* ============================================
   Glass Morphism
   ============================================ */

.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
}

.glass-sm {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ============================================
   Cards & Containers
   ============================================ */

.card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.5) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all var(--transition-duration) ease;
}

.card:hover {
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
}

.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-slow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* AOS Library Integration */
[data-aos] {
    opacity: 0;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* ============================================
   Hero Section
   ============================================ */

#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

#hero h1 {
    font-size: clamp(2.5rem, 10vw, 4rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease forwards;
}

#hero p {
    font-size: clamp(1rem, 3vw, 1.5rem);
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
    color: white
}

#hero .flex {
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
    gap: 1rem;
}

/* ============================================
   About Section
   ============================================ */

#about {
    position: relative;
    overflow: hidden;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

#about::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

/* ============================================
   Services Section
   ============================================ */

#services {
    position: relative;
    overflow: hidden;
}

.service-card {
    cursor: pointer;
}

.service-card .w-16 {
    transition: all 0.3s ease;
}

.service-card:hover .w-16 {
    transform: scale(1.1);
}

/* ============================================
   Portfolio Section
   ============================================ */

#portfolio {
    position: relative;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    height: 300px;
}

.portfolio-item .aspect-video {
    position: relative;
    overflow: hidden;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 1rem;
}

.portfolio-item:hover::after {
    opacity: 1;
}

/* ============================================
   Testimonials Section
   ============================================ */

.testimonial-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.5) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-5px);
}

/* ============================================
   Form Styles
   ============================================ */

.input-field {
    border-radius: 0.5rem;
    padding: 0.875rem 1rem;
    font-family: 'Inter', sans-serif;
    transition: all var(--transition-speed) var(--transition-ease);
    font-size: 0.95rem;
}

/* Light theme form inputs */
body[data-theme="light"] .input-field {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border: 1px solid #dce0eb;
    color: #0f1419;
}

body[data-theme="light"] .input-field::placeholder {
    color: #999aaa;
}

body[data-theme="light"] .input-field:focus {
    outline: none;
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08), inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

body[data-theme="light"] .input-field:hover {
    border-color: #c5c9d8;
    background: #ffffff;
}

/* Dark theme form inputs */
body[data-theme="dark"] .input-field {
    background: rgba(15, 22, 41, 0.8);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #e8eaed;
}

body[data-theme="dark"] .input-field::placeholder {
    color: rgba(168, 173, 183, 0.7);
}

body[data-theme="dark"] .input-field:focus {
    outline: none;
    border-color: #6366f1;
    background: rgba(15, 22, 41, 1);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12), inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

body[data-theme="dark"] .input-field:hover {
    border-color: rgba(99, 102, 241, 0.35);
}

textarea.input-field {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   Footer
   ============================================ */

footer {
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: #6366F1;
}

/* ============================================
   Mobile Menu
   ============================================ */

#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobileMenu.active {
    max-height: 500px;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .section-padding {
        padding: 3rem 0;
    }

    #hero {
        min-height: 80vh;
        padding-top: 5rem;
    }

    .grid {
        gap: 1.5rem;
    }

    .portfolio-item {
        height: 250px;
    }

    .service-card {
        padding: 1.5rem;
    }

    nav::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: rgba(15, 23, 42, 0.9);
        backdrop-filter: blur(10px);
        z-index: -1;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .section-padding {
        padding: 2rem 0;
    }

    #hero {
        min-height: 70vh;
        padding-top: 4rem;
    }

    .flex {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Scroll Bar Styling
   ============================================ */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
}

::-webkit-scrollbar-thumb {
    background: #6366F1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #818CF8;
}

/* ============================================
   Accessibility
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   Utility Classes for Tailwind
   ============================================ */

.delay-1000 {
    animation-delay: 1000ms;
}

.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

.group:hover .group-hover\:bg-indigo-500\/20 {
    background-color: rgba(99, 102, 241, 0.2);
}

/* ============================================
   Contact Page Theming
   ============================================ */

/* Footer - light theme */
body[data-theme="light"] footer {
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
    color: #1a1a1a;
}

body[data-theme="light"] footer h3,
body[data-theme="light"] footer h4 {
    color: #1a1a1a;
}

body[data-theme="light"] footer p,
body[data-theme="light"] footer ul {
    color: #666666;
}

body[data-theme="light"] footer a {
    color: #666666;
}

body[data-theme="light"] footer a:hover {
    color: #0066cc;
}

body[data-theme="light"] footer .btn-social {
    background: #f0f0f0;
}

body[data-theme="light"] footer .btn-social:hover {
    background: #0066cc;
    color: white;
}

/* Footer - dark theme */
body[data-theme="dark"] footer {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1a2e 100%);
    border-top: 1px solid #2d3d54;
    color: #f0f0f0;
}

body[data-theme="dark"] footer h3,
body[data-theme="dark"] footer h4 {
    color: #ffffff;
}

body[data-theme="dark"] footer p,
body[data-theme="dark"] footer ul {
    color: #9ca3af;
}

body[data-theme="dark"] footer a {
    color: #9ca3af;
}

body[data-theme="dark"] footer a:hover {
    color: #6366f1;
}

body[data-theme="dark"] footer .btn-social {
    background: #2d3d54;
}

body[data-theme="dark"] footer .btn-social:hover {
    background: #6366f1;
}

/* Contact page text colors */
body[data-theme="light"] .text-gray-400 {
    color: #666666;
}

body[data-theme="light"] .text-gray-300 {
    color: #999999;
}

body[data-theme="light"] .text-indigo-400 {
    color: 0066cc;
}

/* Contact form card - light theme */
body[data-theme="light"] .contact-form-card {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border: 1px solid #dce0eb;
    color: #0f1419;
    box-shadow: 0 4px 12px rgba(15, 20, 25, 0.08);
    transition: all var(--transition-speed) var(--transition-ease);
}

body[data-theme="light"] .contact-form-card:hover {
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.1);
}

body[data-theme="light"] .contact-form-card h2 {
    color: #0f1419;
    font-weight: 600;
}

body[data-theme="light"] .contact-form-card label {
    color: #4a5578;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Contact form card - dark theme */
body[data-theme="dark"] .contact-form-card {
    background: linear-gradient(135deg, rgba(15, 22, 41, 0.8) 0%, rgba(10, 14, 26, 0.9) 100%);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #e8eaed;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-speed) var(--transition-ease);
}

body[data-theme="dark"] .contact-form-card:hover {
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

body[data-theme="dark"] .contact-form-card h2 {
    color: #ffffff;
    font-weight: 600;
}

body[data-theme="dark"] .contact-form-card label {
    color: #a8adb7;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Contact info cards - light theme */
body[data-theme="light"] .contact-info-card {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border: 1px solid #dce0eb;
    color: #0f1419;
    box-shadow: 0 2px 8px rgba(15, 20, 25, 0.06);
    transition: all var(--transition-speed) var(--transition-ease);
}

body[data-theme="light"] .contact-info-card:hover {
    border-color: #2563eb;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12);
    transform: translateY(-4px);
}

body[data-theme="light"] .contact-info-card h3 {
    color: #0f1419;
    font-weight: 600;
}

body[data-theme="light"] .contact-info-card p {
    color: #5a5f6b;
    font-size: 0.95rem;
}

/* Contact info cards - dark theme */
body[data-theme="dark"] .contact-info-card {
    background: linear-gradient(135deg, rgba(15, 22, 41, 0.7) 0%, rgba(10, 14, 26, 0.8) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #e8eaed;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: all var(--transition-speed) var(--transition-ease);
}

body[data-theme="dark"] .contact-info-card:hover {
    border-color: #6366f1;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
    transform: translateY(-4px);
}

body[data-theme="dark"] .contact-info-card h3 {
    color: #ffffff;
    font-weight: 600;
}

body[data-theme="dark"] .contact-info-card p {
    color: #a8adb7;
    font-size: 0.95rem;
}

/* FAQ items - light theme */
body[data-theme="light"] .faq-item {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border: 1px solid #dce0eb;
    color: #0f1419;
    box-shadow: 0 2px 8px rgba(15, 20, 25, 0.06);
    transition: all var(--transition-speed) var(--transition-ease);
    cursor: pointer;
}

body[data-theme="light"] .faq-item:hover {
    border-color: #2563eb;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.1);
}

body[data-theme="light"] .faq-item h3 {
    color: #0f1419;
    font-weight: 600;
}

body[data-theme="light"] .faq-item p {
    color: #5a5f6b;
    font-size: 0.95rem;
}

/* ============================================
   FAQ Section - Q&A Display (Not Accordion)
   ============================================ */

#faq {
    scroll-margin-top: 80px;
}

/* FAQ Section Title */
#faq h2 {
    font-size: clamp(1.875rem, 4vw, 2.25rem);
    letter-spacing: -0.5px;
}

/* FAQ Accordion Container */
#faq .max-w-3xl {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* FAQ Items - Static Q&A Display */
body[data-theme="dark"] .faq-item {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(100, 172, 255, 0.04) 100%), rgba(15, 22, 41, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 172, 255, 0.2);
    color: #e8eaed;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.05);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

body[data-theme="dark"] .faq-item:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(100, 172, 255, 0.08) 100%), rgba(15, 22, 41, 0.5);
    border-color: rgba(100, 172, 255, 0.4);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* FAQ Header */
.faq-item > div:first-child {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
}

/* FAQ Question Text - Bold */
body[data-theme="dark"] .faq-item h3 {
    color: #e8eaed;
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

body[data-theme="dark"] .faq-item h3:hover {
    color: #64acff;
}

/* FAQ Answer Text - Regular (Not Bold) */
body[data-theme="dark"] .faq-item p {
    color: #a8adb7;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    margin-top: 1rem;
    font-weight: 400;
}

/* Light Theme FAQ (if applicable) */
body[data-theme="light"] .faq-item {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border: 1px solid #dce0eb;
    color: #0f1419;
    box-shadow: 0 2px 8px rgba(15, 20, 25, 0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

body[data-theme="light"] .faq-item:hover {
    border-color: #2563eb;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12);
    transform: translateY(-2px);
}

body[data-theme="light"] .faq-item h3 {
    color: #0f1419;
    font-weight: 700;
}

body[data-theme="light"] .faq-item h3:hover {
    color: #2563eb;
}

body[data-theme="light"] .faq-item p {
    color: #5a5f6b;
    font-weight: 400;
}

/* Success and error messages - light theme */
body[data-theme="light"] #successMessage {
    background: #dcfce7;
    border: 1px solid #22c55e;
    color: #166534;
}

body[data-theme="light"] #errorMessage {
    background: #fee2e2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

/* Success and error messages - dark theme */
body[data-theme="dark"] #successMessage {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #86efac;
}

body[data-theme="dark"] #errorMessage {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #fca5a5;
}

/* ============================================
   Professional Gradients for Executive Appeal
   ============================================ */

/* Enhanced Service Cards with premium gradients */
body[data-theme="dark"] .service-card {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(100, 172, 255, 0.04) 100%), rgba(15, 22, 41, 0.4);
}

body[data-theme="dark"] .service-card:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(100, 172, 255, 0.08) 100%), rgba(15, 22, 41, 0.5);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.1), inset 0 1px 2px rgba(255, 255, 255, 0.1);
    border-color: rgba(100, 172, 255, 0.4);
}

/* Professional Card Gradients for Values Section */
body[data-theme="dark"] .values-card {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.15) 0%, rgba(37, 99, 235, 0.1) 50%, rgba(15, 22, 41, 0.3) 100%);
    backdrop-filter: blur(10px);
}

body[data-theme="dark"] .values-card:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(100, 172, 255, 0.1) 50%, rgba(15, 22, 41, 0.35) 100%);
}

/* CTA Button with Gradient Glow */
.bg-blue-600 {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3) 0%, rgba(59, 130, 246, 0.25) 100%);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2), inset 0 1px 2px rgba(100, 172, 255, 0.2);
}

.bg-blue-600:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.4) 0%, rgba(59, 130, 246, 0.35) 100%);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.3), inset 0 1px 2px rgba(100, 172, 255, 0.3);
}

/* Professional gradient text for headings */
.gradient-heading {
    background: linear-gradient(135deg, #e8eaed 0%, #a8adb7 50%, #8bb9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Subtle gradient overlays for visual hierarchy */
.gradient-overlay-subtle {
    position: relative;
    overflow: hidden;
}

.gradient-overlay-subtle::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, transparent 100%);
    pointer-events: none;
}
