/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1e3a5f;
    --dark-blue: #0d1f3d;
    --light-blue: #4a90e2;
    --accent-green: #2ecc71;
    --light-green: #52d3aa;
    --yellow: #f39c12;
    --white: #ffffff;
    --light-gray: #f5f7fa;
    --gray: #e1e8ed;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.medical-cross {
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    background: var(--light-blue);
    border-radius: 2px;
}

.medical-cross::before,
.medical-cross::after {
    content: '';
    position: absolute;
    background: var(--white);
    border-radius: 1px;
}

.medical-cross::before {
    width: 3px;
    height: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.medical-cross::after {
    width: 20px;
    height: 3px;
    top: 50%;
    transform: translateY(-50%);
}

.laptop-icon {
    position: absolute;
    left: 15px;
    width: 30px;
    height: 25px;
}

.laptop-screen {
    width: 30px;
    height: 18px;
    background: var(--primary-blue);
    border-radius: 3px 3px 0 0;
    border: 2px solid var(--dark-blue);
    position: relative;
}

.document-icon {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 12px;
    height: 14px;
    background: var(--light-blue);
    border-radius: 1px;
}

.document-icon::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 1px;
    width: 10px;
    height: 1px;
    background: var(--white);
}

.document-icon::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 1px;
    width: 8px;
    height: 1px;
    background: var(--white);
}

.laptop-keyboard {
    width: 30px;
    height: 6px;
    background: var(--dark-blue);
    border-radius: 0 0 3px 3px;
    margin-top: -1px;
}

.pencil-icon {
    position: absolute;
    left: 25px;
    top: 5px;
    width: 20px;
    height: 3px;
    background: var(--accent-green);
    border-radius: 2px;
    transform: rotate(-15deg);
}

.pencil-icon::before {
    content: '';
    position: absolute;
    right: -2px;
    top: -1px;
    width: 4px;
    height: 5px;
    background: var(--yellow);
    border-radius: 0 2px 2px 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-light);
    margin-top: 2px;
}

.logo-meddoc {
    font-size: 18px;
    font-weight: 700;
}

.logo-meddoc .stathmos {
    color: var(--primary-blue);
    font-size: 18px;
    font-weight: 600;
}

.logo-meddoc .med {
    color: var(--accent-green);
}

.logo-meddoc .doc {
    color: var(--primary-blue);
    font-size: 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--light-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-green);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 0;
    overflow: hidden;
    margin: 0;
}

.hero-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-banner picture {
    width: 100%;
    height: 100%;
    display: block;
    margin: 0;
    padding: 0;
}

.hero-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Responsive image optimization for different screen sizes */
@media (min-width: 1920px) {
    .hero-banner-img {
        object-position: center center;
    }
}

@media (min-width: 1440px) and (max-width: 1919px) {
    .hero-banner-img {
        object-position: center center;
    }
}

@media (min-width: 1024px) and (max-width: 1439px) {
    .hero-banner-img {
        object-position: center center;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    .hero-banner-img {
        object-position: center center;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.7) 0%, rgba(30, 58, 95, 0.5) 50%, rgba(30, 58, 95, 0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    padding: 0 2rem;
    margin: 0;
}

.hero-background::before {
    content: '';
    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 1200 200"><path d="M0,100 Q300,50 600,100 T1200,100 L1200,0 L0,0 Z" fill="rgba(255,255,255,0.3)"/></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.hero-logo {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
    max-width: 100%;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.hero-title .logo-meddoc {
    font-size: 3rem;
}

.hero-title .logo-meddoc .stathmos {
    color: var(--primary-blue);
    font-size: 3.5rem;
    font-weight: 600;
}

.hero-title .logo-meddoc .doc {
    font-size: 3.5rem;
}

.hero-description {
    margin: 1.5rem 0;
    color: var(--text-dark);
    line-height: 1.8;
}

.hero-description p {
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.hero-description p:last-child {
    margin-bottom: 0;
}

.hero-tagline {
    font-size: 1.3rem;
    color: var(--primary-blue);
    font-style: italic;
    margin-bottom: 2rem;
    font-weight: 500;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent-green);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--light-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-green);
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Services Section */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-green);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.5;
}

/* Why Choose Us Section */
.why-us {
    background: linear-gradient(135deg, #e8f4f8 0%, #c8e6f0 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.feature-check {
    width: 30px;
    height: 30px;
    background: var(--accent-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-dark);
    padding: 2rem;
    border-radius: 15px;
    background: var(--light-gray);
    transition: all 0.3s ease;
    min-width: 200px;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: var(--accent-green);
    color: var(--white);
}

.contact-icon {
    font-size: 2.5rem;
}

.contact-item span {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Privacy Section */
.privacy {
    background: var(--light-gray);
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.privacy-item h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.privacy-item p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo .logo-text {
    margin-bottom: 1rem;
}

.footer-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.25rem;
    font-weight: 400;
}

.footer-logo .logo-meddoc .stathmos {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-logo .logo-meddoc .med {
    color: var(--accent-green);
}

.footer-logo .logo-meddoc .doc {
    color: var(--white);
    font-size: 1.5rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    font-size: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero {
        padding-top: 80px;
    }

    .hero-banner {
        height: calc(100vh - 80px);
        min-height: 500px;
    }

    .hero .container {
        padding: 0 1rem;
    }

    .logo-img {
        height: 40px;
    }

    .hero-logo {
        align-items: center;
    }

    .hero-logo-img {
        height: 80px;
    }

    .hero-content {
        text-align: center;
        max-width: 90%;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 2.5rem;
        align-items: center;
    }

    .hero-title .logo-meddoc {
        font-size: 2.5rem;
    }

    .hero-title .logo-meddoc .stathmos {
        font-size: 3rem;
    }

    .hero-title .logo-meddoc .doc {
        font-size: 3rem;
    }

    .hero-description p {
        text-align: center;
        font-size: 0.95rem;
    }

    .hero-tagline {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }


    .hero-tagline {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-title .logo-meddoc {
        font-size: 2rem;
    }

    .hero-title .logo-meddoc .stathmos {
        font-size: 2.5rem;
    }

    .hero-title .logo-meddoc .doc {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

