/* Base Styles */
:root {
    --primary-color: #111111;
    --primary-dark: #000000;
    --secondary-color: #333333;
    --secondary-light: #555555;
    --accent-color: #888888;
    --light-color: #ffffff;
    --dark-color: #000000;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --gray-100: #f5f5f5;
    --gray-200: #e9e9e9;
    --gray-300: #d4d4d4;
    --gray-400: #bdbdbd;
    --gray-500: #9e9e9e;
    --gray-600: #757575;
    --gray-700: #424242;
    --gray-800: #212121;
    --gray-900: #121212;
    --bg-gradient: linear-gradient(135deg, #111111 0%, #333333 100%);
}

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

html {
    scroll-behavior: smooth;
    font-size: 15px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.5;
    color: var(--gray-700);
    background-color: var(--light-color);
    font-weight: 300;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

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

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 0;
    font-weight: 400;
    font-size: 0.85rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    letter-spacing: 0.5px;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.btn-secondary:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.section {
    padding: 70px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
    animation-delay: 0.1s;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0 15px 10px;
    z-index: 1;
    transition: transform 0.3s ease, letter-spacing 0.3s ease;
}

.section-header:hover h2 {
    transform: translateY(-2px);
    letter-spacing: 1.2px;
}

.section-header h2::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 15px;
    background-color: var(--accent-color);
    opacity: 0.2;
    bottom: 5px;
    left: 0;
    z-index: -1;
    transform: skewX(-15deg);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.section-header:hover h2::before {
    transform: skewX(-20deg) translateX(3px);
    opacity: 0.3;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    transition: width 0.3s ease;
}

.section-header:hover h2::after {
    width: 80px;
}

.section-header p {
    font-size: 1rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 15px auto 0;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
    animation-delay: 0.3s;
}

@keyframes headingHighlight {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Dark background sections need different styling */
.technologies .section-header h2,
.hero .section-header h2 {
    color: var(--light-color);
}

.technologies .section-header h2::before,
.hero .section-header h2::before {
    background-color: var(--light-color);
    opacity: 0.15;
}

.technologies .section-header h2::after,
.hero .section-header h2::after {
    background-color: var(--light-color);
}

.technologies .section-header p {
    color: var(--gray-400);
}

/* Header Styles */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

#header.scrolled {
    padding: 10px 0;
    background-color: rgba(0, 0, 0, 0.95);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    object-fit: contain;
    background-color: transparent;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.logo h1 {
    font-size: 1.2rem;
    color: var(--light-color);
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 0px;
    margin-right: 0;
}

.logo .tagline {
    font-size: 0.7rem;
    color: var(--gray-400);
    font-weight: 300;
    letter-spacing: 0.5px;
}

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

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: var(--gray-400);
    font-weight: 400;
    font-size: 0.85rem;
    position: relative;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    bottom: -3px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--light-color);
}

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

.nav-links a.active {
    color: var(--light-color);
}

.language-switcher {
    margin-left: 25px;
}

.language-switcher button {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-400);
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.language-switcher button:hover {
    color: var(--light-color);
}

.language-switcher button i {
    margin-right: 5px;
    font-size: 0.8rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 20px;
    height: 1px;
    background-color: var(--light-color);
    margin: 2px 0;
    transition: all 0.3s ease;
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    padding: 15px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    display: block;
    transform: translateY(0);
}

.mobile-menu .nav-links {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.mobile-menu .nav-links li {
    margin: 8px 0;
}

.mobile-menu .language-switcher {
    margin-left: 0;
}

/* Hero Section */
.hero {
    padding: 140px 0 70px;
    background-color: var(--gray-900);
    position: relative;
    overflow: hidden;
    color: var(--light-color);
    min-height: 700px;
    height: 700px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(18,18,18,0.95) 0%, rgba(33,33,33,0.85) 100%);
    z-index: 0;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    min-height: 500px;
}

.hero-slide {
    position: absolute;
    display: none;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.8s ease;
    transform: translateX(100px);
    z-index: 1;
}

.hero-slide.active {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    z-index: 2;
    position: relative;
}

.hero-slide.prev {
    display: block;
    transform: translateX(-100px);
    position: absolute;
    top: 0;
    left: 0;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.slider-dots {
    display: flex;
    gap: 10px;
    margin: 0 20px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: var(--light-color);
    transform: scale(1.2);
}

.slider-arrow {
    background: rgba(0, 0, 0, 0.3);
    color: var(--light-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-shape-1 {
    position: absolute;
    top: 0;
    right: 0;
    width: 35%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.8) 0%, rgba(51, 51, 51, 0.4) 100%);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    z-index: 0;
}

.hero-shape-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25%;
    height: 60%;
    background: linear-gradient(225deg, rgba(17, 17, 17, 0.6) 0%, rgba(51, 51, 51, 0.2) 100%);
    clip-path: polygon(0 100%, 100% 100%, 0 0);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    z-index: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    height: 100%;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
    position: relative;
    z-index: 2;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: none;
    border: none;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content h1 {
    font-size: 2rem;
    color: var(--light-color);
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
    animation-delay: 0.2s;
}

.hero-content p {
    font-size: 0.95rem;
    color: var(--gray-400);
    margin-bottom: 25px;
    line-height: 1.6;
    max-width: 500px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
    animation-delay: 0.4s;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
    animation-delay: 0.6s;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
    opacity: 0;
    transform: translateX(20px);
    animation: fadeInRight 0.8s forwards;
    animation-delay: 0.4s;
    height: 400px;
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image-wrapper {
    position: relative;
    max-width: 600px;
    height: 400px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    width: 100%;
}

.hero-image-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.5);
}

.hero-floating-element {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--light-color);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
    animation: float 3s ease-in-out infinite;
    backdrop-filter: blur(5px);
}

