        /* CSS Variables */
        :root {
            --bg1: #004d40;
            --bg2: #0f8b44;
            --bg3: #1ec88f;
            --surface: rgba(255,255,255,0.98);
            --text: #012a1d;
            --text-light: #486b5f;
            --primary: #0f8b44;
            --primary-dark: #004d40;
            --accent: #1ec88f;
            --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
            --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
            --maxw: 1400px;
        }

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

        html {
            scroll-behavior: smooth;
            scroll-padding-top: 0px;
        }

        /* Reduce scroll padding on mobile/tablet */
        @media (max-width: 1024px) {
            html {
                scroll-padding-top: 80px;
            }
        }

        @media (max-width: 768px) {
            html {
                scroll-padding-top: 70px;
            }
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
            background: linear-gradient(135deg, var(--bg1), var(--bg2), var(--bg3));
            color: var(--text);
            line-height: 1.7;
            font-weight: 400;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        h1, h2, h3 {
            font-weight: 600;
            line-height: 1.3;
        }

        h1 {
            font-size: clamp(2.5rem, 5vw, 4rem);
            margin-bottom: 1.5rem;
        }

        h2 {
            font-size: clamp(2rem, 4vw, 3rem);
            margin-bottom: 3rem;
            color: var(--primary-dark);
        }

        section:not(.section-light) h2 {
            color: white;
        }

        h3 {
            font-size: clamp(1.3rem, 2.5vw, 1.8rem);
            margin-bottom: 1rem;
            color: var(--primary-dark);
        }

        p {
            font-size: clamp(1.05rem, 1.5vw, 1.2rem);
            margin-bottom: 1.5rem;
            color: var(--text-light);
        }

        a {
            color: var(--primary-dark);
            text-decoration: none;
        }

        .container {
            width: min(100% - 3rem, var(--maxw));
            margin: 0 auto;
        }

        /* Header - Fixed Navigation */
        .site-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 100;
            background: var(--surface);
            backdrop-filter: blur(10px);
            box-shadow: var(--shadow-sm);
            transition: all 0.3s ease;
        }

        .nav-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1.2rem 2rem;
            max-width: var(--maxw);
            margin: 0 auto;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 1.5rem;
            font-weight: 700;
            letter-spacing: 0.5px;
            color: var(--primary-dark);
        }

        .brand .logo {
            width: 40px;
            height: 40px;
            border-radius: 8px;
        }

        .brand .logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 2.5rem;
        }

        .nav-link {
            padding: 0.5rem 0;
            color: var(--text);
            font-weight: 500;
            font-size: 1rem;
            position: relative;
            transition: color 0.3s ease;
        }

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

        .nav-link:hover,
        .nav-link.active {
            color: var(--primary);
        }

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

        .lang-switch {
            display: flex;
            align-items: center;
            gap: 0.3rem;
            margin-left: 2rem;
            padding: 0.3rem;
            background: rgba(0, 0, 0, 0.03);
            border-radius: 8px;
        }

        .lang {
            padding: 0.4rem 0.7rem;
            border-radius: 6px;
            font-weight: 600;
            font-size: 0.85rem;
            color: var(--text-light);
            cursor: pointer;
            transition: all 0.3s ease;
            min-width: 36px;
            text-align: center;
        }

        .lang:hover {
            color: var(--primary-dark);
        }

        .lang.current {
            background: white;
            color: var(--primary-dark);
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }

        /* User Section */
        .user-section {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-left: 1.5rem;
            position: relative;
        }

        .user-info {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            padding: 0.5rem 1rem;
            background: white;
            border-radius: 8px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            cursor: pointer;
            transition: all 0.2s;
        }

        .user-info:hover {
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
        }

        .user-name {
            font-weight: 600;
            font-size: 0.9rem;
            color: var(--primary-dark);
        }

        .user-dropdown-arrow {
            font-size: 0.7rem;
            color: var(--text-light);
            transition: transform 0.2s;
        }

        .user-info.open .user-dropdown-arrow {
            transform: rotate(180deg);
        }

        .user-dropdown {
            position: absolute;
            top: calc(100% + 0.5rem);
            right: 0;
            background: white;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            min-width: 200px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.2s;
            z-index: 1000;
        }

        .user-dropdown.open {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .user-dropdown-item {
            display: block;
            padding: 0.75rem 1.25rem;
            color: var(--text);
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.2s;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            cursor: pointer;
        }

        .user-dropdown-item:first-child {
            border-radius: 8px 8px 0 0;
        }

        .user-dropdown-item:last-child {
            border-bottom: none;
            border-radius: 0 0 8px 8px;
        }

        .user-dropdown-item:hover {
            background: rgba(15, 139, 68, 0.05);
            color: var(--primary);
        }

        .user-dropdown-item.logout {
            color: #d32f2f;
        }

        .user-dropdown-item.logout:hover {
            background: rgba(211, 47, 47, 0.05);
            color: #b71c1c;
        }

        .login-btn {
            padding: 0.6rem 1.5rem;
            border-radius: 8px;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            background: var(--primary);
            color: white;
        }

        .login-btn:hover {
            background: var(--primary-dark);
        }

        .logout-btn {
            background: transparent;
            color: var(--text-light);
            border: none;
            font-size: 0.85rem;
            padding: 0;
            cursor: pointer;
            text-decoration: underline;
            transition: color 0.3s ease;
        }

        .logout-btn:hover {
            color: var(--text);
        }

        /* Login Modal */
        .login-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 10000;
            align-items: center;
            justify-content: center;
        }

        .login-modal.open {
            display: flex;
        }

        .login-modal-content {
            background: white;
            padding: 2rem;
            border-radius: 12px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
            max-width: 400px;
            width: 90%;
        }

        .login-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }

        .login-modal-header h2 {
            margin: 0;
            font-size: 1.5rem;
            color: var(--text);
        }

        .login-modal-close {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--text-light);
            line-height: 1;
        }

        .login-modal-close:hover {
            color: var(--text);
        }

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

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

        .login-form-group label {
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text);
        }

        .login-form-group input {
            padding: 0.75rem;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 1rem;
            transition: border-color 0.2s;
        }

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

        .login-form-error {
            color: #d32f2f;
            font-size: 0.85rem;
            display: none;
        }

        .login-form-error.show {
            display: block;
        }

        .login-form-submit {
            background: var(--primary);
            color: white;
            border: none;
            padding: 0.75rem;
            border-radius: 6px;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
        }

        .login-form-submit:hover {
            background: var(--primary-dark);
        }

        .login-form-submit:disabled {
            background: #ccc;
            cursor: not-allowed;
        }

        .account-lang-switch {
            display: flex;
            gap: 0.5rem;
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid #eee;
            justify-content: center;
        }

        .account-lang-btn {
            background: transparent;
            border: 1px solid #ddd;
            padding: 0.4rem 0.8rem;
            border-radius: 4px;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.2s;
        }

        .account-lang-btn.active {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }

        .account-lang-btn:hover:not(.active) {
            border-color: var(--primary);
            color: var(--primary);
        }

        .burger {
            display: none;
            background: none;
            border: none;
            font-size: 1.8rem;
            color: var(--primary-dark);
            cursor: pointer;
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 8rem 2rem 4rem;
        }

        .hero-content {
            max-width: 900px;
        }

        .hero h1 {
            color: white;
            text-shadow: 0 2px 20px rgba(0,0,0,0.3);
            margin-bottom: 2rem;
        }

        .hero p {
            color: rgba(255,255,255,0.95);
            font-size: clamp(1.2rem, 2vw, 1.5rem);
            text-shadow: 0 1px 10px rgba(0,0,0,0.2);
            margin-bottom: 3rem;
        }

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

        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 24px rgba(0,0,0,0.2);
        }

        /* Section Base */
        section {
            padding: 8rem 0;
        }

        .section-light {
            background: var(--surface);
        }

        .section-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

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

        .section-header h2 {
            margin-bottom: 1.5rem;
        }

        .section-header p {
            font-size: clamp(1.1rem, 1.8vw, 1.3rem);
            max-width: 800px;
            margin: 0 auto;
            color: rgba(255, 255, 255, 0.95);
        }

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

        /* Technology Grid */
        .tech-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 3rem;
            margin-top: 4rem;
        }

        .tech-card {
            text-align: center;
            padding: 2.5rem;
            background: white;
            border-radius: 16px;
            box-shadow: var(--shadow-sm);
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
        }

        .tech-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-md);
        }

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

        .tech-card h3 {
            margin-top: 2rem;
            margin-bottom: 0;
            height: 3em;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .tech-card p {
            font-size: 1.05rem;
            line-height: 1.8;
            margin-top: 1.5rem;
            flex: 1;
        }

        /* Team Grid */
        .team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 3rem;
            margin-top: 4rem;
        }

        .team-member {
            text-align: center;
            padding: 2rem;
            background: white;
            border-radius: 16px;
            box-shadow: var(--shadow-sm);
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            display: flex;
            flex-direction: column;
        }

        .team-member:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-md);
        }

        .team-photo {
            width: 160px;
            height: 160px;
            margin: 0 auto 1.5rem;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            border-radius: 50%;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .team-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }

        .team-member h3 {
            margin-bottom: 0.5rem;
            font-size: 1.4rem;
        }

        .team-role {
            color: var(--text-light);
            font-size: 1.05rem;
            margin-bottom: 1rem;
        }

        .team-bio {
            color: var(--text-light);
            font-size: 0.95rem;
            line-height: 1.7;
            margin-bottom: 1.5rem;
            flex: 1;
        }

        .team-more-btn {
            display: inline-block;
            padding: 0.6rem 1.5rem;
            background: var(--primary);
            color: white;
            font-weight: 600;
            font-size: 0.9rem;
            border-radius: 8px;
            transition: all 0.3s ease;
            text-decoration: none;
            margin-top: auto;
        }

        .team-more-btn:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
        }

        /* News Timeline */
        .news-item {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            margin-bottom: 5rem;
            padding: 3rem;
            background: white;
            border-radius: 16px;
            box-shadow: var(--shadow-sm);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .news-item:hover {
            transform: translateX(8px);
            box-shadow: var(--shadow-md);
        }

        .news-item:nth-child(even) {
            direction: rtl;
        }

        .news-item:nth-child(even):hover {
            transform: translateX(-8px);
        }

        .news-item:nth-child(even) > * {
            direction: ltr;
        }

        .news-image {
            width: 100%;
            height: 300px;
            background: linear-gradient(135deg, var(--accent), var(--primary));
            border-radius: 12px;
        }

        .news-content h3 {
            margin-bottom: 1rem;
        }

        .news-date {
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 0.5rem;
            font-size: 0.95rem;
        }

        .news-archive-link {
            text-align: center;
            margin-top: 3rem;
        }

        .news-archive-link a {
            display: inline-block;
            padding: 0.8rem 2rem;
            background: white;
            color: var(--primary-dark);
            font-weight: 600;
            border-radius: 8px;
            transition: all 0.3s ease;
            box-shadow: var(--shadow-sm);
        }

        .news-archive-link a:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
            text-decoration: none;
        }

        /* Science Section - Blog Articles */
        .science-tabs {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 3rem;
        }

        .science-tab {
            padding: 0.8rem 2rem;
            background: transparent;
            color: var(--text-light);
            border: 2px solid var(--text-light);
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .science-tab:hover,
        .science-tab.active {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }

        .tab-content {
            display: none;
        }

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

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

        .blog-card {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: all 0.3s ease;
            cursor: pointer;
            display: flex;
            flex-direction: column;
        }

        .blog-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-md);
        }

        .blog-image {
            width: 100%;
            height: 200px;
            background: linear-gradient(135deg, var(--accent), var(--primary));
        }

        .blog-content {
            padding: 2rem;
            display: flex;
            flex-direction: column;
            flex: 1;
        }

        .blog-date {
            color: var(--primary);
            font-weight: 600;
            font-size: 0.9rem;
            margin-bottom: 0.8rem;
        }

        .blog-title {
            font-size: 1.4rem;
            font-weight: 600;
            color: var(--primary-dark);
            margin-bottom: 1rem;
        }

        .blog-excerpt {
            color: var(--text-light);
            font-size: 1rem;
            line-height: 1.6;
            margin-bottom: 1.5rem;
            flex: 1;
        }

        .blog-read-more {
            color: var(--primary);
            font-weight: 600;
            font-size: 0.95rem;
            text-decoration: none;
            transition: color 0.3s ease;
            margin-top: auto;
        }

        .blog-read-more:hover {
            color: var(--primary-dark);
        }

        /* Publications Table */
        .publications-table {
            background: white;
            border-radius: 16px;
            padding: 2rem;
            box-shadow: var(--shadow-sm);
            margin-top: 2rem;
        }

        .pub-item {
            padding: 2rem 0;
            border-bottom: 1px solid #f0f0f0;
        }

        .pub-item:last-child {
            border-bottom: none;
        }

        .pub-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--primary-dark);
            margin-bottom: 0.8rem;
        }

        .pub-authors {
            color: var(--text-light);
            font-size: 1rem;
            margin-bottom: 0.5rem;
        }

        .pub-venue {
            color: var(--text-light);
            font-size: 0.95rem;
            font-style: italic;
            margin-bottom: 0.8rem;
        }

        .pub-meta {
            display: flex;
            gap: 2rem;
            flex-wrap: wrap;
            align-items: center;
        }

        .pub-year,
        .pub-citations {
            color: var(--text-light);
            font-size: 0.9rem;
            font-weight: 600;
        }

        .pub-link {
            display: inline-block;
            padding: 0.5rem 1.2rem;
            background: var(--primary);
            color: white;
            border-radius: 6px;
            font-size: 0.9rem;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .pub-link:hover {
            background: var(--primary-dark);
            text-decoration: none;
        }

        .pub-archive-link {
            text-align: center;
            margin-top: 3rem;
            padding-top: 2rem;
            border-top: 1px solid #f0f0f0;
        }

        .pub-archive-link a {
            display: inline-block;
            padding: 0.8rem 2rem;
            background: var(--primary);
            color: white;
            font-weight: 600;
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .pub-archive-link a:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            text-decoration: none;
        }

        /* Contact Section */
        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: start;
        }

        .contact-info {
            padding: 2rem;
        }

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

        .contact-item {
            margin-bottom: 2rem;
        }

        .contact-label {
            font-weight: 600;
            color: var(--primary-dark);
            margin-bottom: 0.5rem;
            font-size: 1.05rem;
        }

        .contact-value {
            color: var(--text-light);
            font-size: 1.05rem;
        }

        .contact-value a {
            color: var(--primary);
            transition: color 0.3s ease;
        }

        .contact-value a:hover {
            color: var(--primary-dark);
            text-decoration: underline;
        }

        .contact-form {
            background: white;
            padding: 3rem;
            border-radius: 16px;
            box-shadow: var(--shadow-md);
        }

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

        label {
            display: block;
            font-weight: 600;
            color: var(--primary-dark);
            margin-bottom: 0.8rem;
            font-size: 1rem;
        }

        input,
        textarea {
            width: 100%;
            padding: 1rem;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            font-size: 1rem;
            font-family: inherit;
            transition: border-color 0.3s ease;
        }

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

        textarea {
            resize: vertical;
            min-height: 150px;
        }

        button[type="submit"] {
            width: 100%;
            padding: 1.2rem;
            background: var(--primary);
            color: white;
            font-weight: 600;
            font-size: 1.1rem;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        button[type="submit"]:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        /* Footer */
        .site-footer {
            background: var(--primary-dark);
            color: rgba(255,255,255,0.8);
            padding: 3rem 2rem;
            text-align: center;
        }

        .site-footer p {
            color: rgba(255,255,255,0.8);
            margin: 0;
        }

        /* Tablet Responsive */
        @media (max-width: 1024px) {
            .section-content {
                padding: 0 1.5rem;
            }

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

            .blog-grid {
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            }

            .team-grid {
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            }

            .news-item {
                padding: 2rem;
            }
        }

        /* Mobile Responsive */
        @media (max-width: 900px) {
            .nav-links {
                display: none;
                position: fixed;
                top: 72px;
                left: 0;
                right: 0;
                flex-direction: column;
                gap: 0;
                background: var(--surface);
                padding: 1rem 0;
                box-shadow: var(--shadow-md);
                z-index: 999;
            }

            .nav-links.open {
                display: flex;
            }

            .nav-link {
                padding: 1rem 2rem;
                width: 100%;
                border-bottom: 1px solid #f0f0f0;
            }

            .nav-link::after {
                display: none;
            }

            .lang-switch {
                margin-left: 0;
                margin-top: 1rem;
                justify-content: center;
                padding: 1rem 2rem;
            }

            .user-section {
                margin-left: 0;
                margin-top: 1rem;
                padding: 0 2rem;
                width: 100%;
                justify-content: center;
            }

            .burger {
                display: block;
            }

            .hero {
                padding: 6rem 1.5rem 3rem;
                min-height: 80vh;
            }

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

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

            section {
                padding: 4rem 0;
            }

            .section-header {
                margin-bottom: 3rem;
            }

            .section-header h2 {
                font-size: 2rem;
            }

            .tech-grid,
            .team-grid,
            .blog-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .news-item {
                grid-template-columns: 1fr;
                gap: 1.5rem;
                padding: 2rem;
            }

            .news-item:nth-child(even) {
                direction: ltr;
            }

            .news-image {
                max-height: 250px;
            }

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

            .contact-form {
                padding: 2rem;
            }

            .contact-info {
                padding: 1.5rem;
            }

            .science-tabs {
                flex-direction: column;
                gap: 0.5rem;
            }

            .science-tab {
                width: 100%;
            }

            .pub-meta {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.8rem;
            }

            .pub-link {
                width: 100%;
                text-align: center;
            }
        }

        /* Small Mobile */
        @media (max-width: 600px) {
            .site-header {
                padding: 1rem;
            }

            .nav-inner {
                padding: 0;
            }

            .brand span {
                font-size: 1.2rem;
            }

            .logo img {
                width: 35px;
                height: 35px;
            }

            .hero {
                padding: 5rem 1rem 2rem;
                min-height: 70vh;
            }

            .hero h1 {
                font-size: 1.75rem;
                margin-bottom: 1.5rem;
            }

            .hero p {
                font-size: 1rem;
                margin-bottom: 2rem;
            }

            .cta-button {
                padding: 0.9rem 2rem;
                font-size: 1rem;
            }

            section {
                padding: 3rem 0;
            }

            .section-content {
                padding: 0 1rem;
            }

            .section-header {
                margin-bottom: 2rem;
            }

            .section-header h2 {
                font-size: 1.75rem;
            }

            .section-header p {
                font-size: 1rem;
            }

            .tech-card,
            .team-member,
            .blog-card {
                padding: 1.5rem;
            }

            .tech-card h3 {
                height: auto;
                min-height: 2.5em;
            }

            .news-item {
                padding: 1.5rem;
            }

            .contact-form,
            .contact-info {
                padding: 1.5rem;
            }

            .form-group label {
                font-size: 0.9rem;
            }

            input,
            textarea {
                font-size: 0.95rem;
                padding: 0.8rem;
            }

            button[type="submit"] {
                padding: 1rem;
                font-size: 1rem;
            }

            /* Login Modal Mobile */
            .login-modal-content {
                padding: 1.5rem;
                width: 95%;
            }

            .login-modal-header h2 {
                font-size: 1.3rem;
            }

            .login-form-group input {
                padding: 0.65rem;
                font-size: 0.95rem;
            }

            .login-form-submit {
                padding: 0.65rem;
                font-size: 0.95rem;
            }

            /* User Dropdown Mobile */
            .user-dropdown {
                right: 1rem;
                left: 1rem;
                min-width: auto;
            }

            .user-info {
                padding: 0.4rem 0.8rem;
            }

            .user-name {
                font-size: 0.85rem;
            }
        }

        /* Extra Small Mobile */
        @media (max-width: 400px) {
            .hero h1 {
                font-size: 1.5rem;
            }

            .hero p {
                font-size: 0.95rem;
            }

            .section-header h2 {
                font-size: 1.5rem;
            }

            .tech-icon {
                font-size: 2.5rem;
            }

            .blog-card,
            .team-member,
            .tech-card {
                padding: 1.25rem;
            }

            .news-item {
                padding: 1.25rem;
            }
        }

        /* Landscape Mobile */
        @media (max-width: 900px) and (orientation: landscape) {
            .hero {
                min-height: 60vh;
                padding: 5rem 1.5rem 2rem;
            }

            .nav-links {
                max-height: calc(100vh - 72px);
                overflow-y: auto;
            }
        }


/* Form Validation Styles */
.form-group input.valid,
.form-group textarea.valid {
    border-color: #00a86b;
}

.form-group input.invalid,
.form-group textarea.invalid {
    border-color: #dc3545;
}

.char-count {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    display: none;
}

.form-status.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

