/* Custom CSS Variables */
:root {
    --primary-color: #7c6ffd;
    --primary-light: #a3b4ff;
    --primary-dark: #4937de;
    --secondary-color: #ecbc09;
    --secondary-light: #f7de32;
    --secondary-dark: #f2a917;
    --accent-color: #0bc6a4;
    --accent-light: #32cd85;
    --accent-dark: #028b71;
    --neutral-color: #5c626e;
    --neutral-light: #d0d3d6;
    --neutral-dark: #3d475c;
    --background-color: #f9fafb;
    --background-light: #ffffff;
    --background-dark: #2a2f3f;
    --text-primary: #18283c;
    --text-secondary: #585f68;
    --text-light: #ffffff;
}

/* Global Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-light);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.94rem;
}

.display-4 {
    font-size: 2.56rem;
    font-weight: 700;
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text-secondary);
}

/* Header Styles */
.navbar-brand {
    font-size: 1.60rem !important;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-primary) !important;
    transition: color 0.63s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--background-light) 0%, var(--background-color) 100%);
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 40%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(99, 102, 241, 0.05) 50%, transparent 70%);
    transform: rotate(-15deg);
    z-index: 1;
}

#hero .container {
    position: relative;
    z-index: 2;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    padding: 0.75rem 2rem;
    transition: all 0.66s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 11px 12px rgba(91, 90, 224, 0.30);
}

.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);
}

/* Card Styles */
.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.67s ease;
    border-radius: 12px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Icon Styles */
.fa-3x {
    color: var(--primary-color);
}

.fa-2x {
    color: var(--primary-color);
}

/* Section Spacing */
section {
    padding: 4rem 0;
}

.py-5 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

/* Background Variations */
.bg-light {
    background-color: var(--background-color) !important;
}

/* Team Section */
.col-lg-2-4 {
    flex: 0 0 auto;
    width: 20%;
}

@media (max-width: 991.98px) {
    .col-lg-2-4 {
        width: 50%;
    }
}

@media (max-width: 575.98px) {
    .col-lg-2-4 {
        width: 100%;
    }
}

/* Gallery Styles */
#gallery img {
    transition: transform 1.12s ease;
    border-radius: 8px;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* Form Styles */
.form-control {
    border-radius: 8px;
    border: 2px solid var(--neutral-light);
    padding: 0.75rem 1rem;
    transition: border-color 1.13s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(101, 91, 241, 0.25);
}

/* Footer Styles */
#footer {
    background-color: var(--background-dark) !important;
}

#footer a {
    text-decoration: none;
    transition: color 0.47s ease;
}

#footer a:hover {
    color: var(--primary-light) !important;
}

/* Process Steps */
.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Breadcrumb */
.breadcrumb-nav {
    padding: 1rem 0;
}

.breadcrumb-icon {
    height: 24px;
    width: auto;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.text-success {
    color: var(--accent-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
    .card {
        transition: all 1.26s ease;
    }
    
    .btn {
        transition: all 0.88s ease;
    }
    
    .nav-link {
        transition: color 1.20s ease;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mobile Optimizations */
@media (max-width: 767.98px) {
    .display-4 {
        font-size: 2rem;
    }
    
    #hero {
        min-height: 70vh;
    }
    
    .navbar-brand {
        font-size: 1.30rem !important;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

/* FAQ Section */
#faq .card {
    margin-bottom: 1rem;
}

#faq .card-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.60rem;
}

#faq .card-text {
    color: var(--text-secondary);
}

/* High Contrast Footer */
#footer {
    background: var(--background-dark);
    color: var(--text-light);
}

#footer h5, #footer h6 {
    color: var(--text-light);
    font-weight: 600;
}

#footer p {
    color: var(--neutral-light);
}

#footer .list-unstyled a {
    color: var(--neutral-light);
}

#footer .list-unstyled a:hover {
    color: var(--text-light);
}

/* Services Grid */
#services .row.g-4 > * {
    margin-bottom: 1.62rem;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Custom Grid Fixes */
.container {
    max-width: 1200px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
} 


/* 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;
    }
}