.hero-element-1 {
    top: 15%;
    left: -20px;
    animation-delay: 0s;
}

.hero-element-2 {
    top: 45%;
    right: -15px;
    animation-delay: 0.5s;
}

.hero-element-3 {
    bottom: 10%;
    left: 10%;
    animation-delay: 1s;
}

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

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80%;
    height: 80%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    z-index: -1;
    border-radius: 0;
}

.hero-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 20%;
    width: 60%;
    height: 60%;
    background: linear-gradient(135deg, rgba(255,255,255,0.01) 0%, rgba(255,255,255,0.05) 100%);
    z-index: -1;
    border-radius: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.5s ease;
    filter: grayscale(100%);
}

.hero-image:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .nav-links, .language-switcher {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .logo-text {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .logo h1 {
        margin-right: 0;
        margin-bottom: 2px;
    }
    
    .footer-logo-text {
        flex-direction: column;
        align-items: flex-end;
        text-align: right;
    }
    
    .footer-logo-text h4 {
        margin-right: 0;
        margin-bottom: 0px;
    }
    
    .hero-image::before,
    .hero-image::after {
        display: none;
    }
    
    .hero-floating-element {
        display: none;
    }
    
    .hero-shape-1,
    .hero-shape-2 {
        display: none;
    }
    
    .slider-controls {
        bottom: 10px;
    }
    
    .slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .slider-dot {
        width: 8px;
        height: 8px;
    }
    
    .hero {
        min-height: 800px;
        height: 800px;
    }
    
    .hero-content {
        margin-bottom: 30px;
        padding: 20px;
        width: 100%;
        text-align: center;
        margin-bottom: 2rem;
        padding-right: 20px;
        height: auto;
        min-height: 300px;
    }
    
    .hero-image {
        width: 100%;
        height: 300px;
    }
    
    .hero-image-wrapper {
        max-width: 100%;
        margin: 0 auto;
        height: 300px;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    [dir="rtl"] .hero-content {
        text-align: center;
    }
    
    /* Testimonial responsive styles */
    .testimonial-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .testimonial-dots {
        margin: 0 15px;
    }
    
    .testimonial-dot {
        width: 8px;
        height: 8px;
        margin: 0 3px;
    }
    
    .testimonial {
        padding: 20px 15px;
    }
    
    .testimonial blockquote {
        font-size: 0.85rem;
        padding-left: 10px;
    }
    
    .testimonial-author p {
        font-size: 0.8rem;
    }
    
    .clients-testimonials {
        padding: 30px 20px;
        margin-top: 30px;
    }
    
    .clients-testimonials h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .testimonial-slides {
        min-height: 250px;
    }
}

/* About Section */
.about {
    background-color: var(--gray-100);
}

.about-content {
    display: flex;
    gap: 40px;
    position: relative;
}

.about-text {
    flex: 1;
    padding-right: 20px;
}

.about-text > p {
    margin-bottom: 25px;
    color: var(--gray-700);
    font-size: 0.9rem;
    line-height: 1.6;
}

.about-feature {
    display: flex;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.about-feature.animate {
    opacity: 1;
    transform: translateY(0);
}

.about-feature:nth-child(2) {
    transition-delay: 0.2s;
}

.about-feature .icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background-color: var(--primary-color);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 15px;
    font-size: 0.85rem;
}

.about-feature .content h3 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--primary-color);
    font-weight: 500;
}

