/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0f0f23;
    --secondary-dark: #1a1a2e;
    --accent-dark: #16213e;
    --power-gold: #f4d03f;
    --bright-gold: #ffd700;
    --neon-green: #39ff14;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --surface-dark: #1e1e2e;
    --surface-light: #2a2a3a;
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --gradient-primary: linear-gradient(135deg, #f4d03f 0%, #ffd700 100%);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    --gradient-bg: radial-gradient(ellipse at center, rgba(244, 208, 63, 0.1) 0%, transparent 70%);
}

html {
    font-family: 'Vazir', 'Vazirmatn', 'Tahoma', sans-serif;
    overflow-x: hidden;
}

body {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 50%, var(--accent-dark) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-bg);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Page Header */
.page-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--gradient-card);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    box-shadow: var(--shadow);
}

/* Centered Header */
.centered-header {
    justify-content: center;
    text-align: center;
}

.centered-header .header-content {
    text-align: center;
    max-width: 800px;
}

.header-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Main Bento Grid */
.main-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(4, auto);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.main-card {
    background: var(--gradient-card);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(244, 208, 63, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.main-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.main-card:hover::before {
    opacity: 1;
}

/* Card Sizes */
.large-card {
    grid-column: span 8;
    grid-row: span 2;
}

.medium-card {
    grid-column: span 4;
    grid-row: span 2;
    height: 100%; /* Ensure the card takes full height */
    display: flex;
    flex-direction: column;
}

.wide-card {
    grid-column: span 12;
    grid-row: span 1;
}

.contact-card {
    grid-column: span 4;
    grid-row: span 2;
}

/* Card Header */
.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--surface-dark);
    flex-shrink: 0;
}

.card-title h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.card-title p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* About Card Styles */
.about-content {
    margin-bottom: 2rem;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* New Mission Vision Grid Styles */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.mv-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: conic-gradient(from 0deg, var(--power-gold), var(--neon-green), var(--power-gold));
    padding: 2px;
    border-radius: var(--border-radius);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.mv-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(244, 208, 63, 0.3);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.mv-card:hover::before {
    opacity: 1;
}

.mv-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-dark);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Different colors for each card */
.mission-card .mv-icon-wrapper {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
}

.vision-card .mv-icon-wrapper {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
}

.goal-card .mv-icon-wrapper {
    background: linear-gradient(135deg, var(--power-gold), var(--bright-gold));
}

.mv-card:hover .mv-icon-wrapper {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 15px 35px rgba(244, 208, 63, 0.4);
}

.mv-icon-wrapper i {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.mv-card:hover .mv-icon-wrapper i {
    transform: scale(1.1);
}

.mv-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--power-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mv-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Animation effects */
.mv-card:nth-child(1) {
    animation-delay: 0.1s;
}

.mv-card:nth-child(2) {
    animation-delay: 0.2s;
}

.mv-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Legacy styles for backward compatibility */
.mission-vision {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mission, .vision, .goal {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mission i, .vision i, .goal i {
    color: var(--power-gold);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.mission-content, .vision-content, .goal-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mission-content strong, .vision-content strong, .goal-content strong {
    color: var(--power-gold);
    font-size: 0.9rem;
}

.mission-content span, .vision-content span, .goal-content span {
    color: var(--text-primary);
    font-size: 0.9rem;
}

.projects-overview .project-overview-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
}

.projects-overview .project-overview-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--surface-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.projects-overview .project-overview-content h4 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.projects-overview .project-overview-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.projects-overview .project-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(57,255,20,0.12);
    color: #7CFC00;
    font-size: 0.85rem;
}

/* Statistics Card Styles */
.medium-card .stats-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    justify-content: flex-start;
    flex: 1; /* Take available space */
    padding: 1rem 0;
    margin-bottom: 2rem; /* Add more space before the action button */
}

.medium-card .card-action {
    margin-top: auto; /* Push to bottom */
    margin-bottom: 0;
    position: relative; /* Changed from absolute */
}

/* Mobile fix for statistics card */
@media (max-width: 768px) {
    .medium-card .stats-grid {
        height: auto;
        padding: 0;
        margin-bottom: 1rem;
    }
    
    .medium-card .card-action {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        margin-top: 1rem;
    }
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    width: 100%;
    max-width: 280px;
    justify-content: center;
    flex-shrink: 0;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-5px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--surface-dark);
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
    text-align: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--power-gold);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* Services Overview Styles */
