:root {
    --primary: #0ea5e9;
    --primary-glow: rgba(14, 165, 233, 0.4);
    --secondary: #6366f1;
    --accent: #a855f7;
    --bg-dark: #030712;
    --bg-card: rgba(17, 24, 39, 0.7);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Glassmorphism Classes */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

nav.scrolled {
    padding: 1rem 2rem;
    background: rgba(3, 7, 18, 0.9);
    backdrop-filter: blur(15px);
}

.logo {
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    line-height: 1;
    /* Tighter line height between logo and text */
}

.logo img {
    height: 90px;
    width: auto;
    transition: var(--transition);
}

.logo-text {
    font-family: var(--font-heading);
    /* Matching brand style */
    font-size: 0.95rem;
    /* Exact match to .nav-links a */
    font-weight: 500;
    color: var(--text-main);
    margin-top: 5px;
    text-transform: uppercase;
    /* Assuming the design might want this, or Normal case */
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .logo img {
        height: 50px;
    }

    .logo-text {
        font-size: 0.8rem;
    }
}


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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .menu-toggle {
        display: block;
        padding: 0.5rem;
    }

    .menu-toggle i {
        width: 28px;
        height: 28px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-dark);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 1099;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/office.png') center/cover no-repeat;
    opacity: 0.2;
    z-index: -1;
}

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

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.hero-title span {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s 0.2s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px var(--primary-glow);
}