.about-feature .content p {
    color: var(--gray-600);
    font-size: 0.85rem;
    line-height: 1.6;
}

.about-image {
    flex: 0.5;
    position: relative;
}

.image-container {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    z-index: 2;
}

.about-card {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 25px;
    border-radius: 0;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    text-align: left;
    max-width: 350px;
    position: relative;
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.about-card h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--light-color);
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.about-card h3::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 1px;
    background-color: var(--light-color);
    bottom: -5px;
    left: 0;
}

.about-card p {
    color: var(--gray-300);
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.about-card ul {
    list-style: none;
    margin-top: 15px;
    padding: 0;
}

.about-card ul li {
    color: var(--gray-300);
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
}

.about-card ul li strong {
    color: var(--light-color);
    margin-right: 5px;
    min-width: 100px;
    display: inline-block;
}

/* Services Section */
.services {
    background-color: var(--light-color);
}

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

.service-card {
    background-color: var(--gray-100);
    padding: 25px;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}

.service-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.service-card:nth-child(2) {
    transition-delay: 0.2s;
}

.service-card:nth-child(3) {
    transition-delay: 0.4s;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.service-card:hover::before {
    width: 100%;
}

.service-card .icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 15px;
    font-size: 1rem;
}

.service-card:nth-child(2) .icon {
    background-color: var(--secondary-color);
}

.service-card:nth-child(3) .icon {
    background-color: var(--primary-dark);
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 500;
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.service-details {
    margin-top: 12px;
}

.service-details h4 {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 500;
}

.service-details ul {
    padding-left: 15px;
    margin-bottom: 12px;
}

.service-details ul li {
    position: relative;
    padding-left: 12px;
    margin-bottom: 6px;
    font-size: 0.85rem;
    color: var(--gray-700);
}

.service-details ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 4px;
    border-radius: 0;
    background-color: var(--primary-color);
}

.services-cta {
    margin-top: 40px;
    text-align: center;
}

/* Technologies Section */
.technologies {
    background-color: var(--gray-900);
    color: var(--light-color);
}

.technologies .section-header h2 {
    color: var(--light-color);
}

.technologies .section-header h2::after {
    background-color: var(--light-color);
}

.technologies .section-header h2::before {
    background-color: rgba(255, 255, 255, 0.5);
}

.technologies .section-header p {
    color: var(--gray-400);
}

.technologies-description {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
    color: var(--gray-400);
    font-size: 0.9rem;
    line-height: 1.6;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
    perspective: 600px;
}

.tag {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--gray-300);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.tag:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    transform: translateY(-3px) rotateX(5deg);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0.5;
    z-index: -1;
}

.tag::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='1'/%3E%3Ccircle cx='13' cy='13' r='1'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}

.tag.small {
    font-size: 0.75rem;
    padding: 5px 12px;
    border-radius: 6px;
}

.tag.medium {
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 8px;
}

.tag.large {
    font-size: 0.95rem;
    padding: 8px 18px;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), inset 0 1px 3px rgba(255, 255, 255, 0.15);
}

.tag:nth-child(odd) {
    transform: translateY(20px) rotate(-1deg);
}

.tag:nth-child(even) {
    transform: translateY(20px) rotate(1deg);
}

.tag:nth-child(odd):hover {
    transform: translateY(-3px) rotate(0deg);
}

.tag:nth-child(even):hover {
    transform: translateY(-3px) rotate(0deg);
}

.tag.animate {
    opacity: 1;
    animation: fadeInUp 0.5s forwards;
    animation-delay: calc(var(--i, 0) * 0.05s);
}

.tag.animate:nth-child(odd) {
    animation-name: fadeInUpOdd;
}

.tag.animate:nth-child(even) {
    animation-name: fadeInUpEven;
}

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

@keyframes fadeInUpOdd {
    to {
        opacity: 1;
        transform: translateY(0) rotate(-1deg);
    }
}

@keyframes fadeInUpEven {
    to {
        opacity: 1;
        transform: translateY(0) rotate(1deg);
    }
}

/* Team Section */
.team {
    background-color: white;
}

.team-description {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
}

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

