/* Color Palette Variables */
:root {
    --primary-color: #4A90E2;
    --primary-light: #7BB3F0;
    --primary-dark: #2E5B9E;
    --secondary-color: #F39C12;
    --secondary-light: #F5B041;
    --secondary-dark: #E67E22;
    --accent-color: #27AE60;
    --accent-light: #58D68D;
    --accent-dark: #1E8449;
    --tertiary-color: #E74C3C;
    --tertiary-light: #EC7063;
    --tertiary-dark: #C0392B;
    --neutral-color: #95A5A6;
    --neutral-light: #BDC3C7;
    --neutral-dark: #7F8C8D;
    --light-bg: #F8F9FA;
    --dark-bg: #2C3E50;
    --text-dark: #2C3E50;
    --text-light: #6C757D;
    --white: #FFFFFF;
    --border-light: #E9ECEF;
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
  overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

h4 {
    font-size: 1.25rem;
    color: var(--accent-color);
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Header Styles */
.navbar {
    background: linear-gradient(135deg, var(--white), var(--light-bg));
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem !important;
    font-weight: 700;
    color: var(--primary-color) !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
  font-size: 10px !important;
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="50" cy="10" r="1" fill="rgba(255,255,255,0.06)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: var(--white);
    background: none;
    -webkit-text-fill-color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-section h2 {
    color: var(--neutral-light);
    font-size: 1.5rem;
}

.hero-section p {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Feature Cards */
.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.feature-card i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.service-card .card-body {
  overflow-x: hidden;
    padding: 1.5rem;
}

.service-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-align: center;
    margin-top: 1rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card ul li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-card ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Feature Items */
.feature-item {
    padding: 1.5rem;
    border-radius: 8px;
    background: var(--light-bg);
    margin-bottom: 1rem;
}

.feature-icon {
    margin-right: 1rem;
    color: var(--primary-color);
}

/* Pricing Cards */
.pricing-card {
    background: var(--white);
    border: 2px solid var(--border-light);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.pricing-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.pricing-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.pricing-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

/* Team Section */
.team-member {
    text-align: center;
    margin-bottom: 2rem;
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid var(--primary-light);
}

/* Reviews Slider */
.reviews-swiper {
    padding: 2rem 0;
}

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin: 1rem;
}

.review-card p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin: 2rem 0;
    padding: 1rem 2rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 45%;
}

.timeline-item:nth-child(odd) {
    margin-left: 0;
}

.timeline-item:nth-child(even) {
    margin-left: 55%;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 1rem;
    width: 12px;
    height: 12px;
    background: var(--secondary-color);
    border-radius: 50%;
}

.timeline-item:nth-child(odd)::before {
    right: -25px;
}

.timeline-item:nth-child(even)::before {
    left: -25px;
}

/* Process Steps */
.process-step {
    text-align: center;
    margin-bottom: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.contact-form .form-control {
    border: 2px solid var(--border-light);
    border-radius: 8px;
    padding: 0.75rem;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
    transform: translateY(-2px);
}

/* Blog Cards */
.blog-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.blog-card .card-body {
  overflow-x: hidden;
    padding: 1.5rem;
}

/* FAQ Accordion */
.accordion-button {
    background: var(--light-bg);
    border: none;
    color: var(--text-dark);
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: var(--white);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(74, 144, 226, 0.25);
}

/* Gallery */
.gallery-img {
    border-radius: 8px;
    transition: transform 0.3s ease;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-img:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-bg), var(--neutral-dark)) !important;
    color: var(--white);
    margin-top: 4rem;
}

footer h4, footer h5 {
    color: var(--white);
    margin-bottom: 1rem;
}

footer a {
    color: var(--neutral-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--white);
}

footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item img {
    opacity: 0.7;
}

/* Additional Card Styles */
.program-card, .care-card, .special-program, .safety-feature, 
.partnership-feature, .job-card, .info-card, .case-study-card,
.facility-card, .outdoor-feature, .kitchen-feature, .tech-feature, .comfort-feature {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border-left: 4px solid var(--primary-color);
}

.program-card:hover, .care-card:hover, .special-program:hover, 
.safety-feature:hover, .partnership-feature:hover, .job-card:hover, 
.info-card:hover, .case-study-card:hover, .facility-card:hover, 
.outdoor-feature:hover, .kitchen-feature:hover, .tech-feature:hover, 
.comfort-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-left-color: var(--secondary-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;
}

.gradient-bg {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Button Styles */
.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
} 