/* ===== CSS VARIABLES ===== */
:root {
    /* Primary Colors - Pastel High Contrast */
    --primary-color: #6366f1;
    --secondary-color: #f59e0b;
    --accent-color: #10b981;
    --neutral-color: #6b7280;
    --danger-color: #ef4444;
    
    /* Light Shades */
    --primary-light: #e0e7ff;
    --secondary-light: #fef3c7;
    --accent-light: #d1fae5;
    --neutral-light: #f3f4f6;
    --danger-light: #fecaca;
    
    /* Dark Shades */
    --primary-dark: #4338ca;
    --secondary-dark: #d97706;
    --accent-dark: #059669;
    --neutral-dark: #374151;
    --danger-dark: #dc2626;
    
    /* Typography */
    --font-size-base: 1rem;
    --font-size-sm: 0.875rem;
    --font-size-lg: 1.125rem;
    --line-height-base: 1.6;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --card-border-radius: 0.75rem;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ===== GLOBAL STYLES ===== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: var(--line-height-base);
    color: var(--neutral-dark);
    overflow-x: hidden;
}

/* Respect reduced motion preference */
@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;
    }
}

/* ===== HEADER STYLES ===== */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--neutral-dark);
    transition: color 0.3s 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%);
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(99,102,241,0.1)" stroke-width="2"/></svg>') repeat;
    animation: float 20s ease-in-out infinite;
    z-index: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

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

/* ===== TYPOGRAPHY ===== */
.display-4 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.display-5 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.display-6 {
    font-size: 1.5rem;
    font-weight: 600;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--neutral-dark);
    line-height: 1.3;
}

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

.lead {
    font-size: var(--font-size-lg);
    font-weight: 400;
    color: var(--neutral-color);
}

/* ===== BUTTONS ===== */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

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

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
}

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

/* ===== CARDS ===== */
.card {
    border: none;
    border-radius: var(--card-border-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-img-top {
    border-radius: var(--card-border-radius) var(--card-border-radius) 0 0;
    height: 200px;
    object-fit: cover;
}

/* ===== SECTIONS ===== */
section {
    padding: var(--section-padding);
}

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

/* ===== ICONS ===== */
.fa-3x {
    color: var(--primary-color);
}

.fa-2x {
    color: var(--primary-color);
}

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

.text-success {
    color: var(--accent-color) !important;
}

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

/* ===== TEAM SECTION ===== */
#team .card-img-top {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
}

/* ===== GALLERY ===== */
#gallery img {
    transition: transform 0.3s ease;
    border-radius: var(--card-border-radius);
}

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

/* ===== CONTACT FORM ===== */
.form-control {
    border-radius: 0.5rem;
    border: 2px solid var(--neutral-light);
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--neutral-dark);
    margin-bottom: 0.5rem;
}

/* ===== FOOTER ===== */
#footer {
    background-color: var(--neutral-dark) !important;
}

#footer h5 {
    color: var(--primary-light);
}

#footer a {
    transition: color 0.3s ease;
}

#footer a:hover {
    color: var(--primary-light) !important;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item img {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

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

/* ===== UTILITIES ===== */
.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

/* ===== PROCESS STEPS ===== */
.bg-primary {
    background-color: var(--primary-color) !important;
}

/* ===== BADGES ===== */
.badge {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.badge.bg-primary {
    background-color: var(--primary-color) !important;
}

.badge.bg-success {
    background-color: var(--accent-color) !important;
}

.badge.bg-info {
    background-color: var(--secondary-color) !important;
}

.badge.bg-warning {
    background-color: var(--secondary-dark) !important;
    color: white;
}

/* ===== STAR RATINGS ===== */
.fa-star.text-warning {
    color: var(--secondary-color) !important;
}

/* ===== PRICING CARDS ===== */
.border-primary {
    border-color: var(--primary-color) !important;
    border-width: 2px !important;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    #hero {
        min-height: 80vh;
    }
}

/* ===== ACCESSIBILITY ===== */
.btn:focus,
.form-control:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===== SMOOTH TRANSITIONS ===== */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
img {
    loading: lazy;
}

.card-img-top {
    will-change: transform;
} 


/* 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;
    }
}