.team-member {
    background-color: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.team-member.animate {
    opacity: 1;
    transform: translateY(0);
}

.team-member:nth-child(2) {
    transition-delay: 0.2s;
}

.team-member:nth-child(3) {
    transition-delay: 0.4s;
}

.team-member:nth-child(4) {
    transition-delay: 0.6s;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-info {
    padding: 20px;
}

.member-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
    font-weight: 500;
}

.member-info .role {
    color: var(--primary-color);
    font-weight: 400;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.member-info .bio {
    color: var(--gray-600);
    margin-bottom: 15px;
    font-size: 0.85rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Clients Section */
.clients {
    background-color: var(--light-color);
}

.clients-description {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.client-card {
    background-color: var(--gray-100);
    padding: 25px;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}

.client-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.client-card:nth-child(2) {
    transition-delay: 0.2s;
}

.client-card:nth-child(3) {
    transition-delay: 0.4s;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.client-logo {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.logo-placeholder {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color);
    padding: 15px 25px;
    border: 1px solid var(--gray-300);
    text-align: center;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.client-card:hover .logo-placeholder {
    background-color: var(--primary-color);
    color: var(--light-color);
    border-color: var(--primary-color);
}

.client-logo img {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
}

.client-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 500;
}

.client-info p {
    color: var(--gray-600);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.clients-testimonials {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: center;
    position: relative;
    background-color: var(--primary-color);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    color: var(--light-color);
    animation: fadeIn 1s ease-in-out;
    z-index: 1;
}

.clients-testimonials::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    z-index: -1;
}

.clients-testimonials h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--light-color);
    font-weight: 600;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.clients-testimonials h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
}

.testimonial-slides {
    position: relative;
    min-height: 250px;
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
    transform: translateY(20px);
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    transform: translateY(0);
    display: block;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.testimonial blockquote {
    font-style: italic;
    color: var(--light-color);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    text-align: left;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.testimonial blockquote::before {
    content: '"';
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.2);
    position: absolute;
    left: -20px;
    top: -40px;
    font-family: Georgia, serif;
}

.testimonial-author {
    text-align: right;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
    margin-top: 15px;
}

.testimonial-author p {
    margin: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.testimonial-author p:first-child {
    color: var(--light-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    position: relative;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin: 0 30px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background-color: var(--light-color);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.testimonial-arrow {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--light-color);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
    position: relative;
}

.testimonial-arrow:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

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

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

.contact-form {
    background-color: var(--light-color);
    padding: 25px;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.contact-form h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 500;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--gray-700);
    font-weight: 400;
    font-size: 0.85rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--gray-300);
    border-radius: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    transition: border-color 0.3s ease;
    background-color: var(--light-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.form-success {
    display: none;
    padding: 12px;
    background-color: rgba(40, 167, 69, 0.1);
    border-radius: 0;
    color: var(--success-color);
    margin-top: 15px;
    font-size: 0.85rem;
}

.contact-info {
    flex: 1;
    padding: 2rem;
    background-color: var(--dark-gray);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.office-tabs {
    display: flex;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--medium-gray);
}

.office-tab {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    color: #000000;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    opacity: 1;
    transition: all 0.3s ease;
    background-color: #e0e0e0;
    margin-right: 5px;
    border-radius: 4px 4px 0 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: none;
    text-shadow: none;
}

.office-tab:hover {
    opacity: 1;
    background-color: #d0d0d0;
}

.office-tab.active {
    opacity: 1;
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.office-content {
    display: none;
}

.office-content.active {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

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

.contact-info h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 500;
}

.info-item {
    display: flex;
    margin-bottom: 15px;
}

.info-item .icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background-color: var(--primary-color);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 12px;
    font-size: 0.85rem;
}

.info-item h4 {
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: var(--primary-color);
    font-weight: 500;
}

.info-item p {
    color: var(--gray-600);
    font-size: 0.85rem;
}

.map-container {
    margin-top: 20px;
    border-radius: 0;
    overflow: hidden;
}

/* Footer */
#footer {
    background-color: var(--gray-900);
    color: var(--gray-400);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--secondary-color));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    justify-content: flex-start;
}

.footer-logo-img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    object-fit: contain;
    background-color: transparent;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.footer-logo-text h4 {
    color: var(--light-color);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0px;
    margin-right: 0;
    padding-bottom: 0;
}

.footer-logo-text h4::after {
    display: none;
}

.footer-logo-text .tagline {
    font-size: 0.7rem;
    color: var(--gray-400);
    font-weight: 300;
    letter-spacing: 0.5px;
}

.footer-column h4 {
    color: var(--light-color);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 500;
    position: relative;
    padding-bottom: 12px;
}

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

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a:hover {
    color: var(--light-color);
    transform: translateX(5px);
}

.footer-links a::before {
    content: '›';
    margin-right: 8px;
    color: var(--accent-color);
    font-size: 1.1rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--accent-color);
    font-size: 1rem;
    margin-top: 3px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--gray-400);
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background-color: var(--accent-color);
    color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-newsletter p {
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--light-color);
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    border-radius: 4px 0 0 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
}

.newsletter-form input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.1);
}

