:root {
    --background: 0 0% 100%;
    --foreground: 215 25% 27%;
    --card: 0 0% 100%;
    --card-foreground: 215 25% 27%;
    --popover: 0 0% 100%;
    --popover-foreground: 215 25% 27%;
    --primary: 197 100% 31%;
    --primary-foreground: 0 0% 98%;
    --primary-glow: 197 100% 45%;
    --secondary: 210 40% 96%;
    --secondary-foreground: 215 25% 27%;
    --muted: 210 40% 96%;
    --muted-foreground: 215 16% 47%;
    --accent: 180 100% 93%;
    --accent-foreground: 197 100% 31%;
    --destructive: 0 84% 60%;
    --destructive-foreground: 210 40% 98%;
    --border: 214 32% 91%;
    --input: 214 32% 91%;
    --ring: 197 100% 31%;
    --gradient-primary: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));
    --gradient-hero: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--primary-glow)) 100%);
    --gradient-card: linear-gradient(145deg, hsl(0 0% 100%) 0%, hsl(210 40% 98%) 100%);
    --shadow-elegant: 0 10px 30px -10px hsl(var(--primary) / .2);
    --shadow-card: 0 4px 12px -2px hsl(var(--primary) / .1);
    --transition-smooth: all .3s cubic-bezier(.4, 0, .2, 1);
    --radius: .5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Open Sans", system-ui, sans-serif;
    line-height: 1.6;
    color: hsl(var(--foreground));
    background-color: hsl(var(--background));
    font-weight: 450;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utility Classes */
.text-4xl { font-size: 2.25rem; }
.md\:text-5xl { font-size: 3rem; }
.text-xl { font-size: 1.25rem; }
.text-sm { font-size: 0.875rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.mb-6 { margin-bottom: 0rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-foreground { color: hsl(var(--foreground)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.text-primary { color: hsl(var(--primary)); }
.max-w-3xl { max-width: 48rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-card);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: 90%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo i {
    color: hsl(var(--primary));
    font-size: 1.5rem;
    flex-shrink: 0;
}

.nav-logo img {
    height: 4.5rem; 
    flex-shrink: 0;
}

.lab-name h2 {
    color: hsl(var(--primary));
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: hsl(var(--foreground));
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover,
.nav-link.active {
    color: hsl(var(--primary));
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: hsl(var(--primary));
}

/* Dropdown Navigation Styles */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-arrow {
    font-size: 0.75rem;
    transition: var(--transition-smooth);
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border: 1px solid hsl(var(--border) / 0.3);
    border-radius: var(--radius);
    box-shadow: var(--shadow-elegant);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-smooth);
    z-index: 1001;
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: hsl(var(--foreground));
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    border-radius: 0;
}

.dropdown-link:hover {
    background: hsl(var(--accent) / 0.5);
    color: hsl(var(--primary));
}

.dropdown-link i {
    color: hsl(var(--primary));
    width: 16px;
    text-align: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: hsl(var(--foreground));
    margin: 3px 0;
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    overflow: hidden;
    margin-top: 70px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 70%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    z-index: 2;
    max-width: 600px;
    text-align: left;
}

.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.slide-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: hsl(var(--primary-foreground));
    padding: 15px 30px;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-elegant);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -10px hsl(var(--primary) / .3);
}

.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
}

.slider-nav button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: var(--radius);
    transition: var(--transition-smooth);
}

.slider-nav button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    background: white;
}

/* About Section */
.about-section {
    padding: 30px 0;
    background: hsl(var(--background));
}

.about-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    position: sticky;
    top: 100px;
}

.about-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-elegant);
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: hsl(var(--primary));
    margin-bottom: 0.5rem;
}

.about-title {
    font-size: 1.1rem;
    color: hsl(var(--muted-foreground));
    font-weight: 500;
    margin-bottom: 2rem;
}

.about-description p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: hsl(var(--foreground));
    text-align: justify;
}

.research-focus {
    list-style: none;
    margin: 1.5rem 0;
    padding-left: 0;
}

