/* Core Theme Styles */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700;800&family=Open+Sans:wght@300;400;600&display=swap');

:root {
  --primary-color: #4a90e2;    /* Soft Light Blue */
  --secondary-color: #5cb85c;  /* Soft Green for accents */
  --light-bg: #f8f9fa;         /* Soft Gray */
  --white: #ffffff;
  --text-dark: #333333;
  --text-muted: #6c757d;
  --heading-font: 'Nunito', sans-serif;
  --body-font: 'Open Sans', sans-serif;
  --shadow-sm: 0 5px 15px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 25px rgba(0,0,0,0.08);
  --radius: 12px;
  --transition: all 0.3s ease;
}

body {
  font-family: var(--body-font);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--text-dark);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: #357abd;
}

/* Utilities */
.bg-light-gray { background-color: var(--light-bg); }
.bg-primary-soft { background-color: var(--primary-color); color: var(--white); }
.text-primary { color: var(--primary-color) !important; }

/* Buttons */
.btn-primary-custom {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-primary-custom:hover {
  background-color: #357abd;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-custom {
  background-color: transparent;
  color: var(--primary-color);
  padding: 10px 28px;
  border-radius: 50px;
  border: 2px solid var(--primary-color);
  font-weight: 600;
  transition: var(--transition);
}

.btn-outline-custom:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Navbar */
.navbar {
  padding: 20px 0;
  transition: var(--transition);
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
}

.navbar.sticky-top {
  padding: 12px 0;
}

.navbar-brand {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-color) !important;
}

.nav-link {
  font-weight: 600;
  color: var(--text-dark) !important;
  margin: 0 10px;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
  padding: 160px 0 100px;
  background: linear-gradient(rgba(248, 249, 250, 0.9), rgba(248, 249, 250, 0.9)), url('https://images.unsplash.com/photo-1573164713988-8665fc963095?auto=format&fit=crop&w=1920&q=80') center/cover;
}

.hero-section h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.hero-section p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* Section Headings */
.section-title {
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 5px;
}

/* Cards & Content Blocks */
.rounded-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(74, 144, 226, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Features */
.feature-block {
  text-align: center;
  margin-bottom: 30px;
}

.feature-block i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Testimonials */
.testimonial-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin: 15px;
  border: 1px solid rgba(0,0,0,0.05);
}

.testimonial-card i {
  color: rgba(74, 144, 226, 0.2);
  font-size: 3rem;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

/* Process Section */
.process-step {
  position: relative;
  text-align: center;
  padding: 30px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
  z-index: 1;
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
}

/* Team Section */
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.team-img-wrapper {
  overflow: hidden;
}

.team-img-wrapper img {
  transition: var(--transition);
}

.team-card:hover .team-img-wrapper img {
  transform: scale(1.05);
}

/* Contact Details */
.contact-preview-box {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  height: 100%;
}

.contact-preview-box i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Form Styling */
.form-control {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ced4da;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(74, 144, 226, 0.25);
}

/* CTA Block */
.cta-block {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 80px 0;
  border-radius: var(--radius);
  text-align: center;
  margin: 50px 0;
}

/* Page Headers */
.page-header {
  padding: 140px 0 80px;
  background-color: var(--light-bg);
  text-align: center;
}

/* Footer */
.footer {
  background-color: #2c3e50;
  color: #aeb6bf;
  padding: 70px 0 20px;
}

.footer h5 {
  color: var(--white);
  margin-bottom: 25px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #aeb6bf; }
.footer-links a:hover { color: var(--primary-color); }

.social-icons a {
  display: inline-flex;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: var(--transition);
}
.social-icons a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

/* Back to Top */
#back-to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 50px; height: 50px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

#back-to-top:hover {
  background: #357abd;
}
