/* ===================================
    BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Green & Black Theme */
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --secondary: #10b981;
    --accent: #f59e0b;
    --dark: #0a0a0a;
    --dark-light: #1a1a1a;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #059669 0%, #10b981 50%, #0a0a0a 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1a4d2e 50%, #10b981 100%);
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Inter', var(--font-primary);
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 0 2rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-pill: 50px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-light);
    background-color: #000000;
    overflow-x: hidden;
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

h1 {font-size: clamp(2.5rem, 5vw, 4rem);}
h2 {font-size: clamp(2rem, 4vw, 3rem);}
h3 {font-size: clamp(1.5rem, 3vw, 2rem);}
h4 {font-size: 1.25rem;}
h5 {font-size: 1.125rem;}
h6 {font-size: 1rem;}

p {
    margin-bottom: 1rem;
    color: var(--gray);
}

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

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

/* ===================================
   LAYOUT
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section {
    padding: var(--section-padding);
    background-color: #000000;
    color: var(--white);
}

.section h1, .section h2, .section h3, 
.section h4, .section h5, .section h6 {
    color: var(--white);
}

.section p {
    color: var(--gray-light);
}

.section-dark {
    background-color: var(--dark);
    color: var(--white);
}

.section-dark h1, .section-dark h2, .section-dark h3, 
.section-dark h4, .section-dark h5, .section-dark h6 {
    color: var(--white);
}

.section-dark p {
    color: var(--gray-light);
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.2);
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
    transition: var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    transition: var(--transition-base);
}

.logo:hover {
    opacity: 0.8;
}

.logo-image {
    height: 75px;
    width: auto;
    object-fit: contain;
}

.logo-alpha {
    color: var(--primary);
    font-size: 2rem;
}

.logo-text {
    letter-spacing: -0.05em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    font-weight: 500;
    color: var(--white);
    padding: 0.5rem 0;
    position: relative;
}

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

.nav-menu a:not(.btn-primary):hover::after,
.nav-menu a:not(.btn-primary).active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 1.5rem;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition-base);
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all var(--transition-base);
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-pill);
    padding: 0.875rem 2rem;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: -1;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a4d2e 50%, #0a0a0a 100%);
    z-index: -1;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, 
        rgba(16, 185, 129, 0.15) 0%, 
        rgba(10, 10, 10, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.hero-title {
    margin-bottom: 1.5rem;
    color: var(--white);
}

.title-line {
    display: block;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    opacity: 0.7;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--white);
    margin: 0.5rem auto;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0%, 100% { opacity: 0; transform: translateY(-10px); }
    50% { opacity: 1; transform: translateY(0); }
}

/* ===================================
   PAGE HERO
   =================================== */
.page-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a4d2e 50%, #0a0a0a 100%);
    text-align: center;
    color: var(--white);
    margin-top: 70px;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero > .container {
    position: relative;
    z-index: 1;
}

.page-title {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* ===================================
   SECTION HEADERS
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-light);
    color: var(--white);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   CARDS
   =================================== */
.services-grid,
.projects-grid,
.features-grid,
.values-grid,
.benefits-grid,
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card,
.feature-card,
.value-card,
.benefit-card {
    padding: 2rem;
    background-color: var(--dark-light);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: var(--transition-base);
}

.section-dark .service-card,
.section-dark .feature-card,
.section-dark .value-card,
.section-dark .benefit-card {
    background-color: var(--dark-light);
}

.service-card:hover,
.feature-card:hover,
.value-card:hover,
.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.3);
    border-color: var(--primary);
}

.service-icon,
.feature-icon,
.value-icon,
.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i,
.feature-icon i,
.value-icon i,
.benefit-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.service-card h3,
.feature-card h3,
.value-card h3,
.benefit-card h3 {
    margin-bottom: 1rem;
}

.service-card p,
.feature-card p,
.value-card p,
.benefit-card p {
    margin-bottom: 1rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    transition: gap var(--transition-base);
}

.service-link:hover {
    gap: 0.75rem;
}

/* ===================================
   PROJECT CARDS
   =================================== */
.project-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: var(--transition-base);
    background-color: var(--dark-light);
}

.section-dark .project-card {
    background-color: var(--dark-light);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.3);
    border-color: var(--primary);
}

.project-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(99, 102, 241, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    padding: 0.75rem 1.5rem;
    background-color: var(--white);
    color: var(--primary);
    border-radius: var(--radius-md);
    font-weight: 600;
}

