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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.btn-demo {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
}

.btn-demo:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(17, 153, 142, 0.4);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.nav-logo i {
    font-size: 1.8rem;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #667eea;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-top: 80px;
}

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

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

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

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

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

.hero-card {
    position: absolute;
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 280px;
}

.hero-card:first-child {
    top: 50px;
    left: 0;
}

.hero-card:nth-child(2) {
    top: 150px;
    right: 0;
}

.hero-card:nth-child(3) {
    bottom: 50px;
    left: 50px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #667eea;
    font-weight: 600;
}

.card-header i {
    font-size: 1.2rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    transition: width 2s ease;
}

.pulse-animation {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    position: relative;
    margin-bottom: 0.5rem;
}

.pulse-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.treatment-steps {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.step {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #f0f0f0;
    transition: background 0.3s ease;
}

.step.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Floating Animation */
.floating {
    animation: floating 6s ease-in-out infinite;
}

.floating.delay-1 {
    animation-delay: -2s;
}

.floating.delay-2 {
    animation-delay: -4s;
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

/* Hero Background Animation */
.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23667eea" stop-opacity="0.1"/><stop offset="100%" stop-color="%23764ba2" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    animation: backgroundMove 20s ease-in-out infinite;
    pointer-events: none;
}

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

/* Section Styles */
section {
    padding: 80px 0;
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.mission-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.mission-card p {
    color: #666;
    line-height: 1.6;
}

/* Tech Showcase */
.tech-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.tech-circle {
    position: relative;
    width: 300px;
    height: 300px;
}

.center-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.center-node i {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.center-node span {
    font-size: 0.8rem;
}

.orbit-node {
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border: 3px solid #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-size: 1.2rem;
    animation: orbit 10s linear infinite;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.orbit-node.node-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.orbit-node.node-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation-delay: -2.5s;
}

.orbit-node.node-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: -5s;
}

.orbit-node.node-4 {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation-delay: -7.5s;
}

@keyframes orbit {
    0% { transform: rotate(0deg) translateX(120px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(120px) rotate(-360deg); }
}

/* Services Section */
.services {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    background: #f0f0f0;
    color: #667eea;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Technology Section */
.technology {
    background: white;
}

.tech-content {
    max-width: 1000px;
    margin: 0 auto;
}

.tech-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid #e0e0e0;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
    color: #667eea;
    border-bottom-color: #667eea;
}

.tab-content {
    position: relative;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-panel.active {
    display: block;
}

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

.panel-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.panel-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.panel-text p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #666;
}

.feature-list i {
    color: #667eea;
    font-size: 0.9rem;
}

/* Technology Visualizations */
.ai-visualization {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
}

.neural-network {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.layer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.node {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    animation: neuralPulse 2s ease-in-out infinite;
}

.hidden-layer .node:nth-child(2) {
    animation-delay: 0.5s;
}

.hidden-layer .node:nth-child(3) {
    animation-delay: 1s;
}

.hidden-layer .node:nth-child(4) {
    animation-delay: 1.5s;
}

@keyframes neuralPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.analytics-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.dashboard-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.dashboard-card h4 {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.metric {
    font-size: 1.8rem;
    font-weight: 700;
    color: #667eea;
}

.integration-diagram {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.central-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.integration-point {
    position: absolute;
    width: 70px;
    height: 70px;
    background: white;
    border: 3px solid #667eea;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.integration-point:nth-child(2) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.integration-point:nth-child(3) {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.integration-point:nth-child(4) {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.integration-point:nth-child(5) {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.integration-point i {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.security-shield {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.shield-icon {
    font-size: 4rem;
    color: #667eea;
    animation: securityPulse 3s ease-in-out infinite;
}

@keyframes securityPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.security-layers {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.security-layers .layer {
    background: #f8f9fa;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    border: 2px solid #e0e0e0;
    color: #667eea;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.security-layers .layer:hover {
    border-color: #667eea;
    background: #667eea;
    color: white;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.contact .section-title,
.contact .section-subtitle {
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.25rem;
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

.contact-form .btn-primary {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 100%;
    justify-content: center;
}

.contact-form .btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 1.8rem;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #667eea;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #666;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Responsive Design */

/* Large screens */
@media (max-width: 1200px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-content {
        gap: 3rem;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        height: 400px;
        margin-top: 2rem;
    }
    
    .hero-card {
        width: 240px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .tech-showcase {
        height: 350px;
    }
    
    .tech-circle {
        width: 250px;
        height: 250px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .tech-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .tab-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .panel-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        min-height: 90vh;
    }
    
    .hero-content {
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .hero-visual {
        height: 300px;
        position: relative;
    }
    
    .hero-card {
        width: 200px;
        padding: 1rem;
    }
    
    .hero-card:first-child {
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hero-card:nth-child(2) {
        top: 120px;
        right: 10px;
    }
    
    .hero-card:nth-child(3) {
        bottom: 20px;
        left: 10px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .mission-card {
        padding: 1.5rem;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .tech-circle {
        width: 200px;
        height: 200px;
    }
    
    .center-node {
        width: 80px;
        height: 80px;
        font-size: 0.7rem;
    }
    
    .center-node i {
        font-size: 1.2rem;
    }
    
    .orbit-node {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .tech-tabs {
        justify-content: center;
    }
    
    .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .panel-text h3 {
        font-size: 1.5rem;
    }
    
    .neural-network {
        gap: 2rem;
        flex-direction: column;
        align-items: center;
    }
    
    .layer {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .node {
        width: 30px;
        height: 30px;
    }
    
    .analytics-dashboard {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .integration-diagram {
        width: 250px;
        height: 250px;
    }
    
    .central-hub {
        width: 80px;
        height: 80px;
        font-size: 0.7rem;
    }
    
    .integration-point {
        width: 60px;
        height: 60px;
        font-size: 0.7rem;
    }
    
    .integration-point i {
        font-size: 1rem;
    }
    
    .contact-info {
        gap: 1.5rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .info-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-card {
        width: 180px;
        padding: 0.75rem;
    }
    
    .card-header {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .mission-card {
        padding: 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .tab-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .tech-circle {
        width: 180px;
        height: 180px;
    }
    
    .center-node {
        width: 60px;
        height: 60px;
    }
    
    .orbit-node {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }
    
    .integration-diagram {
        width: 200px;
        height: 200px;
    }
    
    .central-hub {
        width: 60px;
        height: 60px;
    }
    
    .integration-point {
        width: 50px;
        height: 50px;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 13px;
    }
}

/* High-resolution displays */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .hero-content {
        gap: 5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
}

/* Print styles */
@media print {
    .navbar,
    .hamburger,
    .hero-bg-animation,
    .floating,
    .btn {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        page-break-after: always;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .hero-title {
        color: #333 !important;
    }
    
    .gradient-text {
        -webkit-text-fill-color: #667eea !important;
        color: #667eea !important;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .floating,
    .pulse-animation::before,
    .orbit-node,
    .hero-bg-animation {
        animation: none !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        border: 2px solid #000;
        color: #fff;
    }
    
    .btn-secondary {
        background: #fff;
        border: 2px solid #000;
        color: #000;
    }
    
    .gradient-text {
        -webkit-text-fill-color: #000 !important;
        color: #000 !important;
    }
    
    .card-icon,
    .service-icon {
        background: #000 !important;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }
    
    .hero {
        background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    }
    
    .about {
        background: #1a1a1a;
    }
    
    .services {
        background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    }
    
    .technology {
        background: #1a1a1a;
    }
    
    .mission-card,
    .service-card,
    .hero-card {
        background: #2a2a2a;
        border: 1px solid #404040;
    }
    
    .section-title {
        color: #e0e0e0;
    }
    
    .section-subtitle,
    .mission-card p,
    .service-card p {
        color: #b0b0b0;
    }
    
    .navbar {
        background: rgba(26, 26, 26, 0.95);
    }
    
    .nav-link {
        color: #e0e0e0;
    }
    
    .dashboard-card {
        background: #2a2a2a;
        border-color: #404040;
    }
    
    .integration-point {
        background: #2a2a2a;
        border-color: #667eea;
    }
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus,
.nav-link:focus,
.btn:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Smooth scrolling enhancement */
html {
    scroll-padding-top: 80px;
}

/* Loading animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Utility classes */
.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* Performance optimizations */
.hero-card,
.service-card,
.mission-card {
    will-change: transform;
}

.floating,
.orbit-node,
.pulse-animation {
    will-change: transform, opacity;
}

/* Improve text rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeSpeed;
}

h1, h2, h3, h4, h5, h6 {
    text-rendering: optimizeLegibility;
}