/* ===== RESET AND BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    font-size: 1rem;
}

/* ===== TYPOGRAPHY SYSTEM ===== */
:root {
    /* Font sizes */
    --font-size-xs: 0.75rem;    /* 12px */
    --font-size-sm: 0.875rem;   /* 14px */
    --font-size-base: 1rem;     /* 16px */
    --font-size-lg: 1.125rem;   /* 18px */
    --font-size-xl: 1.25rem;    /* 20px */
    --font-size-2xl: 1.5rem;    /* 24px */
    --font-size-3xl: 1.875rem;  /* 30px */
    --font-size-4xl: 2.25rem;   /* 36px */
    --font-size-5xl: 3rem;      /* 48px */
    --font-size-6xl: 3.75rem;   /* 60px */
    
    /* Spacing */
    --space-xs: 0.25rem;   /* 4px */
    --space-sm: 0.5rem;    /* 8px */
    --space-md: 1rem;      /* 16px */
    --space-lg: 1.5rem;    /* 24px */
    --space-xl: 2rem;      /* 32px */
    --space-2xl: 3rem;     /* 48px */
    --space-3xl: 4rem;     /* 64px */
    
    /* Colors */
    --color-primary: #5d5ce4;
    --color-primary-dark: #4c4bcc;
    --color-secondary: #667eea;
    --color-accent: #764ba2;
    --color-text-primary: #ffffff;
    --color-text-secondary: rgba(255, 255, 255, 0.8);
    --color-text-muted: rgba(255, 255, 255, 0.6);
    --color-bg-primary: #1a1a1a;
    --color-bg-secondary: #2d2d2d;
    
    /* Breakpoints */
    --breakpoint-sm: 640px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
}

/* Services Page Body - Normal Scrolling */
body.services-page-body {
    overflow-y: auto;
    height: auto;
}

.main-website {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== LAYOUT SYSTEM ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    width: 100%;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1280px) {
    .container {
        max-width: 1024px;
    }
}

@media (max-width: 1024px) {
    .container {
        max-width: 768px;
        padding: 0 var(--space-lg);
    }
    
    .hero-title-centered {
        font-size: var(--font-size-4xl);
    }
    
    .hero-brain-section {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .nav-container {
        padding: 0 var(--space-md);
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-content-vertical {
        padding: var(--space-2xl) var(--space-md) 0;
        gap: var(--space-lg);
        min-height: calc(100vh - 60px);
    }
    
    .hero-title-centered {
        font-size: var(--font-size-3xl);
        margin-bottom: var(--space-lg);
    }
    
    .hero-brain-section {
        height: 400px;
        margin: var(--space-lg) 0;
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
        margin-bottom: var(--space-lg);
    }
    
    .btn {
        padding: var(--space-sm) var(--space-lg);
        font-size: var(--font-size-sm);
    }
}

@media (max-width: 480px) {
    .hero-title-centered {
        font-size: var(--font-size-2xl);
        line-height: 1.3;
    }
    
    .hero-brain-section {
        height: 300px;
    }
    
    .hero-content-vertical {
        padding: var(--space-xl) var(--space-sm) 0;
    }
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: var(--space-md) 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0079fd;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    margin-bottom: var(--space-md);
}

.logo-img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.nav-logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-2xl);
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-link {
    color: var(--color-text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--font-size-base);
    transition: all 0.3s ease;
    position: relative;
    padding: var(--space-sm) var(--space-md);
    border-radius: 6px;
}

.nav-link:hover {
    color: var(--color-secondary);
    background: rgba(102, 126, 234, 0.1);
}

.nav-link.active {
    color: var(--color-secondary);
    background: rgba(102, 126, 234, 0.15);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: linear-gradient(90deg, #0079fd, #5d5ce4, #ad52dc);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #00cdfd;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a1a3a 50%, #1a2a4a 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    padding-top: 120px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.8);
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-content-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    justify-content: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-xl) 0;
    z-index: 2;
    text-align: center;
    gap: var(--space-xl);
    min-height: calc(100vh - 80px);
}

/* ===== HERO SECTION ===== */

.hero-title-centered {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-primary);
    margin: 0;
    text-align: center;
    margin-bottom: var(--space-xl);
}