.services-overview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.service-overview-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.service-overview-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.service-overview-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--surface-dark);
    flex-shrink: 0;
}

.service-overview-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.service-overview-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Projects Overview Styles */
.projects-overview {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 0.5rem;
    scroll-behavior: smooth;
}

.projects-overview::-webkit-scrollbar {
    width: 6px;
}

.projects-overview::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.projects-overview::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: var(--transition);
}

.projects-overview::-webkit-scrollbar-thumb:hover {
    background: var(--bright-gold);
}

.project-overview-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    animation: slideInFromRight 0.6s ease-out forwards;
    opacity: 0;
    transform: translateX(30px);
}

.project-overview-item:nth-child(1) { animation-delay: 0.1s; }
.project-overview-item:nth-child(2) { animation-delay: 0.2s; }
.project-overview-item:nth-child(3) { animation-delay: 0.3s; }
.project-overview-item:nth-child(4) { animation-delay: 0.4s; }
.project-overview-item:nth-child(5) { animation-delay: 0.5s; }
.project-overview-item:nth-child(6) { animation-delay: 0.6s; }

.project-overview-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-5px);
    box-shadow: 0 8px 25px rgba(244, 208, 63, 0.2);
}

.project-overview-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--surface-dark);
    flex-shrink: 0;
    transition: var(--transition);
}

.project-overview-item:hover .project-overview-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 16px rgba(244, 208, 63, 0.4);
}

.project-overview-content {
    flex: 1;
}

.project-overview-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.project-overview-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.project-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-status.completed {
    color: #4ade80;
}

.project-status.in-progress {
    color: var(--power-gold);
}

.project-status i {
    font-size: 0.9rem;
}

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

/* Testimonials Styles */
.testimonials-content {
    position: relative;
    min-height: 200px;
}

.testimonial {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.testimonial.active {
    display: block;
}

.testimonial-text {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-style: italic;
}

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

.author-info h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

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

.dot.active {
    background: var(--power-gold);
}

/* Contact Card Styles */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-5px);
}

.contact-item i {
    color: var(--power-gold);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.contact-item span {
    color: var(--text-primary);
    font-size: 0.9rem;
}

.consultation-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--border-radius);
    color: var(--surface-dark);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
}

.consultation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 208, 63, 0.4);
}

/* Card Action Button */
.card-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: var(--power-gold);
    font-weight: 500;
    font-size: 0.875rem;
    transition: var(--transition);
    cursor: pointer;
}

.card-action:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.card-action i {
    font-size: 0.75rem;
    transition: var(--transition);
}

.card-action:hover i {
    transform: translateX(-3px);
}

/* Footer */
.footer {
    background: var(--gradient-card);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--power-gold);
}

.footer-logo i {
    font-size: 1.5rem;
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

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

.main-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.main-card:nth-child(1) { animation-delay: 0.1s; }
.main-card:nth-child(2) { animation-delay: 0.2s; }
.main-card:nth-child(3) { animation-delay: 0.3s; }
.main-card:nth-child(4) { animation-delay: 0.4s; }
.main-card:nth-child(5) { animation-delay: 0.5s; }
.main-card:nth-child(6) { animation-delay: 0.6s; }

/* Responsive Design */
@media (max-width: 1200px) {
    .main-bento-grid {
        grid-template-columns: repeat(8, 1fr);
    }
    
    .large-card {
        grid-column: span 8;
    }
    
    .wide-card {
        grid-column: span 8;
    }
    
    .services-overview {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .page-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .header-content h1 {
        font-size: 2rem;
    }
    
    .main-bento-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .large-card,
    .medium-card,
    .wide-card,
    .contact-card {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .card-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .mission-vision {
        gap: 0.75rem;
    }
    
    .mission, .vision {
        padding: 0.75rem;
    }
    
    /* Responsive for new mission-vision-grid */
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .mv-card {
        padding: 1.5rem 1rem;
    }
    
    .mv-icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .mv-content h4 {
        font-size: 1.1rem;
    }
    
    .mv-content p {
        font-size: 0.9rem;
    }
    
    .stats-grid {
        gap: 1rem;
    }
    
    .stat-item {
        padding: 0.75rem;
    }
    
    .service-overview-item,
    .project-overview-item {
        padding: 1rem;
    }
    
    .testimonial-text {
        padding: 1rem;
    }
    
    .contact-item {
        padding: 0.75rem;
    }
    
    .consultation-btn {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .main-card {
        padding: 1.5rem;
    }
    
/* Super Enhanced Team Card Styles */
.super-enhanced-team-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(59, 130, 246, 0.1) 50%, rgba(239, 68, 68, 0.1) 100%);
    border: 2px solid rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(30px);
}

.team-card-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
    animation: grid-slide 10s infinite linear;
}

.team-header {
    position: relative;
    z-index: 2;
}

.card-icon-container {
    position: relative;
    display: inline-block;
}

.pulse-glow {
    animation: pulse-glow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.icon-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #3b82f6, #10b981, #f59e0b, #ef4444, #3b82f6);
    mask: radial-gradient(circle, transparent 50%, black 52%);
    -webkit-mask: radial-gradient(circle, transparent 50%, black 52%);
    animation: spin-ring 3s linear infinite;
    opacity: 0.6;
}

.team-content {
    position: relative;
    z-index: 2;
}

.team-hero-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
    gap: 2rem;
}

.hero-team-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.stat-circle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
}

