:root {
    /* Primary Color Palette - High Contrast Pastels */
    --primary-blue: #3a9fe7;
    --primary-teal: #2188a5;
    --primary-purple: #872d95;
    --primary-coral: #fb7f7d;
    --primary-green: #1bc14d;
    
    /* Light Shades */
    --light-blue: #eaf5fd;
    --light-teal: #e1fff9;
    --light-purple: #fdfaff;
    --light-coral: #fff3f5;
    --light-green: #e8fff8;
    
    /* Dark Shades */
    --dark-blue: #1e6bc3;
    --dark-teal: #17828b;
    --dark-purple: #5c216b;
    --dark-coral: #e3673f;
    --dark-green: #22b466;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --gray: #505f68;
    --dark-gray: #232c31;
    --black: #000000;
    
    /* Typography */
    --font-size-root: 16px;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 15px;
    
    /* Shadows */
    --shadow-light: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 15px rgba(0,0,0,0.15);
    --shadow-heavy: 0 8px 25px rgba(0,0,0,0.2);
    
    /* Border Radius */
    --border-radius: 8px;
    --border-radius-lg: 12px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-root);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    margin: 0;
    padding: 0;
}

/* Typography */
h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 0.90rem;
}

h3 {
    font-size: 1.62rem;
    font-weight: 500;
    color: var(--primary-teal);
    margin-bottom: 0.71rem;
}

h4 {
    font-size: 1.29rem;
    font-weight: 500;
    color: var(--dark-gray);
    margin-bottom: 0.69rem;
}

h5 {
    font-size: 1.22rem;
    font-weight: 500;
    color: var(--dark-gray);
    margin-bottom: 0.70rem;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--gray);
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
    box-shadow: var(--shadow-medium);
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.34rem !important;
    font-weight: 700;
    color: var(--white) !important;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--light-blue) !important;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    color: var(--white);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../BAC_images/hero-pattern.webp') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: var(--white);
    font-size: 2.57rem;
    margin-bottom: 1rem;
}

.hero-section h2 {
    color: var(--light-blue);
    font-size: 1.54rem;
    font-weight: 400;
    margin-bottom: 1.67rem;
}

.hero-section p {
    color: var(--light-blue);
    font-size: 1.22rem;
    margin-bottom: 2rem;
}

/* Card Styles */
.feature-card,
.service-card,
.price-card,
.review-card,
.case-study-card,
.career-card,
.info-card,
.faq-card,
.blog-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
}

.feature-card:hover,
.service-card:hover,
.price-card:hover,
.review-card:hover,
.case-study-card:hover,
.career-card:hover,
.info-card:hover,
.faq-card:hover,
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-blue);
}

/* Service Cards */
.service-card {
    background: linear-gradient(135deg, var(--light-blue), var(--light-teal));
}

.service-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    margin-top: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--border-radius);
}

/* Price Cards */
.price-card {
    text-align: center;
    position: relative;
}

.price-card.featured {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    color: var(--white);
    transform: scale(1.05);
}

.price-card.featured h4,
.price-card.featured p {
    color: var(--white);
}

.price-tag {
    font-size: 2.54rem;
    font-weight: 700;
    color: var(--primary-coral);
    margin: 1.5rem 0;
}

.price-card.featured .price-tag {
    color: var(--white);
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 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-bottom: 1rem;
    border: 3px solid var(--primary-teal);
}

/* Review Cards */
.review-card {
    background: linear-gradient(135deg, var(--light-purple), var(--light-coral));
    font-style: italic;
}

.review-card p {
    font-size: 1.20rem;
    margin-bottom: 1rem;
}

.review-card h5 {
    color: var(--primary-purple);
    font-weight: 600;
    text-align: right;
}

/* Process Steps */
.process-step {
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-coral), var(--primary-purple));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.56rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* Timeline Items */
.timeline-item {
    position: relative;
    padding: 1.5rem;
    background: var(--light-green);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

/* Forms */
.form-control {
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(58, 120, 236, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1.22rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-blue), var(--dark-teal));
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Contact Info */
.contact-info {
    background: linear-gradient(135deg, var(--light-teal), var(--light-green));
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    height: 100%;
}

.contact-info h4 {
    color: var(--primary-teal);
    margin-bottom: 1.73rem;
}

.contact-info p {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    color: var(--primary-teal);
    margin-right: 0.75rem;
    width: 20px;
}

/* Gallery */
#gallery img {
    border-radius: var(--border-radius);
    transition: var(--transition);
}

#gallery img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-gray), var(--black));
    color: var(--white);
}

footer h4,
footer h5 {
    color: var(--white);
    margin-bottom: 1.64rem;
}

footer a {
    color: var(--light-blue);
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: var(--white);
    text-decoration: underline;
}

footer hr {
    border-color: var(--gray);
    margin: 2rem 0;
}

/* FAQ Section */
.faq-card {
    background: var(--light-blue);
    border-left: 4px solid var(--primary-blue);
}

.faq-card h5 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* Blog Cards */
.blog-card img {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.blog-card .card-body {
    padding: 1.5rem;
}

.blog-card a {
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: 600;
}

.blog-card a:hover {
    color: var(--dark-teal);
    text-decoration: underline;
}

/* Breadcrumbs */
.breadcrumbs {
    padding-top: 80px;
    background: var(--light-gray);
}

.breadcrumb-icon {
    width: 24px;
    height: 24px;
    opacity: 0.7;
}

/* Space Section */
#space {
    background: linear-gradient(135deg, var(--light-purple), var(--light-coral));
    padding-top: 80px;
}

/* Icon Styles */
.fa-3x {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* Section Backgrounds */
.bg-light {
    background: linear-gradient(135deg, var(--light-gray), var(--light-blue)) !important;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-blue) !important;
}

.text-secondary {
    color: var(--primary-teal) !important;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Additional Page Elements */
.service-element,
.coverage-element,
.booking-element,
.safety-element,
.benefit-element,
.foundation-element,
.excellence-element,
.tech-element,
.green-element,
.award-element {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    text-align: center;
    height: 100%;
    border: 2px solid transparent;
}

.service-element:hover,
.coverage-element:hover,
.booking-element:hover,
.safety-element:hover,
.benefit-element:hover,
.foundation-element:hover,
.excellence-element:hover,
.tech-element:hover,
.green-element:hover,
.award-element:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-teal);
}

.service-element {
    background: linear-gradient(135deg, var(--light-blue), var(--white));
}

.coverage-element {
    background: linear-gradient(135deg, var(--light-teal), var(--white));
}

.booking-element {
    background: linear-gradient(135deg, var(--light-purple), var(--white));
}

.safety-element {
    background: linear-gradient(135deg, var(--light-coral), var(--white));
}

.benefit-element {
    background: linear-gradient(135deg, var(--light-green), var(--white));
}

.foundation-element {
    background: linear-gradient(135deg, var(--light-purple), var(--white));
}

.excellence-element {
    background: linear-gradient(135deg, var(--light-coral), var(--white));
}

.tech-element {
    background: linear-gradient(135deg, var(--light-teal), var(--white));
}

.green-element {
    background: linear-gradient(135deg, var(--light-green), var(--white));
}

.award-element {
    background: linear-gradient(135deg, var(--light-blue), var(--white));
} 


/* Team Social Links - Elegant Style */
.team-social-links {
    margin-top: 24px;
    padding: 18px 0;
}

.social-icons-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.9);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 1);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.9);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 1);
    box-shadow: 0 8px 30px rgba(10, 102, 194, 0.4);
}

.x-link {
    background: rgba(0, 0, 0, 0.9);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 19px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
}