.research-focus li {
    text-align: justify;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.3;
}

.research-focus li::before {
    content: '•';
    color: hsl(var(--primary));
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Statistics Section */
.stats {
    padding: 80px 0;
    background: hsl(var(--secondary));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    background: hsl(var(--card));
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-elegant);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: var(--transition-smooth);
}

.stat-icon i {
    font-size: 1.5rem;
    color: white;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1);
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    color: hsl(var(--primary));
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    color: hsl(var(--muted-foreground));
    font-weight: 500;
}

/* Research Overview */
.research-overview {
    padding: 45px 0;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.research-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border) / 0.5);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.research-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-elegant);
}

.show-more {
    margin-top: 1rem;
    font-weight: bold;
    color: #007BFF;
    text-align: right;
}


.card-header {
    padding: 1.5rem;
}

.card-icon-container {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

.group:hover .card-icon-container {
    transform: scale(1.1);
}

.card-icon-container i {
    font-size: 1.5rem;
    color: white;
}

.research-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

.research-card p {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    line-height: 1.6;
    text-align: justify;
}

.card-content {
    padding: 0 1.5rem 1.5rem;
}

.research-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.research-tag {
    background: hsl(var(--accent) / 0.5);
    color: hsl(var(--primary));
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Contact Preview */
.contact-preview {
    padding: 80px 0;
    background: hsl(var(--secondary));
}

.contact-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.contact-preview > div > p {
    text-align: center;
    font-size: 1.1rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info,
.contact-form {
    background: hsl(var(--card));
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.contact-info h3,
.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: hsl(var(--foreground));
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: hsl(var(--muted-foreground));
}

.contact-item i {
    color: hsl(var(--primary));
    width: 20px;
}

.contact-item strong {
    color: hsl(var(--foreground));
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    font-family: inherit;
    transition: var(--transition-smooth);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 2px hsl(var(--primary) / .1);
}

.contact-form button {
    background: var(--gradient-primary);
    color: hsl(var(--primary-foreground));
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-elegant);
}

/* Footer */
.footer {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.tcg_logo{
    width: 150px; 
    height: 60px; 
    background-color: white; 
    padding: 8px; 
    border-radius: 8px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: hsl(var(--primary-foreground));
}

.footer-section p {
    color: hsl(var(--primary-foreground) / 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--primary-foreground));
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: hsl(var(--primary-foreground) / 0.8);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-section ul li a:hover {
    color: hsl(var(--primary-foreground));
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: hsl(var(--primary-foreground) / 0.8);
}

/* Mobile Dropdown Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        width: 100%;
        text-align: left;
        transition: 0.3s;
        box-shadow: var(--shadow-card);
        padding: 1rem 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        padding: 1rem 2rem;
        border-bottom: 1px solid hsl(var(--border) / 0.3);
        width: 100%;
        justify-content: flex-start;
    }

    /* Mobile Dropdown Styles */
    .nav-dropdown {
        position: relative;
    }

    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        background: hsl(var(--secondary) / 0.5);
        border: none;
        border-radius: 0;
        box-shadow: none;
        margin: 0;
        padding: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav-dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 200px;
        padding: 0.5rem 0;
    }

    .nav-dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    .dropdown-link {
        padding: 0.75rem 3rem;
        border-bottom: 1px solid hsl(var(--border) / 0.2);
        font-size: 0.9rem;
    }

    .dropdown-link:last-child {
        border-bottom: none;
    }

    .lab-name h2 {
        font-size: 0.9rem;
    }

    .slide-content {
        left: 5%;
        max-width: 90%;
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        position: static;
        text-align: center;
    }

    .about-photo {
        max-width: 300px;
        height: 300px;
    }

    .research-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .text-4xl { font-size: 2rem; }
    .md\:text-5xl { font-size: 2.5rem; }
}

@media (max-width: 480px) {
    .slide-content h1 {
        font-size: 2rem;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .nav-container {
        padding: 0 15px;
    }

    .lab-name h2 {
        font-size: 0.8rem;
    }
}