/* ===================================
   Platform45-Inspired Design System
   Modern, Clean, Professional
   =================================== */

:root {
    /* Modern Red & White Color Palette */
    --primary-red: #dc2626;
    --primary-red-dark: #b91c1c;
    --primary-red-light: #ef4444;
    --red-50: #fef2f2;
    --red-100: #fee2e2;
    --red-500: #ef4444;
    --red-600: #dc2626;
    --red-700: #b91c1c;
    --red-800: #991b1b;
    --red-900: #7f1d1d;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    
    /* Background Colors */
    --bg-white: #ffffff;
    --bg-gray: #f8fafc;
    --bg-red-light: #fef2f2;
    
    /* Text Colors */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --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);
    
    /* Transitions */
    --transition: all 0.15s ease;
    --transition-slow: all 0.3s ease;
}

/* ===================================
   Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    background: var(--slate-100);
    border: 1px solid var(--slate-200);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.text-accent {
    color: var(--primary-red);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--bg-white);
    border: 1px solid var(--primary-red);
}

.btn-primary:hover {
    background: var(--primary-red-dark);
    border-color: var(--primary-red-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--slate-200);
}

.btn-outline:hover {
    background: var(--slate-50);
    border-color: var(--slate-300);
}

.btn svg {
    transition: var(--transition);
}

.btn:hover svg {
    transform: translateX(2px);
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--slate-200);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}


.logo-image {
    height: 96px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-e {
    color: var(--primary-red);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-red);
}

.nav-cta {
    background: var(--primary-red) !important;
    color: var(--bg-white) !important;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--primary-red-dark) !important;
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 1.5rem;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ===================================
   Hero Section - Platform45 Style
   =================================== */
.mission-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(220, 38, 38, 0.1) 0%, 
        rgba(239, 68, 68, 0.05) 50%, 
        rgba(220, 38, 38, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mission-card:hover {
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) translateY(-10px) scale(1.02);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(220, 38, 38, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.mission-card:hover::before {
    opacity: 1;
}

.mission-card .card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.mission-card .mission-icon {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 10px 25px rgba(220, 38, 38, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateZ(20px);
    transition: all 0.3s ease;
}

.mission-card:hover .mission-icon {
    transform: translateZ(20px) scale(1.1) rotateY(15deg);
    box-shadow: 
        0 15px 35px rgba(220, 38, 38, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.mission-card .mission-icon svg {
    color: white;
    width: 28px;
    height: 28px;
}

.mission-card h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.5),
        0 1px 0 rgba(255, 255, 255, 0.1);
    letter-spacing: -0.025em;
    line-height: 1.2;
    font-family: var(--font-display);
    transform: translateZ(10px);
    transition: all 0.3s ease;
}

.mission-card:hover h3 {
    transform: translateZ(15px) translateY(-2px);
    text-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.6),
        0 2px 0 rgba(255, 255, 255, 0.2);
}

.mission-card .card-description {
    position: relative;
    z-index: 2;
}

.mission-card .card-description p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    text-align: justify;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

.mission-card .mission-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.mission-card .mission-highlights span {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.mission-card .mission-highlights span:hover {
    background: rgba(220, 38, 38, 0.3);
    border-color: rgba(220, 38, 38, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* ===================================
   Hero Section - Platform45 Style
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--bg-white);
    overflow: hidden;
    padding-top: 4rem;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
}

.hero-content {
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.badge-icon {
    font-size: 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.highlight {
    color: var(--primary-red);
    position: relative;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    align-items: center;
}

.hero-metrics {
    display: flex;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--slate-200);
}

.metric {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.metric-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.metric-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--slate-200);
    padding: 1.5rem;
    animation: float 3s ease-in-out infinite;
    cursor: pointer;
    transition: var(--transition-slow);
    overflow: hidden;
}

.floating-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-light));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.floating-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-red);
    animation-play-state: paused;
}

