/* Color Palette */
:root {
    --primary-color: #727dff;
    --primary-light: #9594e8;
    --primary-dark: #4a3bcc;
    --secondary-color: #f77fa5;
    --secondary-light: #ffa6bf;
    --secondary-dark: #df588c;
    --accent-color: #46b9be;
    --accent-light: #8ce8db;
    --accent-dark: #3f959b;
    --warning-color: #efd36f;
    --warning-light: #f1da7c;
    --warning-dark: #c1a264;
    --success-color: #51d2c4;
    --success-light: #85d3cd;
    --success-dark: #258d75;
    --text-dark: #2b3649;
    --text-light: #898b8b;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    font-size: 16px;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Header Styles */
.navbar {
    backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 13px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.63rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../SIM_images/hero-bg-pattern.webp') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-section > .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.56rem;
}

.hero-section h2 {
    font-size: 1.53rem;
    font-weight: 400;
    opacity: 0.9;
}

.hero-section p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

h2.display-5 {
    font-size: 2.59rem;
    font-weight: 700;
    color: var(--text-dark);
}

h3.h5 {
    font-size: 1.19rem;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lead {
    font-size: 1.21rem;
    font-weight: 400;
    color: var(--text-light);
}

/* Cards */
.card {
    border: none;
    border-radius: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px 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);
}

.card-title {
    font-size: 1.33rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.93rem;
}

.card-text {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
    transform: translateY(-2px);
    box-shadow: 0 11px 20px rgba(98, 87, 234, 0.30);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.13rem;
}

/* Forms */
.form-control {
    border-radius: 10px;
    border: 2px solid #f3f8ff;
    padding: 12px 16px;
    font-size: 1rem;
    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.2rem rgba(112, 103, 236, 0.25);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Icons */
.fa-3x {
    font-size: 2.56rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Background Sections */
.bg-light {
    background-color: var(--bg-light) !important;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--text-dark), #354753) !important;
}

footer h5, footer h6 {
    color: var(--primary-light);
    margin-bottom: 1rem;
}

footer a {
    color: #bcbcbc !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-light) !important;
}

footer ul {
    margin-bottom: 1.62rem;
}

footer ul li {
    margin-bottom: 0.56rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.bg-accent {
    background-color: var(--accent-color) !important;
}

.shadow-soft {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Gradients */
.gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.gradient-accent {
    background: linear-gradient(135deg, var(--accent-color), var(--success-color));
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Image Styles */
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.img-fluid {
    border-radius: 15px;
}

/* Spacing */
.section-padding {
    padding: 4rem 0;
}

.section-padding-sm {
    padding: 2rem 0;
}

/* Text Styles */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Loading Animation */
.loading-spinner {
    border: 3px solid var(--bg-light);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 


/* 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;
    }
}