.stat-circle .stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}

.progress-ring__circle {
    transition: stroke-dashoffset 2s ease-in-out;
    transform-origin: 50% 50%;
    stroke-linecap: round;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
    font-weight: 500;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.expertise-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
}

.expertise-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.expertise-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.3rem;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.dev-card .expertise-icon {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.design-card .expertise-icon {
    background: linear-gradient(135deg, #10b981, #047857);
}

.security-card .expertise-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.ai-card .expertise-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.expertise-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.expertise-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.expertise-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    opacity: 0.4;
    transition: all 0.4s ease;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(20px);
    z-index: 1;
}

.dev-glow {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
}

.design-glow {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, transparent 70%);
}

.security-glow {
    background: radial-gradient(circle, rgba(245, 158, 11, 0.3) 0%, transparent 70%);
}

.ai-glow {
    background: radial-gradient(circle, rgba(239, 68, 68, 0.3) 0%, transparent 70%);
}

.team-achievement {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
}

.achievement-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: var(--primary-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.achievement-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

.achievement-badge i {
    font-size: 1rem;
    animation: bounce 2s infinite;
}

/* Enhanced animations */
@keyframes grid-slide {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 20px 20px;
    }
}

@keyframes spin-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: translateX(100%);
    }
}

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

.modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: linear-gradient(135deg, var(--surface-dark) 0%, rgba(20, 20, 20, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideInUp 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.modal-header h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.modal-header h2 i {
    color: var(--power-gold);
    font-size: 1.3rem;
}

.modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

/* Form Styles */
#emailForm {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group label i {
    color: var(--power-gold);
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--power-gold);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(244, 208, 63, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

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

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

.btn-cancel,
.btn-send {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-cancel {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-send {
    background: var(--gradient-primary);
    color: var(--surface-dark);
    font-weight: 600;
    min-width: 140px;
    justify-content: center;
}

.btn-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 208, 63, 0.4);
}

.btn-send:active {
    transform: translateY(0);
}

/* Modal Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Mobile Responsive for Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
        border-radius: 15px;
    }
    
    .modal-header {
        padding: 1.25rem;
    }
    
    .modal-header h2 {
        font-size: 1.25rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column-reverse;
    }
    
    .btn-cancel,
    .btn-send {
        width: 100%;
        justify-content: center;
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(59, 130, 246, 0.5), 0 0 10px rgba(59, 130, 246, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.8), 0 0 30px rgba(59, 130, 246, 0.4);
        transform: scale(1.05);
    }
}

@keyframes float-particle {
    0% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(20px) rotate(360deg);
        opacity: 0;
    }
}

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

    .card-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .card-title h2 {
        font-size: 1.3rem;
    }
    
    .header-content h1 {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .service-overview-icon,
    .project-overview-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* 480px responsive for mission-vision-grid */
    .mv-card {
        padding: 1.25rem 0.75rem;
    }
    
    .mv-icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .mv-content h4 {
        font-size: 1rem;
    }
    
    .mv-content p {
        font-size: 0.85rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================ */
/* About Us Page Specific Styles */
/* ============================================ */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    margin-bottom: 3rem;
}

.page-header .header-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--power-gold);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.page-header .header-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 0;
}

.header-navigation {
    margin-top: 2rem;
}

.nav-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 215, 0, 0.1);
    color: var(--power-gold);
    text-decoration: none;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-button:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