.floating-card:hover::after {
    opacity: 0.05;
}

.floating-card:active {
    transform: translateY(-2px) scale(1.02);
}

.card-1 {
    top: 20px;
    left: 20px;
    width: 280px;
    z-index: 3;
    animation-delay: 0s;
}

.card-2 {
    top: 120px;
    right: 40px;
    width: 200px;
    z-index: 2;
    animation-delay: 1s;
}

.card-3 {
    bottom: 40px;
    left: 60px;
    width: 160px;
    z-index: 1;
    animation-delay: 2s;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.card-dots {
    display: flex;
    gap: 0.25rem;
}

.card-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--slate-200);
}

.card-dots span:first-child {
    background: #ef4444;
}

.card-dots span:nth-child(2) {
    background: #f59e0b;
}

.card-dots span:nth-child(3) {
    background: #10b981;
}

.card-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.card-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.card-progress {
    height: 6px;
    background: var(--slate-100);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-red-dark));
    border-radius: 3px;
    animation: progressFill 2s ease 1s both;
}

.card-2 {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-icon {
    font-size: 2rem;
}

.card-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.card-text span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.card-chart {
    margin-bottom: 1rem;
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 4px;
    height: 40px;
}

.bar {
    width: 8px;
    background: linear-gradient(to top, var(--primary-red), var(--primary-red-light));
    border-radius: 2px;
    animation: barGrow 1s ease 1.5s both;
}

.card-3 span {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===================================
   Mission Section
   =================================== */
.mission-section {
    padding: 6rem 0;
    background: linear-gradient(rgba(0, 31, 63, 0.85), rgba(0, 31, 63, 0.85)), url('10.png.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(220, 38, 38, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(0, 31, 63, 0.12) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.mission-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.mission-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mission-text {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    font-style: italic;
}

@media (max-width: 768px) {
    .mission-section {
        padding: 4rem 0;
        background-attachment: scroll;
    }
    
    .mission-title {
        font-size: 2.2rem;
    }
    
    .mission-text {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
}

/* ===================================
   Statistics Section
   =================================== */
.statistics-section {
    padding: 4rem 0;
    background: var(--bg-white);
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: var(--bg-white);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--slate-200);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-red-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-red);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--bg-red-light);
    border-radius: 1rem;
    margin: 0 auto 1.5rem;
    color: var(--primary-red);
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    background: var(--primary-red);
    color: white;
    transform: scale(1.1);
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .statistics-section {
        padding: 3rem 0;
    }
    
    .statistics-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .statistics-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* ===================================
   Values Section - Round Cards
   =================================== */
.values {
    padding: 6rem 0;
    background: linear-gradient(rgba(0, 31, 63, 0.85), rgba(0, 31, 63, 0.85)), url('2.png.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.values::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(220, 38, 38, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(0, 31, 63, 0.12) 0%, transparent 50%),
        linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.02) 49%, rgba(255, 255, 255, 0.02) 51%, transparent 52%);
    background-size: 100% 100%, 100% 100%, 60px 60px;
    pointer-events: none;
    z-index: 1;
}

.values .container {
    position: relative;
    z-index: 2;
}

.values-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge.light {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    margin-bottom: 1rem;
}

.values-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.values-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.value-card {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.value-card:nth-child(2) {
    animation-delay: -2s;
}

.value-card:nth-child(3) {
    animation-delay: -4s;
}

.value-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 31, 63, 0.1), rgba(220, 38, 38, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.value-card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.2), 
                0 8px 32px rgba(220, 38, 38, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(220, 38, 38, 0.4);
    animation-play-state: paused;
}

.value-card:hover::after {
    opacity: 1;
}

.value-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #001f3f, #dc2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.value-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #001f3f, #dc2626);
    border-radius: 2px;
}