.newsletter-form button {
    padding: 10px 15px;
    background-color: var(--accent-color);
    color: var(--light-color);
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0 4px 4px 0;
}

.newsletter-form button:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.footer-bottom p {
    margin-bottom: 10px;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.footer-bottom-links a {
    color: var(--gray-500);
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--light-color);
}

@media (max-width: 768px) {
    #footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-column h4 {
        margin-bottom: 15px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 4px;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: 4px;
    }
    
    .footer-logo-text {
        flex-direction: column;
        align-items: flex-end;
        text-align: right;
    }
    
    .footer-logo-text h4 {
        margin-right: 0;
        margin-bottom: 0px;
    }
}

/* RTL Support */
[dir="rtl"] .nav-links li {
    margin-right: 25px;
    margin-left: 0;
}

[dir="rtl"] .language-switcher {
    margin-right: 25px;
    margin-left: 0;
}

[dir="rtl"] .language-switcher button i {
    margin-left: 5px;
    margin-right: 0;
}

[dir="rtl"] .hero-content {
    padding-left: 40px;
    padding-right: 0;
}

[dir="rtl"] .about-feature .icon {
    margin-left: 15px;
    margin-right: 0;
}

[dir="rtl"] .info-item .icon {
    margin-left: 12px;
    margin-right: 0;
}

[dir="rtl"] .service-details ul li {
    padding-right: 12px;
    padding-left: 0;
}

[dir="rtl"] .service-details ul li::before {
    right: 0;
    left: auto;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        flex: 1;
        margin-top: 30px;
    }
    
    .image-container {
        position: relative;
        top: 0;
        transform: translateY(0);
        right: 0;
        display: flex;
        justify-content: flex-start;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 7px 14px;
        font-size: 0.8rem;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100px);
        opacity: 0;
    }
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Add animation classes for all elements */
.service-card, .team-member, .client-card, .about-feature, .info-item, .contact-form, .about-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}

.service-card.animate, .team-member.animate, .client-card.animate, .about-feature.animate, .info-item.animate, .contact-form.animate, .about-card.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for service cards */
.service-card:nth-child(2) {
    transition-delay: 0.2s;
}

.service-card:nth-child(3) {
    transition-delay: 0.4s;
}

/* Staggered animations for team members */
.team-member:nth-child(2) {
    transition-delay: 0.2s;
}

.team-member:nth-child(3) {
    transition-delay: 0.4s;
}

.team-member:nth-child(4) {
    transition-delay: 0.6s;
}

/* Staggered animations for client cards */
.client-card:nth-child(2) {
    transition-delay: 0.2s;
}

.client-card:nth-child(3) {
    transition-delay: 0.4s;
}

/* Staggered animations for about features */
.about-feature:nth-child(2) {
    transition-delay: 0.2s;
}

.about-feature:nth-child(3) {
    transition-delay: 0.4s;
}

/* Tag animations */
.tag {
    opacity: 0;
    transform: translateY(20px);
    animation: none;
}

.tag.animate {
    opacity: 1;
    animation: fadeInUp 0.5s forwards;
    animation-delay: calc(var(--i, 0) * 0.05s);
}

/* Section header animations */
.section-header {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
    animation-delay: 0.1s;
}

.section-header p {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
    animation-delay: 0.3s;
}

/* Hero content animations */
.hero-content h1 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
    animation-delay: 0.2s;
}

.hero-content p {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
    animation-delay: 0.4s;
}

.hero-buttons {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
    animation-delay: 0.6s;
}

.hero-image {
    opacity: 0;
    transform: translateX(20px);
    animation: fadeInRight 0.8s forwards;
    animation-delay: 0.4s;
}

/* Testimonial animations */
.testimonial {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonial.animate {
    opacity: 1;
    transform: scale(1);
}

/* Contact form animations */
.contact-form {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.contact-form.animate {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    }
    100% {
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    }
}

.clients-testimonials:hover {
    animation: pulseGlow 2s infinite;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .scroll-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
    }
}
