/* Color Palette Variables */
:root {
    --primary-color: #7279ff;
    --primary-light: #9693f8;
    --primary-dark: #3344d8;
    --secondary-color: #ff5a5e;
    --secondary-light: #ec7b82;
    --secondary-dark: #c45763;
    --accent-color: #3ac3a5;
    --accent-light: #7ce5e0;
    --accent-dark: #489a94;
    --neutral-color: #f8f9fa;
    --neutral-light: #ffffff;
    --neutral-dark: #333f46;
    --text-primary: #324b5c;
    --text-secondary: #7b8486;
    --text-light: #c1c9cc;
}

/* 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.63rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

h3 {
    font-size: 1.56rem;
    font-weight: 500;
    margin-bottom: 0.64rem;
}

h4 {
    font-size: 1.38rem;
    font-weight: 500;
    margin-bottom: 0.64rem;
}

h5 {
    font-size: 1.11rem;
    font-weight: 500;
    margin-bottom: 0.39rem;
}

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

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

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

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

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-primary) !important;
    transition: color 0.85s 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.79s 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.14s 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: 17px;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.08);
    transition: all 1.05s 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 1.17s 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 #d5d8de;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.62s ease;
}

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

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

footer a {
    transition: color 0.97s 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.44s ease;
}

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

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

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

/* Responsive Utilities */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.85rem;
    }
    
    .navbar-brand {
        font-size: 1.39rem;
    }
    
    .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.67s 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 - Retro Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

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

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 0;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 3px solid;
    background: transparent;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
}

.social-link:hover {
    transform: translateX(3px) translateY(-3px);
    box-shadow: -3px 3px 0px currentColor;
    color: white;
}

.facebook-link {
    border-color: #1877f2;
    background: #1877f2;
}

.facebook-link:hover {
    background: transparent;
    color: #1877f2;
}

.linkedin-link {
    border-color: #0a66c2;
    background: #0a66c2;
}

.linkedin-link:hover {
    background: transparent;
    color: #0a66c2;
}

.instagram-link {
    border-color: #e4405f;
    background: #e4405f;
}

.instagram-link:hover {
    background: transparent;
    color: #e4405f;
}

.x-link {
    border-color: #000000;
    background: #000000;
    position: relative;
}

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

.x-link:hover {
    background: transparent;
    color: #000000;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
