/* ============================================
   SOFO TECH BD - Main Stylesheet
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #0f172a;
    --accent: #06b6d4;
    --text: #334155;
    --text-light: #64748b;
    --text-dark: #0f172a;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --success: #10b981;
    --error: #ef4444;
    --gradient: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #06b6d4 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--primary);
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

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

.btn-white:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 14px 34px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #ffffff;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--secondary);
}

.logo-img {
    height: 70px;
    width: auto;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 10px;
    font-size: 1.1rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.06);
}

.nav-link i {
    font-size: 0.65rem;
    transition: var(--transition);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    max-height: 400px;
    overflow-y: auto;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

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

.dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    font-size: 0.9rem;
    color: var(--text);
    border-radius: 8px;
}

.dropdown-menu a:hover {
    background: rgba(37, 99, 235, 0.06);
    color: var(--primary);
}

.nav-cta {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2.5px;
    background: var(--secondary);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient);
    padding: 120px 0 100px;
    overflow: hidden;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    background: var(--white);
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 250px;
    height: 250px;
    bottom: 10%;
    left: -50px;
    animation: float 6s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 40%;
    right: 30%;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero h1 .highlight {
    color: var(--accent);
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
}

.hero .btn-primary {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.hero .btn-primary:hover {
    background: transparent;
    color: var(--white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero .btn-outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}

.hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    display: block;
}

.stat-label {
    font-size: 0.8rem;
    opacity: 0.8;
    display: block;
    margin-top: 2px;
}

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

.hero-illustration {
    position: relative;
}

.code-window {
    background: #1e293b;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    width: 420px;
    animation: floatCode 4s ease-in-out infinite;
}

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

.window-header {
    display: flex;
    gap: 8px;
    padding: 14px 18px;
    background: #0f172a;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #eab308; }
.dot.green { background: #22c55e; }

.window-body {
    padding: 24px;
    font-size: 0.85rem;
    line-height: 1.8;
}

.window-body pre {
    margin: 0;
    font-family: 'Fira Code', 'Courier New', monospace;
}

.code-keyword { color: #c084fc; }
.code-var { color: #60a5fa; }
.code-key { color: #34d399; }
.code-string { color: #fbbf24; }
.code-method { color: #f472b6; }

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: floatCard 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 1rem;
}

.card-1 {
    top: -10px;
    left: -40px;
    animation-delay: 0.5s;
}

.card-1 i { color: var(--success); }

.card-2 {
    bottom: 20px;
    right: -30px;
    animation-delay: 1s;
}

.card-2 i { color: #eab308; }

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

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ---------- About Section ---------- */
.about {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.image-wrapper {
    position: relative;
}

.about-img-placeholder {
    background: var(--gradient);
    color: var(--white);
    border-radius: var(--radius-lg);
    height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.about-img-placeholder i {
    font-size: 4rem;
    opacity: 0.8;
}

.about-img-placeholder span {
    font-size: 1.5rem;
    font-weight: 700;
}

.about-img-placeholder small {
    font-size: 0.9rem;
    opacity: 0.7;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.exp-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.exp-text {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.about-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 16px;
    color: var(--text-light);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 24px 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.feature i {
    color: var(--success);
    font-size: 0.9rem;
    width: 24px;
    height: 24px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-socials {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.about-socials span {
    font-weight: 600;
    color: var(--text-dark);
}

.about-socials a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--text-light);
    font-size: 0.9rem;
}

.about-socials a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ---------- Services Section ---------- */
.services {
    padding: 100px 0;
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.05rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(4px);
}

/* ---------- Why Choose Us ---------- */
.why-us {
    padding: 100px 0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-us-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 16px;
}

.why-us-content p {
    color: var(--text-light);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.why-us-cards {
    display: grid;
    gap: 20px;
}

.why-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.why-card:hover {
    box-shadow: var(--shadow);
    border-color: rgba(37, 99, 235, 0.15);
    transform: translateX(6px);
}

.why-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.why-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.why-info p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ---------- Technologies ---------- */
.technologies {
    padding: 100px 0;
    background: var(--gray-50);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 30px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    cursor: default;
}

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

.tech-item span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(37, 99, 235, 0.15);
}

.tech-item:hover i {
    color: var(--accent);
    transform: scale(1.1);
}

/* ---------- CTA Section ---------- */
.cta {
    padding: 100px 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    top: -200px;
    right: -100px;
}

.cta-content {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-content .highlight {
    color: var(--accent);
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-logo .logo-img {
    height: 65px;
    border-radius: 8px;
}

.footer-logo .highlight {
    color: var(--accent);
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--primary-light);
    margin-top: 3px;
    width: 16px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

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

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ---------- Page Banner ---------- */
.page-banner {
    position: relative;
    background: var(--gradient);
    padding: 160px 0 100px;
    overflow: hidden;
}

.banner-content {
    text-align: center;
    color: var(--white);
    max-width: 600px;
    margin: 0 auto;
}

.banner-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.banner-content .highlight {
    color: var(--accent);
}

.banner-content p {
    font-size: 1.05rem;
    opacity: 0.9;
}

.banner-content .section-tag {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ---------- Contact Section ---------- */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: flex-start;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 12px;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 32px;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--gray-50);
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.info-card:hover {
    box-shadow: var(--shadow);
    border-color: rgba(37, 99, 235, 0.15);
}

.info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
    color: var(--primary);
    border-radius: 10px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.info-details h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.info-details p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.info-details a {
    color: var(--text-light);
}

.info-details a:hover {
    color: var(--primary);
}

.contact-socials h4 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* Contact Form */
.form-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.form-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-card > p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

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

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-300);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-dark);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

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

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

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8.825L.35 3.175 1.175 2.35 6 7.175 10.825 2.35 11.65 3.175z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.contact-form .btn {
    margin-top: 6px;
}

/* Form Messages */
.form-message {
    text-align: center;
    padding: 30px;
    border-radius: var(--radius);
    margin-top: 20px;
}

.form-message i {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.form-message h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.form-message p {
    font-size: 0.9rem;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.08);
    color: var(--success);
}

.form-message.success h4 {
    color: var(--success);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.08);
    color: var(--error);
}

.form-message.error h4 {
    color: var(--error);
}

/* ---------- Map Section ---------- */
.map-section {
    padding: 0 0 80px;
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* ---------- Career Page ---------- */
.career-perks {
    padding: 80px 0;
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.perk-card {
    text-align: center;
    padding: 36px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.perk-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: rgba(37, 99, 235, 0.15);
}

.perk-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
    color: var(--primary);
    font-size: 1.5rem;
    transition: var(--transition);
}

.perk-card:hover .perk-icon {
    background: var(--gradient);
    color: var(--white);
}

.perk-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.perk-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Application Process */
.apply-process {
    padding: 80px 0;
    background: var(--gray-50);
}

.process-timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
}

.step-number {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 800;
    border-radius: 50%;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.step-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.step-content p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    max-width: 180px;
    margin: 0 auto;
}

.process-connector {
    width: 60px;
    height: 2px;
    background: var(--gray-300);
    margin-bottom: 60px;
    flex-shrink: 0;
}

/* Job Cards */
.open-positions {
    padding: 80px 0;
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.job-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.15);
    transform: translateY(-4px);
}

.job-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 8px;
}

.job-tags {
    display: flex;
    gap: 8px;
}

.job-tag {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.tag-fulltime {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

.tag-intern {
    background: rgba(234, 179, 8, 0.12);
    color: #b45309;
}

.tag-onsite {
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
}

.tag-remote {
    background: rgba(139, 92, 246, 0.1);
    color: #7c3aed;
}

.job-date {
    font-size: 0.8rem;
    color: var(--text-light);
}

.job-date i {
    margin-right: 4px;
}

.job-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.job-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.job-details {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 14px;
}

.job-details span {
    font-size: 0.82rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-details i {
    color: var(--primary);
    font-size: 0.8rem;
}

.job-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.job-skills span {
    padding: 4px 12px;
    background: var(--gray-100);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text);
}

.btn-apply {
    margin-top: auto;
    align-self: flex-start;
}

/* ---------- Application Modal ---------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
    animation: modalIn 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    cursor: pointer;
    color: var(--text);
    font-size: 0.95rem;
    transition: var(--transition);
    z-index: 1;
}

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

.modal-body {
    padding: 36px;
}

.modal-body h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.modal-body > p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

/* Input with icon */
.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 0.95rem;
}

.input-with-icon input {
    padding-left: 42px;
}

/* File Upload */
.file-upload {
    position: relative;
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius);
    transition: var(--transition);
    overflow: hidden;
}

.file-upload:hover,
.file-upload.dragover {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.03);
}

