/* ========================================
   PEGAS WEBSITE - PROFESSIONAL LINKEDIN-STYLE DESIGN
   Clean, Minimal, and Professional UI
   ======================================== */

:root {
    /* LinkedIn-Inspired Color Palette */
    --primary-color: #0a66c2;
    --primary-dark: #004182;
    --primary-light: #378fe9;
    
    /* Neutral Professional Colors */
    --text-primary: #000000;
    --text-secondary: #666666;
    --text-muted: #999999;
    --bg-primary: #ffffff;
    --bg-secondary: #f3f2ef;
    --bg-tertiary: #f8f9fa;
    --border-color: #e0e0e0;
    
    /* Layout */
    --section-padding: 60px 0;
    --container-padding: 0 24px;
    --border-radius: 8px;
    
    /* Shadows - Minimal */
    --shadow-sm: 0 0 0 1px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.04);
    
    /* Typography */
    --font-primary: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Transitions */
    --transition: all 0.15s ease;
}

body.dark-theme {
    --primary-color: #70b5f9;
    --bg-primary: #1b1f23;
    --bg-secondary: #282e38;
    --bg-tertiary: #313843;
    --text-primary: #ffffff;
    --text-secondary: #b4b9c0;
    --text-muted: #7c8591;
    --border-color: #38404d;
}

/* ========== GLOBAL STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Remove all animations */
.particles-container,
.liquid-bg,
.liquid-shape,
.liquid-morph,
.liquid-blob,
.liquid-ripple,
.floating-elements,
.floating-element,
.icon-liquid-bg,
.liquid-orbit,
.liquid-arrow {
    display: none !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: 48px;
    font-weight: 400;
    color: var(--text-primary);
}

h2 {
    font-size: 36px;
    font-weight: 600;
}

h3 {
    font-size: 24px;
    font-weight: 600;
}

h4 {
    font-size: 20px;
    font-weight: 600;
}

p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
}

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

a:hover {
    color: var(--primary-dark);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== PRELOADER ========== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.3s ease;
}

.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.preloader-content {
    text-align: center;
}

.professional-loader {
    width: 40px;
    height: 40px;
    margin: 0 auto 20px;
}

