:root {
    /* Dark backgrounds */
    --color-primary-dark: #0f1a2b;
    /* Deep navy-blue for main sections */
    --color-secondary-dark: #1c2940;
    /* Slightly lighter for gradients */
    --color-tertiary-dark: #2a3b5c;
    /* Accent dark blue for depth */

    /* Main brand colors */
    --color-primary-blue: #3a86ff;
    /* Solid, trustworthy blue for buttons and links */
    --color-secondary-blue: #6fb1fc;
    /* Softer blue for gradients, hover effects */
    --color-tertiary-accent: #ffbe76;
    /* Warm, elegant accent for highlights, CTAs */

    /* Neutrals */
    --color-white: #ffffff;
    --color-light-gray: #e5e7eb;

    /* Background gradients */
    --bg-gradient: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-secondary-dark) 50%, var(--color-tertiary-dark) 100%);
    --text-gradient: linear-gradient(45deg, var(--color-white), var(--color-primary-blue), var(--color-secondary-blue));
    --navbar-bg: rgba(15, 26, 43, 0.9);
    --border-color-light: rgba(255, 255, 255, 0.1);
    --grid-pattern-light: rgba(255, 255, 255, 0.05);

    /* Buttons */
    --btn-primary-bg: linear-gradient(45deg, var(--color-primary-blue), var(--color-secondary-blue));
    --btn-primary-shadow: rgba(58, 134, 255, 0.4);
    --btn-primary-hover-shadow: rgba(58, 134, 255, 0.6);
    --btn-secondary-bg: rgba(255, 255, 255, 0.1);
    --btn-secondary-border: rgba(255, 255, 255, 0.2);
    --btn-secondary-hover-bg: rgba(255, 255, 255, 0.2);
    --btn-secondary-hover-border: rgba(255, 255, 255, 0.4);

    /* Service cards */
    --service-card-bg: rgba(255, 255, 255, 0.05);
    --service-card-hover-bg: rgba(255, 255, 255, 0.08);

    /* Portfolio */
    --portfolio-border-light: rgba(255, 255, 255, 0.2);
    --portfolio-bg-light: rgba(255, 255, 255, 0.08);

    --portfolio-category-bg: rgba(111, 177, 252, 0.15);
    --portfolio-category-border: rgba(111, 177, 252, 0.3);

    --portfolio-tag-bg: rgba(58, 134, 255, 0.15);
    --portfolio-tag-color: #3a86ff;
    --portfolio-tag-border: rgba(58, 134, 255, 0.25);
    --portfolio-tag-hover-bg: rgba(58, 134, 255, 0.25);
    --portfolio-tag-hover-border: rgba(58, 134, 255, 0.4);

    /* Links */
    --link-primary-shadow: rgba(58, 134, 255, 0.3);
    --link-primary-hover-shadow: rgba(58, 134, 255, 0.5);

    /* Show more button */
    --show-more-btn-bg: rgba(255, 255, 255, 0.08);
    --show-more-btn-border: rgba(58, 134, 255, 0.3);
    --show-more-btn-hover-bg: rgba(58, 134, 255, 0.15);
    --show-more-btn-hover-border: rgba(58, 134, 255, 0.5);
    --show-more-btn-hover-shadow: rgba(58, 134, 255, 0.3);

    /* Work experience (less aggressive pink) */
    --work-experience-bg: rgba(255, 190, 118, 0.15);
    --work-experience-color: #ffbe76;
    --work-experience-border: rgba(255, 190, 118, 0.3);
}


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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--color-white);
    background: var(--bg-gradient);
    overflow-x: hidden;
    overscroll-behavior: none;
    /* prevents scroll chaining and bounce */

}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color-light);
    padding: 1rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
    top: 0;
    left: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    /* set your desired navbar height */
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--color-primary-blue), var(--color-secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    /* center nav items vertically */
    gap: 20px;
    list-style: none;
}

.nav-links a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--color-primary-blue);
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: linear-gradient(45deg, var(--color-primary-blue), var(--color-secondary-blue));
    transition: all 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
    left: 0;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="var(--grid-pattern-light)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    z-index: 1;
    position: relative;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--btn-primary-bg);
    color: var(--color-white);
    box-shadow: 0 4px 15px var(--btn-primary-shadow);
}

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

.btn-secondary {
    background: var(--btn-secondary-bg);
    color: var(--color-white);
    border: 2px solid var(--btn-secondary-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--btn-secondary-hover-bg);
    transform: translateY(-3px);
    border-color: var(--btn-secondary-hover-border);
}