/* About Card */
.about-card .mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.mission, .vision {
    padding: 1.5rem;
    background: rgba(255, 215, 0, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.mission h3, .vision h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--power-gold);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.mission h3 i, .vision h3 i {
    color: var(--neon-green);
}

.mission p, .vision p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Stats Card */
.stats-card .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stats-card .stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
}

.stats-card .stat-item:hover {
    background: rgba(255, 215, 0, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.1);
}

.stats-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--power-gold);
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.stats-card .stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Services Overview Card */
.services-overview-card .services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.services-overview-card .service-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.services-overview-card .service-item:hover {
    background: rgba(255, 215, 0, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.1);
}

.services-overview-card .service-item i {
    font-size: 1.25rem;
    color: var(--neon-green);
    transition: all 0.3s ease;
}

.services-overview-card .service-item span {
    font-weight: 500;
    color: var(--text-primary);
}

/* Team Card */
.team-card .team-info {
    text-align: center;
}

.team-card .team-count {
    margin-bottom: 1.5rem;
}

.team-card .count {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--power-gold);
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
    margin-bottom: 0.5rem;
}

.team-card .label {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

.team-card .team-roles {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.team-card .role {
    padding: 0.5rem 1rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 215, 0, 0.15);
}

/* Contact Info Card */
.contact-info-card .contact-quick-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-card .contact-detail {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-info-card .contact-detail:hover {
    background: rgba(255, 215, 0, 0.05);
}

.contact-info-card .contact-detail i {
    color: var(--neon-green);
    font-size: 1.1rem;
}

.contact-info-card .contact-detail span {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Mission Card */
.mission-card .mission-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mission-card .mission-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
}

.mission-card .mission-item:hover {
    background: rgba(255, 215, 0, 0.05);
    transform: translateX(5px);
}

.mission-card .mission-item i {
    color: var(--neon-green);
    font-size: 1.1rem;
}

.mission-card .mission-item span {
    color: var(--text-primary);
    font-weight: 500;
}

/* Timeline Card */
.timeline-card .timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.timeline-card .timeline::before {
    content: '';
    position: absolute;
    right: 3rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--power-gold) 0%, var(--neon-green) 100%);
    opacity: 0.3;
}

.timeline-card .timeline-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.timeline-card .timeline-year {
    background: var(--power-gold);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 4rem;
    text-align: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.timeline-card .timeline-content {
    flex: 1;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.timeline-card .timeline-content h3 {
    color: var(--power-gold);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.timeline-card .timeline-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
    .page-header .header-content h1 {
        font-size: 2rem;
    }
    
    .about-card .mission-vision {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stats-card .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .services-overview-card .services-list {
        grid-template-columns: 1fr;
    }
    
    .timeline-card .timeline::before {
        display: none;
    }
    
    .timeline-card .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-card .timeline-year {
        order: 1;
    }
    
    .timeline-card .timeline-content {
        order: 2;
    }
    
    .team-card .count {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .stats-card .stat-number {
        font-size: 2rem;
    }
    
    .team-card .count {
        font-size: 2rem;
    }
    
    .mission, .vision {
        padding: 1rem;
    }
    
    .timeline-card .timeline-content {
        padding: 1rem;
    }
}

/* ============================================ */
/* Enhanced About Card Styles */
/* ============================================ */

/* Enhanced About Card */
.enhanced-about-card {
    background: linear-gradient(135deg, 
        var(--primary-dark) 0%, 
        rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 215, 0, 0.1);
    border-radius: var(--border-radius);
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    grid-column: span 12;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* Hero Section in About Card */
.about-hero {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 3rem;
    background: linear-gradient(135deg, 
        rgba(244, 208, 63, 0.05) 0%, 
        rgba(57, 255, 20, 0.02) 100%);
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(244, 208, 63, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero-content, .hero-visual {
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 60%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--power-gold), var(--bright-gold));
    color: var(--primary-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: gentle-pulse 3s infinite;
    box-shadow: 0 4px 20px rgba(244, 208, 63, 0.3);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--power-gold) 0%, var(--bright-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(244, 208, 63, 0.2);
}

.hero-desc {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.hero-stat {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.4s ease;
    cursor: pointer;
    flex: 1;
    position: relative;
    overflow: hidden;
}

.hero-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--power-gold), var(--neon-green));
    transition: left 0.3s ease;
}

.hero-stat:hover {
    background: rgba(244, 208, 63, 0.08);
    border-color: var(--power-gold);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(244, 208, 63, 0.2);
}

.hero-stat:hover::before {
    left: 0;
}

.hero-stat .stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--power-gold);
    margin-bottom: 0.5rem;
    display: block;
    text-shadow: 0 2px 10px rgba(244, 208, 63, 0.3);
}

.hero-stat .stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Hero Visual Section */
.hero-visual {
    flex: 1;
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 40%;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--power-gold), var(--neon-green));
    opacity: 0.1;
    animation: float-gentle 8s ease-in-out infinite;
}

