/* VR Safety Training - Main CSS */

/* Color Palette Variables */
:root {
    /* Primary Colors */
    --primary-blue: #1e3a8a;
    --primary-cyan: #06b6d4;
    --primary-emerald: #10b981;
    --primary-amber: #f59e0b;
    --primary-rose: #f43f5e;
    
    /* Light Shades */
    --light-blue: #dbeafe;
    --light-cyan: #cffafe;
    --light-emerald: #d1fae5;
    --light-amber: #fef3c7;
    --light-rose: #fce7f3;
    
    /* Dark Shades */
    --dark-blue: #1e40af;
    --dark-cyan: #0891b2;
    --dark-emerald: #059669;
    --dark-amber: #d97706;
    --dark-rose: #e11d48;
    
    /* Additional Colors */
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --border-color: #e5e7eb;
    
    /* Conservative Font Sizes */
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-base: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 1.875rem;
    --font-4xl: 2.25rem;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    font-size: var(--font-base);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

h1 { font-size: var(--font-4xl); }
h2 { font-size: var(--font-3xl); }
h3 { font-size: var(--font-2xl); }
h4 { font-size: var(--font-xl); }
h5 { font-size: var(--font-lg); }
h6 { font-size: var(--font-base); }

p {
    font-size: var(--font-base);
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Conservative navbar-brand size */
.navbar-brand {
    font-size: 1.25rem !important;
    color: var(--primary-blue) !important;
}

/* Header Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-blue) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-cyan));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-blue), #cffafe);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, var(--primary-emerald) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, var(--primary-amber) 0%, transparent 50%);
    opacity: 0.1;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: var(--font-4xl); /* Conservative size */
}

.hero-section .lead {
    color: var(--primary-cyan);
    font-size: var(--font-xl);
}

/* Button Styles */
.btn {
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--primary-blue);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--dark-blue), var(--dark-cyan));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline-primary {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

/* Card Styles */
.card {
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: linear-gradient(135deg, var(--light-blue), var(--light-cyan));
}

/* Feature Items */
.feature-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    background: linear-gradient(135deg, var(--light-emerald), var(--light-cyan));
    transform: translateY(-5px);
}

.feature-card i {
    color: var(--primary-emerald);
    margin-bottom: 1rem;
}

/* Price Cards */
.price-card {
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.price-card.featured {
    border-color: var(--primary-amber);
    transform: scale(1.05);
}

.price-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-amber);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: var(--font-sm);
    font-weight: 600;
}

.price-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

/* Team Members */
.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.team-member:hover img {
    border-color: var(--primary-blue);
    transform: scale(1.05);
}

/* Review Cards */
.review-card {
    background: linear-gradient(135deg, var(--light-blue), var(--light-emerald));
    border: none;
    border-left: 4px solid var(--primary-blue);
}

.review-card .card-body {
    padding: 2rem;
}

/* Process Steps */
.process-step {
    text-align: center;
    position: relative;
    padding: 2rem 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-cyan));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-xl);
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-blue), var(--primary-cyan));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: 2rem;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-emerald);
    top: 0;
}

.timeline-item:nth-child(odd)::before {
    right: -6px;
}

.timeline-item:nth-child(even)::before {
    left: -6px;
}

/* FAQ Accordion */
.accordion-button {
    background: var(--light-blue);
    border: none;
    font-weight: 600;
    color: var(--primary-blue);
}

.accordion-button:not(.collapsed) {
    background: var(--primary-blue);
    color: white;
}

.accordion-button:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.25rem rgba(30, 58, 138, 0.25);
}

/* Gallery */
.gallery-img {
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: var(--font-base);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.25rem rgba(30, 58, 138, 0.25);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--text-dark), #374151) !important;
}

footer a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-cyan);
}

/* Blog Cards */
.blog-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Metrics Cards */
.metric-card {
    background: linear-gradient(135deg, var(--light-amber), var(--light-rose));
    padding: 2rem;
    border-radius: 12px;
    border: none;
}

.metric-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

/* Core Info Items */
.core-info-item {
    padding: 2rem;
    border-radius: 12px;
    background: white;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.core-info-item:hover {
    border-color: var(--primary-emerald);
    background: var(--light-emerald);
}

.core-info-item i {
    color: var(--primary-emerald);
}

/* Career Cards */
.career-card {
    border-left: 4px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.career-card:hover {
    border-left-color: var(--primary-emerald);
    transform: translateX(5px);
}

/* Case Study Cards */
.case-study-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Breadcrumb */
.breadcrumb-section {
    background: var(--light-blue);
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-img {
    height: 40px;
    width: auto;
}

/* Additional Page Sections */
.tech-item, .industry-card, .module-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 8px;
    background: white;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.tech-item:hover, .industry-card:hover, .module-item:hover {
    background: var(--light-cyan);
    transform: translateY(-3px);
}

/* Animations and Transitions */
@media (prefers-reduced-motion: no-preference) {
    .animate-on-scroll {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.6s ease;
    }
    
    .animate-on-scroll.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for conservative font sizes */
@media (max-width: 768px) {
    h1 { font-size: var(--font-3xl); }
    h2 { font-size: var(--font-2xl); }
    h3 { font-size: var(--font-xl); }
    
    .navbar-brand {
        font-size: var(--font-lg) !important;
    }
    
    .hero-section h1 {
        font-size: var(--font-3xl);
    }
    
    .metric-number {
        font-size: 2rem;
    }
}

/* Space div for index_space.html */
#space {
    min-height: 50vh;
    background: linear-gradient(135deg, var(--light-blue), #d1fae5);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}



/* Bootstrap Grid Helper for 5 columns */
.col-lg-2-4 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 992px) {
    .col-lg-2-4 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* Gradient Overlays */
.gradient-overlay {
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-cyan));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* High Contrast Text */
.text-high-contrast {
    color: var(--text-dark);
    font-weight: 600;
} 


/* Team Social Links - Minimal Style */
.team-social-links {
    margin-top: 16px;
    padding: 10px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: white;
}

.social-link:hover {
    transform: translateY(-1px);
    color: white;
}

.facebook-link:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.linkedin-link:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: white;
}

.x-link {
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 18px;
    color: inherit;
}

.x-link:hover {
    background: #000000;
    border-color: #000000;
    color: white;
}

.x-link:hover::after {
    color: white;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
