/* Root Variables */
:root {
    --primary: #9333ea;
    --primary-dark: #7c3aed;
    --secondary: #2563eb;
    --secondary-dark: #1d4ed8;
    --success: #10b981;
    --success-dark: #059669;
    --warning: #f59e0b;
    --warning-dark: #d97706;
    --error: #ef4444;
    --error-dark: #dc2626;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --black: #000000;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-purple-blue: linear-gradient(to right, #9333ea, #2563eb);
    --gradient-hero-bg: linear-gradient(to bottom right, rgba(139, 69, 19, 0.7), rgba(0, 0, 0, 0.6));
    --gradient-footer: linear-gradient(to right, #1e293b, #0f172a);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: linear-gradient(to bottom right, #f3e8ff, #dbeafe, #ecfeff);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Floating Background */
.floating-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.float-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.float-1 {
    top: 5rem;
    left: 2.5rem;
    width: 8rem;
    height: 8rem;
    background: linear-gradient(to right, rgba(244, 114, 182, 0.2), rgba(147, 51, 234, 0.2));
    animation: float1 8s infinite;
}

.float-2 {
    top: 10rem;
    right: 5rem;
    width: 6rem;
    height: 6rem;
    background: linear-gradient(to right, rgba(59, 130, 246, 0.2), rgba(6, 182, 212, 0.2));
    animation: float2 6s infinite;
    animation-delay: 2s;
}

.float-3 {
    bottom: 10rem;
    left: 33%;
    width: 5rem;
    height: 5rem;
    background: linear-gradient(to right, rgba(34, 197, 94, 0.2), rgba(5, 150, 105, 0.2));
    animation: float3 10s infinite;
    animation-delay: 4s;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-15px, 15px) scale(0.9); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(25px, -25px); }
}

.project-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* icon va matn orasidagi masofa */
    width: 100%; /* butun block bo‘yicha */
    height: 40px; /* balandligi kichikroq */
    background-color: #2563eb; /* chiroyli ko‘k */
    color: white;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.project-btn svg {
    width: 18px;
    height: 18px;
}

.project-btn:hover {
    background-color: #1d4ed8; /* hover effekti */
    transform: scale(1.02); /* biroz kattalashish */
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform var(--transition-base);
}

.logo:hover {
    transform: scale(1.02);
}

.profile-image {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(147, 51, 234, 0.2);
}

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

.logo-text h1 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.logo-text .subtitle {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin: 0;
}

.gradient-text-purple-blue {
    background: var(--gradient-purple-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.5rem;
    background: transparent;
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition-base);
    font-weight: 500;
}

.nav-btn:hover {
    background: var(--gray-100);
    transform: scale(1.05);
}

.nav-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.nav-icon {
    width: 1rem;
    height: 1rem;
}

.language-switcher {
    display: flex;
    align-items: center;
    background: var(--gray-100);
    border-radius: 0.375rem;
    padding: 0.125rem;
    margin-left: 0.75rem;
}

.lang-btn {
    padding: 0.25rem 0.5rem;
    border: none;
    border-radius: 0.25rem;
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    font-size: 1.125rem;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.lang-btn.active {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transform: scale(1.1);
}

.en-text {
    font-size: 0.875rem;
    font-weight: 500;
}

.mobile-menu-btn {
    display: none;
    padding: 0.5rem;
    border: none;
    border-radius: 0.5rem;
    background: transparent;
    cursor: pointer;
    transition: background var(--transition-base);
}

.mobile-menu-btn:hover {
    background: var(--gray-100);
}

.hamburger {
    position: relative;
    display: block;
    width: 1.5rem;
    height: 2px;
    background: var(--gray-600);
    transition: all var(--transition-base);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--gray-600);
    transition: all var(--transition-base);
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    bottom: -6px;
}

.mobile-menu-btn.active .hamburger {
    background: transparent;
}

.mobile-menu-btn.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-btn.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

.mobile-nav {
    display: none;
    border-top: 1px solid var(--gray-200);
    padding: 1rem 0;
    animation: slideDown 0.3s ease;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.5rem;
    background: transparent;
    color: var(--gray-600);
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-base);
}

.mobile-nav-btn:hover {
    background: var(--gray-100);
}

.mobile-nav-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
}

.mobile-lang-section {
    padding: 0.5rem 1rem;
}