.loader-ring {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.preloader-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.preloader-subtext {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* ========== HEADER & NAVIGATION ========== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-primary);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.navbar {
    background: var(--bg-primary);
    padding: 0;
    margin: 0;
    border-radius: 0;
    border: none;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 52px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 80px;
    height: 48px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-superscript {
    font-size: 20px;
    vertical-align: super;
    font-weight: 400;
    color: var(--text-secondary);
    margin-left: 3px;
}

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

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 12px;
    color: var(--text-secondary);
    font-size: 14px;
    transition: var(--transition);
    border-radius: 4px;
}

.nav-link:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.nav-jobs-btn-container {
    display: flex;
    align-items: center;
    margin-left: 20px;
    list-style: none;
}

.nav-jobs-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.nav-jobs-btn:hover {
    background: var(--primary-dark);
}

.nav-actions {
    display: flex;
    gap: 12px;
}

.cta-nav-btn {
    padding: 8px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cta-nav-btn:hover {
    background: var(--primary-dark);
}

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

.hamburger span {
    width: 24px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.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(7px, -6px);
}

/* ========== HERO SECTION ========== */
.hero {
    padding-top: 52px;
    background: var(--bg-primary);
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-bg {
    display: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 48px 24px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-tertiary);
    border-radius: 16px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 16px;
}

.title-line {
    display: block;
}

.gradient-text {
    color: var(--primary-color);
    font-weight: 600;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--text-secondary);
}

.hero-visual {
    position: relative;
}

.floating-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.floating-card {
    background: var(--bg-primary);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.floating-card:hover {
    box-shadow: var(--shadow-md);
}

/* IT Solutions Card Background */
.floating-card.card-1 {
    background-image: linear-gradient(rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.15)), 
                      url('https://skodtectechnology.com/wp-content/uploads/2020/10/IT-Solutions-Company.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

body.dark-theme .floating-card.card-1 {
    background-image: linear-gradient(rgba(27, 31, 35, 0.15), rgba(27, 31, 35, 0.15)), 
                      url('https://skodtectechnology.com/wp-content/uploads/2020/10/IT-Solutions-Company.jpg');
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 12px;
}

.floating-card h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.floating-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.floating-card.card-1 p {
    color: #ff6600;
    font-weight: 600;
}

/* Manufacturing Card Background */
.floating-card.card-2 {
    background-image: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)), 
                      url('https://static.vecteezy.com/system/resources/previews/055/431/575/large_2x/bottle-filling-machine-operates-in-a-clean-beverage-production-facility-during-daylight-hours-photo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

body.dark-theme .floating-card.card-2 {
    background-image: linear-gradient(rgba(27, 31, 35, 0.4), rgba(27, 31, 35, 0.4)), 
                      url('https://static.vecteezy.com/system/resources/previews/055/431/575/large_2x/bottle-filling-machine-operates-in-a-clean-beverage-production-facility-during-daylight-hours-photo.jpg');
}

.floating-card.card-2 p {
    color: #ff6600;
    font-weight: 600;
}

/* Distribution Card Background */
.floating-card.card-3 {
    background-image: linear-gradient(rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.35)), 
                      url('https://aios.horisontgruppen.dk/images/w2560/723a3460-6bd0-4886-9f3d-644aa40100a0.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

body.dark-theme .floating-card.card-3 {
    background-image: linear-gradient(rgba(27, 31, 35, 0.35), rgba(27, 31, 35, 0.35)), 
                      url('https://aios.horisontgruppen.dk/images/w2560/723a3460-6bd0-4886-9f3d-644aa40100a0.JPG');
}

.floating-card.card-3 p {
    color: #ff6600;
    font-weight: 600;
}

.scroll-indicator {
    display: none;
}

/* ========== STATS SECTION ========== */
.stats-section {
    background: var(--bg-primary);
    padding: 40px 0;
    box-shadow: var(--shadow-sm);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 36px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ========== SECTION STYLES ========== */
section {
    padding: var(--section-padding);
}

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

.section-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-tertiary);
    border-radius: 16px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 500;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Section Divider */
.section-divider {
    max-width: 1400px;
    margin: 0 auto;
    height: 1px;
    background: var(--border-color);
}

/* ========== ABOUT SECTION ========== */
.about-section {
    background: var(--bg-secondary);
}

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

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 16px;
    background: var(--bg-primary);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.feature-item:hover {
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 24px;
}

.feature-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.about-visual {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    padding: 48px;
    box-shadow: var(--shadow-card);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-container {
    text-align: center;
    color: var(--text-muted);
}

/* ========== DIVISIONS SECTION ========== */
.divisions-section {
    background: var(--bg-secondary);
}

.division-block {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    padding: 48px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.division-block:hover {
    box-shadow: var(--shadow-md);
}

/* Collapsed State */
.division-block.collapsed {
    padding: 32px;
}

.division-block.collapsed .division-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    transition: all 0.4s ease;
}

.division-block.collapsed .division-header {
    margin-bottom: 0;
}

/* Expanded State */
.division-block:not(.collapsed) .division-details {
    max-height: 3000px;
    opacity: 1;
    margin-top: 32px;
    transition: all 0.5s ease;
}

.division-block:not(.collapsed) {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.12);
}

/* IT Division Background Image */
.division-it {
    background-image: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), 
                      url('https://skodtectechnology.com/wp-content/uploads/2020/10/IT-Solutions-Company.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

body.dark-theme .division-it {
    background-image: linear-gradient(rgba(27, 31, 35, 0.92), rgba(27, 31, 35, 0.92)), 
                      url('https://skodtectechnology.com/wp-content/uploads/2020/10/IT-Solutions-Company.jpg');
}

.division-bg {
    display: none;
}

.division-header {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 32px;
    position: relative;
    transition: margin-bottom 0.3s ease;
}

.division-expand-icon {
    margin-left: auto;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 18px;
    transition: transform 0.3s ease;
}

.division-block:not(.collapsed) .division-expand-icon {
    transform: rotate(180deg);
}

.division-details {
    transition: all 0.4s ease;
}

.division-icon-large {
    width: 80px;
    height: 80px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--primary-color);
}

.division-badge {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.division-title {
    font-size: 28px;
    margin-bottom: 4px;
}

.division-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

.division-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
}

.division-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.feature-card {
    background: var(--bg-tertiary);
    padding: 24px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature-card:hover {
    background: var(--bg-secondary);
}

.feature-icon-wrapper {
    width: 40px;
    height: 40px;
    background: var(--bg-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.division-stats {
    display: flex;
    gap: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

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

.stat-mini .stat-number {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.stat-mini .stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* App Download Section */
.app-download-section {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.app-download-header {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 20px;
}

.app-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 24px;
}

.app-info h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.app-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.btn-download-app {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 32px;
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-align: center;
}

.btn-download-app:hover {
    background: var(--primary-dark);
}

.btn-download-app i {
    font-size: 24px;
}

.btn-download-app span {
    font-size: 16px;
    font-weight: 600;
}

.btn-download-app small {
    font-size: 12px;
    opacity: 0.9;
}

/* Division Integration */
.division-integration {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    padding: 48px;
    margin-top: 32px;
    box-shadow: var(--shadow-card);
    text-align: center;
}

.integration-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--primary-color);
    margin: 0 auto 24px;
}

.integration-content h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.integration-content p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 32px;
}

.integration-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.flow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius);
}

.flow-item i {
    font-size: 24px;
    color: var(--primary-color);
}

.flow-item span {
    font-size: 14px;
    font-weight: 500;
}

.flow-arrow {
    font-size: 20px;
    color: var(--text-muted);
}

.flow-arrow::after {
    content: '→';
}

/* ========== IT SOLUTIONS SECTION ========== */
.it-solutions-container {
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.it-solutions-container .card-header-main {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.it-solutions-container .card-text {
    flex: 1;
}

.it-solutions-container .card-text h4,
.it-solutions-container .card-text p {
    margin: 0;
}

.expand-indicator {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.expand-indicator i {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.it-solutions-container.expanded .expand-indicator i {
    transform: rotate(180deg);
}

.it-solutions-container:hover .expand-indicator {
    background: var(--primary-color);
}

.it-solutions-container:hover .expand-indicator i {
    color: white;
}

/* Expandable Content */
.it-apps-expandable {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.4s ease,
                margin-top 0.4s ease;
    margin-top: 0;
}

.it-solutions-container.expanded .it-apps-expandable {
    max-height: 2000px;
    opacity: 1;
    margin-top: 24px;
}

.expandable-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
}

.expandable-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.expandable-header p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.it-apps-grid-compact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Expanded State */
.it-solutions-container.expanded {
    grid-column: 1 / -1;
    padding: 32px;
    background: var(--bg-primary);
    box-shadow: 0 12px 40px rgba(10, 102, 194, 0.15);
    border: 2px solid var(--primary-color);
}

/* ========== MANUFACTURING SECTION ========== */
.manufacturing-container {
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.manufacturing-container .card-header-main {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.manufacturing-container .card-text {
    flex: 1;
}

.manufacturing-container .card-text h4,
.manufacturing-container .card-text p {
    margin: 0;
}

.manufacturing-container.expanded .expand-indicator i {
    transform: rotate(180deg);
}

.manufacturing-container:hover .expand-indicator {
    background: var(--primary-color);
}

.manufacturing-container:hover .expand-indicator i {
    color: white;
}

.manufacturing-expandable {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.4s ease,
                margin-top 0.4s ease;
    margin-top: 0;
}

.manufacturing-container.expanded .manufacturing-expandable {
    max-height: 2000px;
    opacity: 1;
    margin-top: 24px;
}

.manufacturing-container.expanded {
    grid-column: 1 / -1;
    padding: 32px;
    background: var(--bg-primary);
    box-shadow: 0 12px 40px rgba(10, 102, 194, 0.15);
    border: 2px solid var(--primary-color);
}

.manufacturing-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    justify-items: center;
}

.manufacturing-card {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.manufacturing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(10, 102, 194, 0.15);
    border-color: var(--primary-color);
}

.product-image-wrapper {
    margin-bottom: 20px;
}

.product-image {
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
    border-radius: 20px;
    border: 3px solid var(--primary-color);
    display: block;
    background: linear-gradient(135deg, rgba(10, 102, 194, 0.05), rgba(55, 143, 233, 0.05));
    padding: 20px;
    margin: 0 auto;
    cursor: zoom-in;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(10, 102, 194, 0.4),
                0 0 40px rgba(55, 143, 233, 0.3),
                inset 0 0 20px rgba(10, 102, 194, 0.1);
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(10, 102, 194, 0.4),
                    0 0 40px rgba(55, 143, 233, 0.3),
                    inset 0 0 20px rgba(10, 102, 194, 0.1);
    }
    50% {
        box-shadow: 0 0 30px rgba(10, 102, 194, 0.6),
                    0 0 60px rgba(55, 143, 233, 0.5),
                    inset 0 0 30px rgba(10, 102, 194, 0.2);
    }
}

/* Coming Soon Badge */
.coming-soon-badge {
    position: relative;
    width: 100%;
    aspect-ratio: 16/12;
    background: linear-gradient(135deg, rgba(10, 102, 194, 0.2), rgba(55, 143, 233, 0.25));
    border-radius: 20px;
    border: 3px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(10, 102, 194, 0.6),
                0 0 60px rgba(55, 143, 233, 0.5),
                inset 0 0 30px rgba(10, 102, 194, 0.3);
    animation: liquidGlow 3s ease-in-out infinite;
}

.coming-soon-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(10, 102, 194, 0.3) 0%, transparent 70%);
    animation: liquidRotate 8s linear infinite;
}

.coming-soon-badge::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(10, 102, 194, 0.4) 0%, transparent 60%);
    animation: liquidWave 4s ease-in-out infinite;
    border-radius: 20px;
}

.coming-soon-icon {
    font-size: 48px;
    color: var(--primary-color);
    z-index: 2;
    animation: liquidFloat 3s ease-in-out infinite, iconGlow 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(10, 102, 194, 0.8));
}

.coming-soon-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    z-index: 2;
}

.soon-label {
    font-size: 18px;
    color: var(--text-primary);
    animation: liquidPulse 2s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(10, 102, 194, 0.6);
}

.soon-highlight {
    font-size: 32px;
    background: linear-gradient(90deg, 
        var(--primary-color), 
        #378fe9, 
        #5fa3f5,
        #378fe9,
        var(--primary-color));
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: liquidShimmer 3s linear infinite, textGlow 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(10, 102, 194, 1));
    display: inline-flex;
    align-items: center;
}

