/* CSS Variables - 5 Primary Colors with Light/Dark Shades */
:root {
    /* Primary Color - Blue */
    --primary-color: #6d74d9;
    --primary-light: #929fe5;
    --primary-dark: #444ec6;
    
    /* Secondary Color - Cyan */
    --secondary-color: #1698bf;
    --secondary-light: #6ad3eb;
    --secondary-dark: #1285aa;
    
    /* Accent Color - Green */
    --accent-color: #1db270;
    --accent-light: #75d4a3;
    --accent-dark: #0faf6d;
    
    /* Warning Color - Orange */
    --warning-color: #e88700;
    --warning-light: #ffcb2e;
    --warning-dark: #e46d1a;
    
    /* Elegant Color - Purple */
    --elegant-color: #8260ff;
    --elegant-light: #c8b9e7;
    --elegant-dark: #5c39dc;
    
    /* Neutral Colors */
    --text-dark: #2c3344;
    --text-muted: #7a838f;
    --background-light: #f9fafb;
    --border-light: #d3d7dd;
    
    /* Conservative Font Sizes */
    --font-size-small: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-h6: 1rem;
    --font-size-h5: 1.125rem;
    --font-size-h4: 1.25rem;
    --font-size-h3: 1.5rem;
    --font-size-h2: 1.75rem;
    --font-size-h1: 2rem;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --card-border-radius: 0.75rem;
    --button-border-radius: 0.5rem;
}

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-dark);
    scroll-behavior: smooth;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Typography - Conservative Sizes */
h1 { font-size: var(--font-size-h1); font-weight: 700; margin-bottom: 1rem; }
h2 { font-size: var(--font-size-h2); font-weight: 600; margin-bottom: 0.94rem; }
h3 { font-size: var(--font-size-h3); font-weight: 600; margin-bottom: 0.88rem; }
h4 { font-size: var(--font-size-h4); font-weight: 500; margin-bottom: 0.90rem; }
h5 { font-size: var(--font-size-h5); font-weight: 500; margin-bottom: 0.60rem; }
h6 { font-size: var(--font-size-h6); font-weight: 500; margin-bottom: 0.75rem; }

p { margin-bottom: 1rem; }
.lead { font-size: var(--font-size-lg); font-weight: 400; }
.small { font-size: var(--font-size-small); }

/* Conservative Navbar Brand Size */
.navbar-brand {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

/* Header Styles */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 50%, var(--elegant-light) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 6rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../DIG_images/hero-bg.webp') center/cover no-repeat;
    opacity: 0.1;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: var(--text-dark);
    margin-bottom: 1.64rem;
    padding-top: 175px;
}

.hero-section .text-muted {
    color: var(--text-muted);
}

/* Section Spacing */
section {
    padding: var(--section-padding);
}

/* Card Styles */
.card {
    border: none;
    border-radius: var(--card-border-radius);
    box-shadow: 0 8px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 9px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 11px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.card-img-top {
    border-radius: var(--card-border-radius) var(--card-border-radius) 0 0;
    height: 200px;
    object-fit: cover;
    width: 100%;
}

/* Hero Section Images */
.hero-section img {
    max-width: 100%;
    height: auto;
    min-height: 300px;
    object-fit: cover;
}

/* Team Member Images */
.team img.rounded-circle {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

/* Gallery Images */
.gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Button Styles */
.btn {
    border-radius: var(--button-border-radius);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--elegant-dark));
    transform: translateY(-2px);
}

/* Background Gradients */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.bg-light {
    background-color: var(--background-light);
}

/* Text Colors */
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-muted { color: var(--text-muted); }

/* Icon Styles */
.fa-3x { font-size: 3rem; }
.fa-2x { font-size: 2rem; }

/* Team Member Images */
.rounded-circle {
    border: 3px solid var(--primary-light);
    transition: border-color 0.3s ease;
}

.rounded-circle:hover {
    border-color: var(--primary-color);
}

/* Process Steps */
.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--elegant-color));
}

.bg-secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.bg-dark {
    background: linear-gradient(135deg, var(--text-dark), #343c52);
}

/* FAQ Accordion */
.accordion-button {
    background-color: white;
    border: 1px solid var(--border-light);
    color: var(--text-dark);
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-light), var(--background-light));
    color: var(--primary-dark);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(77, 78, 224, 0.25);
}

/* Lazy Loading Images */
.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy.loaded {
    opacity: 1;
}

/* Image placeholders */
img[data-src] {
    background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #f0f0f0 75%), 
                linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

/* Gallery Lightbox Integration */
.gallery img {
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.gallery img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Form Styles */
.form-control {
    border: 2px solid var(--border-light);
    border-radius: var(--button-border-radius);
    padding: 0.75rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(90, 97, 229, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.57rem;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, var(--text-dark), #1a242d);
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-light);
}

/* Space Page */
#space {
    background: linear-gradient(45deg, var(--primary-light), var(--secondary-light), var(--accent-light));
    position: relative;
}

#space::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 30%, rgba(255, 255, 255, 0.1));
}

/* Breadcrumb */
.breadcrumb-container img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Additional Visual Enhancements */
.border-primary {
    border-color: var(--primary-color);
}

.shadow {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--elegant-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* High Contrast for Accessibility */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #3e2ed7;
        --secondary-color: #1b96c7;
        --accent-color: #0f8150;
        --text-dark: #000000;
        --text-muted: #474f63;
    }
    
    .card {
        border: 2px solid var(--border-light);
    }
}

/* Print Styles */
@media print {
    .navbar, .btn, footer { display: none; }
    body { color: black; background: white; }
    .card { border: 1px solid #d9d9d9; box-shadow: none; }
} 


/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
