/* Root Variables and Color Palette */
:root {
    --primary-color: #2c5282;
    --primary-light: #4a7cb8;
    --primary-dark: #1a365d;
    --secondary-color: #38a169;
    --secondary-light: #68d391;
    --secondary-dark: #276749;
    --accent-color: #e53e3e;
    --accent-light: #fc8181;
    --accent-dark: #c53030;
    --neutral-color: #718096;
    --neutral-light: #e2e8f0;
    --neutral-dark: #2d3748;
    --success-color: #48bb78;
    --warning-color: #ed8936;
    --info-color: #4299e1;
    --light-bg: #f7fafc;
    --dark-bg: #1a202c;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--neutral-dark);
    background-color: #ffffff;
}

/* Typography */
h1 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

h2 {
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    color: var(--neutral-dark);
}

h4 {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    color: var(--neutral-dark);
}

h5 {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--primary-color);
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--neutral-color);
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Header Styles */
header.navbar {
    background: linear-gradient(to right, var(--primary-light), var(--primary-color)) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 0.75rem 0;
}

.navbar-brand {
    font-size: 1.25rem !important;
    font-weight: 600;
    color: #fff !important;
}

.navbar-light .navbar-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #fff !important;
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.5);
}

.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.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    overflow: hidden;
    margin-top: 76px;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 10%, transparent 10%);
    background-size: 50px 50px;
    top: -25%;
    left: -25%;
    transform: rotate(45deg);
}

.hero-section h1 {
    color: #fff;
    font-size: 2.5rem;
}

.hero-section h3 {
    color: var(--secondary-light);
    font-size: 1.75rem;
}

.hero-section p {
    color: rgba(255,255,255,0.9);
    font-size: 1.125rem;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

section h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

section h3 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

section > .container > p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Card Styles */
.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-body h4 {
    color: var(--primary-color);
}

.card-body h5 {
    color: var(--accent-color);
    font-size: 1.25rem;
    font-weight: 600;
}

/* Process Number */
.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--neutral-light);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--neutral-light);
}

/* Reviews Slider */
.reviews-slider .swiper-slide {
    padding: 1rem;
}

.reviews-slider .card {
    background: var(--light-bg);
}

/* Form Styles */
.form-control {
    border: 1px solid var(--neutral-light);
    padding: 0.75rem 1rem;
    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(44, 82, 130, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
}

/* Contact Info */
.contact-info {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 0.5rem;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Gallery */
#gallery img {
    transition: transform 0.3s ease;
    cursor: pointer;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    background: var(--dark-bg) !important;
    padding: 3rem 0 2rem;
}

footer h4,
footer h5 {
    color: #fff;
    font-size: 1.125rem;
}

footer p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--secondary-light) !important;
}

footer hr {
    border-color: rgba(255,255,255,0.1);
}

footer small {
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}

/* Breadcrumbs */
.breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 2rem;
}

.breadcrumb-item img {
    opacity: 0.7;
}

/* Accordion (FAQ) */
.accordion-button {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-dark);
}

.accordion-button:not(.collapsed) {
    background-color: var(--light-bg);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--neutral-light);
}

/* Icons */
.fas,
.far {
    color: var(--primary-color);
}

/* Utility Classes */
.bg-light {
    background-color: var(--light-bg) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-success {
    color: var(--success-color) !important;
}

/* Space Page */
#space {
    min-height: calc(100vh - 76px - 300px);
    margin-top: 76px;
    background: linear-gradient(135deg, var(--light-bg), #fff);
}

/* Blog Grid */
#blog_grid .card {
    transition: all 0.3s ease;
}

#blog_grid .card:hover {
    transform: translateY(-5px);
}

/* Additional Page Styles */
.breadcrumb {
    margin-top: 1rem;
} 