.value-card p {
    color: var(--text-primary);
    font-size: 0.92rem;
    line-height: 1.6;
    font-weight: 500;
    max-width: 160px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .values {
        padding: 4rem 0;
        background-attachment: scroll;
    }
    
    .values-header {
        margin-bottom: 3rem;
    }
    
    .values-title {
        font-size: 2.2rem;
    }
    
    .values-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .values-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .values {
        padding: 3rem 0;
    }
    
    .values-header {
        margin-bottom: 2.5rem;
    }
    
    .values-title {
        font-size: 1.8rem;
    }
    
    .values-subtitle {
        font-size: 1rem;
    }
    
    .value-card {
        width: 180px;
        height: 180px;
        padding: 1rem;
        animation: none;
    }
    
    .value-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .value-card h3::after {
        width: 30px;
        height: 1.5px;
        bottom: -6px;
    }
    
    .value-card p {
        font-size: 0.85rem;
        max-width: 140px;
    }
}

/* ===================================
   About Section - Platform45 Style
   =================================== */
.about-section {
    padding: 6rem 0;
    background: var(--bg-white);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.section-intro {
    text-align: center;
    margin-bottom: 4rem;
}

/* Center About description under header */
.about-section .section-intro .section-description {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}


.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 1rem;
    border: 1px solid var(--slate-200);
    transition: var(--transition-slow);
}

.about-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-red);
}

.about-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--bg-red-light);
    border-radius: 1rem;
    margin: 0 auto 1.5rem;
    color: var(--primary-red);
}

.about-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.about-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===================================
   Services Section - Platform45 Style
   =================================== */
.services-section {
    padding: 6rem 0;
    background: var(--bg-gray);
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background: var(--bg-white);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--slate-200);
    transition: var(--transition-slow);
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-red);
}

.service-card:active {
    transform: translateY(-4px) scale(1.01);
}

.service-card.featured {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: var(--bg-white);
    border-color: var(--primary-red);
}

.service-card.featured:hover {
    transform: translateY(-4px) scale(1.02);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--bg-red-light);
    border-radius: 0.75rem;
    color: var(--primary-red);
    flex-shrink: 0;
}

.service-icon.primary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--bg-white);
}

.service-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.service-card.featured .service-header h3 {
    color: var(--bg-white);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-card.featured p {
    color: rgba(255, 255, 255, 0.9);
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    background: var(--slate-100);
    color: var(--slate-600);
    padding: 0.375rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--slate-200);
}

.service-card.featured .feature-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--bg-white);
    border-color: rgba(255, 255, 255, 0.3);
}

.services-cta {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-white);
    border-radius: 1.5rem;
    border: 1px solid var(--slate-200);
}

.services-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(220, 38, 38, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(0, 31, 63, 0.12) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.services-cta .cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
}

.cta-content p {
    color: #000000;
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   Approach Section
   =================================== */
.approach {
    padding: 6rem 0;
    background: var(--bg-white);
}

.approach .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.approach .section-badge {
    margin-bottom: 1rem;
}

.approach .section-description {
    margin: 0 auto;
    text-align: center;
    max-width: 700px;
}

.approach .underline {
    display: none;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.approach-step {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-white);
    border-radius: 1rem;
    border: 1px solid var(--slate-200);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.approach-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-red-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.approach-step:hover::before {
    transform: scaleX(1);
}

.approach-step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-red);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--bg-red-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.approach-step:hover .step-number {
    background: var(--primary-red);
    color: var(--bg-white);
    transform: scale(1.1);
}

.approach-step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.approach-step p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .approach {
        padding: 4rem 0;
    }

    .approach-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ===================================
   Contact Section
   =================================== */

/* Laptop Container Styles */

.laptop-base {
    perspective: 1000px;
    position: relative;
}

.laptop-screen {
    width: 400px;
    height: 250px;
    background: #2a2a2a;
    border-radius: 8px 8px 0 0;
    padding: 8px;
    position: relative;
    transform: rotateX(-5deg);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.screen-bezel {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 4px;
    padding: 4px;
    position: relative;
}

.screen-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
    padding: 15px;
    overflow: hidden;
    position: relative;
}

.laptop-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 2px;
}

