:root {
    /* Primary Color Palette - Pastel high-contrast colors */
    --primary-color: #6c63ff;
    --primary-light: #8b84ff;
    --primary-dark: #4a42cc;
    
    --secondary-color: #ff6b6b;
    --secondary-light: #ff8e8e;
    --secondary-dark: #e55555;
    
    --accent-color: #4ecdc4;
    --accent-light: #6ed4cc;
    --accent-dark: #3ba89f;
    
    --success-color: #51cf66;
    --success-light: #69db7c;
    --success-dark: #40c057;
    
    --warning-color: #ffd43b;
    --warning-light: #ffdd59;
    --warning-dark: #fab005;
    
    /* Neutral Colors */
    --text-dark: #2d3748;
    --text-muted: #718096;
    --text-light: #a0aec0;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    
    /* Typography */
    --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-base: 1rem;
    --line-height-base: 1.6;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-max-width: 1200px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    
    /* Border Radius */
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
}

/* Typography Overrides */
body {
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Conservative font sizes */
.navbar-brand {
    font-size: 1.25rem;
    font-weight: 600;
}

h1, .h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.display-4 {
    font-size: 2.25rem;
}

h2, .h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3, .h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

h4, .h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

h5, .h5 {
    font-size: 1.125rem;
    font-weight: 600;
}

h6, .h6 {
    font-size: 1rem;
    font-weight: 600;
}

.lead {
    font-size: 1.125rem;
    font-weight: 400;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Header Styles */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    color: var(--primary-color);
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    position: relative;
    overflow: hidden;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.shape-1 {
    position: absolute;
    top: 10%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    opacity: 0.1;
}

.shape-2 {
    position: absolute;
    bottom: 10%;
    left: 10%;
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, var(--secondary-color), var(--warning-color));
    border-radius: 50%;
    opacity: 0.1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-buttons .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.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);
    color: white;
}

/* Card Styles */
.card {
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-card,
.service-card,
.pricing-card,
.review-card,
.faq-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover,
.service-card:hover,
.review-card:hover,
.faq-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Service Cards */
.service-card .card-img-top {
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.price-tag {
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

/* Feature Items */
.feature-item {
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    transition: background-color 0.3s ease;
}

.feature-item:hover {
    background-color: var(--bg-light);
}

.feature-icon {
    flex-shrink: 0;
}

/* Pricing Cards */
.pricing-card.border-primary {
    border-width: 2px;
}

.pricing-card .badge {
    position: relative;
    top: -10px;
}

/* Team Section */
.team-member img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

/* Reviews */
.stars i {
    font-size: 1rem;
}

/* FAQ Cards */
.faq-card {
    border-left: 4px solid var(--primary-color);
}

/* Gallery */
.gallery img {
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Contact Form */
.contact-form {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.form-control {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 0.75rem 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(108, 99, 255, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Contact Info */
.contact-info {
    padding: 2rem 1rem;
}

.contact-info i {
    display: block;
    margin: 0 auto;
}

/* Footer - Maximum Contrast Enhancement */
#footer {
    background-color: #1a1a1a !important; /* Maximum dark background for superior contrast */
    color: #ffffff !important; /* Pure white text */
}

/* Force all text elements in footer to have high contrast */
#footer h5, #footer h6 {
    color: #ffffff !important; /* Pure white for all headings */
    font-weight: 600;
}

#footer p {
    color: #f0f0f0 !important; /* Light gray for paragraphs */
    line-height: 1.6;
    margin-bottom: 1rem;
}

#footer .text-muted {
    color: #e0e0e0 !important; /* Lighter gray for better readability */
}

#footer small {
    color: #e0e0e0 !important; /* Ensure small text is readable */
}

/* Enhanced link styling with underlines */
#footer a {
    color: #93c5fd !important; /* Light blue for better visibility */
    text-decoration: underline !important;
    transition: color 0.3s ease;
}

#footer a:hover {
    color: #dbeafe !important; /* Even lighter blue on hover */
    text-decoration: underline !important;
}

/* Focus styles for keyboard navigation */
#footer a:focus {
    outline: 2px solid #93c5fd;
    outline-offset: 2px;
    color: #dbeafe !important;
}

/* Enhanced list spacing for better readability */
#footer ul li {
    margin-bottom: 0.75rem;
}

/* Footer horizontal rule styling */
#footer hr {
    border-color: #4a4a4a !important; /* More visible divider */
    opacity: 0.8;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    #footer {
        background-color: #000000 !important;
        color: #ffffff !important;
    }
    
    #footer a {
        color: #ffffff !important;
        text-decoration: underline !important;
    }
    
    #footer .text-muted {
        color: #ffffff !important;
    }
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item img {
    opacity: 0.7;
}

/* Utility Classes */
.bg-light {
    background-color: var(--bg-light);
}

.text-muted {
    color: var(--text-muted);
}

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow {
    box-shadow: var(--shadow-md);
}

/* Section Spacing */
section {
    padding: var(--section-padding);
}

.py-5 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Additional Page Specific Styles */
.mission-item,
.value-card,
.tech-card,
.industry-card,
.process-step,
.feature-detail,
.metric-card,
.support-item {
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.mission-item:hover,
.value-card:hover,
.process-step:hover,
.metric-card:hover {
    transform: translateY(-3px);
}

.history-item {
    padding: 1rem 0;
}

.year-badge .badge {
    font-size: 0.875rem;
    font-weight: 600;
}

.cert-item {
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    transition: background-color 0.3s ease;
}

.cert-item:hover {
    background-color: var(--bg-light);
}

.step-number {
    font-weight: 700;
}

.metric-number {
    font-weight: 800;
    color: var(--primary-color);
}

/* Accessibility Improvements */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    #footer,
    .hero-shapes {
        display: none;
    }
    
    .hero-section {
        background: white;
    }
    
    * {
        box-shadow: none;
    }
} 

.hero-section h1 {
    padding-top: 250px;
}


/* Team Social Links - Modern Style */
.team-social-links {
    margin-top: 25px;
    padding: 20px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 22px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    transform: scale(0);
    border-radius: inherit;
    transition: transform 0.5s ease;
}

.social-link:hover::before {
    transform: scale(1.2);
}

.social-link:hover {
    transform: translateY(-8px) rotate(10deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #00c6ff);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #0099cc);
}

.instagram-link {
    background: linear-gradient(45deg, #e4405f, #f093fb, #f5576c);
}

.x-link {
    background: linear-gradient(45deg, #000000, #434343);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 24px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }
}

/* JavaScript fallback for guaranteed footer visibility */
.footer-forced-visibility {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
}

.footer-forced-visibility h5,
.footer-forced-visibility h6 {
    color: #ffffff !important;
}

.footer-forced-visibility p {
    color: #f0f0f0 !important;
}

.footer-forced-visibility .text-muted {
    color: #e0e0e0 !important;
}

.footer-forced-visibility small {
    color: #e0e0e0 !important;
}

.footer-forced-visibility a {
    color: #93c5fd !important;
    text-decoration: underline !important;
}

.footer-forced-visibility a:hover {
    color: #dbeafe !important;
}
