/* Color Palette */
:root {
    --primary-color: #545cd9;
    --primary-light: #b5cdff;
    --primary-dark: #5a47da;
    --secondary-color: #ff9f1a;
    --secondary-light: #fac314;
    --secondary-dark: #d25e19;
    --accent-color: #0fad80;
    --accent-light: #25d19a;
    --accent-dark: #038e56;
    --neutral-color: #4e5567;
    --neutral-light: #abaeb8;
    --neutral-dark: #40536a;
    --text-color: #212e43;
    --text-light: #5c6a79;
    --bg-color: #ffffff;
    --bg-light: #f9fafb;
    --bg-dark: #121c2a;
    --border-color: #ccd3e3;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    font-size: 1rem;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 {
    font-size: 2.53rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.62rem;
}

h4 {
    font-size: 1.31rem;
}

h5 {
    font-size: 1.15rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy.loaded {
    opacity: 1;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.62rem;
    font-weight: 700;
    color: white;
}

.navbar-brand:hover {
    color: var(--primary-light);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: white;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-light);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-pattern.webp') repeat;
    opacity: 0.1;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.63rem;
    color: white;
    padding-top: 175px;
}

.hero-section p {
    font-size: 1.27rem;
    margin-bottom: 1.60rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Cards */
.feature-card, .service-card, .price-card, .team-member, .review-card, .case-study-card, .career-card, .info-card, .blog-card, .feature-item {
    background: white;
    border-radius: 13px;
    padding: 2rem;
    box-shadow: 0 6px 6px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover, .service-card:hover, .price-card:hover, .team-member:hover, .review-card:hover, .case-study-card:hover, .career-card:hover, .info-card:hover, .blog-card:hover, .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px var(--shadow-color);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.59rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1rem;
}

.price-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.team-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.reviewer {
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 1rem;
}

/* Process Timeline */
.process-timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin: 2rem 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 1;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 9px var(--shadow-color);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.34rem;
    margin: 0 auto 1rem;
}

/* Timeline */
.timeline {
    position: relative;
    margin: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 2rem 0;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px var(--shadow-color);
    width: 45%;
}

.timeline-item:nth-child(odd) {
    margin-left: 0;
    margin-right: auto;
}

.timeline-item:nth-child(even) {
    margin-left: auto;
    margin-right: 0;
}

.timeline-date {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.28rem;
    margin-bottom: 0.73rem;
}

/* FAQ Accordion */
.accordion-button {
    background: none;
    border: none;
    padding: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.accordion-body {
    padding: 1rem;
    background: var(--bg-light);
}

/* Gallery */
.gallery-image {
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.05);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.form-control {
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(114, 104, 223, 0.25);
}

.form-control.is-invalid {
    border-color: #c83551;
}

.form-control.is-valid {
    border-color: #28a23a;
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.45rem;
    font-size: 1.02rem;
    color: #e63460;
}

.valid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.45rem;
    font-size: 0.93rem;
    color: #1ba93b;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    margin-top: 2rem;
}

.footer h5 {
    color: white;
    margin-bottom: 1rem;
}

.footer .list-unstyled {
    list-style: none;
}

.footer .list-unstyled li {
    margin-bottom: 0.66rem;
}

.footer .list-unstyled a {
    color: var(--neutral-light);
    transition: color 0.3s ease;
}

.footer .list-unstyled a:hover {
    color: white;
}

.footer hr {
    border-color: var(--neutral-color);
    margin: 2rem 0;
}

/* Breadcrumb */
.breadcrumb-nav {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    margin-top: 76px;
}

.breadcrumb-wrapper {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.breadcrumb-icon {
    width: 20px;
    height: 20px;
}

/* Space Container */
.space-container {
    min-height: 80vh;
    margin-top: 76px;
    background: var(--bg-light);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    padding-top: 175px;
}
    
    .process-timeline {
        flex-direction: column;
        gap: 1rem;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        margin-left: 40px;
    }
    
    .timeline-item:nth-child(even) {
        margin-left: 40px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px var(--shadow-color);
}

.border-gradient {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box, linear-gradient(135deg, var(--primary-color), var(--secondary-color)) border-box;
} 


/* 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;
    }
}
