@font-face {
    font-family: 'Addis';
    src: url('addis.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-color: #6c5ce7;
    --secondary-color: #a29bfe;
    --accent-color: #00b894;
    --background-color: #0f0f1a;
    --card-color: rgba(30, 30, 46, 0.7);
    --text-color: #ffffff;
    --text-secondary: #aaaaaa;
    --success-color: #00b894;
    --error-color: #d63031;
    --yellow-accent: #ffd32a;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

html {
    overscroll-behavior: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
    overscroll-behavior: none;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.blob-1 {
    top: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: rgba(108, 92, 231, 0.2);
    animation: float 8s ease-in-out infinite;
}

.blob-2 {
    bottom: -150px;
    right: -150px;
    width: 600px;
    height: 600px;
    background: rgba(0, 184, 148, 0.15);
    animation: float 10s ease-in-out infinite reverse;
}

.blob-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: rgba(162, 155, 254, 0.1);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(30px, 30px) rotate(5deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: rgba(15, 15, 26, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--glass-border);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    padding: 10px 30px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text-bernos {
    font-family: 'Addis', sans-serif;
    font-size: 24px;
    font-weight: 300;
    color: var(--text-color);
    letter-spacing: 1px;
}

.logo-text-technologies {
    font-family: 'Addis', sans-serif;
    font-size: 14px;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.right-section {
    display: flex;
    align-items: center;
}

.contact-support {
    display: flex;
    align-items: center;
    margin-left: 30px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.contact-icon {
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 12px;
    color: var(--text-secondary);
}

.contact-number {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    background-color: rgba(15, 15, 26, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    position: absolute;
    right: 40px;
    width: 0;
    height: 40px;
    padding: 0;
    border: none;
    color: var(--text-color);
    font-size: 14px;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.search-input.active {
    width: 200px;
    padding: 0 15px;
    opacity: 1;
    visibility: visible;
}

.search-button {
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    color: var(--text-color);
    font-size: 20px;
    cursor: pointer;
    margin-left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    z-index: 2;
}

.search-button:hover {
    color: var(--accent-color);
}

.search-button.active {
    color: var(--accent-color);
}

/* Hide contact support when search is active */
.search-input.active ~ .contact-support,
.search-button.active ~ .contact-support {
    opacity: 0;
    visibility: hidden;
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 15, 26, 0.9), rgba(26, 26, 46, 0.8));
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 15, 26, 0.8), rgba(15, 15, 26, 0.4));
    z-index: 1;
}

/* Update the hero accent with gradient and wiggle animation */
.hero-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, var(--yellow-accent), #ff9f43, #feca57, var(--yellow-accent));
    background-size: 400% 400%;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    opacity: 0.8;
    z-index: 1;
    animation: gradientShift 8s ease infinite, wiggle 12s ease-in-out infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes wiggle {
    0% {
        clip-path: polygon(100% 0, 0 0, 100% 100%);
    }
    25% {
        clip-path: polygon(100% 0, 10% 10%, 100% 90%);
    }
    50% {
        clip-path: polygon(100% 0, 0 20%, 90% 100%);
    }
    75% {
        clip-path: polygon(90% 10%, 10% 0, 100% 100%);
    }
    100% {
        clip-path: polygon(100% 0, 0 0, 100% 100%);
    }
}

.hero-content {
    background-color: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 2;
    margin: 0 auto;
    padding: 0 50px;
    text-align: left;
}

.hero-subtitle {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    color: var(--yellow-accent);
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: 1px;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 7rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0;
    color: var(--text-color);
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-title-second {
    font-size: 7rem;
    line-height: 1;
    margin-top: 0;
}

.hero-highlight {
    display: inline-block;
    background-color: #222;
    color: var(--yellow-accent);
    padding: 5px 30px;
    border-radius: 50px;
}

.discover-more {
    position: absolute;
    bottom: 100px;
    left: 50px;
    width: 180px;
    height: 180px;
    z-index: 3;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.discover-more:active {
    transform: scale(0.95);
}

.discover-circle-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(15, 15, 26, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 
                inset 0 0 20px rgba(255, 211, 42, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.discover-circle-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent, 
        transparent, 
        transparent, 
        var(--yellow-accent)
    );
    animation: rotate 6s linear infinite;
    opacity: 0.15;
}

.discover-circle-bg::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: rgba(15, 15, 26, 0.9);
    z-index: 1;
}

.discover-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    z-index: 2;
    color: var(--yellow-accent);
}

.discover-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotate 20s linear infinite;
    fill: var(--yellow-accent);
    opacity: 0.9;
    z-index: 2;
}

.discover-circle text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes pulse-circle {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 211, 42, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 211, 42, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 211, 42, 0);
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-button {
        display: block;
    }
    
    .right-section {
        display: none;
    }
    
    .hero-content {
        max-width: 70%;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        max-width: 100%;
        text-align: center;
        margin-left: 0;
        margin-bottom: 200px;
    }
    
    .hero-title {
        font-size: 2.7rem;
    }
    
    .discover-more {
        bottom: 50px;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

/* Add some glass panels in the background for decoration */
.glass-panel {
    position: absolute;
    background-color: var(--glass-bg);
    backdrop-filter: blur(5px);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    z-index: -1;
}

.glass-panel-1 {
    top: 20%;
    right: 10%;
    width: 200px;
    height: 200px;
    transform: rotate(15deg);
}

.glass-panel-2 {
    bottom: 15%;
    right: 20%;
    width: 150px;
    height: 150px;
    transform: rotate(-10deg);
}

.glass-panel-3 {
    top: 40%;
    left: 5%;
    width: 100px;
    height: 300px;
    transform: rotate(45deg);
}

/* Team Section */
.team-section {
    overflow: hidden;
    position: relative;
}

.team-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
}

.team-track {
    display: flex;
    animation: slideTrack 20s linear infinite;
    gap: 30px;
    width: fit-content;
}

.team-track:hover {
    animation-play-state: paused;
}

@keyframes slideTrack {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 7 - 30px * 7));
    }
}