.dots {
    display: inline-flex;
    margin-left: 2px;
}

.dot {
    animation: dotBlink 1.4s infinite;
    opacity: 0;
}

.dot:nth-child(1) {
    animation-delay: 0s;
}

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

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotBlink {
    0%, 20% {
        opacity: 0;
        transform: translateY(0);
    }
    40% {
        opacity: 1;
        transform: translateY(-3px);
    }
    60%, 100% {
        opacity: 0;
        transform: translateY(0);
    }
}

.coming-soon-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 70%);
    animation: shimmerFlow 3s ease-in-out infinite;
    border-radius: 20px;
}

@keyframes liquidGlow {
    0%, 100% {
        box-shadow: 0 0 30px rgba(10, 102, 194, 0.6),
                    0 0 60px rgba(55, 143, 233, 0.5),
                    inset 0 0 30px rgba(10, 102, 194, 0.3);
    }
    50% {
        box-shadow: 0 0 50px rgba(10, 102, 194, 0.9),
                    0 0 100px rgba(55, 143, 233, 0.8),
                    inset 0 0 50px rgba(10, 102, 194, 0.5);
    }
}

@keyframes liquidRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes liquidWave {
    0%, 100% {
        transform: translateY(0) scaleY(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) scaleY(1.1);
        opacity: 0.8;
    }
}