/* Floating Elements */
.floating-element {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.floating-element:nth-child(4) {
    top: 20%;
    right: 10%;
    animation-delay: 4s;
}

/* Services Section */
.services {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--color-white), var(--color-primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.service-card {
    background: var(--service-card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color-light);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, var(--color-primary-blue), var(--color-secondary-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: var(--service-card-hover-bg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--color-primary-blue), var(--color-secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    opacity: 0.8;
    line-height: 1.6;
}

/* Tech Stack */
.tech-stack {
    padding: 6rem 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 4rem auto 0;
}

.tech-item {
    background: var(--service-card-bg);
    border-radius: 15px;
    padding: 2rem 1rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color-light);
}

.tech-item:hover {
    transform: translateY(-5px);
    background: var(--service-card-hover-bg);
}

.tech-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--color-primary-blue), var(--color-secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-item span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 8rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-card {
    background: var(--service-card-bg);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 4rem 3rem;
    border: 1px solid var(--border-color-light);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(96, 165, 250, 0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s ease-in-out infinite;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.contact-item i {
    font-size: 1.5rem;
    background: linear-gradient(45deg, var(--color-primary-blue), var(--color-secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Footer */
.footer {
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid var(--border-color-light);
    background: rgba(0, 0, 0, 0.2);
}

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

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

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .fab {
        display: none;
    }

    .hero h1 {
        margin-top: 5rem;
        font-size: 2.5rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-card {
        padding: 3rem 2rem;
    }
}

/* Portfolio Section Styles */
.portfolio {
    padding: 8rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

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

.portfolio-item {
    background: var(--service-card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color-light);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    opacity: 1;
    transform: translateY(0);
}

/* Hide items by default for show more functionality */
.portfolio-item.hidden-item {
    display: none;
}

.portfolio-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 0 1px var(--portfolio-border-light);
    background: var(--portfolio-bg-light);
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary-blue), var(--color-secondary-blue), var(--color-tertiary-pink));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 1;
}

.portfolio-item:hover::before {
    transform: scaleX(1);
}

/* Portfolio Image Styles */
.portfolio-image {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    cursor: pointer;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    border-radius: 0;
}

.portfolio-image:hover img {
    transform: scale(1.08);
}


.portfolio-image:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Portfolio Content */
.portfolio-content {
    padding: 2.5rem 2rem;
}

.portfolio-category {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--color-secondary-blue);
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: var(--portfolio-category-bg);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--portfolio-category-border);
}

.portfolio-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.portfolio-description {
    opacity: 0.85;
    line-height: 1.7;
    margin-bottom: 1.8rem;
    font-size: 1rem;
    color: var(--color-light-gray);
}

/* Portfolio Tags */
.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 2rem;
}

.portfolio-tag {
    background: var(--portfolio-tag-bg);
    color: var(--portfolio-tag-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--portfolio-tag-border);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.portfolio-tag:hover {
    background: var(--portfolio-tag-hover-bg);
    border-color: var(--portfolio-tag-hover-border);
    transform: translateY(-2px);
}

/* Portfolio Links */
.portfolio-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.portfolio-link {
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    position: relative;
    overflow: hidden;
}

.portfolio-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.portfolio-link:hover::before {
    left: 100%;
}

.portfolio-link.primary {
    background: var(--btn-primary-bg);
    color: var(--color-white);
    box-shadow: 0 4px 15px var(--link-primary-shadow);
}

.portfolio-link.primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px var(--link-primary-hover-shadow);
}

.portfolio-link.secondary {
    background: var(--portfolio-bg-light);
    color: var(--color-white);
    border: 1px solid var(--portfolio-border-light);
    backdrop-filter: blur(10px);
}

.portfolio-link.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

/* Show More Button */
.show-more-container {
    display: flex;
    justify-content: center;
    padding-top: 3rem;
}

#show-more-btn {
    background: var(--show-more-btn-bg);
    color: var(--color-white);
    border: 2px solid var(--show-more-btn-border);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

#show-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.2), transparent);
    transition: left 0.5s ease;
}

#show-more-btn:hover::before {
    left: 100%;
}

#show-more-btn:hover {
    background: var(--show-more-btn-hover-bg);
    border-color: var(--show-more-btn-hover-border);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--show-more-btn-hover-shadow);
}

/* Animation for showing hidden items */
/* .portfolio-item.show-animation {
    animation: slideInUp 0.6s ease forwards;
} */

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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


/* Special styling for work experience items */
.portfolio-item .portfolio-content .portfolio-category:contains("Work Experience") {
    background: var(--work-experience-bg);
    color: var(--work-experience-color);
    border-color: var(--work-experience-border);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .portfolio {
        padding: 6rem 1.5rem;
    }

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

    .portfolio-item {
        margin: 0;
    }

    .portfolio-image {
        height: 220px;
    }

    .portfolio-content {
        padding: 2rem 1.5rem;
    }

    .portfolio-title {
        font-size: 1.3rem;
    }

    .portfolio-links {
        flex-direction: column;
    }

    .portfolio-link {
        text-align: center;
        justify-content: center;
    }

    .close-button {
        top: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .fullscreen-modal img {
        max-width: 95vw;
        max-height: 85vh;
    }
}

/* Hamburger button for mobile */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--color-white);
    border-radius: 3px;
}