.project-content {
    padding: 1.5rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    background-color: var(--gray-light);
    color: var(--dark);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.section-dark .tag {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.project-content h3 {
    margin-bottom: 0.5rem;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    background: var(--gradient);
    color: var(--white);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ===================================
   SERVICE DETAIL
   =================================== */
.service-detail {
    padding: 4rem 0;
    border-bottom: 1px solid var(--gray-light);
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-detail.reverse .service-detail-content {
    direction: rtl;
}

.service-detail.reverse .service-detail-text {
    direction: ltr;
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.service-detail-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-detail h2 {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin: 2rem 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    color: var(--gray);
}

.service-features i {
    color: var(--secondary);
    font-size: 1.25rem;
}

.service-detail-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-detail-image img {
    width: 100%;
    height: auto;
}

/* ===================================
   PROCESS SECTION
   =================================== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
}

.process-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    margin-bottom: 1rem;
}

/* ===================================
   PORTFOLIO
   =================================== */
.portfolio-filter {
    padding: 2rem 0;
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    color: var(--dark);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient);
    color: var(--white);
    border-color: transparent;
}

.projects-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: var(--transition-base);
    background-color: var(--dark-light);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.3);
    border-color: var(--primary);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

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

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(99, 102, 241, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    text-align: center;
    padding: 2rem;
}

.portfolio-info h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.portfolio-meta {
    padding: 1rem;
}

/* ===================================
   ABOUT & TEAM
   =================================== */
.mission-vision,
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.content-card {
    padding: 3rem;
    background-color: var(--dark-light);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.content-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.content-icon i {
    font-size: 2rem;
    color: var(--white);
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
}

.story-text p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.team-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.team-member {
    text-align: center;
}

.member-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.member-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.member-overlay {
    position: absolute;
    inset: 0;
    background: rgba(99, 102, 241, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

.team-member:hover .member-overlay {
    opacity: 1;
}

.member-social {
    display: flex;
    gap: 1rem;
}

.member-social a {
    width: 50px;
    height: 50px;
    background-color: var(--white);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition-base);
}

.member-social a:hover {
    transform: scale(1.1);
}

.member-role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    font-size: 0.9rem;
}

/* ===================================
   CAREERS
   =================================== */
.positions-list {
    max-width: 900px;
    margin: 0 auto;
}

.position-card {
    padding: 2rem;
    background-color: var(--dark-light);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    margin-bottom: 2rem;
    transition: var(--transition-base);
}

.section-dark .position-card {
    background-color: var(--dark-light);
}

.position-card:hover {
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.3);
    border-color: var(--primary);
}

.position-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 1rem;
}

.position-header h3 {
    margin-bottom: 0.5rem;
}

.position-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--gray);
}

.position-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.position-card p {
    margin-bottom: 1rem;
}

.position-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.apply-btn {
    white-space: nowrap;
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
}

.timeline-step {
    flex: 1;
    min-width: 150px;
    text-align: center;
}

.timeline-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.timeline-icon i {
    font-size: 2rem;
    color: var(--white);
}

/* ===================================
   CONTACT
   =================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info > p {
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-detail {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.25rem;
    color: var(--white);
}

.contact-detail h4 {
    margin-bottom: 0.25rem;
}

.contact-detail a {
    color: var(--primary);
}

.social-connect h4 {
    margin-bottom: 1rem;
}

.social-links-large {
    display: flex;
    gap: 1rem;
}

.social-links-large a {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition-base);
}

.social-links-large a:hover {
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background-color: var(--dark-light);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-base);
    background-color: rgba(0, 0, 0, 0.3);
    color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
}

.form-message {
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-top: 1rem;
    display: none;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
    display: block;
}

.form-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    display: block;
}

.map-section {
    width: 100%;
    height: 450px;
}

.map-container {
    width: 100%;
    height: 100%;
}

/* ===================================
   MODAL
   =================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--dark-light);
    padding: 3rem;
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 10px 50px rgba(16, 185, 129, 0.2);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition-base);
}

.modal-close:hover {
    color: var(--white);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    transition: var(--transition-base);
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-logo .logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-description {
    margin-bottom: 1.5rem;
    color: var(--gray-light);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.social-links a:hover {
    background: var(--gradient);
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-light);
    transition: var(--transition-base);
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--gray-light);
}

.footer-contact i {
    color: var(--primary);
    margin-top: 0.25rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--gray-light);
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--gray-light);
    transition: var(--transition-base);
}

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

/* ===================================
   ANIMATIONS
   =================================== */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-detail.reverse .service-detail-content {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #000000;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        transition: left var(--transition-base);
        box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
        border-right: 1px solid rgba(16, 185, 129, 0.2);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .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(7px, -7px);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .projects-grid,
    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-masonry {
        grid-template-columns: 1fr;
    }
    
    .position-header {
        flex-direction: column;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .mission-vision,
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section-header {
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .cta-buttons,
    .hero-buttons {
        flex-direction: column;
    }
    
    .modal-content {
        padding: 2rem;
        width: 95%;
    }
}

/* ===================================
   UTILITIES
   =================================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden {
    display: none;
}

/* ===================================
   CLIENT STORIES / TESTIMONIALS
   =================================== */
.testimonials-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a4d2e 50%, #0a0a0a 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.2);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 1.125rem;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

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

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--white);
    margin-bottom: 0.25rem;
}