.laptop-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.laptop-slide.active {
    opacity: 1;
}

.laptop-slide.slide-1 {
    background-image: url('3.png');
}

.laptop-slide.slide-2 {
    background-image: url('logo.png.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #f8f9fa;
}

.laptop-slide.slide-3 {
    background-image: url('7.png');
    background-size: cover;
}

.contact-display {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 6px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info-item .contact-icon {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-item .contact-icon svg {
    stroke: #fff;
    width: 16px;
    height: 16px;
}

.contact-text {
    color: #fff;
    font-size: 0.75rem;
    line-height: 1.2;
}

.contact-text h4 {
    margin: 0 0 2px 0;
    font-weight: 600;
    font-size: 0.8rem;
}

.contact-text p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.7rem;
}

.laptop-keyboard {
    width: 450px;
    height: 30px;
    background: linear-gradient(135deg, #c0c0c0 0%, #a0a0a0 100%);
    border-radius: 0 0 12px 12px;
    position: relative;
    margin-top: -2px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.keyboard-section {
    width: 80%;
    height: 4px;
    background: #888;
    border-radius: 2px;
    margin-right: 15px;
}

.trackpad {
    width: 40px;
    height: 20px;
    background: #999;
    border-radius: 4px;
    border: 1px solid #777;
}
.contact {
    padding: 6rem 0;
    background: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
    min-height: 400px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: fit-content;
    width: 100%;
}

.laptop-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 1rem;
    max-width: 100%;
    margin: 0;
    height: fit-content;
}


.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-item svg {
    width: 16px;
    height: 16px;
    color: var(--primary-red);
    flex-shrink: 0;
    margin-top: 0.25rem;
    stroke-width: 2.5;
}

.info-item h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 1rem;
}

.info-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.info-item a {
    color: var(--primary-red);
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--slate-300);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        min-height: auto;
    }
    
    .laptop-container {
        padding: 1rem 0;
    }
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--slate-900);
    color: var(--bg-white);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer .logo {
    color: var(--bg-white);
}

