/* ===========================
   Global Styles & Reset
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --gray-color: #64748b;
    --success-color: #10b981;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-menu a {
    font-weight: 500;
    color: var(--dark-color);
    position: relative;
}

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

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

.dashboard-link {
    background: linear-gradient(135deg, #10b981, #2563eb);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.dashboard-link::after {
    display: none !important;
}

.dashboard-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    transition: all 0.3s ease;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        linear-gradient(135deg, rgba(16, 185, 129, 0.5) 0%, rgba(37, 99, 235, 0.5) 100%),
        url('https://sspark.genspark.ai/cfimages?u1=5i%2B2Sk3H1PtZTL3Fs8vXuA0OZ2iiBxnfpUjLsEgJyoOk7Nz5ivq76ed6wLHlUDuIKiGoT4VzWfJQu84nog%2FUNtIeTC9nIS4SszHhiOm0oKR87o29t3MFvoX9rGhn%2BsL4D2jS4rE8lfiK8%2FcPHHcqI97fxbRPMwbV95ZQdLj80dXx%2BJQyQy9yADPsWnYZ%2BgQOEh9B2lMwShTJ5TqB6xpnVCoqgilCB3oKP6%2BluQ%3D%3D&u2=5eC8yHYPdbHDfp%2Fq&width=2560') center/cover;
    color: var(--white);
    text-align: center;
    padding: 100px 20px 60px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

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

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.hero-name {
    font-weight: 600;
}

.hero-separator {
    opacity: 0.5;
}

.hero-company {
    font-weight: 400;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--white);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ===========================
   Section Common Styles
   =========================== */
section {
    padding: 80px 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--gray-color);
    margin-bottom: 3rem;
}

/* ===========================
   About Section
   =========================== */
.about {
    background-color: var(--light-color);
}

.pharmacy-images {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem auto 3rem;
    flex-wrap: wrap;
}

.pharmacy-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.pharmacy-img:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

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

.about-profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--primary-color);
}

.about-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    flex-shrink: 0;
}

.about-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.about-affiliation {
    font-size: 1.1rem;
    color: var(--gray-color);
}

.about-specialty {
    margin-bottom: 2rem;
}

.about-specialty h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.specialty-list {
    display: grid;
    gap: 1rem;
}

.specialty-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    padding: 0.8rem 1rem;
    background: var(--light-color);
    border-radius: 10px;
}

.specialty-list i {
    color: var(--success-color);
    font-size: 1.2rem;
}

.about-quote {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    position: relative;
}

.about-quote i {
    font-size: 2rem;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.about-quote p {
    font-size: 1.15rem;
    line-height: 1.8;
    font-weight: 400;
}

/* ===========================
   Experience Section
   =========================== */
.experience {
    background: var(--white);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.experience-card {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.experience-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.experience-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.8rem;
}

.experience-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.experience-position {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.experience-desc {
    font-size: 1rem;
    color: var(--gray-color);
    line-height: 1.7;
}

/* ===========================
   Services Section
   =========================== */
.services {
    background: var(--light-color);
}

.dashboard-banner {
    background: linear-gradient(135deg, #10b981 0%, #2563eb 100%);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 2rem auto 3rem;
    box-shadow: var(--shadow-xl);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(37, 99, 235, 0.3);
    }
    50% {
        box-shadow: 0 10px 60px rgba(16, 185, 129, 0.4);
    }
}

.dashboard-banner-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    color: white;
}

.dashboard-banner-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.dashboard-banner-text {
    flex: 1;
}

.dashboard-banner-text h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.dashboard-banner-text p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 0.5rem;
}

.login-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem !important;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    margin-top: 1rem;
    backdrop-filter: blur(10px);
}

.login-info strong {
    color: #fbbf24;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.btn-dashboard {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: white;
    color: #2563eb;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-dashboard:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    background: #fbbf24;
    color: #1e3a8a;
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-card p {
    font-size: 1rem;
    color: var(--gray-color);
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

/* ===========================
   Why Section
   =========================== */
.why {
    background: linear-gradient(135deg, #10b981 0%, #2563eb 100%);
    color: var(--white);
    text-align: center;
}

.why-content {
    max-width: 900px;
    margin: 0 auto;
}

.why-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.why-content p {
    font-size: 1.2rem;
    line-height: 1.8;
}

.why-content strong {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ===========================
   Contact Section
   =========================== */
.contact {
    background: var(--white);
}

.form-notice {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #dbeafe, #e0e7ff);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem auto 2rem;
    max-width: 900px;
    border-left: 4px solid var(--primary-color);
}

.form-notice i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.form-notice p {
    color: var(--dark-color);
    font-size: 1rem;
    line-height: 1.6;
}

.form-notice strong {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-top: 3rem;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: var(--white);
    color: var(--primary-color);
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.contact-item p {
    font-size: 1.1rem;
}

.contact-form {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: 15px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--white);
    transition: all 0.3s ease;
}

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

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

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 20px 1.5rem;
}

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

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-company {
    color: var(--accent-color) !important;
    font-weight: 600;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

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

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.8rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.footer-contact i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

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

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

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .pharmacy-images {
        gap: 1rem;
    }

    .pharmacy-img {
        width: 150px;
        height: 150px;
    }

    .about-header {
        flex-direction: column;
        text-align: center;
    }

    .about-card {
        padding: 2rem;
    }

    .experience-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

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

    .form-notice {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem;
    }

    .form-notice p {
        font-size: 0.95rem;
    }

    .dashboard-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .dashboard-banner {
        padding: 2rem 1.5rem;
    }

    .dashboard-banner-text h3 {
        font-size: 1.4rem;
    }

    .dashboard-banner-text p {
        font-size: 1rem;
    }

    .login-info {
        justify-content: center;
    }
}