.circle-1 {
    width: 100px;
    height: 100px;
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.circle-2 {
    width: 70px;
    height: 70px;
    top: 60%;
    right: 20%;
    animation-delay: 2.6s;
}

.circle-3 {
    width: 120px;
    height: 120px;
    bottom: 15%;
    left: 35%;
    animation-delay: 5.2s;
}

.tech-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    z-index: 10;
    position: relative;
}

.tech-icon {
    width: 90px;
    height: 90px;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 215, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--power-gold);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    animation: tech-pulse 4s infinite;
    position: relative;
    overflow: hidden;
}

.tech-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--power-gold), var(--neon-green));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-icon:nth-child(1) { animation-delay: 0s; }
.tech-icon:nth-child(2) { animation-delay: 1s; }
.tech-icon:nth-child(3) { animation-delay: 2s; }
.tech-icon:nth-child(4) { animation-delay: 3s; }

.tech-icon:hover {
    color: white;
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 15px 40px rgba(244, 208, 63, 0.4);
    border-color: var(--power-gold);
}

.tech-icon:hover::before {
    opacity: 1;
}

.tech-icon i {
    position: relative;
    z-index: 2;
}

/* Mission Vision Enhanced Section */
.mission-vision-enhanced {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 3rem;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.01) 0%, 
        rgba(244, 208, 63, 0.02) 100%);
}

.mv-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.mv-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--power-gold), var(--neon-green));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.mv-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(244, 208, 63, 0.05) 0%, 
        rgba(57, 255, 20, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mv-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--power-gold);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(244, 208, 63, 0.15);
}

.mv-item:hover::before {
    transform: scaleX(1);
}

.mv-item:hover::after {
    opacity: 1;
}

.mv-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--power-gold), var(--bright-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin: 0 auto 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(244, 208, 63, 0.3);
    position: relative;
    z-index: 2;
}

.mv-item:hover .mv-icon {
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 15px 40px rgba(244, 208, 63, 0.5);
}

.mv-content {
    position: relative;
    z-index: 2;
}

.mv-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--power-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mv-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 400;
}

/* Enhanced Team Card */
.enhanced-team-card {
    border: 2px solid rgba(255, 215, 0, 0.15);
    background: linear-gradient(135deg, 
        rgba(244, 208, 63, 0.03) 0%, 
        rgba(57, 255, 20, 0.02) 100%);
}

.enhanced-team-card .team-showcase {
    padding: 1.5rem;
}

.team-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2.5rem;
    gap: 1rem;
}

.team-stat {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 215, 0, 0.2);
    flex: 1;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.team-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--power-gold), var(--neon-green));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.team-stat:hover {
    background: rgba(244, 208, 63, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(244, 208, 63, 0.2);
}

.team-stat:hover::before {
    transform: scaleX(1);
}

.team-stat .stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--power-gold), var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    display: block;
    text-shadow: 0 2px 10px rgba(244, 208, 63, 0.3);
}

.team-stat .stat-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

.team-specialties {
    display: grid;
    gap: 1.5rem;
}

.specialty-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: var(--border-radius);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.specialty-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--power-gold), var(--neon-green));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.specialty-item:hover {
    background: rgba(244, 208, 63, 0.08);
    border-color: var(--power-gold);
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(244, 208, 63, 0.15);
}

.specialty-item:hover::before {
    transform: scaleY(1);
}

.specialty-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--power-gold), var(--bright-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 208, 63, 0.3);
}

.specialty-item:hover .specialty-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(244, 208, 63, 0.5);
}

.specialty-item span {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
}

/* Animations */
@keyframes float-gentle {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-15px) translateX(5px);
    }
    50% {
        transform: translateY(0px) translateX(10px);
    }
    75% {
        transform: translateY(15px) translateX(5px);
    }
}

@keyframes tech-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(244, 208, 63, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(244, 208, 63, 0);
    }
}

@keyframes gentle-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(244, 208, 63, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 6px 25px rgba(244, 208, 63, 0.5);
    }
}

