/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* الألوان المطلوبة */
    --primary-blue: #162657;
    --accent-red: #ff5959;
    --accent-yellow: #ffe025;
    --accent-green: #04ce60;
    --dark-gray: #1d1d1d;
    --light-blue: #43d3dc;
    --purple: #8134ff;
    --white: #ffffff;
    
    /* تدرجات الألوان */
    --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--purple) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-green) 0%, var(--light-blue) 100%);
    --gradient-warm: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-yellow) 100%);
    --gradient-cool: linear-gradient(135deg, var(--light-blue) 0%, var(--purple) 100%);
    
    /* الظلال */
    --shadow-sm: 0 1px 3px 0 rgba(22, 38, 87, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(22, 38, 87, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(22, 38, 87, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(22, 38, 87, 0.1);
    --shadow-glow: 0 0 20px rgba(4, 206, 96, 0.3);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--white);
    background: var(--dark-gray);
    direction: rtl;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loading-content {
    text-align: center;
    color: var(--white);
}

.loading-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.logo-shapes {
    display: flex;
    align-items: end;
    gap: 4px;
    height: 50px;
}

.logo-shape {
    width: 10px;
    border-radius: 5px;
    position: relative;
    transform: rotate(-15deg);
    animation: logoFloat 2s ease-in-out infinite;
}

.shape-1 {
    height: 25px;
    background: linear-gradient(to top, var(--accent-red), var(--accent-yellow));
    border: 2px solid var(--accent-red);
    animation-delay: 0s;
}

.shape-2 {
    height: 35px;
    background: linear-gradient(to top, var(--accent-yellow), var(--accent-green));
    border: 2px solid var(--accent-yellow);
    animation-delay: 0.2s;
}

.shape-3 {
    height: 30px;
    background: linear-gradient(to top, var(--light-blue), var(--purple));
    border: 2px solid var(--light-blue);
    animation-delay: 0.4s;
}

@keyframes logoFloat {
    0%, 100% { transform: rotate(-15deg) translateY(0px); }
    50% { transform: rotate(-15deg) translateY(-10px); }
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.arabic-text {
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.english-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-green);
    line-height: 1;
    margin-top: 5px;
}

.loading-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin: 0 auto 20px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 2px;
    animation: progressLoad 3s ease-in-out;
}

@keyframes progressLoad {
    0% { width: 0%; }
    100% { width: 100%; }
}

.loading-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(29, 29, 29, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--primary-blue);
}

.navbar.scrolled {
    background: rgba(29, 29, 29, 0.98);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding: 10px 0;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-text {
    transition: all 0.3s ease;
}

.nav-indicator {
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
    margin-top: 5px;
}

.nav-link:hover .nav-text,
.nav-link.active .nav-text {
    color: var(--accent-green);
}

.nav-link:hover .nav-indicator,
.nav-link.active .nav-indicator {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--gradient-accent);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-primary);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(4, 206, 96, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(4, 206, 96, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 8s ease-in-out infinite;
}

.hero-shape.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero-shape.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.hero-shape.shape-3 {
    width: 80px;
    height: 80px;
    top: 30%;
    right: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg); 
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-30px) translateX(15px) rotate(180deg); 
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(4, 206, 96, 0.1);
    border: 1px solid var(--accent-green);
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--accent-green);
    margin-bottom: 2rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.badge-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(4, 206, 96, 0.2), transparent);
    animation: badgeGlow 3s infinite;
}

@keyframes badgeGlow {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    margin-bottom: 0.5rem;
}

.title-word {
    display: inline-block;
    margin-left: 0.5rem;
}

.title-line.highlight {
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(4, 206, 96, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--accent-green);
}

.btn-secondary:hover {
    background: var(--accent-green);
    color: var(--dark-gray);
    box-shadow: var(--shadow-glow);
}

