:root {
    /* Primary Color Palette - High Contrast Pastels */
    --primary-sage: #8fb996;
    --primary-ocean: #7fb3d1;
    --primary-coral: #f4a79d;
    --primary-lavender: #b8a7d9;
    --primary-gold: #e6c068;
    
    /* Light Shades */
    --light-sage: #c8e6ce;
    --light-ocean: #bfd9e8;
    --light-coral: #fad5d0;
    --light-lavender: #e0d6f3;
    --light-gold: #f2dfa4;
    
    /* Dark Shades */
    --dark-sage: #5f7a66;
    --dark-ocean: #4a7b99;
    --dark-coral: #d17f70;
    --dark-lavender: #8b7aaf;
    --dark-gold: #bf9f3e;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark-gray: #343a40;
    --black: #000000;
}

/* Global 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);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--dark-sage);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 0.6rem;
}

h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

h5 {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
}

h6 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

p {
    margin-bottom: 1rem;
    color: var(--gray);
}

.lead {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--dark-coral);
}

/* Header Styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, var(--white) 0%, var(--light-sage) 100%);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-sage) !important;
}

.navbar-nav .nav-link {
    color: var(--dark-sage) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-ocean) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-sage) 0%, var(--light-ocean) 50%, var(--light-coral) 100%);
    color: var(--dark-gray);
    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);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: var(--dark-sage);
    font-size: 3rem;
    font-weight: 700;
}

.hero-section .lead {
    color: var(--dark-coral);
    font-size: 1.3rem;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.bg-light {
    background: linear-gradient(135deg, var(--light-sage) 0%, var(--light-ocean) 100%) !important;
}

/* Card Styles */
.feature-card, .service-card, .price-card, .team-member, .review-card, .blog-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    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, .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.service-card {
    border: 2px solid var(--light-sage);
}

.service-card .card-img-top {
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.price-card {
    border: 2px solid var(--light-ocean);
}

.price-card.featured {
    border-color: var(--primary-coral);
    transform: scale(1.05);
}

.price-card ul {
    list-style: none;
    padding: 0;
}

.price-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.price-card li:last-child {
    border-bottom: none;
}

/* Team Section */
.team-member img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin: 0 auto 1rem;
}

/* Review Cards */
.review-card {
    background: linear-gradient(135deg, var(--light-lavender) 0%, var(--light-gold) 100%);
    border-left: 4px solid var(--primary-coral);
}

/* Process Section */
.process-step {
    text-align: center;
    margin-bottom: 2rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-sage) 0%, var(--primary-ocean) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(135deg, var(--primary-sage) 0%, var(--primary-ocean) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 1rem 2rem;
    margin: 2rem 0;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.timeline-item:nth-child(odd) {
    left: 0;
    margin-right: 50%;
}

.timeline-item:nth-child(even) {
    left: 50%;
    margin-left: 50%;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--primary-coral);
    border-radius: 50%;
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
}

.timeline-item:nth-child(even)::before {
    left: -8px;
    right: auto;
}

/* Gallery */
.gallery img {
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Contact Form */
.contact-form {
    background: linear-gradient(135deg, var(--light-sage) 0%, var(--light-ocean) 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.contact-form .form-control {
    border: 2px solid var(--light-sage);
    border-radius: 8px;
    padding: 0.8rem;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-ocean);
    box-shadow: 0 0 0 0.2rem rgba(127, 179, 209, 0.25);
}

/* Buttons */
.btn {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-sage) 0%, var(--primary-ocean) 100%);
    border: none;
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-sage) 0%, var(--dark-ocean) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--light-coral) 0%, var(--dark-ocean) 100%);
    color: var(--white);
}

footer h5, footer h6 {
    color: var(--white);
    margin-bottom: 1rem;
}

footer a {
    color: var(--light-coral);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-coral);
}

/* Accordion */
.accordion-item {
    border: 1px solid var(--light-sage);
    margin-bottom: 0.5rem;
    border-radius: 8px;
}

.accordion-button {
    background: linear-gradient(135deg, var(--light-sage) 0%, var(--light-ocean) 100%);
    color: var(--dark-gray);
    border: none;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-sage) 0%, var(--primary-ocean) 100%);
    color: var(--white);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(143, 185, 150, 0.25);
}

/* Breadcrumb */
.breadcrumb-nav {
    background: linear-gradient(135deg, var(--light-sage) 0%, var(--light-ocean) 100%);
    padding: 1rem 0;
}

.breadcrumb-image {
    height: 40px;
    width: auto;
}

/* Additional Page Styles */
.material-card, .innovation-card, .metric-card, .strategy-card, .future-card,
.insight-card, .driver-card, .pattern-card, .segment-card, .prediction-card,
.case-study-card, .feature-box, .core-info-card, .career-card {
    background: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.material-card:hover, .innovation-card:hover, .metric-card:hover, .strategy-card:hover, .future-card:hover,
.insight-card:hover, .driver-card:hover, .pattern-card:hover, .segment-card:hover, .prediction-card:hover,
.case-study-card:hover, .feature-box:hover, .core-info-card:hover, .career-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Icon Styles */
.fas {
    color: var(--primary-coral);
}

/* Text Colors */
.text-primary {
    color: var(--primary-sage) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        margin-left: 40px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
        margin-left: 40px;
    }
    
    .timeline-item::before {
        left: -28px;
    }
    
    .timeline-item:nth-child(even)::before {
        left: -28px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Image Placeholder Styles */
img {
    max-width: 100%;
    height: auto;
}

/* Specify image dimensions for consistent layout */
.hero-section img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.team-member img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
}

.gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

.breadcrumb-image {
    height: 40px;
    width: auto;
    object-fit: contain;
} 


/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

.social-icons-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