.file-upload input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
    border: none;
    padding: 0;
}

.file-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 28px 20px;
    text-align: center;
}

.file-upload-content i {
    font-size: 2rem;
    color: var(--primary);
}

.file-upload-text {
    font-size: 0.9rem;
    color: var(--text);
}

.file-upload-text strong {
    color: var(--primary);
}

.file-upload-content small {
    font-size: 0.8rem;
    color: var(--text-light);
}

.file-selected {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 8px;
    margin: 10px;
}

.file-selected i {
    color: var(--primary);
    font-size: 1.2rem;
}

.file-selected span {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-dark);
    flex: 1;
}

.file-remove {
    background: none;
    border: none;
    color: var(--error);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 4px;
}

/* ---------- Team Page ---------- */
.team-section {
    padding: 80px 0;
}

.team-section-alt {
    background: var(--gray-50);
}

/* Featured Leader */
.featured-leader {
    margin-bottom: 60px;
}

.featured-leader-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 50px;
    align-items: center;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

.featured-avatar {
    text-align: center;
}

.team-avatar {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--white);
    font-size: 2.2rem;
    margin: 0 auto 16px;
}

.team-avatar.avatar-xl {
    width: 160px;
    height: 160px;
    font-size: 3.5rem;
}

.team-avatar-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
    border: 3px solid var(--white);
}