.mobile-lang-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.lang-icon {
    width: 1rem;
    height: 1rem;
}

.mobile-lang-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.mobile-lang-btn {
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-base);
}

.mobile-lang-btn:hover {
    background: var(--gray-100);
    transform: scale(1.05);
}

.mobile-lang-btn.active {
    background: rgba(147, 51, 234, 0.1);
    border: 2px solid rgba(147, 51, 234, 0.3);
    transform: scale(1.1);
}

.en-text-mobile {
    font-size: 9px;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 2;
}

.page {
    display: none;
    animation: fadeIn 0.5s ease;
}

.page.active {
    display: block;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/images/JamoliddinAka.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6));
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 80vh;
    padding: 4rem 0;
}

.hero-text {
    color: var(--white);
    animation: slideInLeft 0.8s ease-out;
}

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

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
    backdrop-filter: blur(8px);
    transition: transform var(--transition-base);
}

.badge:hover {
    transform: scale(1.05);
}

.hero-title {
    font-size: 50px;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    animation: slideInUp 0.8s ease-out 0.4s both;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    animation: slideInUp 0.6s ease-out 0.6s both;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    animation: slideInUp 0.6s ease-out 0.8s both;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: slideInUp 0.6s ease-out 1s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: scale(1.05);
}

.btn:active {
    transform: scale(0.95);
}

.btn-primary {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0891b2, #2563eb);
}

.btn-secondary {
    background: #2563eb;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.btn-secondary:hover {
    background: #1d4ed8;
}

.btn-outline {
    background: transparent;
    color: #059669;
    border: 1px solid #10b981;
}

.btn-outline:hover {
    background: rgba(16, 185, 129, 0.1);
}

.btn-icon {
    width: 1rem;
    height: 1rem;
}

.btn-arrow {
    width: 1rem;
    height: 1rem;
    transition: transform var(--transition-base);
}

.btn:hover .btn-arrow {
    transform: translateX(2px);
}

/* About Section */
.about-section {
    padding: 4rem 0 6rem;
    position: relative;
}

.about-card {
    max-width: 4xl;
    margin: 0 auto;
    padding: 2rem 3rem;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.8), rgba(219, 234, 254, 0.8));
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    box-shadow: var(--shadow-2xl);
    animation: slideInUp 0.8s ease-out;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 1rem;
    animation: slideInUp 0.6s ease-out 0.2s both;
}

