/* Root Variables */
:root {
    --primary-color: #2c5aa0;
    --secondary-color: #e74c3c;
    --accent-color: #f39c12;
    --success-color: #27ae60;
    --dark-color: #2c3e50;
    --light-primary: #5a8dd7;
    --light-secondary: #ff6b5a;
    --light-accent: #ffb84d;
    --dark-primary: #1a3a6e;
    --dark-secondary: #c0392b;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* Typography - Conservative Sizes */
h1, .h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h2, .h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.875rem;
}

h3, .h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

h4, .h4 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.625rem;
}

h5, .h5 {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.125rem;
    font-weight: 300;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--bg-white) 0%, rgba(255,255,255,0.95) 100%);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

.navbar-nav .nav-link {
  font-size: 12px !important;
    font-size: 0.9375rem;
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--light-primary) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, -30px) rotate(180deg); }
}

.hero-section h1 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-section h2 {
    color: rgba(255,255,255,0.9);
}

.hero-section p {
    color: rgba(255,255,255,0.8);
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.display-5 {
    font-size: 2.5rem;
    font-weight: 700;
}

.display-4 {
    font-size: 3rem;
    font-weight: 700;
}

/* Feature Boxes */
.feature-box {
    background: var(--bg-white);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Service Cards */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-card img {
    height: 200px;
    object-fit: cover;
}

/* Price Cards */
.price-card {
    position: relative;
    transition: transform 0.3s ease;
}

.price-card:hover {
    transform: scale(1.05);
}

.price-amount {
    padding: 2rem 0;
    border-bottom: 2px solid rgba(0,0,0,0.1);
}

/* Team Members */
.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid var(--bg-light);
    transition: border-color 0.3s ease;
}

.team-member:hover img {
    border-color: var(--primary-color);
}

/* Reviews Slider */
.review-card {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Timeline */
.timeline-item {
    position: relative;
    padding-left: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 9px;
    top: 30px;
    width: 2px;
    height: calc(100% + 20px);
    background: var(--light-primary);
}

.timeline-item:last-child::after {
    display: none;
}

/* Process Steps */
.process-step {
    padding: 1rem;
}

.step-number {
    font-weight: 700;
}

/* Contact Form */
.contact-form {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-control, .form-select {
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 5px;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
}

/* Buttons */
.btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.9375rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--light-primary) 100%);
    border: none;
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-primary) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
}

/* Accordion */
.accordion-button {
    font-size: 1rem;
    font-weight: 500;
    background: var(--bg-white);
}

.accordion-button:not(.collapsed) {
    background: var(--bg-light);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

/* Gallery */
#gallery img {
    transition: transform 0.3s ease;
    cursor: pointer;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* Blog Cards */
.blog-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.blog-card img {
    height: 200px;
    object-fit: cover;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a252f 100%);
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--light-primary) !important;
}

/* Utility Classes */
.shadow {
    box-shadow: var(--shadow) !important;
}

.rounded {
    border-radius: 10px !important;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Gradients */
.gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--light-primary) 100%);
}

.gradient-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--light-secondary) 100%);
}

.gradient-accent {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--light-accent) 100%);
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-section::before {
        animation: none;
    }
} 