/* Section Styling */
section {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

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

.service-card {
    padding: 3rem;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

/* Footer */
footer {
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    section {
        padding: 5rem 1.5rem;
    }

    .hero {
        padding: 0 1.5rem;
    }

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

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

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

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

    .service-card {
        padding: 2rem;
    }

    /* About Page Mobile */
    .about-hero {
        grid-template-columns: 1fr;
        padding-top: 7rem;
        gap: 3rem;
        text-align: center;
    }

    .about-text h1 {
        font-size: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .profile-img-placeholder {
        max-width: 300px;
        margin: 0 auto;
    }

    /* Services Page Mobile */
    .service-detail {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        margin-bottom: 4rem;
        direction: ltr !important;
    }

    .service-detail .detail-text {
        direction: ltr !important;
    }

    .detail-img {
        height: 300px;
    }

    .detail-text h3 {
        font-size: 1.8rem;
    }

    /* Publications Mobile Fixes */
    .publications-grid {
        gap: 3rem;
    }

    .book-detail {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .book-cover {
        max-width: 250px;
        margin: 0 auto;
    }

    .book-meta {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .book-info h2 {
        font-size: 1.8rem;
    }

    /* Contact Page Mobile */
    .contact-container {
        grid-template-columns: 1fr !important;
        gap: 3rem;
        padding-top: 7rem !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

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

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

/* --- Styles for Applications Page --- */
.apps-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 5rem;
}

.page-header {
    padding-top: 8rem;
    text-align: center;
    padding-bottom: 2rem;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.app-card {
    padding: 0;
    /* Remove default padding, handle inside */
    overflow: hidden;
    /* For image corners */
    transition: var(--transition);
}

.app-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.app-grid-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
}

.app-image-container {
    position: relative;
    overflow: hidden;
    background-color: #0f172a;
    /* Fallback color */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.app-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.app-card:hover .app-image {
    transform: scale(1.05);
}

.app-text-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.app-header .icon-box {
    background: rgba(14, 165, 233, 0.1);
    padding: 10px;
    border-radius: 12px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-header h2 {
    font-size: 2rem;
    color: var(--text-main);
    margin: 0;
}

.app-description {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.app-description strong {
    color: var(--text-main);
}

.app-description em {
    color: var(--secondary);
    font-style: normal;
    font-weight: 600;
}

.feature-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 99px;
    font-size: 0.85rem;
    color: var(--text-main);
    font-weight: 500;
}

.badge i {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.app-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.app-features li {
    font-size: 0.95rem;
    line-height: 1.6;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
}

.app-features li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
    top: 2px;
}

.app-features li strong {
    color: var(--text-main);
}

/* Responsiveness for App Card */
@media (max-width: 900px) {
    .app-grid-layout {
        grid-template-columns: 1fr;
    }

    .app-image-container {
        height: 300px;
        min-height: auto;
    }

    .app-text-content {
        padding: 2rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }
}

/* --- Contact Page Styles --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    padding-top: 10rem;
    max-width: 1200px;
    margin: 0 auto 5rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

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

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

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

.contact-form {
    padding: 3rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 12px;
    color: white;
    font-family: inherit;
    transition: var(--transition);
}

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

@media (max-width: 968px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-top: 7rem;
    }
}

/* --- Publications Page Styles --- */
.publications-section {
    margin-top: 6rem;
}

.publications-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.book-detail {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    align-items: center;
}

.book-cover {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.book-detail:hover .book-cover {
    transform: translateY(-10px) rotate(-2deg);
}

.book-info h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.book-info h3 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.book-meta {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    gap: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.book-link {
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

@media (max-width: 968px) {
    .book-detail {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .book-cover {
        max-width: 300px;
        margin: 0 auto;
    }

    .book-meta {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

/* --- About (Chi Sono) Page Styles --- */
.about-hero {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: center;
    padding: 10rem 2rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-container {
    position: relative;
}

.profile-img-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    background: url('assets/profile_professional.png') center/cover no-repeat;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 4px solid var(--glass-border);
}

.about-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.about-details {
    padding-top: 2rem;
}

.confidential-note {
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid #ef4444;
    padding: 2rem;
    margin: 4rem 0;
    border-radius: 0 12px 12px 0;
}

.confidential-note h4 {
    color: #ef4444;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title {
    margin-top: 5rem;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.timeline {
    margin: 4rem 0;
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 3rem;
    border-left: 2px solid var(--glass-border);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.timeline-date {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.timeline-content h5 {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style: none;
    color: var(--text-muted);
}

.timeline-content ul li {
    margin-bottom: 0.5rem;
    display: flex;
    gap: 10px;
}

.timeline-content ul li::before {
    content: '•';
    color: var(--primary);
}

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

.book-card {
    padding: 2rem;
}

.book-card h4 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

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

@media (max-width: 968px) {
    .about-hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 8rem;
    }

    .profile-img-placeholder {
        max-width: 300px;
        margin: 0 auto;
    }

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

/* --- Services Page Styles --- */
.services-section {
    margin-top: 6rem;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.service-detail:nth-child(even) {
    direction: rtl;
}

.service-detail:nth-child(even) .detail-text {
    direction: ltr;
}

.detail-img {
    width: 100%;
    height: 400px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-detail:hover .detail-img img {
    transform: scale(1.05);
}

.detail-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.detail-list {
    list-style: none;
    margin-top: 1.5rem;
}

.detail-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-list i {
    color: var(--primary);
    width: 18px;
}

@media (max-width: 968px) {
    .service-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* --- Privacy Page Styles --- */
.privacy-content {
    max-width: 900px !important;
    margin-bottom: 5rem;
}

.privacy-section {
    padding: 3rem;
    margin-bottom: 2rem;
}

.privacy-section h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.privacy-section h3 {
    color: var(--secondary);
    margin: 1.5rem 0 1rem;
    font-size: 1.3rem;
}

.privacy-section p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.privacy-section ul {
    list-style: none;
    margin-left: 1rem;
    color: var(--text-muted);
}

.privacy-section ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.privacy-section ul li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background: rgba(3, 7, 18, 0.95);
    border: 1px solid var(--primary);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    z-index: 9999;
    display: none;
    /* Hidden by default, shown via JS */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text h4 {
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.cookie-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-small {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.btn-accept {
    background: var(--primary);
    color: white;
    border: none;
}

.btn-accept:hover {
    background: var(--secondary);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .cookie-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* --- Language Switcher --- */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.lang-link {
    color: var(--text-muted);
    transition: var(--transition);
    cursor: pointer;
}

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

.lang-divider {
    color: var(--glass-border);
}

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

@media (max-width: 768px) {
    .lang-switcher {
        margin-left: 0;
        margin-top: 1rem;
        justify-content: center;
    }
}

/* --- Language Dropdown --- */
.lang-dropdown {
    position: relative;
    margin-left: 1rem;
    z-index: 1001;
    /* Ensure it's above other elements */
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    transition: var(--transition);
    border-radius: 8px;
}

.lang-btn:hover {
    background: var(--glass-bg);
}

.lang-flag {
    font-size: 1.2rem;
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 150px;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.5rem;
    display: none;
    flex-direction: column;
    gap: 0.2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.2s ease-out;
}

.lang-dropdown:hover .lang-menu {
    display: flex;
    /* Show on hover for desktop */
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    font-size: 0.95rem;
}

.lang-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
}

.lang-item.active {
    display: none;
}

@media (max-width: 768px) {
    .lang-dropdown {
        margin-left: 0;
        margin-top: 1rem;
    }

    .lang-menu {
        position: static;
        /* Stack properly in mobile menu */
        background: transparent;
        border: none;
        box-shadow: none;
        padding-left: 1rem;
        display: none;
        /* Hidden by default, toggled via JS or CSS */
        min-width: 100%;
    }

    /* Keep it simple for now on mobile: display all languages inline or always show dropdown if active */
    .lang-dropdown:hover .lang-menu,
    .lang-dropdown:focus-within .lang-menu {
        display: flex;
    }
}

/* Form Feedback */
.form-feedback {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.form-feedback.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.form-feedback.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility Animations */
.hero-btns-animated {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s 0.4s forwards;
}