.author-title {
    color: var(--primary);
    font-size: 0.9rem;
}

.author-company {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

/* ===================================
   PROJECT DETAILS MODAL
   =================================== */
.project-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.project-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-modal-content {
    background-color: var(--dark-light);
    border-radius: var(--radius-lg);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 10px 50px rgba(16, 185, 129, 0.2);
}

.project-modal-header {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.project-modal-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.project-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition-base);
    z-index: 10;
}

.project-modal-close:hover {
    background: var(--white);
    transform: rotate(90deg);
}

.project-modal-body {
    padding: 3rem;
}

.project-modal-title {
    margin-bottom: 1rem;
}

.project-modal-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.project-modal-tags .tag {
    background-color: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
}

.project-details-tabs {
    display: flex;
    gap: 1rem;
    border-bottom: 2px solid var(--gray-light);
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    top: 2px;
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.project-features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.project-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md);
}

.project-features-list i {
    color: var(--primary);
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background-color: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-pill);
    font-weight: 600;
    border: 2px solid rgba(16, 185, 129, 0.3);
    color: var(--white);
}

.tech-item i {
    color: var(--primary);
    font-size: 1.25rem;
}

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

.result-metric {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: var(--radius-lg);
    color: var(--white);
}

.result-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.result-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* ===================================
   CLIENT REVIEWS SYSTEM
   =================================== */
.review-carousel-wrapper {
    position: relative;
    max-width: 900px;
    margin: 3rem auto;
}

#reviewCarouselContent {
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(10, 10, 10, 0.5) 100%);
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.5s ease;
}

.review-profile {
    margin-bottom: 1.5rem;
}

.review-profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--primary);
    object-fit: cover;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.review-profile-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid rgba(16, 185, 129, 0.3);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(10, 10, 10, 0.5));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
}

.review-rating {
    font-size: 1.5rem;
    color: #f59e0b;
    margin-bottom: 1.5rem;
    letter-spacing: 0.25rem;
}

.review-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-light);
    font-style: italic;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.review-author h4 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.review-company {
    color: var(--primary);
    font-size: 0.95rem;
    margin: 0;
}

/* Review Navigation */
.review-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    z-index: 10;
}

.review-nav-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

.review-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#reviewPrevBtn {
    left: -60px;
}

#reviewNextBtn {
    right: -60px;
}

/* Review Dots */
.review-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.review-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: transparent;
    cursor: pointer;
    transition: var(--transition-base);
    padding: 0;
}

.review-dot:hover,
.review-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* Review Stats */
#reviewStats {
    margin-bottom: 3rem;
}

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

.stat-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(10, 10, 10, 0.3));
    border: 2px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin: 0.5rem 0;
}

.stat-stars {
    font-size: 1.5rem;
    color: #f59e0b;
    letter-spacing: 0.25rem;
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.rating-distribution {
    margin-top: 1rem;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.rating-label {
    color: var(--gray-light);
    min-width: 40px;
    text-align: right;
}

.rating-bar-container {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, var(--primary));
    border-radius: 10px;
    transition: width 0.8s ease;
}

.rating-count {
    color: var(--gray);
    min-width: 30px;
}

/* Review Modal */
.review-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    z-index: 9999;
    overflow-y: auto;
    padding: 2rem;
}

.review-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-modal-content {
    background: linear-gradient(135deg, var(--dark-light) 0%, var(--dark) 100%);
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-xl);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.review-modal-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: var(--dark-light);
    z-index: 10;
}

