/* Color Palette Variables */
:root {
    --primary-color: #957bff;
    --primary-light: #848cff;
    --primary-dark: #3e3ae2;
    --secondary-color: #ff765c;
    --secondary-light: #ffaeba;
    --secondary-dark: #c25341;
    --accent-color: #43e5c5;
    --accent-light: #84ddca;
    --accent-dark: #4aac9f;
    --neutral-color: #f8f9fa;
    --neutral-light: #ffffff;
    --neutral-dark: #1e2529;
    --text-primary: #25313a;
    --text-secondary: #768484;
    --text-light: #aeb2b7;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--neutral-light);
    overflow-x: hidden;
}

/* Conservative Typography */
h1 {
    font-size: 2.52rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.89rem;
}

h3 {
    font-size: 1.58rem;
    font-weight: 500;
    margin-bottom: 0.74rem;
}

h4 {
    font-size: 1.28rem;
    font-weight: 500;
    margin-bottom: 0.58rem;
}

h5 {
    font-size: 1.12rem;
    font-weight: 500;
    margin-bottom: 0.40rem;
}

h6 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
}

/* Navbar Customization */
.navbar-brand {
    font-size: 1.60rem;
    font-weight: 600;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-primary) !important;
    transition: color 0.79s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--neutral-color) 0%, var(--neutral-light) 100%);
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="0" cy="0" r="1"><stop offset="0%" stop-color="%236c63ff" stop-opacity="0.1"/><stop offset="100%" stop-color="%236c63ff" stop-opacity="0"/></radialGradient></defs><rect width="100%" height="100%" fill="url(%23a)"/></svg>') no-repeat center center;
    background-size: cover;
    opacity: 0.3;
    z-index: 0;
}

#hero .container {
    position: relative;
    z-index: 1;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.66s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 1.21s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Card Styles */
.card {
    border: none;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.59s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.41s ease;
}

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

/* Section Spacing */
section {
    position: relative;
    overflow: hidden;
}

.py-5 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

/* Background Variations */
.bg-light {
    background-color: var(--neutral-color) !important;
}

/* Text Colors */
.text-primary {
    color: var(--primary-color) !important;
}

.text-muted {
    color: var(--text-secondary) !important;
}

/* Form Styles */
.form-control {
    border: 2px solid #f5f5f5;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 1.10s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(97, 111, 255, 0.25);
}

/* Footer Styles */
footer {
    background-color: var(--neutral-dark) !important;
}

footer a {
    transition: color 1.10s ease;
}

footer a:hover {
    color: var(--accent-color) !important;
}

/* Icon Styles */
.fa-2x {
    font-size: 2rem;
}

/* Team Section */
.rounded-circle {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

/* Gallery Styles */
#gallery img {
    border-radius: 10px;
    transition: transform 0.48s ease;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.73s ease;
}

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

/* Responsive Utilities */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.88rem;
    }
    
    .navbar-brand {
        font-size: 1.38rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }
    
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles for Accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* High Contrast Footer */
footer {
    background: var(--neutral-dark) !important;
    color: var(--neutral-light) !important;
}

footer h5, footer h6 {
    color: var(--neutral-light) !important;
}

/* Process Steps */
.bg-primary.rounded-circle {
    background-color: var(--primary-color) !important;
}

/* Breadcrumb Styles */
.breadcrumb {
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item img {
    filter: opacity(0.7);
    transition: opacity 0.50s ease;
}

.breadcrumb-item:hover img {
    filter: opacity(1);
}

/* Space Section */
#space {
    background: linear-gradient(135deg, var(--neutral-color) 0%, var(--neutral-light) 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
} 


/* Team Social Links - Neon Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.social-icons-grid {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    border: 2px solid;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: inherit;
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 0.7;
}

.social-link:hover {
    transform: scale(1.1);
    text-shadow: 0 0 20px currentColor;
    box-shadow: 0 0 20px currentColor;
}

.facebook-link {
    border-color: #1877f2;
    color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
}

.linkedin-link {
    border-color: #0a66c2;
    color: #0a66c2;
    background: rgba(10, 102, 194, 0.1);
}

.instagram-link {
    border-color: #e4405f;
    color: #e4405f;
    background: rgba(228, 64, 95, 0.1);
}

.x-link {
    border-color: #ffffff;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 22px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}
