/* Base Styles */
:root {
    --primary-color: #487eb0;
    --primary-rgb: 72, 126, 176;
    --secondary-color: #3742fa;
    --accent-color: #70a1ff;
    --text-color: #333;
    --light-text: #777;
    --bg-color: #fff;
    --light-bg: #f8f9fa;
    --dark-bg: #2f3542;
    --border-color: #e0e0e0;
    --success-color: #4caf50;
    --telegram-color: #0088cc;
    --online-color: #4caf50;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header p {
    color: var(--light-text);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #000;
    border-color: #000;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: #000;
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-text {
    color: var(--primary-color);
    font-weight: 500;
    position: relative;
}

.btn-text i {
    margin-left: 5px;
    transition: var(--transition);
}

.btn-text:hover i {
    transform: translateX(5px);
}

.outline-button-container {
    margin-top: 20px;
}

.btn-outline {
    display: inline-block;
    padding: 12px 24px;
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: #000;
    color: white;
    border-color: #000;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Phone Bar */
.phone-bar {
    background-color: var(--dark-bg);
    padding: 8px 0;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1010;
}

.phone-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-info {
    display: flex;
    align-items: center;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
}

.status-indicator.online {
    background-color: var(--online-color);
    box-shadow: 0 0 5px var(--online-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
        box-shadow: 0 0 0 5px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

.status-text {
    font-size: 13px;
    font-weight: 500;
}

.phone-number {
    color: white;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.phone-number i {
    margin-right: 5px;
    font-size: 12px;
}

.phone-number:hover {
    color: var(--primary-color);
}

/* Header */
header {
    position: fixed;
    top: 36px;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-color);
    padding: 15px 0;
    transition: var(--transition);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 500;
    position: relative;
}

nav ul li a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:not(.btn-primary):hover::after {
    width: 100%;
    background-color: #000;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1100;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.language-switcher {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-weight: 500;
    cursor: pointer;
    padding: 5px 12px;
    margin: 0;
    border-radius: 15px;
    transition: var(--transition);
    font-size: 14px;
}

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

.lang-btn:hover:not(.active) {
    background-color: #000;
    color: white;
}

/* Hero Section */
.hero {
    padding: 200px 0 80px;
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.hero-content {
    flex: 0.9;
    padding-right: 30px;
}

.hero-image {
    flex: 1.1;
    text-align: right;
    transform: translateX(40px);
}

.hero-image img {
    max-width: 85%;
    height: auto;
    animation: float 3s ease-in-out infinite;
    margin-left: auto;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark-bg);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-telegram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: var(--telegram-color);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.btn-telegram i {
    font-size: 18px;
}

.btn-telegram:hover {
    background-color: #000;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background-color: #f5f5f7;
}

.portfolio-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    background-color: var(--light-bg);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    border-color: var(--primary-color);
    border-width: 1px;
    border-style: solid;
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.filter-btn:hover:not(.active) {
    background-color: #000;
    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.portfolio-image {
    height: 250px;
    position: relative;
}

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

.view-project-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: var(--transition);
    opacity: 0.8;
    transform: translateY(-10px);
}

.portfolio-item:hover .view-project-btn {
    opacity: 1;
    transform: translateY(0);
}

.view-project-btn:hover {
    background-color: var(--primary-color);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 5px 20px 0px 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    transform: translateY(0);
    transition: var(--transition);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

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

.portfolio-overlay h3 {
    margin-bottom: 5px;
    font-weight: 600;
}

.portfolio-overlay p {
    margin-bottom: 15px;
    opacity: 0.9;
}

/* About Section */
.about {
    padding: 100px 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 60px;
}

.about-text {
    flex: 1;
}

.about .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.about .section-header h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.about-text p {
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
}

.stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--light-text);
    margin-bottom: 0;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light-bg);
    padding: 100px 0;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 30px 15px;
    scrollbar-width: none; /* Firefox */
    margin: 0 -15px; /* Compensate for the padding to avoid shadow cut */
}

.testimonial-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.testimonial-item {
    min-width: 350px;
    background-color: var(--bg-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

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

.testimonial-item:nth-child(1) {
    animation-delay: 0.1s;
}

.testimonial-item:nth-child(2) {
    animation-delay: 0.3s;
}

.testimonial-item:nth-child(3) {
    animation-delay: 0.5s;
}

.testimonial-item:nth-child(4) {
    animation-delay: 0.7s;
}

.testimonial-content {
    margin-bottom: 25px;
    flex-grow: 1;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-color);
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.author-info h4 {
    margin-bottom: 5px;
    font-weight: 600;
}

.author-info p {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.testimonial-progress {
    width: 100%;
    height: 4px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    margin-top: 20px;
    overflow: hidden;
    display: none;
    position: relative;
    bottom: 0;
}

.testimonial-progress-inner {
    height: 100%;
    width: 100%;
    background-color: var(--primary-color);
    transform-origin: left;
    transform: scaleX(0);
    animation: progress 5s linear forwards;
}

@keyframes progress {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

/* Contact Section */
.contact {
    background-color: var(--bg-color);
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item h3 {
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: #000;
    color: white;
    transform: translateY(-3px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

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

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(72, 126, 176, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: white;
}

.service-icon i {
    font-size: 28px;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon i {
    color: white;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Floating Services Button */
.floating-services-btn {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background-color: var(--dark-bg);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: max-content;
    opacity: 1;
    visibility: visible;
    /* Add pulse animation */
    animation: button-pulse 2s infinite;
}

/* Active state for animation */
.floating-services-btn.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.floating-services-btn.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(20px);
    pointer-events: none;
}

.floating-services-btn i {
    font-size: 16px;
    animation: bounce 2s infinite;
    margin-left: 5px;
}


/* Enhanced hover effect with color change */
.floating-services-btn:hover {
    background-color: white;
    color: var(--dark-bg);
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--dark-bg);
    /* Stop the pulse animation on hover */
    animation: none;
}

.floating-services-btn:hover::after {
    /* Stop the border pulse animation on hover */
    animation: none;
    opacity: 0.8;
    transform: scale(1);
}

.floating-services-btn:hover {
    background-color: white;
    color: var(--dark-bg);
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--dark-bg);
}

/* Add pulsing outline effect */
.floating-services-btn::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 35px;
    border: 2px solid var(--dark-bg);
    animation: border-pulse 2s infinite;
}

@keyframes border-pulse {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0;
        transform: scale(1.1);
    }
    100% {
        opacity: 0;
        transform: scale(1.2);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(var(--primary-rgb), 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0);
    }
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-logo {
    max-width: 300px;
}

.footer-logo-img {
    width: 80px;
    height: auto;
    margin-bottom: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 0px;
    border-radius: 5px;
}

.footer-logo h2 {
    margin-bottom: 15px;
    color: white;
}

.footer-logo p {
    color: var(--light-text);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    gap: 50px;
}

.footer-column h3 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    opacity: 1;
    color: #000;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Language Display Logic */
.lang-ru {
    display: none;
}

html[lang="ru"] .lang-ru {
    display: inline-block;
}

html[lang="ru"] .lang-uz {
    display: none;
}

html[lang="uz"] .lang-uz {
    display: inline-block;
}

html[lang="uz"] .lang-ru {
    display: none;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content, .contact-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .phone-bar .container {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    
    header {
        top: 60px;
        padding: 10px 0;
    }
    
    .hero {
        padding: 200px 0 60px;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .hero-image {
        transform: translateX(0);
        text-align: center;
    }
    
    .hero-image img {
        max-width: 80%;
        margin: 0 auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .language-switcher {
        position: fixed;
        top: auto;
        bottom: 20px;
        right: 20px;
        background-color: var(--dark-bg);
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    }
    
    .lang-btn {
        color: white;
    }
    
    .lang-btn.active {
        background-color: white;
        color: var(--dark-bg);
    }
    
    .lang-btn:hover:not(.active) {
        background-color: #000;
        color: white;
    }
    
    .portfolio-filter {
        gap: 8px;
    }
    
    .filter-btn {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    nav ul {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: var(--bg-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 999;
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .testimonial-progress {
        display: block;
        margin: 15px auto 0;
        width: 80%;
    }
    
    .testimonial-slider {
        scroll-snap-type: x mandatory;
        padding: 30px 30px;
        margin: 0 -30px;
    }
    
    .testimonial-item {
        scroll-snap-align: center;
        min-width: calc(100% - 60px);
        margin: 0 auto;
    }
    
    .testimonials .container {
        position: relative;
        padding-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .testimonial-item {
        min-width: 100%;
        margin: 0 auto;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .testimonial-slider {
        padding: 30px 20px;
        margin: 0 -20px;
    }
    
    .testimonial-content {
        margin-bottom: 20px;
    }
    
    .testimonial-author {
        align-items: center;
        justify-content: flex-start;
    }
    
    .testimonial-author img {
        margin-right: 12px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons a {
        width: 100%;
        text-align: center;
    }
    
    .portfolio-filter {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        max-height: none;
        overflow-x: visible;
        padding-bottom: 10px;
    }
    
    .portfolio-filter::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Edge */
    }
    
    .filter-btn {
        white-space: normal;
        margin-bottom: 5px;
    }
}