.review-modal-header h3 {
    color: var(--white);
    margin: 0;
}

.close-modal-btn {
    background: none;
    border: none;
    color: var(--gray);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-base);
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal-btn:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.review-modal-body {
    padding: 2rem;
}

.review-form-group {
    margin-bottom: 1.5rem;
}

.review-form-group label {
    display: block;
    color: var(--gray-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.review-form-group input,
.review-form-group textarea {
    width: 100%;
    padding: 0.875rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition-base);
}

.review-form-group input:focus,
.review-form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

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

.profile-upload-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.profile-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(16, 185, 129, 0.3);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(10, 10, 10, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.profile-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-preview i {
    font-size: 2rem;
    color: var(--primary);
}

.profile-upload-info {
    flex: 1;
}

.profile-upload-label {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-base);
    font-weight: 500;
}

.profile-upload-label:hover {
    background: var(--primary-dark);
}

.profile-upload-info input[type="file"] {
    display: none;
}

.profile-upload-hint {
    font-size: 0.875rem;
    color: var(--gray);
    margin-top: 0.5rem;
}

.star-rating {
    display: flex;
    gap: 0.5rem;
    font-size: 2rem;
    margin-top: 0.5rem;
}

.star-rating i {
    color: #f59e0b;
    cursor: pointer;
    transition: var(--transition-fast);
}

.star-rating i.far {
    color: rgba(245, 158, 11, 0.3);
}

.star-rating i:hover,
.star-rating i.hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px #f59e0b);
}

/* Review Button */
.btn-review {
    background: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-review:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* ===================================
   LEGENDARY EFFECTS FOR LEADERSHIP
   =================================== */
.team-member {
    position: relative;
    overflow: hidden;
}

.team-member.legendary {
    animation: legendary-glow 3s ease-in-out infinite;
}

.team-member.legendary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        rgba(16, 185, 129, 0.3),
        transparent 30%
    );
    animation: legendary-rotate 4s linear infinite;
    z-index: 0;
}

.team-member.legendary::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: var(--dark);
    border-radius: inherit;
    z-index: 1;
}

.team-member.legendary > * {
    position: relative;
    z-index: 2;
}

.member-image.legendary {
    position: relative;
    /* Animation removed to keep images steady */
}

.member-image.legendary::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: linear-gradient(45deg, var(--primary), #8b5cf6, var(--primary));
    background-size: 200% 200%;
    animation: legendary-gradient 3s ease infinite;
    border-radius: inherit;
    z-index: -1;
    filter: blur(10px);
}

.member-image.legendary img {
    border: 3px solid var(--primary);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.6),
                0 0 60px rgba(139, 92, 246, 0.4),
                inset 0 0 20px rgba(16, 185, 129, 0.2);
    animation: legendary-shimmer 2s ease-in-out infinite;
}

.member-info.legendary h3 {
    background: linear-gradient(90deg, 
        var(--primary),
        #8b5cf6,
        var(--primary),
        #10b981
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: legendary-text 3s linear infinite;
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.8));
}

.member-role.legendary {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.8),
                 0 0 20px rgba(139, 92, 246, 0.6);
    animation: legendary-pulse 2s ease-in-out infinite;
}

/* Legendary Animations */
@keyframes legendary-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.3),
                    0 0 40px rgba(139, 92, 246, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(16, 185, 129, 0.6),
                    0 0 80px rgba(139, 92, 246, 0.4);
    }
}

@keyframes legendary-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes legendary-gradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes legendary-shimmer {
    0%, 100% {
        filter: brightness(1) contrast(1);
    }
    50% {
        filter: brightness(1.1) contrast(1.05);
    }
}

@keyframes legendary-text {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

@keyframes legendary-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

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

/* ===================================
   SCROLL INDICATOR FIX
   =================================== */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 100;
}

.scroll-indicator.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Responsive adjustments for reviews */
@media (max-width: 768px) {
    #reviewPrevBtn,
    #reviewNextBtn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    #reviewPrevBtn {
        left: -50px;
    }
    
    #reviewNextBtn {
        right: -50px;
    }
    
    .review-card {
        padding: 2rem 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    #reviewPrevBtn {
        left: 5px;
    }
    
    #reviewNextBtn {
        right: 5px;
    }
    
    .review-nav-btn {
        background: rgba(16, 185, 129, 0.9);
    }
}

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

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