/* Mobile nav */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 70px;
        /* adjust based on navbar height */
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        display: none;
        padding: 1rem 0;
        z-index: 999;
    }

    .nav-links li {
        text-align: center;
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

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

    .language-selector {
        width: 90%;
        margin-top: 20px;
    }

    .language-switch {
        width: 100%;
        justify-content: center;
        padding: 15px 20px;
        border-radius: 15px;
        font-size: 1.1rem;
    }

    .current-language {
        font-size: 1.1rem;
    }

    .language-dropdown {
        position: static;
        width: 100%;
        margin-top: 15px;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        z-index: 9999;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    .language-option {
        padding: 15px 20px;
        font-size: 1.1rem;
        justify-content: center;
    }
}

.language-selector {
    position: relative;
}

.language-selector select {
    padding: 5px 10px;
    border-radius: 6px;
    border: none;
    background-color: #333;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    /* Removes default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="white" height="12" viewBox="0 0 24 24" width="12" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    transition: background-color 0.3s;
}

.language-selector select:hover {
    background-color: #444;
}

.language-selector select:focus {
    outline: none;
    background-color: #555;
}

/* Keep the dropdown in place */
.language-selector select option {
    color: #000;
    background-color: #fff;
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-tags {
        gap: 0.5rem;
    }

    .portfolio-tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .portfolio-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Hover effects for better UX */
.portfolio-item {
    will-change: transform;
}

.clickable-image {
    cursor: pointer;
    user-select: none;
}

/* Additional animations */
.portfolio-item:nth-child(odd) {
    animation-delay: 0.1s;
}

.portfolio-item:nth-child(even) {
    animation-delay: 0.2s;
}

.fullscreen-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 15, 35, 0.95);
    justify-content: center;
    align-items: center;
}

.fullscreen-modal img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
}

.close-button {
    position: absolute;
    top: 32px;
    right: 32px;
    font-size: 2rem;
    color: var(--color-white);
    cursor: pointer;
    z-index: 10000;
}

/* Language Switch Styles */
.language-selector {
    position: relative;
}

.language-switch {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #000000, #02010b);
    border-radius: 25px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.language-switch:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.language-switch .globe-icon {
    width: 18px;
    height: 18px;
    margin-right: 6px;
    fill: white;
}

.current-language {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 8px;
}

.arrow-down {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid white;
    transition: transform 0.3s ease;
}

.language-switch.active .arrow-down {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 120px;
    margin-top: 8px;
    overflow: hidden;
}

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

.language-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    color: #1a0230;
    font-weight: 500;
}

.language-option:hover {
    background: #f8f9ff;
}

.language-option.selected {
    background: var(--color-primary-blue);
    color: white;
}

.flag-icon {
    width: 20px;
    height: 15px;
    margin-right: 10px;
    border-radius: 2px;
    background-size: cover;
    background-position: center;
}

.flag-en {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Cdefs%3E%3CclipPath id='t'%3E%3Cpath d='m30,15 h30 v15 z v15 h-30 z h-30 v-15 z v-15 h30 z'/%3E%3C/clipPath%3E%3C/defs%3E%3Cpath d='m0,0 v30 h60 v-30 z' fill='%23012169'/%3E%3Cpath d='m0,0 L60,30 M60,0 L0,30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='m0,0 L60,30 M60,0 L0,30' clip-path='url(%23t)' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='m30,0 v30 M0,15 h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='m30,0 v30 M0,15 h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/svg%3E");
}

.flag-lt {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 3'%3E%3Crect width='5' height='1' fill='%23FDB462'/%3E%3Crect width='5' height='1' y='1' fill='%23006A44'/%3E%3Crect width='5' height='1' y='2' fill='%23C1272D'/%3E%3C/svg%3E");
}


.reviews {
    background: var(--color-primary-dark);
    padding: 60px 20px;
}

.reviews-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: #222;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-light-gray);
    margin-bottom: 40px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.review-card {
    background: var(--color-tertiary-dark);
    border-radius: 12px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.review-stars {
    color: #f4b400;
    margin-bottom: 12px;
}

.review-text {
    font-size: 15px;
    color: var(--color-light-gray);
    margin-bottom: 14px;
    line-height: 1.5;
}

.review-text.en {
    font-style: italic;
    color: #dedede;
    margin-top: -8px;
}

.review-author {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.review-avatar {
    width: 45px;
    height: 45px;
    background: #0073e6;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 12px;
    font-size: 16px;
}

.review-author-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
}

.review-author-info p {
    font-size: 13px;
    color: #d9d6d6;
    margin: 0;
}

/* FAQ Section */
.faq {
  padding: 80px 20px;
  background: var(--color-primary-dark);
  font-family: 'Inter', sans-serif;
  color: var(--color-white);
}

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  color: var(--color-white);
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.faq-grid {
  display: column ;
  grid-template-columns: 1fr;
  gap: 20px;
}

.faq-item {
  background: var(--service-card-bg);
  border-radius: 12px;
  padding: 20px 25px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color-light);
  transition: background 0.1s ease, box-shadow 0.1s ease;
  cursor: pointer;
  overflow: hidden;
}

.faq-item:hover {
  background: var(--service-card-hover-bg);
  box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}

.faq-question {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary-blue);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-tertiary-accent);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.faq-answer {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-light-gray);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding-top: 0;
}

.faq-item.active .faq-answer {
  max-height: 1000px; /* large enough to fit content */
  padding-top: 15px;
}

@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