.hero-brain-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
    width: 100%;
    position: relative;
    flex-grow: 1;
    margin: var(--space-2xl) 0;
}

.hero-brain-section canvas {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

.brain-3d-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea, #764ba2, #5d5ce4, #ad52dc, #fd2dc9, #0079fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 400% 400%;
    animation: gradientShift 10s ease-in-out infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    line-height: 1.6;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 0;
}

.btn {
    display: inline-block;
    padding: var(--space-md) var(--space-2xl);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-base);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.025em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    color: var(--color-text-primary);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.btn-secondary {
    background: transparent;
    color: #0079fd;
    border: 2px solid #0079fd;
}

.btn-secondary:hover {
    background: #0079fd;
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 121, 253, 0.3);
}

.brain-3d-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
}

/* Homepage brain container - parallax scroll effect */
#brain-container.brain-3d-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    opacity: 1;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid #0079fd;
    border-bottom: 2px solid #0079fd;
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Sections */
section {
    padding: 100px 0;
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.fade-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.fade-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease;
}

.scale-in.animate {
    opacity: 1;
    transform: scale(1);
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: transparent;
}

/* Normal Sections */
.snap-section {
    min-height: auto;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.services-page {
    flex: 1;
    padding: 100px 0;
    background: #1a1a1a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Service Detail Sections */
.service-detail-section {
    padding: 60px 0;
    background: #1a1a1a;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-detail-visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.service-detail-content.reverse {
    direction: rtl;
}

.service-detail-content.reverse > * {
    direction: ltr;
}

.service-detail-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-title-white {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 1.5rem;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    background-clip: unset !important;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

.service-detail-description {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-detail-description.enhanced {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.service-detail-description.enhanced strong {
    color: #ffffff;
    font-weight: 600;
}

.highlight-text {
    color: #06b6d4;
    font-weight: 500;
    background: linear-gradient(135deg, #06b6d4, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Staining Categories Styles */
.staining-categories {
    margin-top: 3rem;
}

.staining-categories h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.phase-checklist {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.phase-checklist li {
    display: flex;
    align-items: center;
    margin-bottom: 0.6rem;
    color: #e0e0e0;
    font-size: 0.9rem;
}

.checklist-item {
    opacity: 0;
    transform: translateX(-20px);
}

.checklist-item.animate {
    animation: checklistAppear 0.5s ease-out forwards;
}

.checklist-item.animate[data-delay="0.5s"] {
    animation-delay: 0.5s;
}

.checklist-item.animate[data-delay="1s"] {
    animation-delay: 1s;
}

.checklist-item.animate[data-delay="1.5s"] {
    animation-delay: 1.5s;
}

.checklist-item.animate[data-delay="4s"] {
    animation-delay: 4s;
}

.checklist-item.animate[data-delay="4.5s"] {
    animation-delay: 4.5s;
}

.checklist-item.animate[data-delay="3s"] {
    animation-delay: 3s;
}

.checklist-item.animate[data-delay="3.5s"] {
    animation-delay: 3.5s;
}

.checklist-item.animate[data-delay="5.5s"] {
    animation-delay: 5.5s;
}

.checklist-item.animate[data-delay="6s"] {
    animation-delay: 6s;
}

.checklist-item.animate[data-delay="4s"] {
    animation-delay: 4s;
}

.phase-checklist i {
    color: #06b6d4;
    margin-right: 0.8rem;
    font-size: 0.9rem;
}

.timeline-header h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 1rem;
}

.timeline-phase {
    flex: 1;
    text-align: center;
}

.phase-label {
    color: #b0b0b0;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.phase-time {
    color: #06b6d4;
    font-size: 0.7rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.phase-bar {
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.timeline-progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #06b6d4, #8b5cf6, #06b6d4);
    border-radius: 3px;
    width: 0%;
    animation: progressAnimation 8s ease-in-out forwards;
}

.timeline-phase .phase-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #06b6d4, #8b5cf6);
    border-radius: 4px;
}

.timeline-phase.animate .phase-bar::after {
    animation: phaseAnimation 8s ease-in-out forwards;
}

.timeline-phase.animate[data-phase="1"] .phase-bar::after {
    animation-delay: 0s;
}

.timeline-phase.animate[data-phase="2"] .phase-bar::after {
    animation-delay: 3s;
}

.timeline-phase.animate[data-phase="3"] .phase-bar::after {
    animation-delay: 5.5s;
}

@keyframes progressAnimation {
    0% { width: 0%; }
    50% { width: 50%; }
    100% { width: 100%; }
}

@keyframes phaseAnimation {
    0% { left: -100%; }
    40% { left: 0%; }
    100% { left: 0%; }
}

@keyframes checklistAppear {
    0% { 
        opacity: 0; 
        transform: translateX(-20px);
    }
    100% { 
        opacity: 1; 
        transform: translateX(0);
    }
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #e0e0e0;
    font-size: 1.1rem;
}

.service-features i {
    color: #06b6d4;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.service-detail-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 400px;
}

.service-placeholder {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#cfos-service-video {
    width: 400px;
    height: 400px;
    object-fit: cover;
    position: relative;
    display: block;
    margin: 0 auto;
    z-index: 1;
}

#data-analysis-brain-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    min-height: 500px;
    max-height: 800px;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-large-icon {
    font-size: 6rem;
    color: #06b6d4;
    opacity: 0.8;
}

/* Responsive Design for Service Detail Sections */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 500px;
        margin: 0 auto;
        justify-items: center;
    }
    
    .service-detail-section {
        padding: 20px 0;
        min-height: auto;
    }
    
    .service-detail-content {
        grid-template-columns: 1fr;
        padding: 0.5rem;
        text-align: center;
        gap: 1rem;
    }
    
    .service-detail-content.reverse {
        grid-template-columns: 1fr;
    }
    
    .service-detail-text {
        order: 1;
        text-align: center;
    }
    
    .service-detail-visual {
        order: 2;
        min-height: 200px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0.5rem 0;
    }
    
    /* Timeline responsive design */
    .timeline-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .timeline-phase {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .phase-label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .phase-checklist {
        font-size: 0.9rem;
        margin-top: 1rem;
    }
    
    .checklist-item {
        margin-bottom: 0.3rem;
    }
    
    /* Service cards mobile optimization */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-item {
        flex-direction: column;
        text-align: center;
    }
    
    .service-icon-detached {
        margin-bottom: 1rem;
    }
    
    .service-large-icon {
        font-size: 4rem;
    }
    
    #cfos-service-video {
        width: 90%;
        height: 200px;
        position: relative;
        display: block;
        margin: 0 auto;
    }
    
    #data-analysis-brain-container {
        position: relative;
        width: 100%;
        height: 250px;
        right: auto;
        top: auto;
        transform: none;
    }
}

.team-page {
    flex: 1;
    padding: 100px 0;
    background: transparent;
    min-height: calc(100vh - 200px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-page {
    flex: 1;
    padding: 100px 0;
    background: linear-gradient(135deg, #242424 0%, #2a2442 50%, #242442 100%);
    min-height: calc(100vh - 200px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team {
    background: linear-gradient(135deg, #242424 0%, #2a2442 50%, #242442 100%);
    padding: 100px 0;
    min-height: calc(100vh - 200px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-grid-container {
    max-width: 900px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    align-items: stretch;
    padding: 2rem;
    justify-items: center;
}

.service-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card {
    background: linear-gradient(135deg, #2e2e2e, #383838);
    padding: 2.5rem;
    border-radius: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: visible;
    margin-top: 40px;
    width: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(93, 92, 228, 0.1), rgba(173, 82, 220, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(173, 82, 220, 0.3);
    border-color: rgba(93, 92, 228, 0.4);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon-detached {
    position: absolute;
    top: 20px;
    left: -20px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ad52dc, #5d5ce4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(173, 82, 220, 0.4);
}

.service-icon-detached img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.service-icon-detached .icon-default {
    opacity: 1;
}

.service-icon-detached .icon-highlight {
    display: none;
}

.service-item:hover .service-icon-detached {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(173, 82, 220, 0.6);
}

.service-item:hover .service-card {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(173, 82, 220, 0.3);
    border-color: rgba(93, 92, 228, 0.4);
}

.service-item:hover .service-card::before {
    opacity: 1;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.service-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #0079fd, #fd2dc9);
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card p {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-card ul {
    list-style: none;
    text-align: left;
}

.service-card li {
    color: #00cdfd;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00cdfd;
    font-weight: bold;
}

/* Technology Section */
.technology {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a1a2a 50%, #1a2a3a 100%);
}

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

.tech-3d-container {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #2e2e2e, #383838);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(93, 92, 228, 0.3);
}

.tech-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tech-feature {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.tech-feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #5d5ce4, #ad52dc);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(93, 92, 228, 0.4);
}

.tech-feature-content h4 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.tech-feature-content p {
    color: #b0b0b0;
}

/* Research/Problem Section */
.research {
    background: #1a1a1a;
    padding: 100px 0;
}

.problem-content {
    margin-top: 3rem;
}

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

.stat-card {
    background: linear-gradient(135deg, #2e2e2e, #3a3a3a);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #0079fd;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(93, 92, 228, 0.3);
}

.stat-card h3 {
    font-size: 3rem;
    color: #0079fd;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-card p {
    color: #b0b0b0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.problem-description {
    text-align: center;
}

.problem-description h3 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 2rem;
}

.challenge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.challenge-card {
    background: #2e2e2e;
    padding: 2rem;
    border-radius: 15px;
    text-align: left;
    transition: all 0.3s ease;
    border: 1px solid #3a3a3a;
}

.challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(93, 92, 228, 0.3);
    border-color: #5d5ce4;
}

.challenge-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0079fd, #5d5ce4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.challenge-icon i {
    font-size: 1.5rem;
    color: #ffffff;
}

.challenge-card h4 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.challenge-card p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a1a2a 50%, #1a2a3a 100%);
}

/* Team Section */
.team {
    background: linear-gradient(135deg, #242424 0%, #2a2442 50%, #242442 100%);
    padding: 100px 0;
}

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

.team-card {
    background: linear-gradient(135deg, #2e2e2e, #383838);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(93, 92, 228, 0.3);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(173, 82, 220, 0.1), rgba(189, 89, 240, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(173, 82, 220, 0.3);
    border-color: rgba(93, 92, 228, 0.4);
}

.team-card:hover::before {
    opacity: 1;
}

.team-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid transparent;
    background: linear-gradient(135deg, #5d5ce4, #ad52dc);
    padding: 3px;
    position: relative;
    z-index: 2;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: #2e2e2e;
}

.team-info {
    position: relative;
    z-index: 2;
}

.team-info h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.team-role {
    font-size: 1rem;
    color: #0079fd;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-bio {
    color: #b0b0b0;
    line-height: 1.6;
    font-size: 0.95rem;
}

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

.about-text h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: #0079fd;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #5d5ce4, #ad52dc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #ffffff;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 15px 35px rgba(93, 92, 228, 0.4);
}

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

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #242424 0%, #2a2442 50%, #242442 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #5d5ce4, #ad52dc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(93, 92, 228, 0.3);
}

.contact-item h4 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #b0b0b0;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(93, 92, 228, 0.3);
    border-radius: 8px;
    background: rgba(46, 46, 46, 0.8);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0079fd;
    box-shadow: 0 0 15px rgba(0, 121, 253, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    padding: var(--space-2xl) 0 var(--space-md);
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        text-align: center;
    }
}

.footer-section p {
    color: var(--color-text-muted);
    line-height: 1.6;
    font-size: var(--font-size-sm);
}

.footer-section h4 {
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
    font-size: var(--font-size-lg);
    font-weight: 600;
}

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

.footer-section ul li {
    margin-bottom: var(--space-sm);
}

.footer-section ul li a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: var(--font-size-sm);
}

.footer-section ul li a:hover {
    color: var(--color-secondary);
}

.social-links {
    display: flex;
    gap: var(--space-md);
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .social-links {
        justify-content: center;
    }
}

.social-links a {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #5d5ce4, #ad52dc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 121, 253, 0.3);
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 121, 253, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 90px;
        flex-direction: column;
        background-color: rgba(26, 26, 26, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-top: 1px solid rgba(0, 121, 253, 0.2);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content-vertical {
        gap: 2rem;
        padding: 1rem 1rem 0;
    }
    
    .hero-title-centered {
        font-size: var(--font-size-2xl);
    }
    
    .hero-brain-section {
        height: 350px;
        margin: 1rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .tech-showcase,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats {
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
        text-align: center;
    }
    
    .hero-content-vertical {
        gap: 1.5rem;
        padding: 1rem 1rem 0;
    }
    
    .hero-title-centered {
        font-size: 2rem;
    }
    
    .hero-brain-section {
        height: 300px;
        margin: 1rem 0;
    }
    
    .hero-bottom-content {
        gap: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        padding: 12px 20px;
    }
    
    .timeline-container {
        gap: 1rem;
    }
    
    .phase-label {
        font-size: 0.8rem;
    }
    
    .checklist-item {
        font-size: 0.85rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .services-grid,
    .research-areas,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-card {
        padding: 2rem;
    }
    
    .team-image {
        width: 100px;
        height: 100px;
    }
}

/* Login Gate Styles */
.login-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.login-gate-content {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(93, 92, 228, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: gateSlideIn 0.6s ease-out;
}

@keyframes gateSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.login-gate-header {
    margin-bottom: 2rem;
}

.login-gate-logo {
    width: 200px;
    height: 200px;
    margin-bottom: 2rem;
}

.login-gate-header h1 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.login-gate-header p {
    color: #cccccc;
    font-size: 1rem;
    margin-bottom: 0;
}

.gate-login-form {
    width: 100%;
}

.gate-login-form .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.gate-login-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9rem;
}

.gate-login-form input[type="password"] {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(93, 92, 228, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.gate-login-form input[type="password"]:focus {
    outline: none;
    border-color: #0079fd;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(0, 121, 253, 0.1);
}

.gate-login-form input[type="password"]::placeholder {
    color: #888;
}

.gate-login-btn {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1rem;
}

.gate-login-error {
    margin-top: 1rem;
    padding: 12px;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 8px;
    color: #ff6b6b;
    font-size: 0.9rem;
    text-align: center;
    display: none;
}

.main-website {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.main-website.authenticated {
    opacity: 1;
}

/* Login Modal Styles (keeping for reference but unused) */
.login-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.login-modal-content {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    margin: 10% auto;
    padding: 0;
    border: 1px solid rgba(93, 92, 228, 0.3);
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease-out;
}

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

/* Animation container styles */
.service-detail-visual {
    min-height: 300px;
    height: 50vh;
    max-height: 400px;
    position: relative;
    background: transparent;
    border: none;
    box-shadow: none;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    width: 100%;
    overflow: hidden;
}

/* Larger container specifically for 3D Brain Imaging section */
#brain-imaging .service-detail-visual {
    min-height: 400px;
    height: 70vh;
    max-height: 500px;
}

.service-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Prevent scrollbars from appearing */
}

/* Specific styling for the cfos video in 3D Brain Imaging section */
#cfos-service-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Animation Container Styles */
.animation-container {
    position: relative;
    width: 100%;
    height: 600px; /* Increased height */
    overflow: hidden;
    background: transparent;
    border: none;
    box-shadow: none;
    margin: 0 auto;
    max-width: 1200px; /* Limit maximum width */
}

.animation-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.animation-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    will-change: transform, opacity;
}

/* Initial slide states */
.slide-0 {
    z-index: 2;
}

.slide-1 {
    z-index: 1;
    opacity: 0;
}

/* Animation container styles */
.animation-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: clip-path, opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.animation-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: transparent;
    pointer-events: none;
}

/* Initial states for slides */
.slide-0 {
    opacity: 1;
    z-index: 2;
    clip-path: inset(0 0 0 0);
}

.slide-1 {
    opacity: 0;
    z-index: 1;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 3s ease-in-out, opacity 3s ease-in-out;
}

/* Ensure container has proper stacking context */
.animation-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: transparent;
}

.animation-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: transparent;
}

/* Consultancy Centered Content */
.consultancy-centered-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Consultancy Section Styles */
.consultancy-checklist {
    margin-top: 3rem;
}

.consultancy-checklist h3 {
    color: #00cdfd;
    margin-bottom: 2rem;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
}

.consultancy-checklist ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.consultancy-checklist li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #e0e0e0;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: left;
}

.consultancy-checklist li i {
    color: #00cdfd;
    margin-right: 1rem;
    flex-shrink: 0;
    top: 0.3em;
}

.consulting-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    height: 100%;
    justify-content: center;
}

.consulting-feature {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 205, 253, 0.1);
}

.consulting-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: rgba(0, 205, 253, 0.05);
}

.consulting-feature i {
    font-size: 2rem;
    color: #00cdfd;
    margin-bottom: 1rem;
    display: inline-block;
}

.consulting-feature h4 {
    color: #fff;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.consulting-feature p {
    color: #b0b0b0;
    margin: 0;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .consulting-content {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .consulting-feature {
        flex: 1 1 calc(50% - 1rem);
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .consulting-content {
        padding: 1rem 0;
    }
    
    .consulting-feature {
        flex: 1 1 100%;
    }
    
    .consultancy-centered-content {
        padding: 0 1rem;
    }
    
    .consultancy-checklist ul {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .consultancy-checklist li {
        font-size: 0.95rem;
        padding: 0.5rem 0;
    }
    
    .consultancy-checklist h3 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
}

.login-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    padding: 20px 25px 0 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.login-close:hover,
.login-close:focus {
    color: #0079fd;
}

.login-header {
    text-align: center;
    padding: 30px 30px 20px;
    border-bottom: 1px solid rgba(93, 92, 228, 0.2);
}

.login-header h2 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 1.8rem;
    font-weight: 600;
}

.login-header p {
    color: #cccccc;
    font-size: 0.9rem;
}

.login-form {
    padding: 30px;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9rem;
}

.login-form input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(93, 92, 228, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.login-form input[type="password"]:focus {
    outline: none;
    border-color: #0079fd;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(0, 121, 253, 0.1);
}

.login-form input[type="password"]::placeholder {
    color: #888;
}

.login-submit {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
}

.login-error {
    margin-top: 15px;
    padding: 10px;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 6px;
    color: #ff6b6b;
    font-size: 0.9rem;
    text-align: center;
    display: none;
}

.btn-login {
    background: linear-gradient(135deg, #bd59f0, #fd2dc9);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: linear-gradient(135deg, #5d5ce4, #0079fd);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 121, 253, 0.3);
}