@keyframes liquidFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.05);
    }
}

@keyframes iconGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(10, 102, 194, 0.8));
    }
    50% {
        filter: drop-shadow(0 0 35px rgba(10, 102, 194, 1)) drop-shadow(0 0 50px rgba(55, 143, 233, 0.8));
    }
}

@keyframes liquidPulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
        text-shadow: 0 0 10px rgba(10, 102, 194, 0.6);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
        text-shadow: 0 0 20px rgba(10, 102, 194, 1);
    }
}

@keyframes liquidShimmer {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 300% center;
    }
}

@keyframes textGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(10, 102, 194, 1));
    }
    50% {
        filter: drop-shadow(0 0 35px rgba(10, 102, 194, 1)) drop-shadow(0 0 50px rgba(55, 143, 233, 1));
    }
}

@keyframes shimmerFlow {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
        opacity: 0.3;
    }
}

.product-image.zoomed {
    max-height: 400px;
    cursor: zoom-out;
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(10, 102, 194, 0.7),
                0 0 80px rgba(55, 143, 233, 0.6),
                inset 0 0 40px rgba(10, 102, 194, 0.3);
    animation: none;
}

.product-image-placeholder {
    aspect-ratio: 16/12;
    background: linear-gradient(135deg, rgba(10, 102, 194, 0.1), rgba(55, 143, 233, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border-color);
}

.product-image-placeholder i {
    font-size: 64px;
    color: var(--primary-color);
}

.product-content {
    margin-bottom: 20px;
}

.product-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.product-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-learn-more {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.product-learn-more:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
}

/* ========== DISTRIBUTION SECTION ========== */
.distribution-container {
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.distribution-container .card-header-main {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.distribution-container .card-text {
    flex: 1;
}

.distribution-container .card-text h4,
.distribution-container .card-text p {
    margin: 0;
}

.distribution-container.expanded .expand-indicator i {
    transform: rotate(180deg);
}

.distribution-container:hover .expand-indicator {
    background: var(--primary-color);
}

.distribution-container:hover .expand-indicator i {
    color: white;
}

.distribution-expandable {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.4s ease,
                margin-top 0.4s ease;
    margin-top: 0;
}

.distribution-container.expanded .distribution-expandable {
    max-height: 3000px;
    opacity: 1;
    margin-top: 24px;
}

.distribution-container.expanded {
    grid-column: 1 / -1;
    padding: 32px;
    background: var(--bg-primary);
    box-shadow: 0 12px 40px rgba(10, 102, 194, 0.15);
    border: 2px solid var(--primary-color);
}

.distribution-grid-compact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.distribution-card {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.distribution-icon-wrapper {
    text-align: center;
    margin-bottom: 24px;
}

.distribution-main-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 12px 40px rgba(10, 102, 194, 0.3);
}

.distribution-main-icon i {
    font-size: 36px;
    color: white;
}

.distribution-content {
    margin-bottom: 24px;
}

.distribution-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    text-align: center;
}

.distribution-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
    text-align: center;
}

.distribution-features-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.feature-section {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.feature-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-section h4 i {
    color: var(--primary-color);
}

.feature-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-section ul li {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.feature-section ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.distribution-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-box {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-box i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.distribution-learn-more {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
    max-width: 300px;
    margin: 0 auto;
}

.distribution-learn-more:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(10, 102, 194, 0.4);
}

/* Responsive for Manufacturing and Distribution */
@media (max-width: 968px) {
    .manufacturing-grid-compact {
        grid-template-columns: 1fr;
    }
    
    .distribution-features-detailed {
        grid-template-columns: 1fr;
    }
    
    .distribution-stats {
        grid-template-columns: 1fr;
    }
}

/* IT Solution Section Styles */
.it-solutions-section {
    background: var(--bg-primary);
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.it-apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 48px;
    position: relative;
    z-index: 1;
}

.it-app-card {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.it-app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(10, 102, 194, 0.15);
    border-color: var(--primary-color);
}

.it-app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.app-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.app-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    box-shadow: 0 8px 24px rgba(10, 102, 194, 0.25);
    transition: all 0.3s ease;
}

.it-app-card:hover .app-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(10, 102, 194, 0.35);
}

.app-badge {
    padding: 6px 14px;
    background: var(--bg-tertiary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-content {
    margin-bottom: 24px;
}

.app-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.app-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-secondary);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.feature-tag i {
    color: var(--primary-color);
    font-size: 10px;
}

.app-learn-more {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.app-learn-more::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.app-learn-more:hover::before {
    width: 300px;
    height: 300px;
}

.app-learn-more:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(10, 102, 194, 0.3);
}

.app-learn-more i {
    font-size: 14px;
}

.app-learn-more span,
.app-learn-more i {
    position: relative;
    z-index: 1;
}

/* Liquid Background Effect */
.liquid-app-bg {
    position: absolute;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(10, 102, 194, 0.05), rgba(55, 143, 233, 0.05));
    border-radius: 50%;
    bottom: -100px;
    right: -100px;
    filter: blur(40px);
    opacity: 0;
    transition: all 0.6s ease;
    pointer-events: none;
}

.it-app-card:hover .liquid-app-bg {
    opacity: 1;
    transform: translate(-20px, -20px);
}

/* ========== IT APP POPUP MODAL ========== */
.it-app-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.it-app-popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.popup-container {
    position: relative;
    max-width: 1000px;
    width: 90%;
    max-height: 90vh;
    background: var(--bg-primary);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.it-app-popup.active .popup-container {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--bg-secondary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: var(--text-primary);
    font-size: 18px;
}

.popup-close:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(90deg);
}

.popup-content {
    position: relative;
    z-index: 2;
    max-height: 90vh;
    overflow-y: auto;
    padding: 48px;
}

.popup-content::-webkit-scrollbar {
    width: 8px;
}

.popup-content::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

.popup-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.popup-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--border-color);
}

