/* ==========================================================================
   NAVGENAI CSS Design System
   ========================================================================== */

/* Theme Color Variables */
:root[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --primary: #0F4C81;
    --primary-rgb: 15, 76, 129;
    --secondary: #0284c7; /* Professional Blue */
    --accent: #e67e22; /* Warm Orange/Gold */
    --accent-rgb: 230, 126, 34;
    --border-color: #e2e8f0;
    --hero-bg-gradient: linear-gradient(135deg, #0f4c81 0%, #1e3a8a 100%);
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 20px 40px -15px rgba(15, 76, 129, 0.15);
    --glow-shadow: 0 0 20px rgba(230, 126, 34, 0.2);
    --input-bg: #ffffff;
}

:root[data-theme="dark"] {
    --bg-primary: #0a0e1a;
    --bg-secondary: #0f1524;
    --bg-card: #141b2d;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #00D4FF; /* AI Neon Cyan */
    --primary-rgb: 0, 212, 255;
    --secondary: #0F4C81; /* Midnight Corporate Blue */
    --accent: #ff9f43; /* Glow Orange */
    --accent-rgb: 255, 159, 67;
    --border-color: #1e293b;
    --hero-bg-gradient: linear-gradient(135deg, #090d16 0%, #0f1524 100%);
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --hover-shadow: 0 20px 40px -15px rgba(0, 212, 255, 0.3);
    --glow-shadow: 0 0 20px rgba(0, 212, 255, 0.25);
    --input-bg: #1c2541;
}

/* Base Styles & Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.15s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    font-weight: 700;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

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

.align-center { align-items: center; }
.text-center { text-align: center; }
.bg-light { background-color: var(--bg-secondary); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-family: 'Outfit', sans-serif;
}

.btn-primary {
    background-color: var(--primary);
    color: #0a0e1a;
}

[data-theme="light"] .btn-primary {
    background-color: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--accent);
    color: #ffffff;
    box-shadow: var(--glow-shadow);
    transform: translateY(-2px);
}

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

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

.btn-block {
    display: width;
    width: 100%;
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0;
}

.btn-link:hover {
    color: var(--accent);
}

/* Badges & Section Tags */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--text-muted);
}

.highlight {
    color: var(--primary);
    background: linear-gradient(120deg, rgba(var(--primary-rgb), 0.15) 0%, rgba(var(--primary-rgb), 0) 100%);
    padding: 0 0.25rem;
    border-radius: 4px;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(var(--bg-primary-rgb, 255, 255, 255), 0.8);
}

:root[data-theme="light"] .header {
    background-color: rgba(255, 255, 255, 0.85);
}

:root[data-theme="dark"] .header {
    background-color: rgba(10, 14, 26, 0.8);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.logo-accent {
    color: var(--primary);
}

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

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Theme Switcher Button UI */
.theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-main);
}

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

.sun-icon { display: none; }
.moon-icon { display: block; }

:root[data-theme="dark"] .sun-icon { display: block; }
:root[data-theme="dark"] .moon-icon { display: none; }

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1010;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2.5px;
    background-color: var(--text-main);
    border-radius: 5px;
    transition: all 0.3s ease;
}

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

:root[data-theme="light"] .hero-section {
    color: #ffffff;
}

:root[data-theme="light"] .hero-section .hero-title,
:root[data-theme="light"] .hero-section .hero-subtitle,
:root[data-theme="light"] .hero-section .hero-desc {
    color: #ffffff;
}

:root[data-theme="light"] .hero-section .highlight {
    color: #00ffff;
}

:root[data-theme="light"] .hero-section .btn-secondary {
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

:root[data-theme="light"] .hero-section .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 80% 20%, rgba(var(--primary-rgb), 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Floating Card graphics for Hero */
.tech-canvas-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    max-height: 450px;
    object-fit: cover;
}

.glowing-orb {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.4) 0%, transparent 70%);
    filter: blur(20px);
    z-index: 1;
    top: 10%;
    right: 10%;
    animation: pulseOrb 6s ease-in-out infinite alternate;
}

