/* ========================================
   ALFAID IT & Communications LLC
   Complete Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    --primary: #1a1a2e;
    --primary-light: #16213e;
    --primary-dark: #0f3460;
    --accent: #e94560;
    --accent-hover: #d6335c;
    --blue: #2563eb;
    --blue-light: #3b82f6;
    --blue-dark: #1d4ed8;
    --amber: #f59e0b;
    --emerald: #10b981;
    --purple: #8b5cf6;
    --cyan: #06b6d4;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --radius-sm: 0.5rem;
    --radius: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea {
    font-family: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.logo-ring {
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid var(--blue);
    transform: rotate(-12deg);
}

.logo-antenna {
    position: absolute;
    width: 3px;
    height: 16px;
    background: var(--blue);
    top: -4px;
    border-radius: 2px;
}

.logo-text {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue);
}

.nav-cta {
    background: var(--blue);
    color: var(--white) !important;
    padding: 0.625rem 1.25rem;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.nav-cta:hover {
    background: var(--blue-dark);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary-dark) 100%);
    color: var(--white);
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    pointer-events: none;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.hero-blob-1 {
    width: 400px;
    height: 400px;
    background: var(--blue);
    top: 10%;
    left: 10%;
}

.hero-blob-2 {
    width: 500px;
    height: 500px;
    background: var(--accent);
    bottom: 10%;
    right: 5%;
}

.hero-container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #93c5fd;
    margin-bottom: 2rem;
}

.hero-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.text-accent {
    color: var(--accent);
}

.hero-desc {
    font-size: 1.125rem;
    color: #cbd5e1;
    max-width: 520px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

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

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    font-size: 0.875rem;
    color: #94a3b8;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-feature-icon {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

/* Hero Card */
.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 2rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.hero-card-dots {
    display: flex;
    gap: 6px;
}

.hero-card-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.hero-card-dots span:nth-child(1) { background: #f87171; }
.hero-card-dots span:nth-child(2) { background: #fbbf24; }
.hero-card-dots span:nth-child(3) { background: #34d399; }

.hero-card-url {
    font-size: 0.75rem;
    color: #64748b;
    font-family: monospace;
}

.hero-card-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.hero-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-card-icon svg {
    width: 24px;
    height: 24px;
}

.hero-card-icon.bg-blue { background: rgba(37, 99, 235, 0.2); color: var(--blue); }
.hero-card-icon.bg-red { background: rgba(233, 69, 96, 0.2); color: var(--accent); }
.hero-card-icon.bg-amber { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }

.hero-card-title {
    font-weight: 500;
    color: var(--white);
    font-size: 0.9375rem;
}

.hero-card-sub {
    font-size: 0.8125rem;
    color: #94a3b8;
}

.hero-card-status {
    margin-left: auto;
    font-size: 0.8125rem;
    font-weight: 600;
}

.status-active { color: #34d399; }

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(233, 69, 96, 0.3);
}

.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.4);
    transform: translateY(-1px);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-primary-light {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(233, 69, 96, 0.3);
}

.btn-primary-light:hover {
    background: var(--accent-hover);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.4);
    transform: translateY(-1px);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-full {
    width: 100%;
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: 6rem 0;
}

.bg-light {
    background: var(--gray-50);
}

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

.section-header {
    margin-bottom: 4rem;
}

.section-header.center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--blue);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.section-tag.light {
    background: rgba(255, 255, 255, 0.1);
    color: #93c5fd;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

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

.section-title.center {
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 600px;
}

.section-subtitle.light {
    color: #94a3b8;
}

.section-subtitle.center {
    margin: 0 auto;
    text-align: center;
}

.section-text {
    font-size: 1.0625rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

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

.section-visual {
    display: flex;
    justify-content: center;
}

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

.section-cta.center {
    text-align: center;
}

/* Stats */
.stats-row {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    padding: 1.25rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    min-width: 120px;
}

.stat-number {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--gray-500);
    font-weight: 500;
    margin-top: 0.375rem;
}

/* About Card */
.about-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
    padding: 2.5rem;
    max-width: 480px;
    width: 100%;
}

.about-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.about-card-logo {
    width: 56px;
    height: 56px;
}

.about-card-logo .logo-ring {
    width: 72px;
    height: 72px;
}

.about-card-logo .logo-antenna {
    height: 20px;
}

.about-card-name {
    font-weight: 800;
    font-size: 1.125rem;
    color: var(--primary);
}

.about-card-role {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.about-card-quote {
    font-style: italic;
    color: var(--gray-600);
    line-height: 1.8;
    padding-left: 1.25rem;
    border-left: 4px solid var(--accent);
    margin-bottom: 1.5rem;
}

.about-card-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.about-card-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gray-200);
}