.popup-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 12px 40px rgba(10, 102, 194, 0.3);
}

.popup-icon i {
    font-size: 36px;
    color: white;
}

.popup-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.popup-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.popup-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.popup-video-section {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
}

.video-placeholder {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, rgba(10, 102, 194, 0.1), rgba(55, 143, 233, 0.1));
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 2px dashed var(--border-color);
}

.video-placeholder i {
    font-size: 64px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.video-placeholder p {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 600;
}

.btn-watch-video {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-watch-video:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(10, 102, 194, 0.4);
}

.popup-details h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    margin-top: 24px;
}

.popup-details h3:first-child {
    margin-top: 0;
}

.popup-features-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.popup-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.popup-features-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    flex-shrink: 0;
}

.popup-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.spec-item {
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.spec-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.spec-value {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 600;
}

.popup-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.gallery-item {
    aspect-ratio: 4/3;
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(10, 102, 194, 0.05), rgba(55, 143, 233, 0.05));
    border: 2px dashed var(--border-color);
}

.gallery-placeholder i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.gallery-placeholder p {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
}

.popup-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.popup-cta,
.popup-info {
    flex: 1;
    min-width: 200px;
    justify-content: center;
}

/* Liquid Effect for Popup */
.popup-liquid-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.popup-blob-1,
.popup-blob-2,
.popup-blob-3 {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    animation: floatBlob 20s infinite ease-in-out;
}

.popup-blob-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: -150px;
    right: -150px;
    animation-delay: 0s;
}

.popup-blob-2 {
    width: 250px;
    height: 250px;
    background: var(--primary-light);
    bottom: -125px;
    left: -125px;
    animation-delay: 7s;
}