/* Pulse animation for card icons */
.pulse {
    animation: gentle-pulse 2s infinite;
}

/* Responsive Design for Enhanced Cards */
@media (max-width: 1200px) {
    .enhanced-about-card {
        grid-column: span 12;
    }
    
    .about-hero {
        gap: 2rem;
    }
    
    .hero-content {
        max-width: 55%;
    }
    
    .hero-visual {
        max-width: 45%;
    }
}

@media (max-width: 768px) {
    .enhanced-about-card {
        grid-column: span 1;
    }
    
    .about-hero {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
        padding: 2rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-visual {
        max-width: 100%;
        height: 280px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .hero-stat {
        flex: none;
        min-width: 140px;
    }
    
    .mission-vision-enhanced {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }
    
    .team-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .tech-icons {
        gap: 1.5rem;
    }
    
    .tech-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    .hero-stat .stat-value {
        font-size: 2rem;
    }
    
    .mission-vision-enhanced {
        padding: 1.5rem 1rem;
    }
    
    .mv-item {
        padding: 2rem 1.5rem;
    }
    
    .mv-icon {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
    
    .tech-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* ============================================ */
/* New Cards Styles */
/* ============================================ */

/* Services Card */
.services-card .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.services-card .service-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
    cursor: pointer;
}

.services-card .service-item:hover {
    background: rgba(255, 215, 0, 0.08);
    border-color: var(--power-gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(244, 208, 63, 0.2);
}

.services-card .service-item i {
    font-size: 1.2rem;
    color: var(--neon-green);
    transition: all 0.3s ease;
}

.services-card .service-item:hover i {
    color: var(--power-gold);
    transform: scale(1.1) rotate(5deg);
}

.services-card .service-item span {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* Awards Card */
.awards-card .awards-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.awards-card .award-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.awards-card .award-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--power-gold), var(--neon-green));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.awards-card .award-item:hover {
    background: rgba(255, 215, 0, 0.05);
    border-color: var(--power-gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(244, 208, 63, 0.15);
}

.awards-card .award-item:hover::before {
    transform: scaleY(1);
}

.awards-card .award-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--power-gold), var(--bright-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 208, 63, 0.3);
}

.awards-card .award-item:hover .award-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 20px rgba(244, 208, 63, 0.5);
}

.awards-card .award-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.awards-card .award-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

/* Contact Info Card Enhancements */
.contact-info-card .contact-quick-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-info-card .contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.contact-info-card .contact-detail::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -100%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--power-gold), transparent);
    transition: left 0.3s ease;
}

.contact-info-card .contact-detail:hover {
    background: rgba(255, 215, 0, 0.05);
    border-color: var(--power-gold);
    transform: translateX(5px);
}

.contact-info-card .contact-detail:hover::before {
    left: 0;
}

.contact-info-card .contact-detail i {
    color: var(--neon-green);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-info-card .contact-detail:hover i {
    color: var(--power-gold);
    transform: scale(1.1);
}

.contact-info-card .contact-detail span {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Responsive Design for New Cards */
@media (max-width: 768px) {
    .services-card .services-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .services-card .service-item {
        padding: 0.75rem;
    }
    
    .awards-card .award-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .awards-card .award-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .contact-info-card .contact-detail {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .services-card .service-item span {
        font-size: 0.8rem;
    }
    
    .awards-card .award-info h4 {
        font-size: 0.9rem;
    }
    
    .awards-card .award-info p {
        font-size: 0.8rem;
    }
}

/* Super Enhanced Team Card Responsive Design */
@media (max-width: 768px) {
    .super-enhanced-team-card {
        grid-column: span 1;
    }
    
    .team-hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .expertise-card {
        padding: 1.25rem;
    }
    
    .expertise-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .stat-circle {
        width: 70px;
        height: 70px;
    }
    
    .stat-circle .stat-number {
        font-size: 1.3rem;
    }
    
    .achievement-badge {
        padding: 0.6rem 1.25rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .team-hero-stats {
        gap: 1rem;
    }
    
    .expertise-card {
        padding: 1rem;
    }
    
    .expertise-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .expertise-content h4 {
        font-size: 0.9rem;
    }
    
    .expertise-content p {
        font-size: 0.8rem;
    }
    
    .stat-circle {
        width: 60px;
        height: 60px;
    }
    
    .stat-circle .stat-number {
        font-size: 1.1rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .achievement-badge {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .achievement-badge i {
        font-size: 0.9rem;
    }
}