.footer .logo-image {
    filter: brightness(0) invert(1) contrast(1.1);
    height: 2rem;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.footer .logo-e {
    color: var(--primary-red-light);
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes progressFill {
    from { width: 0; }
    to { width: 90%; }
}

@keyframes barGrow {
    from { height: 0; }
    to { height: var(--height); }
}

/* Cookie settings removed */
.cookie-settings-btn {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: var(--primary-red);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    font-weight: 500;
}

.cookie-settings-btn:hover {
    background: rgba(220, 38, 38, 0.2);
    border-color: var(--primary-red);
    transform: translateY(-1px);
}

/* Cookie Categories Styling */
.cookie-categories {
    margin: 1.5rem 0;
    max-height: 400px;
    overflow-y: auto;
}

.cookie-category {
    background: rgba(248, 250, 252, 0.8);
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.cookie-category:hover {
    background: rgba(248, 250, 252, 1);
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.category-header h4 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

.cookie-category p {
    color: var(--text-secondary);
    margin: 0 0 1rem 0;
    line-height: 1.5;
    font-size: 0.9rem;
}

.category-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.detail-item {
    background: rgba(220, 38, 38, 0.1);
    color: var(--primary-red);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

/* Toggle Switch Styling */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-red);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

input:disabled + .slider {
    background-color: #4CAF50;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Close button for preferences modal */
.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(220, 38, 38, 0.1);
    color: var(--primary-red);
    transform: rotate(90deg);
}

/* Cookie actions in preferences modal */
#cookie-preferences-modal .cookie-actions {
    gap: 1rem;
    flex-direction: row;
    justify-content: center;
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

#cookie-preferences-modal .btn-secondary {
    background: var(--bg-gray);
    color: var(--text-primary);
    border: 1px solid #d1d5db;
}

#cookie-preferences-modal .btn-secondary:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
}

/* ===================================
   Toast Notifications and Card Animations
   =================================== */
@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOutDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

.toast {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toast:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Enhanced Card States */
.service-card.featured {
    background: linear-gradient(135deg, var(--primary-red), #b91c1c) !important;
    color: white !important;
    border-color: var(--primary-red) !important;
}

.service-card.featured h3,
.service-card.featured p {
    color: white !important;
}

.position-card {
    cursor: pointer;
    transition: var(--transition-slow);
}

.position-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.about-item {
    cursor: pointer;
    transition: var(--transition-slow);
}

.about-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-image-container {
        height: 300px;
    }
    
    .hero-metrics {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .floating-card {
        transform: scale(0.8);
    }
    
    .card-1 {
        top: 10px;
        left: 10px;
        width: 200px;
    }
    
    .card-2 {
        top: 80px;
        right: 20px;
        width: 150px;
    }
    
    .card-3 {
        bottom: 20px;
        left: 30px;
        width: 120px;
    }
}

/* Cookie consent modal styles removed */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-modal.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.cookie-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.cookie-modal-content {
    position: relative;
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.cookie-modal.hidden .cookie-modal-content {
    transform: scale(0.95);
}

.cookie-header {
    padding: 2rem 2rem 0;
    text-align: center;
}

.cookie-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cookie-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0;
}

.cookie-body {
    padding: 1rem 2rem;
}

.cookie-body p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cookie-details {
    background: var(--slate-50);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--slate-200);
}

.cookie-details p {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.cookie-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cookie-details li {
    padding: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.cookie-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

.cookie-actions {
    padding: 0 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cookie-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    z-index: 10002;
}

.cookie-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cookie-actions .btn:active {
    transform: translateY(0);
}

.cookie-requirement {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 1rem 0 0;
    font-style: italic;
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--slate-300);
}

.btn-secondary:hover {
    background: var(--slate-100);
    border-color: var(--slate-400);
}

/* ===================================
   Job Application Modal
   =================================== */
.job-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.job-modal.show {
    opacity: 1;
    visibility: visible;
}

.job-modal-content {
    background: white;
    border-radius: 1rem;
    max-width: 600px;
    width: 90vw;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.job-modal.show .job-modal-content {
    transform: scale(1) translateY(0);
}

.job-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--slate-200);
}

.job-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.job-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: var(--transition);
}

.job-modal-close:hover {
    background: var(--slate-100);
    color: var(--text-primary);
}

.job-application-form {
    padding: 1rem 2rem 2rem;
}

.job-application-form .form-group {
    margin-bottom: 1.5rem;
}

.job-application-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.job-application-form input,
.job-application-form select,
.job-application-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--slate-300);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.job-application-form input:focus,
.job-application-form select:focus,
.job-application-form textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.job-application-form input[readonly] {
    background: var(--slate-50);
    color: var(--text-secondary);
}

.job-application-form input[type="file"] {
    padding: 0.5rem;
}

.job-application-form small {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--slate-200);
}

.job-cancel {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--slate-300);
}

.job-cancel:hover {
    background: var(--slate-100);
    border-color: var(--slate-400);
}