.popup-blob-3 {
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

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

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

/* Responsive Design for IT Solutions */
@media (max-width: 968px) {
    .it-apps-grid {
        grid-template-columns: 1fr;
    }
    
    .popup-content {
        padding: 32px 24px;
    }
    
    .popup-features-list {
        grid-template-columns: 1fr;
    }
    
    .popup-specs {
        grid-template-columns: 1fr;
    }
    
    .popup-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .app-title {
        font-size: 20px;
    }
    
    .popup-title {
        font-size: 24px;
    }
    
    .popup-content {
        padding: 24px 16px;
    }
    
    .popup-actions {
        flex-direction: column;
    }
    
    .popup-cta,
    .popup-info {
        width: 100%;
    }
    
    .popup-gallery {
        grid-template-columns: 1fr;
    }
}

/* ========== SERVICES SECTION ========== */
.services-section {
    background: var(--bg-secondary);
}

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

.service-card {
    background: var(--bg-primary);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow-md);
}

.service-card.featured {
    border: 2px solid var(--primary-color);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 28px;
}

.service-number {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.service-card > p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 20px;
}

.service-features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
    position: relative;
    padding-left: 24px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.service-link:hover {
    color: var(--primary-dark);
}

/* ========== PORTFOLIO SECTION ========== */
.portfolio-section {
    background: var(--bg-secondary);
}

/* ========== TEAM SECTION ========== */
.team-section {
    background: var(--bg-secondary);
    padding: var(--section-padding);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.team-member {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    text-align: center;
}

.team-member:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 48px rgba(10, 102, 194, 0.2);
    border-color: var(--primary-color);
}

.member-liquid-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.member-liquid-bg .blob-1,
.member-liquid-bg .blob-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0;
    transition: all 0.6s ease;
}

.member-liquid-bg .blob-1 {
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    top: -100px;
    right: -100px;
}

.member-liquid-bg .blob-2 {
    width: 150px;
    height: 150px;
    background: var(--primary-light);
    bottom: -75px;
    left: -75px;
}

.team-member:hover .member-liquid-bg .blob-1,
.team-member:hover .member-liquid-bg .blob-2 {
    opacity: 0.1;
}

.team-member:hover .member-liquid-bg .blob-1 {
    transform: translate(-30px, 30px);
}

.team-member:hover .member-liquid-bg .blob-2 {
    transform: translate(30px, -30px);
}

.member-image-wrapper {
    position: relative;
    margin-bottom: 24px;
    z-index: 1;
}

.member-image {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 40px rgba(10, 102, 194, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.member-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover .member-image {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 16px 48px rgba(10, 102, 194, 0.4);
}

.team-member:hover .member-image::before {
    opacity: 1;
}

.member-image i {
    font-size: 48px;
    color: white;
    z-index: 1;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    border-radius: 50%;
    z-index: 1;
}

.member-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-secondary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid var(--border-color);
}

.member-info {
    position: relative;
    z-index: 1;
}

.member-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.member-role {
    font-size: 15px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 16px;
}

.member-bio {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 60px;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(10, 102, 194, 0.3);
}

.social-link i {
    font-size: 16px;
}

.social-link .fa-linkedin {
    color: #0a66c2;
}

/* Team Member Role Specific Colors */
.team-member[data-role="director"] .member-image {
    background: linear-gradient(135deg, #0a66c2, #378fe9);
}

.team-member[data-role="secretary"] .member-image {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
}

.team-member[data-role="developer"] .member-image {
    background: linear-gradient(135deg, #f857a6, #ff5858);
}

.team-member[data-role="employee"] .member-image {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

.team-member[data-role="founder"] .member-image {
    background: linear-gradient(135deg, #f7931a, #ffcc00);
}

.team-member[data-role="marketing"] .member-image {
    background: linear-gradient(135deg, #e91e63, #9c27b0);
}

/* Ensure all team member images are properly sized and fit */
.member-image {
    width: 180px;
    height: 180px;
    min-width: 180px;
    min-height: 180px;
    max-width: 180px;
    max-height: 180px;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    z-index: 1;
}

/* Responsive Design for Team Section */
@media (max-width: 968px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .member-name {
        font-size: 20px;
    }
    
    .member-bio {
        min-height: auto;
    }
}

/* Portfolio Section - Keep existing styles */

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

.filter-btn {
    padding: 8px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

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

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.portfolio-item {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
}

.portfolio-item:hover {
    box-shadow: var(--shadow-md);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    background: var(--bg-tertiary);
    position: relative;
    overflow: hidden;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 102, 194, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    padding: 24px;
    color: white;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    font-size: 20px;
    color: white;
    margin-bottom: 8px;
}

.portfolio-overlay p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
}

.portfolio-links {
    display: flex;
    gap: 12px;
}

.portfolio-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.portfolio-link:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    padding-right: 20px;
}

.contact-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
}

.contact-text h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.contact-text p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.contact-form-container {
    background: var(--bg-primary);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
    width: 100%;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px 14px 42px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--font-primary);
    transition: var(--transition);
    background: var(--bg-tertiary);
    color: var(--text-primary);
    box-sizing: border-box;
    display: block;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-primary);
    box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.1);
}

.form-group i {
    position: absolute;
    left: 14px;
    top: 16px;
    color: var(--text-muted);
    font-size: 14px;
    pointer-events: none;
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
    padding-top: 14px;
}

.form-group textarea + i {
    top: 16px;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.form-group select + i {
    left: auto;
    right: 14px;
    pointer-events: none;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-sizing: border-box;
}

.btn-submit:hover {
    background: var(--primary-dark);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--bg-primary);
    padding: 48px 0 24px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1128px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

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

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 52px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 52px);
        background: var(--bg-primary);
        flex-direction: column;
        padding: 24px;
        padding-bottom: 32px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
        display: flex;
    }
    
    .nav-link {
        width: 100%;
        padding: 12px;
        justify-content: flex-start;
    }
    
    .nav-actions {
        width: 100%;
        flex-direction: column;
        margin-top: 16px;
    }
    
    .cta-nav-btn {
        width: 100%;
        justify-content: center;
    }
    
    .nav-jobs-btn-container {
        display: flex;
        width: 100%;
        margin-top: auto;
        margin-left: 0;
        padding-top: 16px;
    }
    
    .nav-jobs-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 12px 24px;
        background: var(--primary-color);
        color: white;
        border: none;
        border-radius: 24px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: var(--transition);
    }
    
    .nav-jobs-btn:hover {
        background: var(--primary-dark);
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    h1, .hero-title {
        font-size: 36px;
    }
    
    h2, .section-title {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .division-header {
        flex-direction: column;
    }
    
    .division-features {
        grid-template-columns: 1fr;
    }
    
    .division-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .integration-flow {
        flex-direction: column;
    }
    
    .flow-arrow::after {
        content: '↓';
    }
}

/* Smooth page load */
body {
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

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

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    display: flex;
    opacity: 1;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    cursor: pointer;
}

.video-modal-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 900px;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-content video {
    width: 100%;
    display: block;
    border-radius: 12px;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    z-index: 3;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
    }

    .video-modal-close {
        top: -36px;
        font-size: 28px;
    }
}

