/* Custom CSS for Vera Landscaping */

:root {
  --bs-success: #16a085;
  --bs-success-rgb: 22, 160, 133;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Navigation */
.navbar-brand {
  font-size: 1.5rem !important;
}

.nav-link {
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--bs-success) !important;
  background-color: rgba(22, 160, 133, 0.1);
  border-radius: 0.375rem;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-slide {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 10;
  width: 90%;
  max-width: 800px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 0.7;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

.carousel-indicators {
  bottom: 10%;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
}

/* Service Cards */
.service-card {
  transition: all 0.3s ease;
  border: none !important;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: rgba(22, 160, 133, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.service-icon i {
  font-size: 2rem;
}

/* Testimonial Cards */
.testimonial-card {
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-avatar-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(22, 160, 133, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--bs-success);
}

.star-rating {
  color: #ffc107;
}

.star-rating .empty {
  color: #e9ecef;
}

/* Forms */
.form-control:focus,
.form-select:focus {
  border-color: var(--bs-success);
  box-shadow: 0 0 0 0.2rem rgba(22, 160, 133, 0.25);
}

/* Buttons */
.btn-success {
  background-color: var(--bs-success);
  border-color: var(--bs-success);
}

.btn-success:hover {
  background-color: #138d75;
  border-color: #138d75;
}

.btn-outline-success {
  color: var(--bs-success);
  border-color: var(--bs-success);
}

.btn-outline-success:hover {
  background-color: var(--bs-success);
  border-color: var(--bs-success);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Section spacing */
section {
  scroll-margin-top: 80px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-buttons {
    bottom: 15%;
  }
  
  .hero-buttons .btn {
    display: block;
    margin-bottom: 1rem;
    width: 200px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
}

/* Loading animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--bs-success);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #138d75;
}
.contact-icon{
  padding:10px;
  width:50px;
  height:50px;
  font-size: 18px;
}
.team-photo{
  width:200px;
  height:200px;
  border-radius: 100%;
}
.process-number , .process-step-number{
  padding:10px;
  width:50px;
  position: relative;
  height:50px;
  
}
.service-icon-sm{
  padding: 13px 15px;
  border-radius: 100%;
  font-size: 17px;
  height:50px
}

/* Portfolio image-only gallery: zoom on scroll and hover overlay */
.portfolio-card {
  overflow: hidden;
  border-radius: 0.5rem;
  cursor: pointer;
}

.portfolio-image-wrap {
  overflow: hidden;
  position: relative;
}

.portfolio-image-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1), filter 0.4s ease;
  transform-origin: center center;
  aspect-ratio: 4 / 3;
}

@media (max-width: 1200px) {
  .portfolio-image-wrap img { aspect-ratio: 16 / 10; }
}

@media (max-width: 768px) {
  .portfolio-image-wrap img { aspect-ratio: 4 / 3; }
}

.portfolio-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.08));
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform: translateY(10px);
}

.portfolio-card:hover .portfolio-overlay,
.portfolio-card:focus .portfolio-overlay,
.portfolio-card.zoom-in .portfolio-overlay {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-card:hover .portfolio-image-wrap img,
.portfolio-card.zoom-in .portfolio-image-wrap img {
  transform: scale(1.06);
  filter: brightness(0.78);
}

.portfolio-overlay h5,
.portfolio-overlay p,
.portfolio-overlay .badge {
  color: #fff;
}

.overlay-desc { font-size: 0.95rem; margin-bottom: 0.5rem; }
.overlay-features { margin-top: 0.25rem; display: flex; gap: 0.4rem; flex-wrap: wrap; }
.overlay-features span { background: rgba(255,255,255,0.08); padding: 0.25rem 0.5rem; border-radius: 0.25rem; font-size: 0.8rem; color: #fff; }

/* Make fade-in-up and zoom feel cohesive */
.portfolio-card.fade-in-up { animation: fadeInUp 0.6s ease-out both; }
.portfolio-card.zoom-in { transform-origin: center center; }