.team-member {
    flex: 0 0 auto;
    text-align: center;
    width: 200px;
    transition: all 0.3s ease;
    padding: 20px;
}

.member-image-container {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.member-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 5px;
}

.member-title {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    padding: 0;
    box-sizing: border-box;
    aspect-ratio: 1;
}

.social-icon:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Hover Effects */
.team-member:hover .member-image-container {
    filter: grayscale(0);
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.team-member:hover .member-social {
    opacity: 1;
    transform: translateY(0);
}

.team-member:hover .member-image {
    transform: scale(1.1);
}

/* Scroll Animation Styles */
.fade-in, .fade-in-left, .fade-in-right, .scale-in {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* Then keep your animation classes for when JavaScript is available */
.js-enabled .fade-in:not(.active) {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    visibility: hidden;
}

.js-enabled .fade-in-left:not(.active) {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    visibility: hidden;
}

.js-enabled .fade-in-right:not(.active) {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    visibility: hidden;
}

.js-enabled .scale-in:not(.active) {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
    visibility: hidden;
}

.js-enabled .fade-in.active,
.js-enabled .fade-in-left.active,
.js-enabled .fade-in-right.active,
.js-enabled .scale-in.active {
    opacity: 1;
    transform: none;
    visibility: visible;
}

/* Add staggered delays for grid items */
.services-grid .service-card:nth-child(1) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.3s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.4s; }

/* Section Styles */
.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(to right, var(--text-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.glass-card {
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-icon {
    margin: 0 auto 20px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
}

.service-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    position: relative;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.service-link:hover::after {
    width: 100%;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-description {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.7;
}

.stats-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-item {
    flex: 1;
    padding: 20px;
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.about-image {
    flex: 1;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(108, 92, 231, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--text-color);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

/* Projects Section */
.projects-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.projects-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.project-card {
    min-width: 350px;
    overflow: hidden;
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: 25px;
}

.project-category {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.9rem;

}

.project-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}

.project-link::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.project-link:hover::after {
    transform: translateX(5px);
}

.projects-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.nav-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Testimonials Section */
.testimonials-container {
    display: flex;
    gap: 30px;
}

.testimonial-card {
    flex: 1;
    padding: 40px;
}

.quote-icon {
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 20px;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-info {
    flex: 1;
}

.author-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 5px;
}

.author-position {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-container {
    padding: 60px;
    text-align: center;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(0, 184, 148, 0.1));
}

.cta-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.cta-text {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .testimonials-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        flex-direction: column;
    }
    
    .cta-container {
        padding: 40px 20px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

/* Culture Section Styles */
.culture-section {
    position: relative;
    z-index: 1;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.culture-card {
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.culture-card:hover {
    transform: translateY(-10px);
}

.culture-icon {
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.culture-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.culture-text {
    color: var(--text-color-light);
    line-height: 1.6;
}

.culture-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* FAQ Section Styles */
.faq-section {
    position: relative;
    z-index: 1;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-radius: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-color);
}

.faq-toggle {
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    margin: 0;
    color: var(--text-color-light);
    line-height: 1.6;
}

/* Footer Styles */
.footer {
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(10px);
    color: var(--text-color-light);
    padding: 4rem 0 2rem;
    position: relative;
    z-index: 1;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo-image {
    width: 40px;
    height: auto;
    margin-right: 0.5rem;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo-bernos {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-color);
}

.footer-logo-technologies {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 0.8rem;
    color: var(--accent-color);
}

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.footer-contact p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 0.8rem;
    color: var(--accent-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-color-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 0.5rem 0 0 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.newsletter-form button {
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 0 0.5rem 0.5rem 0;
    background: var(--accent-color);
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--accent-color-dark);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social {
    display: flex;
    margin-bottom: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--accent-color);
    color: #fff;
    transform: translateY(-5px);
}

.footer-copyright {
    text-align: center;
}

/* Add JavaScript for FAQ toggle functionality */

/* Animation styles */
.fade-in, .fade-in-left, .fade-in-right, .scale-in {
    opacity: 1;
    transform: none;
    visibility: visible;
}

/* Only apply animations when JS is enabled */
.js-enabled .fade-in:not(.active) {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    visibility: hidden;
}

.js-enabled .fade-in-left:not(.active) {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    visibility: hidden;
}

.js-enabled .fade-in-right:not(.active) {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    visibility: hidden;
}

.js-enabled .scale-in:not(.active) {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
    visibility: hidden;
}

.js-enabled .fade-in.active,
.js-enabled .fade-in-left.active,
.js-enabled .fade-in-right.active,
.js-enabled .scale-in.active {
    opacity: 1;
    transform: none;
    visibility: visible;
}

/* Glass card styles */
.glass-card {
    background: rgba(30, 30, 46, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Page hero styles */
.page-hero {
    position: relative;
    padding: 180px 0 100px;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 15, 26, 0.8), rgba(15, 15, 26, 0.95));
    z-index: -1;
}

.hero-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(108, 92, 231, 0.2) 0%, transparent 70%);
    z-index: -1;
}

.page-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Section styles */
.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--text-color), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Glass panels */
.glass-panel {
    position: absolute;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    z-index: -1;
}

.glass-panel-1 {
    top: 20%;
    left: 5%;
    width: 300px;
    height: 400px;
    transform: rotate(-10deg);
}

.glass-panel-2 {
    bottom: 10%;
    right: 5%;
    width: 250px;
    height: 350px;
    transform: rotate(15deg);
}

.glass-panel-3 {
    top: 40%;
    right: 20%;
    width: 200px;
    height: 200px;
    transform: rotate(45deg);
}

/* Button styles */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: rgba(108, 92, 231, 0.1);
    transform: translateY(-3px);
}

.post-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    position: relative;
}

.post-image i {
    color: rgba(255, 255, 255, 0.7);
}

.featured-post-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    position: relative;
}

.featured-post-image i {
    color: rgba(255, 255, 255, 0.7);
}

/* Pulse animation for icons */
.pulse-icon {
    animation: pulse-animation 2s infinite;
    color: var(--primary-color);
}

@keyframes pulse-animation {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

/* Enhanced post card styles */
.post-card {
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.post-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(0, 184, 148, 0.1));
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    position: relative;
}

.post-image i {
    color: var(--primary-color);
    filter: drop-shadow(0 0 10px rgba(108, 92, 231, 0.3));
    transition: all 0.3s ease;
}

.post-card:hover .post-image i {
    transform: scale(1.1);
}

.featured-post-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.15), rgba(0, 184, 148, 0.15));
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    position: relative;
}

.featured-post-image i {
    color: var(--primary-color);
    filter: drop-shadow(0 0 15px rgba(108, 92, 231, 0.4));
    transition: all 0.3s ease;
}

.featured-post-container:hover .featured-post-image i {
    transform: scale(1.1);
}

/* Category label styles */
.post-category, .featured-post-category {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    color: var(--text-color);
    padding: 8px 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 0 8px 0 0;
    backdrop-filter: blur(5px);
    border-top: 2px solid var(--primary-color);
}

/* Post content styles */
.post-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.post-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.post-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.post-card:hover .post-title {
    color: var(--primary-color);
}

.post-excerpt {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.post-link {
    align-self: flex-start;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.post-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.post-link:hover::after {
    width: 100%;
}

.post-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.post-link:hover i {
    transform: translateX(5px);
}

/* Featured post styles */
.featured-post-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
    overflow: hidden;
}

.featured-post-content {
    padding: 30px;
}

.featured-post-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.featured-post-container:hover .featured-post-title {
    color: var(--primary-color);
}

.featured-post-excerpt {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Pagination styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    gap: 10px;
}

.pagination-item, .pagination-next {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0 15px;
}

.pagination-item.active, .pagination-item:hover, .pagination-next:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-separator {
    color: var(--text-secondary);
}

.pagination-next i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.pagination-next:hover i {
    transform: translateX(3px);
}

/* Posts grid layout */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-post-title {
        font-size: 1.5rem;
    }
}

/* Enhanced Category Section Styles */
.blog-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.category-item {
    position: relative;
    padding: 30px 25px;
    text-align: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(0, 184, 148, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.category-icon i {
    font-size: 30px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.category-item:hover .category-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(108, 92, 231, 0.3);
}

.category-item:hover .category-icon i {
    color: white;
}

.category-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.category-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.category-item:hover .category-name {
    color: var(--primary-color);
}

.category-hover-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.category-item:hover .category-hover-indicator {
    transform: scaleX(1);
}

/* Scroll Animation Enhancements */
.js-enabled .fade-in[data-delay="100"]:not(.active) {
    transition-delay: 0.1s;
}

.js-enabled .fade-in[data-delay="200"]:not(.active) {
    transition-delay: 0.2s;
}

.js-enabled .fade-in[data-delay="300"]:not(.active) {
    transition-delay: 0.3s;
}

.js-enabled .fade-in[data-delay="400"]:not(.active) {
    transition-delay: 0.4s;
}

.js-enabled .fade-in[data-delay="500"]:not(.active) {
    transition-delay: 0.5s;
}

.js-enabled .fade-in[data-delay="600"]:not(.active) {
    transition-delay: 0.6s;
}

/* Staggered animation for grid items */
.js-enabled .blog-categories-grid .category-item:nth-child(1) {
    transition-delay: 0.1s;
}

.js-enabled .blog-categories-grid .category-item:nth-child(2) {
    transition-delay: 0.2s;
}

.js-enabled .blog-categories-grid .category-item:nth-child(3) {
    transition-delay: 0.3s;
}

.js-enabled .blog-categories-grid .category-item:nth-child(4) {
    transition-delay: 0.4s;
}

.js-enabled .blog-categories-grid .category-item:nth-child(5) {
    transition-delay: 0.5s;
}

.js-enabled .blog-categories-grid .category-item:nth-child(6) {
    transition-delay: 0.6s;
}

/* Add a subtle floating animation to category items */
@keyframes float-subtle {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
}

.category-item {
    animation: float-subtle 5s ease-in-out infinite;
}

.category-item:nth-child(1) { animation-delay: 0s; }
.category-item:nth-child(2) { animation-delay: 1s; }
.category-item:nth-child(3) { animation-delay: 2s; }
.category-item:nth-child(4) { animation-delay: 1.5s; }
.category-item:nth-child(5) { animation-delay: 0.5s; }
.category-item:nth-child(6) { animation-delay: 2.5s; }

/* Ensure hover effect overrides the floating animation */
.category-item:hover {
    animation: none;
    transform: translateY(-10px);
}

/* Article Popup Styles */
.article-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.article-popup.active {
    opacity: 1;
    visibility: visible;
}

.article-popup-content {
    background-color: var(--background-color);
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 0;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.article-popup.active .article-popup-content {
    transform: translateY(0);
}

.article-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.article-popup-close:hover {
    background: var(--primary-color);
    transform: rotate(90deg);
}

.article-popup-header {
    padding: 40px 40px 20px;
    position: relative;
}

.article-popup-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.article-popup-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.3;
}

.article-popup-meta {
    display: flex;
    gap: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.article-popup-meta i {
    color: var(--primary-color);
    margin-right: 5px;
}

.article-popup-body {
    padding: 0 40px 30px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.article-popup-body p {
    margin-bottom: 20px;
}

.article-popup-body h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-color);
    margin: 30px 0 15px;
    font-size: 1.5rem;
}

.article-popup-body ul, .article-popup-body ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-popup-body li {
    margin-bottom: 10px;
}

.article-popup-body img {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px 0;
}

.article-popup-body blockquote {
    border-left: 3px solid var(--primary-color);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: var(--text-color);
}

.article-popup-footer {
    padding: 20px 40px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.article-popup-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--primary-color);
    color: white;
}

.article-popup-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-popup-share span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.share-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.share-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Custom scrollbar for popup */
.article-popup-content::-webkit-scrollbar {
    width: 8px;
}

.article-popup-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.article-popup-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.article-popup-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Prevent body scrolling when popup is open */
body.popup-open {
    overflow: hidden;
}

/* Add dropdown menu styles - these appear to be missing from the current CSS */
.dropdown-content {
    position: absolute;
    background-color: var(--background-color);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: rgba(0, 0, 0, 0.3);
    color: var(--accent-color);
}

/* Update any existing dropdown styles to use darker backgrounds */
.search-input {
    background-color: rgba(15, 15, 26, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    position: absolute;
    right: 40px;
    width: 0;
    height: 40px;
    padding: 0;
    border: none;
    color: var(--text-color);
    font-size: 14px;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

/* Ensure any other dropdown or popup elements have darker backgrounds */
.article-popup-content {
    background-color: var(--background-color);
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 0;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

/* Ensure mobile menu dropdown has darker background */
@media (max-width: 992px) {
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--background-color);
        padding: 20px;
        border-radius: 0 0 16px 16px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        border: 1px solid var(--glass-border);
        z-index: 99;
    }
}