/* CSS Variables - 5 Primary Colors with Light/Dark Shades */
:root {
    --primary-color: #398fde;
    --primary-light: #6e95e1;
    --primary-dark: #1f4192;
    
    --secondary-color: #765ce2;
    --secondary-light: #a783ff;
    --secondary-dark: #5754c8;
    
    --tertiary-color: #ff5e64;
    --tertiary-light: #eba59e;
    --tertiary-dark: #f44755;
    
    --quaternary-color: #60cdcd;
    --quaternary-light: #7de0ce;
    --quaternary-dark: #29949c;
    
    --quinary-color: #fff735;
    --quinary-light: #f0da56;
    --quinary-dark: #de9a17;
    
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #75868e;
    --dark-gray: #21252a;
    --black: #2e3338;
    
    --gradient-1: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-2: linear-gradient(45deg, var(--tertiary-color), var(--quaternary-color));
    --gradient-3: linear-gradient(90deg, var(--primary-light), var(--quinary-light));
    --gradient-hero: linear-gradient(135deg, rgba(82, 136, 233, 0.90), rgba(130, 113, 225, 0.90));
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    font-size: 16px;
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.65rem;
    color: var(--primary-dark);
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.61rem;
}

h4 {
    font-size: 1.31rem;
}

h5 {
    font-size: 1.17rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.lead {
    font-size: 1.23rem;
    font-weight: 300;
    color: var(--medium-gray);
}

/* Header & Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.56rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: var(--dark-gray) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    min-height: 100vh;
    background: var(--gradient-hero);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-section .lead {
    color: var(--white);
    font-size: 1.38rem;
    margin-bottom: 1rem;
}

.hero-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.23rem;
}

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 15px 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--gradient-2);
    transform: translateY(-2px);
    box-shadow: 0 9px 18px rgba(0, 0, 0, 0.2);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.12rem;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 25px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-header {
    border-bottom: none;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Feature Cards */
.feature-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Team Section */
.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--primary-light);
}

.team-member h5 {
    color: var(--primary-color);
    margin-bottom: 0.55rem;
}

/* Process Section */
.process-step {
    text-align: center;
    margin-bottom: 2rem;
}

.step-number {
    font-size: 1.63rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Accordion (FAQ) */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.accordion-button {
    background: var(--white);
    border: none;
    padding: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-3);
    color: var(--white);
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    padding: 1.5rem;
    background: var(--light-gray);
}

/* Gallery */
.gallery img {
    border-radius: 10px;
    transition: all 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Forms */
.form-control, .form-select {
    border-radius: 10px;
    border: 2px solid var(--light-gray);
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(80, 124, 223, 0.25);
}

.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Pricing Cards */
.card.border-primary {
    border: 2px solid var(--primary-color) !important;
}

.card.border-success {
    border: 2px solid var(--quaternary-color) !important;
}

.card.border-warning {
    border: 2px solid var(--quinary-color) !important;
}

.bg-primary {
    background: var(--gradient-1) !important;
}

.bg-success {
    background: var(--quaternary-color) !important;
}

.bg-warning {
    background: var(--quinary-color) !important;
}

/* Text Colors */
.text-primary {
    color: var(--primary-color) !important;
}

.text-success {
    color: var(--quaternary-color) !important;
}

.text-warning {
    color: var(--quinary-color) !important;
}

/* Background Sections */
.bg-light {
    background: linear-gradient(45deg, var(--light-gray), rgba(255, 255, 255, 0.9)) !important;
}

/* Footer */
footer {
    background: var(--dark-gray) !important;
    color: var(--white);
}

footer h5 {
    color: var(--primary-light);
    margin-bottom: 1rem;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-light);
}

/* Breadcrumb */
.breadcrumb-section {
    background: var(--light-gray);
    padding: 1rem 0;
}

.breadcrumb-img {
    max-width: 50px;
    height: auto;
}

/* Utilities */
.shadow-sm {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.shadow {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

.shadow-lg {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Image Styling */
img {
    max-width: 100%;
    height: auto;
}

/* Responsive Image Sizing */
.hero-section img,
.card-img-top,
.gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Ensure images maintain aspect ratio */
.card-img-top {
    height: 250px;
}

.gallery img {
    height: 200px;
}

/* High Contrast Colors for Accessibility */
.text-white {
    color: var(--white) !important;
}

.text-dark {
    color: var(--dark-gray) !important;
}

.text-muted {
    color: var(--medium-gray) !important;
}

/* Space Section */
#space {
    background: var(--light-gray);
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Service Item Styling */
.service-item {
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

/* Review Stars */
.fas.fa-star {
    color: var(--quinary-color);
    margin-right: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
} 


/* Team Social Links - Minimal Style */
.team-social-links {
    margin-top: 16px;
    padding: 10px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: white;
}

.social-link:hover {
    transform: translateY(-1px);
    color: white;
}

.facebook-link:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.linkedin-link:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: white;
}

.x-link {
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 18px;
    color: inherit;
}

.x-link:hover {
    background: #000000;
    border-color: #000000;
    color: white;
}

.x-link:hover::after {
    color: white;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