.about-card-author-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--gray-800);
}

.about-card-author-role {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* ========================================
   SERVICES
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
    border-color: var(--gray-200);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card:hover .service-icon {
    transform: scale(1.05);
}

.service-icon.bg-blue { background: rgba(37, 99, 235, 0.1); color: var(--blue); }
.service-icon.bg-red { background: rgba(233, 69, 96, 0.1); color: var(--accent); }
.service-icon.bg-amber { background: rgba(245, 158, 11, 0.1); color: #d97706; }
.service-icon.bg-emerald { background: rgba(16, 185, 129, 0.1); color: #059669; }
.service-icon.bg-purple { background: rgba(139, 92, 246, 0.1); color: #7c3aed; }
.service-icon.bg-cyan { background: rgba(6, 182, 212, 0.1); color: #0891b2; }

.service-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.7;
}

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

.service-detail-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    transition: var(--transition);
}

.service-detail-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-200);
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.service-detail-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-detail-icon svg {
    width: 32px;
    height: 32px;
}

.service-detail-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--primary);
}

.service-detail-desc {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-detail-list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.service-detail-list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9375rem;
    color: var(--gray-600);
}

.service-detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
}

/* ========================================
   WHY CHOOSE US
   ======================================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.why-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.1);
}

.why-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.why-icon svg {
    width: 24px;
    height: 24px;
}

.why-title {
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.why-desc {
    font-size: 0.8125rem;
    color: #94a3b8;
    line-height: 1.6;
}

/* Why Light Version */
.why-grid-light {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.why-card-light {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.why-card-light:hover {
    box-shadow: var(--shadow-lg);
}

.why-title-dark {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.why-desc-dark {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ========================================
   PARTNERS
   ======================================== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.partner-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: var(--transition);
}

.partner-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-200);
}

.partner-logo {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.partner-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.partner-desc {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* Partners Detail */
.partners-detail-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.partner-detail-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    transition: var(--transition);
}

.partner-detail-card:hover {
    box-shadow: var(--shadow-lg);
}

.partner-detail-logo {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    flex-shrink: 0;
}

.partner-detail-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.partner-detail-tagline {
    font-size: 1rem;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 1rem;
}

.partner-detail-desc {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.partner-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.partner-meta-item {
    padding: 0.375rem 0.875rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-600);
}

/* ========================================
   CLIENTS
   ======================================== */
.clients-sections {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.clients-category {
    border-top: 1px solid var(--gray-200);
    padding-top: 3rem;
}

.clients-category:first-child {
    border-top: none;
    padding-top: 0;
}

.clients-category-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2rem;
}

.clients-category-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: rgba(37, 99, 235, 0.1);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.clients-category-icon svg {
    width: 22px;
    height: 22px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.client-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.client-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--gray-200);
    transform: translateY(-2px);
}

.client-logo-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gray-50);
    border: 2px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--gray-400);
}

.client-logo-placeholder svg {
    width: 28px;
    height: 28px;
}

.client-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.client-name-ar {
    font-size: 0.8125rem;
    color: var(--gray-500);
    direction: rtl;
}

/* ========================================
   GALLERY
   ======================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 1.25rem;
}

.gallery-item {
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition);
}

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

.gallery-item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item-wide {
    grid-column: span 2;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

.gallery-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(233, 69, 96, 0.05) 100%);
}

.gallery-placeholder svg {
    width: 48px;
    height: 48px;
    position: relative;
    z-index: 1;
}

.gallery-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-500);
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 1rem;
}

.gallery-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    color: var(--gray-600);
}

.gallery-note code {
    background: var(--gray-200);
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    font-size: 0.8125rem;
}

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

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

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

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.contact-value {
    display: block;
    font-size: 1rem;
    color: var(--gray-700);
    font-weight: 500;
    line-height: 1.6;
}

.contact-value:hover {
    color: var(--blue);
}

.contact-form-wrapper {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.contact-form-subtitle {
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    color: var(--gray-800);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--gray-400);
}

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

/* Map */
.map-section {
    text-align: center;
}