.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.main-visual {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-center {
    position: relative;
    z-index: 3;
}

.center-icon {
    width: 120px;
    height: 120px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.center-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(4, 206, 96, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.visual-rings {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ring {
    position: absolute;
    border: 2px solid var(--accent-green);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

.ring-1 {
    width: 160px;
    height: 160px;
    top: 20px;
    left: 20px;
    opacity: 0.6;
}

.ring-2 {
    width: 220px;
    height: 220px;
    top: -10px;
    left: -10px;
    opacity: 0.4;
    animation-direction: reverse;
    animation-duration: 15s;
}

.ring-3 {
    width: 280px;
    height: 280px;
    top: -40px;
    left: -40px;
    opacity: 0.2;
    animation-duration: 20s;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: rgba(29, 29, 29, 0.9);
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary-blue);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.floating-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.card-content {
    display: flex;
    flex-direction: column;
}

.card-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.card-subtitle {
    font-size: 0.8rem;
    color: var(--accent-green);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(4, 206, 96, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.floating-card:hover .card-glow {
    opacity: 1;
}

.card-1 {
    top: 10%;
    right: 10%;
}

.card-2 {
    bottom: 20%;
    left: 5%;
}

.card-3 {
    top: 50%;
    right: -10%;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.arrow-icon {
    width: 50px;
    height: 50px;
    border: 2px solid var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    animation: bounce 2s infinite;
    transition: all 0.3s ease;
}

.scroll-arrow:hover .arrow-icon {
    background: var(--accent-green);
    color: var(--dark-gray);
    box-shadow: var(--shadow-glow);
}

.scroll-text {
    font-size: 0.9rem;
    color: var(--accent-green);
    font-weight: 500;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Stats Section */
.stats {
    padding: 100px 0;
    background: var(--dark-gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--primary-blue);
    border-radius: 20px;
    border: 1px solid var(--accent-green);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
}

.stat-content {
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.stat-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.stat-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(4, 206, 96, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover .stat-glow {
    opacity: 1;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(4, 206, 96, 0.1);
    border: 1px solid var(--accent-green);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--accent-green);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 120px 0;
    background: var(--dark-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.text-block {
    background: var(--primary-blue);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--accent-green);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.text-block:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.block-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.block-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
}

.block-title {
    flex: 1;
}

.block-title h3 {
    font-size: 1.6rem;
    color: var(--accent-green);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.block-line {
    width: 50px;
    height: 2px;
    background: var(--gradient-accent);
    border-radius: 1px;
}

.text-block p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 1.1rem;
}

.visual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.visual-item {
    background: var(--primary-blue);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--accent-green);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.visual-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
}

.visual-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.item-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-accent);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.8rem;
}

.item-content h4 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.item-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.item-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(4, 206, 96, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.visual-item:hover .item-glow {
    opacity: 1;
}

/* Services Section */
.services {
    padding: 120px 0;
    background: var(--dark-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--primary-blue);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--accent-green);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.2rem;
}

.service-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-green);
    opacity: 0.3;
}

.service-content h3 {
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.service-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.feature-tag {
    background: var(--accent-green);
    color: var(--dark-gray);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

.service-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(4, 206, 96, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-glow {
    opacity: 1;
}

/* Portfolio Section */
.portfolio {
    padding: 120px 0;
    background: var(--dark-gray);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: 1px solid var(--primary-blue);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.portfolio-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3.5rem;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: var(--white);
    padding: 2.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.overlay-content h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.overlay-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.portfolio-link:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

/* Testimonials Section */
.testimonials {
    padding: 120px 0;
    background: var(--dark-gray);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item {
    display: none;
    text-align: center;
    padding: 3rem;
    background: var(--primary-blue);
    border-radius: 20px;
    border: 1px solid var(--accent-green);
    position: relative;
    overflow: hidden;
}

.testimonial-item.active {
    display: block;
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.quote-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--white);
    font-size: 1.5rem;
}

.testimonial-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.author-info h4 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.author-info span {
    color: var(--accent-green);
    font-size: 0.9rem;
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: var(--accent-green);
    transform: scale(1.2);
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: var(--dark-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: var(--primary-blue);
    border-radius: 16px;
    border: 1px solid var(--accent-green);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
}

.contact-details h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.8);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 55px;
    height: 55px;
    background: var(--gradient-accent);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* Contact Form */
.contact-form {
    background: var(--primary-blue);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--accent-green);
}

.form-group {
    position: relative;
    margin-bottom: 2.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 24px;
    border: 2px solid var(--accent-green);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background: var(--dark-gray);
    color: var(--white);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(4, 206, 96, 0.1);
}

.form-group label {
    position: absolute;
    top: 18px;
    right: 24px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    pointer-events: none;
    background: var(--primary-blue);
    padding: 0 8px;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -10px;
    right: 20px;
    font-size: 0.9rem;
    color: var(--accent-green);
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
    width: 100%;
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 80px 0 30px;
    border-top: 1px solid var(--accent-green);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--accent-green);
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-green);
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--accent-green);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--dark-gray);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 3rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--primary-blue);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .visual-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .container {
        padding: 0 15px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 2rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-green);
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading {
    animation: pulse 2s infinite;
}

/* Glow Effects */
.glow {
    box-shadow: var(--shadow-glow);
}

.glow:hover {
    box-shadow: 0 0 30px rgba(4, 206, 96, 0.6);
}