/* Profile Photo Modal */
.profile-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.profile-modal.active {
    visibility: visible;
    opacity: 1;
}

.profile-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.profile-modal-content {
    position: relative;
    background: var(--bg-primary);
    border-radius: 24px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-modal.active .profile-modal-content {
    transform: scale(1);
    animation: modalPop 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes modalPop {
    0% {
        transform: scale(0.5) translateY(-100px);
        opacity: 0;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.profile-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    line-height: 1;
    padding: 0;
}

.profile-modal-close:hover {
    background: var(--primary-color);
    transform: rotate(90deg);
}

.profile-modal-image {
    width: 100%;
    padding: 40px 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-modal-image img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    box-shadow: 0 20px 60px rgba(10, 102, 194, 0.4);
    border: 5px solid var(--primary-color);
    animation: imageZoom 0.5s ease;
}

@keyframes imageZoom {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.profile-modal-info {
    padding: 20px 40px 40px;
    text-align: center;
}

.profile-modal-info h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 16px;
    font-weight: 600;
}

.profile-modal-info p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .profile-modal-content {
        width: 95%;
        max-width: none;
    }
    
    .profile-modal-image {
        padding: 30px 20px 15px;
    }
    
    .profile-modal-image img {
        width: 200px;
        height: 200px;
    }
    
    .profile-modal-info {
        padding: 15px 20px 30px;
    }
    
    .profile-modal-info h3 {
        font-size: 22px;
    }
    
    .profile-modal-info p {
        font-size: 14px;
    }
}
/* ========================================
   JOBS PORTAL - MODERN LIQUID UI
   ======================================== */

.jobs-portal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.jobs-portal.active {
    display: flex;
}

.jobs-portal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.jobs-portal-container {
    position: relative;
    width: 95%;
    max-width: 1400px;
    max-height: 90vh;
    background: var(--bg-primary);
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(100px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Jobs Portal Header */
.jobs-portal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 32px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.jobs-portal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.jobs-header-content {
    position: relative;
    z-index: 1;
}

.jobs-portal-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.jobs-portal-title i {
    font-size: 36px;
}

.jobs-portal-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.jobs-portal-close {
    position: relative;
    z-index: 2;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.jobs-portal-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

/* Jobs Portal Body */
.jobs-portal-body {
    flex: 1;
    overflow-y: auto;
    padding: 32px 40px;
    background: var(--bg-secondary);
}

/* Jobs Filter Bar */
.jobs-filter-bar {
    background: var(--bg-primary);
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-card);
}

.jobs-search-box {
    position: relative;
    margin-bottom: 20px;
}

.jobs-search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 18px;
}

.jobs-search-box input {
    width: 100%;
    padding: 16px 20px 16px 56px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: all 0.3s ease;
}

.jobs-search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(10, 102, 194, 0.1);
}

.jobs-filter-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.filter-btn:hover {
    border-color: var(--primary-color);
    background: rgba(10, 102, 194, 0.05);
    transform: translateY(-2px);
}

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

/* Jobs Grid */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 24px;
}

/* Job Card */
.job-card {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(10, 102, 194, 0.08), transparent);
    transition: left 0.6s ease;
}

