:root {
    --primary-blue: #0b1e42;
    --secondary-blue: #1e3a8a;
    --medical-cyan: #00b4d8;
    --accent-red: #d32f2f;
    --text-dark: #333333;
    --text-light: #f4f7f6;
    --bg-light: #ffffff;
    --bg-gray: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-strong: 0 20px 40px rgba(11, 30, 66, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: #555;
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }
.section-padding { padding: 6rem 0; }
.bg-gray { background-color: var(--bg-gray); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-red);
    color: white;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.btn-primary:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-blue);
}

.btn-cyan {
    background-color: var(--medical-cyan);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.btn-cyan:hover {
    background-color: #0096c7;
    transform: translateY(-2px);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1.5rem 0;
    background: transparent;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-soft);
}

/* Intro Loader */
#intro-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    background-color: var(--primary-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#intro-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.intro-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 30, 66, 0.7); /* Dark blue tint */
    z-index: 2;
}

.intro-logo {
    position: relative;
    z-index: 3;
    animation: pulse 2s infinite ease-in-out;
}

.intro-logo img {
    height: 80px;
    width: auto;
    /* Removed filter since the logo image has a white background natively */
}

#intro-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

@keyframes pulse {
    0% { transform: scale(0.95); }
    50% { transform: scale(1.05); }
    100% { transform: scale(0.95); }
}

/* Header Actions & Lang Selector */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-selector {
    position: relative;
}

.lang-btn {
    background: transparent;
    border: none;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem;
    transition: color 0.3s;
}

header.scrolled .lang-btn {
    color: var(--text-dark);
}

.lang-btn:hover {
    color: var(--medical-cyan);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    min-width: 150px;
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.lang-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown a {
    color: var(--text-dark);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    display: block;
}

.lang-dropdown a:hover {
    background: var(--bg-gray);
    color: var(--medical-cyan);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    transition: filter 0.3s ease, height 0.3s ease;
    border-radius: 6px; /* soften edges of the white background */
}

header.scrolled .logo img {
    height: 48px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

header.scrolled .nav-links a {
    color: var(--text-dark);
}

.nav-links a:hover {
    color: var(--medical-cyan);
}

.mobile-menu-btn {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

header.scrolled .mobile-menu-btn {
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 50px;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 30, 66, 0.9) 0%, rgba(11, 30, 66, 0.7) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

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

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
}

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

.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--medical-cyan);
    margin-bottom: 0.2rem;
}

.stat-item p {
    font-size: 0.9rem;
    margin: 0;
    color: #ccc;
}

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

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.value-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.value-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    border-left: 4px solid var(--medical-cyan);
    transition: transform 0.3s;
}

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

.value-card i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.value-card h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.about-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.about-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.about-img-wrapper:hover img {
    transform: scale(1.05);
}

/* Solutions Section */
.solutions-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

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

.solution-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--medical-cyan);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

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

.solution-card i {
    font-size: 3rem;
    color: var(--medical-cyan);
    margin-bottom: 1.5rem;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
    group: hover;
}

.portfolio-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover img {
    transform: scale(1.1);
}

.portfolio-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(11, 30, 66, 0.9), transparent);
    color: white;
}

.portfolio-content h3 {
    margin: 0;
    font-size: 1.3rem;
}

/* Quality Section */
.quality-section {
    background-color: var(--primary-blue);
    color: white;
    position: relative;
    overflow: hidden;
}

.quality-section h2 {
    color: white;
}

.quality-section p {
    color: var(--text-light);
}

.quality-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.quality-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform 0.3s;
}

.glass-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.glass-card i {
    font-size: 1.8rem;
    color: var(--medical-cyan);
}

.glass-card h4 {
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.glass-card p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.quality-img {
    border-radius: 20px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* Process Section */
.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 4rem;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.step-number {
    width: 80px;
    height: 80px;
    background: white;
    border: 2px solid var(--medical-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 0 10px var(--bg-gray);
    transition: all 0.3s;
}

.process-step:hover .step-number {
    background: var(--medical-cyan);
    color: white;
    transform: scale(1.1);
}

.process-step h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

/* Patients Section */
.patients-section {
    position: relative;
    padding: 8rem 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
}

.patients-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 30, 66, 0.85);
}

.patients-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.patients-content h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.patients-content p {
    color: var(--text-light);
    font-size: 1.2rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.contact-info {
    background: var(--primary-blue);
    color: white;
    padding: 3rem;
}

.contact-info h3 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--medical-cyan);
}

.info-item p {
    margin: 0;
    color: var(--text-light);
}

.contact-form-container {
    padding: 3rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--primary-blue);
}

.form-control {
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--medical-cyan);
}

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

.full-width {
    grid-column: 1 / -1;
}

/* Footer */
footer {
    background: #061023;
    color: #8892b0;
    padding: 4rem 0 2rem;
}

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

.footer-logo-container {
    background-color: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo img {
    height: 65px;
    width: auto;
}

.footer-links h4 {
    color: white;
    margin-bottom: 1.5rem;
}

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

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

.footer-links a {
    color: #8892b0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--medical-cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.8rem; }
    .about-grid, .quality-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .process-timeline { flex-direction: column; gap: 2rem; }
    .process-timeline::before { display: none; }
    .process-step { display: flex; align-items: flex-start; gap: 1.5rem; text-align: left; }
    .step-number { margin: 0; flex-shrink: 0; width: 60px; height: 60px; font-size: 1.5rem; box-shadow: none; border-width: 2px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-soft);
    }
    .nav-links.active { display: flex; }
    .nav-links a { color: var(--primary-blue); }
    .mobile-menu-btn { display: block; }
    .nav-btn { display: none; }
    .header-actions { gap: 1rem; }
    
    .hero h1 { font-size: 2.2rem; }
    .hero-stats { flex-direction: column; gap: 1.5rem; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