@media (max-width: 768px) {
    .job-modal-content {
        width: 95vw;
        margin: 1rem;
    }
    
    .job-modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .job-application-form {
        padding: 1rem 1.5rem 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}

/* Responsive cookie modal */
@media (max-width: 640px) {
    .cookie-modal-content {
        margin: 1rem;
        max-width: none;
        width: calc(100% - 2rem);
    }
    
    .cookie-header {
        padding: 1.5rem 1.5rem 0;
    }
    
    .cookie-body {
        padding: 1rem 1.5rem;
    }
    
    .cookie-actions {
        padding: 0 1.5rem 1.5rem;
    }
}

/* Prevent background scrolling and hide content when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Hide main content until cookies are accepted */
body.cookie-consent-pending main,
body.cookie-consent-pending .navbar,
body.cookie-consent-pending .footer,
body.cookie-consent-pending .back-to-top {
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Show content when cookies accepted */
body:not(.cookie-consent-pending) main,
body:not(.cookie-consent-pending) .navbar,
body:not(.cookie-consent-pending) .footer,
body:not(.cookie-consent-pending) .back-to-top {
    visibility: visible !important;
    pointer-events: all !important;
    opacity: 1;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Ensure cookie modal is always visible and on top */
body.cookie-consent-pending .cookie-modal {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: all !important;
}

/* ===================================
   Utility Classes
   =================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center {
    text-align: center;
}

/* ===================================
   Loading Screen & Accessibility
   =================================== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--slate-200);
    border-top: 3px solid var(--primary-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOutDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-red);
    color: var(--bg-white);
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-slow);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-2px);
    background: var(--primary-red-dark);
}

/* ===================================
   Careers Section - CodeHesion Style
   =================================== */
.careers-section {
    padding: 6rem 0;
    background: var(--bg-white);
}

.careers-header {
    text-align: center;
    margin-bottom: 4rem;
}

.centered-quote {
    text-align: center !important;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 2rem auto !important;
    line-height: 1.6;
    font-weight: 500;
    padding: 0 2rem;
}

.careers-content {
    max-width: 1200px;
    margin: 0 auto;
}

.careers-intro {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.intro-text h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.intro-text p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.benefits-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--slate-50);
    border-radius: 0.75rem;
    border: 1px solid var(--slate-200);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-red);
}

.benefit-icon {
    font-size: 1.5rem;
}

.benefit-item span {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* Team Gallery */
.team-gallery {
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    height: 400px;
}

.gallery-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-slow);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.gallery-item.main-image {
    grid-row: 1 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-slow);
    /* Enhanced image clarity */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    filter: contrast(1.1) brightness(1.05);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.gallery-item:hover .image-overlay {
    opacity: 1;
    visibility: visible;
}

.image-overlay span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Open Positions */
.open-positions {
    margin-bottom: 4rem;
}

.open-positions h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.position-card {
    background: var(--bg-white);
    border: 1px solid var(--slate-200);
    border-radius: 1rem;
    padding: 2rem;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.position-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-red-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.position-card:hover::before {
    transform: scaleX(1);
}

.position-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-red);
}

.position-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.position-header h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

.position-type {
    background: var(--red-100);
    color: var(--primary-red);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.position-details p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.position-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.position-meta span {
    font-size: 0.875rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.position-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.skill-tag {
    background: var(--slate-100);
    color: var(--text-primary);
    padding: 0.375rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--slate-200);
}

.apply-btn {
    width: 100%;
    background: var(--primary-red);
    color: var(--bg-white);
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.apply-btn:hover {
    background: var(--primary-red-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Careers CTA */
.careers-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--slate-50);
    border-radius: 1.5rem;
    border: 1px solid var(--slate-200);
}

.careers-cta .cta-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.careers-cta .cta-content p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .careers-intro {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 200px);
        height: auto;
    }
    
    .gallery-item.main-image {
        grid-row: 1 / 2;
    }
    
    .benefits-list {
        grid-template-columns: 1fr;
    }
    
    .positions-grid {
        grid-template-columns: 1fr;
    }
    
    .position-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .position-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ===================================
   Technical Expertise Section
   =================================== */
.technical-section {
    padding: 6rem 0;
    background: var(--slate-50);
    position: relative;
    overflow: hidden;
}

.technical-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('Tech1.png.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 1;
    animation: rotateBackgrounds 12s infinite;
}

@keyframes rotateBackgrounds {
    0%, 33% {
        background-image: url('Tech1.png.jpg');
        opacity: 0.15;
    }
    33.33%, 66.66% {
        background-image: url('tech2.png.jpg');
        opacity: 0.15;
    }
    66.67%, 100% {
        background-image: url('tech3.png.jpg');
        opacity: 0.15;
    }
}

.tech-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.tech-header .section-description {
    text-align: center !important;
    margin: 0 auto !important;
    max-width: 800px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

@media (max-width: 1200px) {
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.tech-category {
    background: var(--bg-white);
    border-radius: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--slate-200);
    transition: var(--transition-slow);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 60px;
    cursor: pointer;
}

.tech-category:not(.expandable) {
    cursor: default;
}

.tech-category.clicked {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

.tech-category.expandable:hover .tech-icon {
    transform: scale(1.1) rotate(5deg);
}

.tech-category:not(.expandable):hover .tech-icon {
    transform: scale(1.1);
}

.tech-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-red-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.tech-category:hover::before {
    transform: scaleX(1);
}

.tech-category:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-red);
}

.tech-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--bg-red-light);
    border-radius: 1rem;
    margin: 0 auto 1.5rem;
    color: var(--primary-red);
    transition: var(--transition);
}