.job-card:hover::before {
    left: 100%;
}

.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(10, 102, 194, 0.15);
    border-color: var(--primary-color);
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.job-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(10, 102, 194, 0.3);
}

.job-badge {
    padding: 8px 16px;
    background: rgba(10, 102, 194, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.job-department {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0 0 16px 0;
}

.job-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.job-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    padding: 16px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.job-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.job-detail-item i {
    width: 20px;
    color: var(--primary-color);
    font-size: 16px;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.job-tag {
    padding: 6px 14px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--border-color);
}

.job-apply-btn {
    width: 100%;
    padding: 14px 24px;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.job-apply-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 102, 194, 0.3);
}

.job-apply-btn i {
    transition: transform 0.3s ease;
}

.job-apply-btn:hover i {
    transform: translateX(4px);
}

/* Application Section */
.job-application-section {
    animation: fadeIn 0.4s ease;
}

.back-to-jobs-btn {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    padding: 12px 24px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.back-to-jobs-btn:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary-color);
    transform: translateX(-4px);
}

.application-form-container {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-card);
}

.application-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(10, 102, 194, 0.08) 0%, rgba(10, 102, 194, 0.02) 100%);
    border-radius: 12px;
    margin-bottom: 32px;
    border-left: 4px solid var(--primary-color);
}

.application-job-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 28px;
    flex-shrink: 0;
}

.application-job-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.application-job-info p {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
}

/* Application Form */
.job-application-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.form-section {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 32px;
}

.form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.form-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 24px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-section-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 2px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(10, 102, 194, 0.1);
}

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

/* File Upload */
.file-upload-wrapper {
    position: relative;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    background: var(--bg-tertiary);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.file-upload-label:hover {
    border-color: var(--primary-color);
    background: rgba(10, 102, 194, 0.05);
}

.file-upload-label i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.file-upload-label span {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.file-upload-info {
    font-size: 13px !important;
    color: var(--text-muted) !important;
    font-weight: 400 !important;
}

.file-upload-name {
    margin-top: 12px;
    padding: 12px 16px;
    background: rgba(10, 102, 194, 0.1);
    border-radius: 8px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    display: none;
}

.file-upload-name.active {
    display: block;
}

/* Checkbox */
.form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.form-checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.form-checkbox-group label {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    cursor: pointer;
}

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

.btn-cancel {
    padding: 14px 32px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.btn-cancel:hover {
    background: var(--bg-secondary);
    border-color: var(--text-muted);
}

.btn-submit {
    padding: 14px 32px;
    background: var(--primary-color);
    border: none;
    color: #ffffff;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 102, 194, 0.3);
}

/* Success Message */
.application-success {
    text-align: center;
    padding: 60px 40px;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 50px;
    box-shadow: 0 10px 30px rgba(39, 174, 96, 0.3);
    animation: successPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes successPop {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

.application-success h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

.application-success p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.success-note {
    margin-top: 24px;
    padding: 16px;
    background: rgba(10, 102, 194, 0.08);
    border-radius: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.success-note strong {
    color: var(--primary-color);
    font-weight: 600;
}

.application-success .btn-primary {
    margin-top: 32px;
    padding: 14px 32px;
    background: var(--primary-color);
    border: none;
    color: #ffffff;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.application-success .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 102, 194, 0.3);
}

/* Responsive Jobs Portal */
@media (max-width: 1200px) {
    .jobs-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    .jobs-portal-container {
        width: 100%;
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .jobs-portal-header {
        padding: 24px 20px;
    }

    .jobs-portal-title {
        font-size: 22px;
    }

    .jobs-portal-title i {
        font-size: 24px;
    }

    .jobs-portal-subtitle {
        font-size: 14px;
    }

    .jobs-portal-body {
        padding: 20px;
    }

    .jobs-filter-bar {
        padding: 16px;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .job-card {
        padding: 20px;
    }

    .application-form-container {
        padding: 24px 20px;
    }

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

    .form-actions {
        flex-direction: column-reverse;
    }

    .btn-cancel,
    .btn-submit {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .jobs-portal-close {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .job-title {
        font-size: 18px;
    }

    .job-icon {
        width: 52px;
        height: 52px;
        font-size: 24px;
    }

    .filter-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
}