:root {
    /* Primary Color Palette - Pastel High Contrast */
    --primary-color: #5d5fe0;
    --secondary-color: #e4a900;
    --accent-color: #0fc09e;
    --warning-color: #e0545d;
    --info-color: #2759ed;
    
    /* Light Shades */
    --primary-light: #d4dcee;
    --secondary-light: #eadfa8;
    --accent-light: #c9fce3;
    --warning-light: #edc4c7;
    --info-light: #cddcff;
    
    /* Dark Shades */
    --primary-dark: #4b50c8;
    --secondary-dark: #c15814;
    --accent-dark: #00a960;
    --warning-dark: #d31c14;
    --info-dark: #3578f0;
    
    /* Typography */
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-size-lg: 18px;
    --line-height-base: 1.6;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --element-margin: 2rem;
}

/* Base Typography - Conservative Sizes */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: #232323;
    overflow-x: hidden;
}

.navbar-brand {
    font-size: 1.64rem;
    font-weight: 600;
    color: var(--primary-color);
}

h1, .h1 {
    font-size: 2.54rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h2, .h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.00rem;
}

h3, .h3 {
    font-size: 1.52rem;
    font-weight: 500;
    margin-bottom: 0.79rem;
}

h4, .h4 {
    font-size: 1.26rem;
    font-weight: 500;
    margin-bottom: 0.71rem;
}

h5, .h5 {
    font-size: 1.24rem;
    font-weight: 500;
    margin-bottom: 0.47rem;
}

p {
    font-size: var(--font-size-base);
    margin-bottom: 1rem;
}

.lead {
    font-size: var(--font-size-lg);
    font-weight: 400;
}

/* Custom Color Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Header Styles */
#header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(13px);
    border-bottom: 1px solid var(--primary-light);
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.61s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
    padding-top: 76px;
}

#hero .display-4 {
    color: var(--primary-dark);
}

/* Section Spacing */
section {
    padding: var(--section-padding);
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Card Styles */
.card {
    border: 1px solid var(--primary-light);
    border-radius: 12px;
    transition: transform 1.13s ease, box-shadow 0.43s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    border-radius: 12px 12px 0 0;
    height: 200px;
    object-fit: cover;
}

/* Team Cards */
#team .card-img-top {
    height: 250px;
    object-fit: cover;
}

/* Gallery Styles */
#gallery img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.60s ease;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* Form Styles */
.form-control {
    border-radius: 8px;
    border: 2px solid var(--primary-light);
    padding: 0.75rem 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(116, 124, 255, 0.25);
}

/* Button Styles */
.btn {
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.92s ease;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.13rem;
}

/* Footer Styles */
#footer {
    background-color: #262626;
    border-top: 3px solid var(--primary-color);
}

#footer h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

#footer a {
    text-decoration: none;
    transition: color 1.16s ease;
}

#footer a:hover {
    color: var(--primary-color);
}

/* Icon Styles */
.fa-2x, .fa-3x {
    color: var(--primary-color);
}

/* Breadcrumb */
.breadcrumb-nav {
    border-bottom: 1px solid var(--primary-light);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    h1, .h1 {
        font-size: 2rem;
    }
    
    h2, .h2 {
        font-size: 1.80rem;
    }
    
    .display-4 {
        font-size: 2.38rem;
    }
    
    #hero {
        text-align: center;
    }
    
    .card-img-top {
        height: 180px;
    }
    
    #gallery img {
        height: 200px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading States */
.img-fluid {
    transition: opacity 0.63s ease;
}

/* Utility Classes */
.text-muted {
    color: #75818e;
}

.bg-light {
    background-color: #f8f9fa;
}

/* Custom Spacing */
.mb-5 {
    margin-bottom: 3rem;
}

.mt-5 {
    margin-top: 3rem;
} 


/* Team Social Links - Glass Style */
.team-social-links {
    margin-top: 22px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icons-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.3);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 0.5);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.3);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 0.5);
}

.instagram-link {
    background: rgba(228, 64, 95, 0.3);
}

.instagram-link:hover {
    background: rgba(228, 64, 95, 0.5);
}

.x-link {
    background: rgba(0, 0, 0, 0.3);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: rgba(0, 0, 0, 0.5);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