.team-avatar-img.avatar-xl {
    width: 180px;
    height: 180px;
    border: 4px solid var(--white);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.25);
}

.team-avatar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Wide team card for single member row */
.leadership-grid-centered {
    justify-content: center;
    max-width: 650px;
    margin: 0 auto;
    grid-template-columns: 1fr;
}

.team-card-wide {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 36px;
}

.team-card-wide .team-avatar-img {
    width: 140px;
    height: 140px;
}

.team-card-wide .team-info {
    text-align: center;
}

.team-card-wide .team-info p {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.featured-socials {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.featured-socials a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--text-light);
    transition: var(--transition);
}

.featured-socials a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.team-role-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
    color: var(--primary);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.featured-info h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 14px;
}

.featured-bio {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 12px;
}

.featured-highlights {
    display: flex;
    gap: 32px;
    margin-top: 24px;
}

.f-highlight {
    text-align: center;
}

.f-highlight strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.f-highlight span {
    font-size: 0.82rem;
    color: var(--text-light);
}

/* Leadership Cards */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.15);
}

.team-info h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.team-role {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.team-info p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.team-socials {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.team-socials a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--text-light);
    font-size: 0.85rem;
    transition: var(--transition);
}

.team-socials a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Core Team Grid */
.core-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card-compact {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-card-compact:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, 0.15);
}

.team-avatar-sm {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 auto 14px;
}