.section-title.gradient-text {
    background: var(--gradient-purple-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.7;
    animation: slideInUp 0.6s ease-out 0.4s both;
}

.section-divider {
    width: 6rem;
    height: 0.25rem;
    background: var(--gradient-purple-blue);
    border-radius: 9999px;
    margin: 1.5rem auto;
    animation: scaleX 0.8s ease-out 0.6s both;
}

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

.about-content {
    font-size: 1.125rem;
    line-height: 1.7;
}

.about-quote {
    text-align: center;
    font-style: italic;
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    color: var(--primary);
    background: linear-gradient(to right, rgba(147, 51, 234, 0.05), rgba(37, 99, 235, 0.05));
    padding: 1rem 1.5rem;
    border-radius: 0 0.5rem 0.5rem 0;
    margin-bottom: 1.5rem;
    animation: slideInLeft 0.6s ease-out 0.4s both;
}

.about-content p {
    margin-bottom: 1.5rem;
    animation: slideInUp 0.6s ease-out calc(0.6s + var(--delay, 0)) both;
}

.about-content p:nth-child(3) { --delay: 0.2s; }
.about-content p:nth-child(4) { --delay: 0.4s; }

.mission-card {
    background: linear-gradient(to right, rgba(16, 185, 129, 0.05), rgba(6, 182, 212, 0.05), rgba(6, 182, 212, 0.05));
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(16, 185, 129, 0.2);
    margin-top: 2rem;
    transition: transform var(--transition-base);
    animation: scaleIn 0.6s ease-out 1s both;
}

.mission-card:hover {
    transform: scale(1.02);
}

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

.mission-card h3 {
    font-size: 1.5rem;
    color: #059669;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.mission-card p {
    font-size: 1.125rem;
    color: #059669;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0 6rem;
    background: linear-gradient(to bottom right, #0f172a, #1e293b, #2563eb);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.contact-content {
    max-width: 32rem;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

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

.contact-card {
    padding: 1.5rem;
    border-radius: 0.75rem;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
    animation: slideInUp 0.6s ease-out calc(0.2s + var(--delay, 0)) both;
}

.contact-card:nth-child(1) { 
    background: linear-gradient(to right, rgba(99, 102, 241, 0.2), rgba(147, 51, 234, 0.2));
    --delay: 0;
}

.contact-card:nth-child(2) { 
    background: linear-gradient(to right, rgba(59, 130, 246, 0.2), rgba(236, 72, 153, 0.2));
    --delay: 0.2s;
}

.contact-card:nth-child(3) { 
    background: linear-gradient(to right, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.2));
    --delay: 0.4s;
}

.contact-card:hover {
    transform: scale(1.05);
    background: linear-gradient(to right, rgba(99, 102, 241, 0.3), rgba(147, 51, 234, 0.3));
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 1rem;
    animation: spin 2s linear infinite;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
    color: #06b6d4;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card span,
.contact-card a {
    font-size: 1.25rem;
    color: var(--white);
    text-decoration: none;
    transition: color var(--transition-base);
}

.contact-card a:hover {
    color: #06b6d4;
}

/* Projects Section */
.projects-section {
    padding: 4rem 0 6rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 7xl;
    margin: 0 auto 4rem;
}

.project-card {
    padding: 1.5rem;
    border-radius: 1rem;
    border: none;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.6s ease-out calc(var(--delay, 0) * 0.1s) both;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.project-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.project-bg-pattern::before,
.project-bg-pattern::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.project-bg-pattern::before {
    top: 1rem;
    right: 1rem;
    width: 5rem;
    height: 5rem;
}

.project-bg-pattern::after {
    bottom: 1rem;
    left: 1rem;
    width: 3rem;
    height: 3rem;
}

.project-content {
    position: relative;
    z-index: 10;
}

.project-logo {
    width: 5rem;
    height: 5rem;
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform var(--transition-base);
}

.project-logo:hover {
    transform: scale(1.1) rotate(5deg);
}

.project-logo.circular {
    border-radius: 50%;
}

.project-logo.square {
    border-radius: 0.75rem;
}

.project-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.project-info {
    text-align: center;
    margin-bottom: 1.5rem;
}

.project-name {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    transition: transform var(--transition-base);
}

.project-name:hover {
    transform: scale(1.05);
}

.project-description {
    color: var(--gray-700);
    line-height: 1.6;
    font-size: 1rem;
}

.project-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
    justify-content: center;
}

.project-btn:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

/* Project specific colors */
.project-card.khiso {
    background: linear-gradient(to bottom right, #dbeafe, #e0e7ff);
}

.project-card.khiso .project-name {
    color: #2563eb;
}

.project-card.khiso .project-btn {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
}

.project-card.all-solar {
    background: linear-gradient(to bottom right, #dcfce7, #d1fae5);
}

.project-card.all-solar .project-name {
    color: #16a34a;
}

.project-card.all-solar .project-btn {
    background: linear-gradient(135deg, #22c55e, #10b981);
}

.project-card.nafis {
    background: linear-gradient(to bottom right, #f0fdfa, #ccfbf1);
}

.project-card.nafis .project-name {
    color: #0d9488;
}

.project-card.nafis .project-btn {
    background: linear-gradient(135deg, #14b8a6, #059669);
}

.project-card.osiyo {
    background: linear-gradient(to bottom right, #fef2f2, #fce7f3);
}

.project-card.osiyo .project-name {
    color: #dc2626;
}

.project-card.osiyo .project-btn {
    background: linear-gradient(135deg, #f87171, #ec4899);
}

.project-card.akbar {
    background: linear-gradient(to bottom right, #dbeafe, #e0f2fe);
}

.project-card.akbar .project-name {
    color: #1e40af;
}

.project-card.akbar .project-btn {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.project-card.more-projects {
    background: linear-gradient(to bottom right, #f9fafb, #f1f5f9);
    border: 2px dashed var(--gray-300);
    transition: all var(--transition-base);
}

.project-card.more-projects:hover {
    border-color: var(--primary);
}

.more-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 300px;
    text-align: center;
}

.more-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.more-icon:hover {
    transform: scale(1.1) rotate(180deg);
}

.more-icon svg {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--white);
}

.more-content h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.more-content p {
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
}

.cta-card {
    padding: 2rem;
    background: linear-gradient(to bottom right, rgba(147, 51, 234, 0.05), rgba(37, 99, 235, 0.05));
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    max-width: 32rem;
    margin: 0 auto;
}

.cta-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 1rem;
}

.cta-card p {
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Values Section */
.values-section {
    padding: 4rem 0 6rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 7xl;
    margin: 0 auto 4rem;
}

.value-card {
    padding: 1.5rem;
    border-radius: 1rem;
    border: none;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.6s ease-out calc(var(--delay, 0) * 0.15s) both;
}

.value-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

.value-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.value-bg-pattern::before,
.value-bg-pattern::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.value-bg-pattern::before {
    top: 1rem;
    right: 1rem;
    width: 5rem;
    height: 5rem;
}

.value-bg-pattern::after {
    bottom: 1rem;
    left: 1rem;
    width: 3rem;
    height: 3rem;
}

.value-content {
    position: relative;
    z-index: 10;
}

.value-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform var(--transition-base);
}

.value-icon:hover {
    transform: rotate(10deg) scale(1.1);
}

.value-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--white);
}

.value-content h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
    transition: transform var(--transition-base);
}

.value-content h3:hover {
    transform: scale(1.05);
}

.value-content p {
    color: var(--gray-700);
    line-height: 1.6;
    font-weight: 500;
}

/* Value specific colors */
.value-card.honesty {
    background: linear-gradient(to bottom right, #dcfce7, #d1fae5);
}

.value-card.honesty .value-icon {
    background: linear-gradient(135deg, #10b981, #14b8a6);
}

.value-card.growth {
    background: linear-gradient(to bottom right, #dbeafe, #e0e7ff);
}

.value-card.growth .value-icon {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
}

.value-card.results {
    background: linear-gradient(to bottom right, #fed7aa, #fecaca);
}

.value-card.results .value-icon {
    background: linear-gradient(135deg, #f97316, #ef4444);
}

.value-card.impact {
    background: linear-gradient(to bottom right, #f3e8ff, #fce7f3);
}

.value-card.impact .value-icon {
    background: linear-gradient(135deg, #a855f7, #ec4899);
}

/* Stats Section */
.stats-section {
    margin-top: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 4xl;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    animation: scaleIn 0.4s ease-out calc(0.8s + var(--delay, 0) * 0.1s) both;
}

.stat-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.stat-card:nth-child(1) { --delay: 0; }
.stat-card:nth-child(2) { --delay: 1; }
.stat-card:nth-child(3) { --delay: 2; }
.stat-card:nth-child(4) { --delay: 3; }

.stat-number {
    font-size: clamp(2.5rem, 8vw, 3rem);
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.stat-label {
    font-size: 1.125rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--gradient-footer);
    color: var(--white);
    padding: 2rem 0;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 4xl;
    margin: 0 auto 2rem;
}

.footer-section h3 {
    font-size: 1.125rem;
    background: linear-gradient(to right, #06b6d4, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.footer-link svg {
    width: 1rem;
    height: 1rem;
}

.footer-link a {
    color: var(--white);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-link a:hover {
    color: #06b6d4;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav-link {
    background: none;
    border: none;
    color: var(--white);
    text-align: left;
    padding: 0;
    font-size: 0.875rem;
    cursor: pointer;
    transition: color var(--transition-base);
}

.footer-nav-link:hover {
    color: #06b6d4;
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--gray-400);
    animation: fadeIn 0.6s ease-out;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content {
        padding: 2rem 0;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .about-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        padding: 0 1rem;
    }

    .cta-card {
        margin: 0 1rem;
    }
}

@media (min-width: 768px) {
    .mobile-nav {
        display: none !important;
    }

    .hero-buttons {
        flex-direction: row;
    }

    .hero-content {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }

/* Animation Delays for Staggered Effects */
.project-card:nth-child(1) { --delay: 0; }
.project-card:nth-child(2) { --delay: 1; }
.project-card:nth-child(3) { --delay: 2; }
.project-card:nth-child(4) { --delay: 3; }
.project-card:nth-child(5) { --delay: 4; }
.project-card:nth-child(6) { --delay: 5; }

.value-card:nth-child(1) { --delay: 0; }
.value-card:nth-child(2) { --delay: 1; }
.value-card:nth-child(3) { --delay: 2; }
.value-card:nth-child(4) { --delay: 3; }