/* Color Palette Variables */
:root {
    --primary-color: #4a7fea;
    --secondary-color: #61ce8b;
    --accent-color: #f4c535;
    --warning-color: #e24131;
    --info-color: #6b08ff;
    
    /* Light/Dark Shades */
    --primary-light: #8fb9fa;
    --primary-dark: #3279a3;
    --secondary-light: #88daa1;
    --secondary-dark: #4cad62;
    --accent-light: #ffc062;
    --accent-dark: #af7f0d;
    --warning-light: #d66341;
    --warning-dark: #c13c2e;
    --info-light: #7d2bff;
    --info-dark: #7b0cc6;
    
    /* Neutral Colors */
    --light-bg: #F8F9FA;
    --dark-bg: #2b3b4d;
    --text-primary: #273542;
    --text-secondary: #5e6366;
    --text-light: #FFFFFF;
    
    /* Font Settings */
    --font-size-base: 16px;
    --font-size-small: 14px;
    --font-size-large: 110px;
    --font-size-h1: 2.5rem;
    --font-size-h2: 2rem;
    --font-size-h3: 1.75rem;
    --font-size-h4: 1.5rem;
    --font-size-h5: 1.25rem;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-max-width: 1200px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: #ffffff;
}

/* Accessibility - 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;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: var(--font-size-h4); }
h5 { font-size: var(--font-size-h5); }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Header and Navigation */
.navbar-brand {
    font-size: 1.55rem !important;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-primary) !important;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 0.5rem 0;
}

.breadcrumb-image {
    height: 24px;
    width: auto;
}

/* Hero Section */
.hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(69, 122, 203, 0.30);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Cards */
.feature-card, .service-card, .review-card, .case-study-card, 
.career-item, .info-item, .blog-card, .element-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.feature-card:hover, .service-card:hover, .review-card:hover,
.case-study-card:hover, .career-item:hover, .blog-card:hover,
.element-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.1);
}

/* Service Cards */
.service-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.price-tag {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
}

/* Team Section */
.team-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

/* Reviews */
.stars i {
    color: var(--accent-color);
    margin-right: 0.25rem;
}

/* Process Steps */
.step-number {
    font-weight: 700;
    font-size: 1.52rem;
}

/* Timeline */
.year-badge {
    font-weight: 600;
    font-size: 1.04rem;
}

/* Pricing Cards */
.pricing-card {
    position: relative;
    overflow: hidden;
}

.pricing-card .badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.price-display {
    font-size: 2.58rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Contact Form */
.contact-form {
    background: white;
    border-radius: 15px;
}

.contact-form .form-control {
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(85, 167, 219, 0.25);
}

.contact-info p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* FAQ Section */
.accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px !important;
    overflow: hidden;
}

.accordion-button {
    background: var(--light-bg);
    border: none;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-light);
    color: white;
}

/* Gallery */
.gallery img {
    transition: all 0.3s ease;
    border-radius: 10px;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    background: var(--dark-bg) !important;
}

footer h4, footer h5 {
    color: var(--text-light);
    margin-bottom: 1.57rem;
}

footer p, footer li {
    color: #c2cad6;
    margin-bottom: 0.73rem;
}

footer a {
    color: #c8c9ca;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-light);
}

footer i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Background Sections */
.bg-light {
    background-color: var(--light-bg) !important;
}

.bg-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
}

.bg-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%) !important;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Section Spacing */
section {
    padding: var(--section-padding);
}

/* Utilities */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-success { color: var(--secondary-color) !important; }
.text-warning { color: var(--accent-color) !important; }
.text-info { color: var(--info-color) !important; }

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Focus States for Accessibility */
.btn:focus, .form-control:focus, .nav-link:focus {
    outline: 3px solid var(--primary-light);
    outline-offset: 2px;
}

/* High Contrast Support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0044a8;
        --secondary-color: #2b9f3e;
        --text-primary: #000000;
        --text-secondary: #2a2a2a;
    }
}

/* Space Page Styling */
#space {
    min-height: calc(100vh - 200px);
    padding-top: 80px; /* Account for fixed navbar */
    background-color: var(--light-bg);
} 


/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