.floating-card {
    position: absolute;
    background: rgba(var(--bg-card === '#141b2d' ? '20, 27, 45' : '255, 255, 255'), 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: var(--card-shadow);
    z-index: 3;
}

:root[data-theme="light"] .floating-card {
    background: rgba(255, 255, 255, 0.9);
}

:root[data-theme="dark"] .floating-card {
    background: rgba(20, 27, 45, 0.85);
}

.floating-card.c1 {
    top: 15%;
    left: -20px;
    animation: floatAnim 4s ease-in-out infinite alternate;
}

.floating-card.c2 {
    bottom: 10%;
    right: -20px;
    animation: floatAnim 4s ease-in-out infinite alternate-reverse 1s;
}

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

.floating-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
}

.floating-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Stats Impact Bar */
.stats-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-card);
}

.stat-card {
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* About Us Section */
.about-section {
    padding: 100px 0;
}

.about-image-container {
    position: relative;
    padding-right: 1.5rem;
}

.about-img {
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    width: 100%;
    z-index: 2;
    position: relative;
}

.accent-box {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 5px solid var(--accent);
    border-radius: 8px;
    bottom: -15px;
    left: -15px;
    z-index: 1;
}

.about-content .section-title {
    margin-bottom: 1.5rem;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.mission-vision {
    margin-top: 2.5rem;
    gap: 1.5rem;
}

.info-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.card-icon {
    margin-bottom: 1rem;
}

.text-primary { color: var(--primary); }
.text-secondary { color: var(--accent); }

.info-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.info-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Services Section */
.services-section {
    padding: 100px 0;
}

.services-grid {
    margin-top: 4rem;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem 1.8rem;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    text-align: left;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

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

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

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Why Choose NAVGENAI Section */
.why-section {
    padding: 100px 0;
}

.why-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-item {
    display: flex;
    gap: 1rem;
}

.why-item-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(var(--accent-rgb), 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.why-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.why-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.why-grid {
    grid-template-columns: repeat(2, 1fr);
    align-content: center;
}

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.feature-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(var(--primary-rgb), 0.08);
    position: absolute;
    top: 10px;
    right: 15px;
    line-height: 1;
    font-family: 'Outfit', sans-serif;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    margin-top: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Industries We Serve Section */
.industries-section {
    padding: 100px 0;
}

.industries-grid {
    margin-top: 3.5rem;
}

.industry-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(var(--primary-rgb), 0.3);
}

.industry-icon {
    font-size: 2.5rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.industry-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.industry-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Interactive Process Timeline */
.process-section {
    padding: 100px 0;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 4rem auto 0;
    padding: 1rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: var(--border-color);
    transform: translateX(-50%);
}

.timeline-item {
    padding: 2rem 3rem;
    width: 50%;
    position: relative;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: #0a0e1a;
    border: 4px solid var(--bg-primary);
    border-radius: 50%;
    top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    z-index: 10;
    transition: background-color 0.3s ease;
}

[data-theme="light"] .timeline-dot {
    color: #ffffff;
}

.timeline-item:hover .timeline-dot {
    background-color: var(--accent);
    color: #ffffff;
}

.timeline-item.left .timeline-dot {
    right: -20px;
}

.timeline-item.right .timeline-dot {
    left: -20px;
}

.timeline-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.timeline-item:hover .timeline-content {
    border-color: rgba(var(--primary-rgb), 0.3);
    transform: scale(1.02);
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Testimonials Slider Section */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--bg-card);
}

.slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 1rem;
    padding: 0 3rem;
}

.slider-container {
    position: relative;
    min-height: 250px;
    display: flex;
    overflow: hidden;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.testimonial-text {
    font-size: 1.35rem;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.5;
    margin-bottom: 2rem;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.testimonial-author h4 {
    font-size: 1.05rem;
    font-weight: 700;
}

.testimonial-author p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
    color: var(--text-main);
    box-shadow: var(--card-shadow);
}

.slider-arrow:hover {
    background-color: var(--primary);
    color: #0a0e1a;
    border-color: var(--primary);
}

[data-theme="light"] .slider-arrow:hover {
    color: #ffffff;
}

.slider-arrow.prev { left: -10px; }
.slider-arrow.next { right: -10px; }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 24px;
    border-radius: 4px;
    background-color: var(--primary);
}

/* Contact & Consultation Form */
.contact-section {
    padding: 100px 0;
}

.contact-details {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail-item {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.detail-icon {
    font-size: 1.75rem;
    width: 50px;
    height: 50px;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-detail-item h4 {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.contact-detail-item p {
    font-size: 1.15rem;
    font-weight: 700;
}

.consultation-box {
    margin-top: 3rem;
    background: rgba(var(--primary-rgb), 0.05);
    border-left: 4px solid var(--primary);
    padding: 1.5rem 2rem;
    border-radius: 0 8px 8px 0;
}

.consultation-box h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.consultation-box ul {
    list-style: none;
}

.consultation-box li {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.25rem;
}

.consultation-box li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.contact-form-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--input-bg);
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

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

.form-row {
    gap: 1rem;
}

.form-feedback {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    display: none;
}

.form-feedback.success {
    display: block;
    background-color: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-feedback.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

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

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
    max-width: 260px;
}

.copyright {
    font-size: 0.8rem !important;
}

.footer-links h3, .footer-newsletter h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-newsletter p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--bg-primary);
    color: var(--text-main);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Detail Modals Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 14, 26, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 650px;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-card {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 0.5;
}

.modal-close:hover {
    color: var(--text-main);
}

.modal-header {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-header h3 {
    font-size: 1.6rem;
    line-height: 1.2;
}

.modal-body {
    color: var(--text-muted);
    font-size: 1rem;
}

.modal-body p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.modal-sub-title {
    font-size: 1.1rem;
    color: var(--text-main);
    margin: 1.5rem 0 0.75rem;
    font-weight: 600;
}

.modal-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.modal-list li {
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.25rem;
    color: var(--text-muted);
}

.modal-list li::before {
    content: '▪';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.check-list li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
}

.modal-footer {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
}

/* Toast Messages */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    box-shadow: var(--card-shadow);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Scroll Animations */
.scroll-anim {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-anim.from-left {
    transform: translateX(-40px);
}

.scroll-anim.from-right {
    transform: translateX(40px);
}

.scroll-anim.active {
    opacity: 1;
    transform: translate(0);
}

/* Keyframe Animations */
@keyframes floatAnim {
    0% { transform: translateY(0); }
    100% { transform: translateY(-15px); }
}

@keyframes pulseOrb {
    0% { transform: scale(1) rotate(0deg); opacity: 0.4; }
    100% { transform: scale(1.15) rotate(180deg); opacity: 0.6; }
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInSlide 1s forwards 0.2s;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInSlide 1s forwards 0.4s;
}

@keyframes fadeInSlide {
    to {
        opacity: 1;
        transform: translate(0);
    }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 2.75rem; }
}

@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    
    .hero-section {
        padding-top: 120px;
        text-align: center;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image-container {
        margin-top: 3rem;
    }
    
    .floating-card.c1 { left: 10px; }
    .floating-card.c2 { right: 10px; }

    /* Timeline Mobile styling */
    .timeline-line {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
        text-align: left !important;
    }
    
    .timeline-item.right {
        left: 0;
    }
    
    .timeline-dot {
        left: 0 !important;
    }

    /* Mobile Hamburger Menu */
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        transition: left 0.4s ease;
        border-top: 1px solid var(--border-color);
        box-shadow: 0 10px 15px -5px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .nav-cta {
        width: 80%;
    }
    
    /* Active Burger Animation */
    .mobile-toggle.open .bar:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }
    
    .mobile-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.open .bar:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }
    
    .about-image-container {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .contact-form-container {
        padding: 2rem 1.5rem;
    }

    .modal-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .grid-4 { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.25rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .section-title { font-size: 1.8rem; }
    .form-row { grid-template-columns: 1fr; }
    .modal-card { padding: 1.5rem; }
    .slider-wrapper { padding: 0 1rem; }
    .slider-arrow { display: none; }
}