.map-placeholder {
    margin-top: 2rem;
    height: 400px;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    gap: 0.75rem;
    border: 2px dashed var(--gray-300);
}

.map-placeholder svg {
    width: 48px;
    height: 48px;
}

.map-placeholder p {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-600);
}

.map-placeholder span {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ========================================
   VISION & MISSION
   ======================================== */
.vision-mission-grid {
    max-width: 900px;
    margin: 0 auto;
}

.vision-card,
.mission-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 3rem;
}

.vision-icon,
.mission-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.vision-icon {
    background: rgba(37, 99, 235, 0.1);
    color: var(--blue);
}

.mission-icon {
    background: rgba(233, 69, 96, 0.1);
    color: var(--accent);
}

.vision-icon svg,
.mission-icon svg {
    width: 32px;
    height: 32px;
}

.vision-list,
.mission-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.vision-item,
.mission-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.vision-bullet,
.mission-bullet {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.vision-bullet::after,
.mission-bullet::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--white);
}

.vision-item div,
.mission-item div {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.vision-item strong,
.mission-item strong {
    color: var(--primary);
}

/* Welcome Section */
.welcome-section {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.welcome-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    background: rgba(37, 99, 235, 0.1);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.welcome-icon svg {
    width: 32px;
    height: 32px;
}

.welcome-content {
    text-align: left;
    margin-top: 2rem;
}

.welcome-signoff {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.welcome-closing {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.welcome-signature {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.8;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 5rem 0;
    text-align: center;
    color: var(--white);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-desc {
    font-size: 1.125rem;
    color: #94a3b8;
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

/* ========================================
   PAGE HEADER
   ======================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 6rem 0 4rem;
    color: var(--white);
    text-align: center;
}

.page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
}

.page-subtitle {
    font-size: 1.125rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--primary);
    color: #94a3b8;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo .logo-text {
    color: var(--white);
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.7;
    color: #94a3b8;
}

.footer-heading {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.25rem;
}

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

.footer-links a,
.footer-links li {
    font-size: 0.875rem;
    color: #94a3b8;
    transition: var(--transition);
}

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

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

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: #94a3b8;
    transition: var(--transition);
}

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

/* ========================================
   UTILITY CLASSES
   ======================================== */
.bg-blue { background: rgba(37, 99, 235, 0.2); color: var(--blue); }
.bg-red { background: rgba(233, 69, 96, 0.2); color: var(--accent); }
.bg-amber { background: rgba(245, 158, 11, 0.2); color: #d97706; }
.bg-emerald { background: rgba(16, 185, 129, 0.2); color: #059669; }
.bg-purple { background: rgba(139, 92, 246, 0.2); color: #7c3aed; }
.bg-cyan { background: rgba(6, 182, 212, 0.2); color: #0891b2; }
.bg-dark { background: var(--primary); }

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-features {
        justify-content: center;
    }

    .section-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-detail-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

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

    .gallery-item-large,
    .gallery-item-wide {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.5rem;
        border-bottom: 1px solid var(--gray-200);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }

    .nav-cta {
        text-align: center;
        margin-top: 0.5rem;
    }

    .section {
        padding: 4rem 0;
    }

    .hero-container {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .why-grid-light {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

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

    .partner-detail-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .partner-detail-logo {
        margin: 0 auto;
    }

    .partner-detail-meta {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .stats-row {
        justify-content: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .gallery-item-large,
    .gallery-item-wide {
        grid-column: span 1;
    }

    .vision-card,
    .mission-card {
        padding: 2rem;
    }

    .about-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.875rem;
    }

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

    .btn {
        width: 100%;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        flex-direction: column;
    }

    .stat-item {
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Scroll-triggered animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* ========================================
   REAL LOGO STYLES
   ======================================== */
.logo-img {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

.partner-logo-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
}

.partner-detail-logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.client-logo-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: block;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
    transition: var(--transition);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

/* Logo in footer */
.footer-logo .logo-img {
    height: 40px;
    filter: brightness(0) invert(1);
}
