/* Global Styles */
:root {
  --primary-blue: #4296c0;
  --primary-green: #52c786;
  --primary-purple: #9c5cb5;
  --primary-orange: #ff9d4d;
  --primary-pink: #ff6b6b;
  
  --blue-light: #eef8fc;
  --green-light: #eafaf2;
  --purple-light: #f7eefa;
  --orange-light: #fff4ea;
  --pink-light: #ffeded;
  
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  
  --white: #ffffff;
  --black: #000000;
  
  --font-primary: 'Open Sans', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  
  --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 1rem 2rem rgba(0, 0, 0, 0.175);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Height of fixed header */
}

body {
  font-family: var(--font-primary);
  color: var(--gray-800);
  line-height: 1.7;
  overflow-x: hidden;
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  color: var(--gray-900);
}

h2 {
  font-size: 2rem;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-purple);
}

img {
  max-width: 100%;
  height: auto;
}

/* Utility Classes */
.text-primary-blue {
  color: var(--primary-blue);
}

.text-primary-green {
  color: var(--primary-green);
}

.text-primary-purple {
  color: var(--primary-purple);
}

.text-primary-orange {
  color: var(--primary-orange);
}

.text-primary-pink {
  color: var(--primary-pink);
}

.bg-light-blue {
  background-color: var(--blue-light);
}

.bg-light-green {
  background-color: var(--green-light);
}

.bg-light-purple {
  background-color: var(--purple-light);
}

.bg-light-orange {
  background-color: var(--orange-light);
}

.bg-light-pink {
  background-color: var(--pink-light);
}

/* Navigation */
.navbar {
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary-blue);
}

.navbar-light .navbar-nav .nav-link {
  color: var(--gray-800);
  font-weight: 600;
  padding: 1rem 1rem;
  position: relative;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
  color: var(--primary-blue);
}

.navbar-light .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--primary-blue);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link:focus::after {
  width: 80%;
}

/* Progress Bar */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--primary-blue);
  z-index: 9999;
  width: 0;
  transition: width 0.2s ease-in-out;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
}

.hero-content {
  padding-top: 100px;
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-decoration {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background-color: var(--primary-pink);
  opacity: 0.1;
  border-radius: 50%;
  z-index: -1;
}

/* Section Styling */
.section {
  padding: 5rem 0;
  position: relative;
}

/* Feature Cards */
.feature-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.feature-icon {
  color: var(--primary-blue);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Service Cards */
.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

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

.service-card img {
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.service-price {
  display: inline-block;
  background: var(--primary-blue);
  color: var(--white);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  margin-top: 1rem;
}

/* Team Cards */
.team-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  text-align: center;
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-sm);
}

/* Team Social Links - Square Style */
.team-social-links {
  margin-top: 18px;
  padding: 12px 0;
}

.social-icons {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.social-link {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 17px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(0,0,0,0.15);
  position: relative;
}

.social-link:hover {
  transform: translateY(-2px) rotate(5deg);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  color: white;
}

.facebook-link {
  background: #1877f2;
  border: 2px solid #1877f2;
}

.facebook-link:hover {
  background: #166fe5;
  border-color: #166fe5;
}

.linkedin-link {
  background: #0a66c2;
  border: 2px solid #0a66c2;
}

.linkedin-link:hover {
  background: #0959aa;
  border-color: #0959aa;
}

.instagram-link {
  background: #e4405f;
  border: 2px solid #e4405f;
}

.instagram-link:hover {
  background: #d62976;
  border-color: #d62976;
}

/* Review Cards */
.review-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 4rem;
  color: var(--gray-200);
  line-height: 1;
  opacity: 0.5;
}

.review-author {
  font-weight: 600;
  color: var(--primary-blue);
  margin-top: 1rem;
}

/* Process Steps */
.process-step {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
}

.process-number {
  width: 70px;
  height: 70px;
  background: var(--primary-blue);
  color: var(--white);
  font-weight: 700;
  font-size: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

/* FAQ Cards */
.faq-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary-blue);
}

/* Gallery Section */
.gallery-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
  aspect-ratio: 1/1;
}

.gallery-item:hover {
  box-shadow: var(--shadow-md);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.contact-info {
  background: var(--blue-light);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
}

/* Form Controls */
.form-control {
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(66, 150, 192, 0.25);
  border-color: var(--primary-blue);
}

.form-label {
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

/* Button Styles */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.btn-primary:hover {
  background-color: darken(var(--primary-blue), 10%);
  border-color: darken(var(--primary-blue), 10%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--gray-200);
  padding: 4rem 0 1rem;
}

.footer h5 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer a {
  color: var(--gray-400);
  transition: all 0.3s ease;
}

.footer a:hover {
  color: var(--primary-blue);
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

/* Animations for Scroll Reveal */
[data-sal] {
  transition-duration: 0.4s;
  transition-timing-function: ease-out;
}

/* Accessibility */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}