.team-card-compact h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.team-card-compact .team-role {
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.team-card-compact p {
    font-size: 0.84rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 14px;
}

/* ---------- Gallery Page ---------- */
.gallery-section {
    padding: 80px 0;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--gray-200);
    border-radius: 50px;
    background: var(--white);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

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

.gallery-item.hidden {
    display: none;
}

.gallery-img {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    aspect-ratio: 3 / 2;
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.2) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.gallery-img:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-content {
    color: var(--white);
    width: 100%;
}

.gallery-overlay-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.gallery-overlay-content p {
    font-size: 0.82rem;
    opacity: 0.8;
    margin-bottom: 8px;
}

.gallery-zoom {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.gallery-zoom:hover {
    background: var(--primary);
    transform: scale(1.1);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
}

.lightbox-caption {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-top: 16px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* ---------- Blog Page ---------- */
.blog-featured {
    padding: 80px 0 40px;
}

.featured-post {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

.featured-post-img {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 340px;
}

.featured-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.featured-post-content {
    padding: 36px 36px 36px 0;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 14px;
}

.blog-meta span {
    font-size: 0.82rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-meta i {
    color: var(--primary);
    font-size: 0.78rem;
}

.featured-post-content h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 14px;
}

.featured-post-content p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.blog-tags span {
    padding: 4px 12px;
    background: var(--gray-100);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text);
}

/* Blog Section Grid */
.blog-section {
    padding: 40px 0 80px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.15);
}

.blog-card-img {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-content h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.35;
    margin-bottom: 10px;
}

.blog-card-content p {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 14px;
    flex: 1;
}

.blog-card-content .blog-tags {
    margin-bottom: 16px;
}

.blog-card-content .service-link {
    margin-top: auto;
}

.blog-load-more {
    text-align: center;
    margin-top: 48px;
}

/* Newsletter */
.newsletter {
    padding: 0 0 80px;
}

.newsletter-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: var(--gradient);
    padding: 48px 50px;
    border-radius: var(--radius-lg);
    color: var(--white);
}

.newsletter-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.newsletter-content .highlight {
    color: var(--accent);
}

.newsletter-content p {
    font-size: 0.92rem;
    opacity: 0.85;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.newsletter-form input {
    padding: 14px 20px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 0.92rem;
    font-family: inherit;
    outline: none;
    min-width: 280px;
    transition: var(--transition);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form .btn-primary {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    white-space: nowrap;
}

.newsletter-form .btn-primary:hover {
    background: transparent;
    color: var(--white);
}

/* ---------- Animations ---------- */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.6rem;
    }

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

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

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

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

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

    .featured-post-content h2 {
        font-size: 1.4rem;
    }

    .newsletter-card {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        width: 100%;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 24px 24px;
        box-shadow: var(--shadow-xl);
        transition: right 0.35s ease;
        z-index: 1000;
        gap: 0;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-link {
        width: 100%;
        padding: 12px 16px;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 16px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

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

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

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

    .code-window {
        width: 100%;
        max-width: 380px;
    }

    .floating-card {
        display: none;
    }

    .about-grid,
    .why-us-grid,
    .contact-grid,
    .featured-leader-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .featured-leader-grid {
        text-align: center;
        padding: 28px 20px;
    }

    .featured-highlights {
        justify-content: center;
    }

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

    .leadership-grid,
    .core-grid {
        grid-template-columns: 1fr;
    }

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

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

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

    .featured-post {
        grid-template-columns: 1fr;
    }

    .featured-post-img {
        min-height: 220px;
    }

    .featured-post-content {
        padding: 24px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        min-width: unset;
        width: 100%;
    }

    .newsletter-card {
        padding: 32px 24px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .process-timeline {
        flex-direction: column;
    }

    .process-connector {
        width: 2px;
        height: 30px;
        margin-bottom: 0;
    }

    .modal-body {
        padding: 24px 18px;
    }

    .section-header h2,
    .about-content h2,
    .why-us-content h2,
    .cta-content h2,
    .contact-info h2 {
        font-size: 1.8rem;
    }

    .banner-content h1 {
        font-size: 2.2rem;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .form-card {
        padding: 28px 20px;
    }

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

    .about-features {
        grid-template-columns: 1fr;
    }
}

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

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}