.tech-category:hover .tech-icon {
    transform: scale(1.1);
    background: var(--primary-red);
    color: var(--bg-white);
}

.tech-category h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.tech-tag {
    background: var(--slate-100);
    color: var(--text-primary);
    padding: 0.25rem 0.5rem;
    border-radius: 0.75rem;
    font-size: 0.65rem;
    font-weight: 500;
    border: 1px solid var(--slate-200);
    transition: var(--transition);
}

.tech-category:hover .tech-tag {
    background: var(--slate-200);
    border-color: var(--primary-red);
}

/* Expandable Tech Category */
.tech-category.expandable {
    cursor: pointer;
    min-height: 300px;
}

.tech-definition {
    text-align: left;
    margin-top: 0.5rem;
}

.definition-text {
    color: var(--text-secondary);
    line-height: 1.4;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

/* Apply original Cloud Platform font styling to all tech expertise descriptions */
.tech-category .tech-definition p,
.tech-category .cloud-description p,
.tech-category .tech-list + p,
.tech-category h3 + p,
.tech-category h3 + div p {
    color: var(--text-secondary);
    line-height: 1.4;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

.tech-details {
    text-align: left;
    margin-top: 0.5rem;
    transition: var(--transition-slow);
}

.tech-details.hidden {
    display: none;
}

.tech-details h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-align: center;
}

.tech-details .tech-list {
    justify-content: flex-start;
    text-align: left;
}

.expand-btn,
.collapse-btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--primary-red);
    color: var(--bg-white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    margin: 0 auto;
    justify-self: center;
}

.expand-btn:hover,
.collapse-btn:hover {
    background: var(--primary-red-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.expand-btn svg,
.collapse-btn svg {
    transition: var(--transition);
}

.expand-btn:hover svg,
.collapse-btn:hover svg {
    transform: translateY(1px);
}

/* Cloud Description Only Card */
.cloud-description {
    text-align: left;
    margin-top: 1rem;
}

.cloud-description .definition-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Responsive Design for Tech Grid */
@media (max-width: 768px) {
    .tech-grid {
        gap: 0.75rem;
    }
    
    .tech-category {
        padding: 0.75rem;
        min-height: 50px;
    }
    
    .tech-category h3 {
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
    }
    
    .definition-text {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }
}

@media (min-width: 640px) {
  .values-grid { gap: 2.5rem; }
  .value-card { position: relative; }
  .value-card:not(:last-child)::after {
    content: "\2192"; /* → */
    position: absolute;
    right: -1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--slate-300);
    font-size: 1.5rem;
    line-height: 1;
    pointer-events: none;
  }
}

/* Remove old styles that might conflict */
