/* Make Home Renewal - Enhanced Custom Styles */
:root {
  --primary-color: #2c5f2d;
  --primary-dark: #1a3c1b;
  --secondary-color: #8ab17d;
  --accent-color: #e36414;
  --accent-hover: #d45a10;
  --light-color: #f4f7f4;
  --text-color: #333333;
  --muted-color: #666666;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* Logo - one line, same style */
.logo-text {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary-color);
  letter-spacing: -0.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-text:hover {
  filter: brightness(1.1);
}

/* Navbar */
.navbar {
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.nav-link {
  font-weight: 600;
  color: var(--text-color) !important;
  margin: 0 0.5rem;
  position: relative;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
  background: rgba(44, 95, 45, 0.1);
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes gradientBg {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-in-right {
  animation: fadeInRight 0.8s ease-out forwards;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* --- Hero Section --- */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, #1e4a20 100%);
  color: #ffffff;
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://www.transparenttextures.com/patterns/cubes.png');
  opacity: 0.05;
  z-index: 0;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.1s;
  animation-fill-mode: both;
}

.hero-section .lead {
  font-size: 1.35rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.2s;
  animation-fill-mode: both;
}

.hero-visual {
  animation: float 4s ease-in-out infinite;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
  border: none;
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 8px 20px rgba(227, 100, 20, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-color) 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(227, 100, 20, 0.4);
  color: #ffffff;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  margin-left: 1rem;
  transition: var(--transition);
  backdrop-filter: blur(5px);
}

.btn-outline-light:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.btn-success-gradient {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border: none;
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 8px 20px rgba(44, 95, 45, 0.3);
}

.btn-success-gradient:hover {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(44, 95, 45, 0.4);
  color: #ffffff;
}

/* Section Title */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-dark);
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
  border-radius: 3px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--muted-color);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Service Cards --- */
.services-preview {
  padding: 100px 0;
  background: var(--white);
}

.service-card {
  background: #ffffff;
  border: 1px solid #f0f4f0;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-color);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-image {
  width: 100%;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  position: relative;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
  transition: var(--transition);
}

.service-card:hover h3 {
  color: var(--accent-color);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--muted-color);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.6;
}

.service-card .btn {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  width: 100%;
  transition: var(--transition);
}

.service-card .btn:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: #ffffff;
  transform: translateY(-2px);
}

/* --- Blog Cards --- */
.blog-preview {
  padding: 100px 0;
  background: var(--light-color);
}

.blog-card {
  background: #ffffff;
  border: 1px solid #f0f4f0;
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-color);
}

.blog-image {
  height: 220px;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f0f4f0;
  overflow: hidden;
  position: relative;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
  opacity: 0;
  transition: var(--transition);
}

.blog-card:hover .blog-image::after {
  opacity: 1;
}

.blog-card .card-body {
  padding: 1.75rem;
}

.blog-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
  line-height: 1.3;
}

.blog-card p {
  font-size: 0.95rem;
  color: var(--muted-color);
  margin-bottom: 1.25rem;
}

.read-more {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.read-more:hover {
  color: var(--accent-color);
  gap: 0.75rem;
}

/* --- About Page --- */
.about-section {
  padding: 100px 0;
}

.about-image-container {
  position: relative;
}

.about-image {
  height: 500px;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-badge {
  position: absolute;
  top: 30px;
  left: 30px;
  background: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-badge span {
  font-weight: 800;
  color: var(--primary-dark);
  font-size: 1.1rem;
}

.about-badge i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

/* --- Contact Page --- */
.contact-section {
  padding: 100px 0;
  background: var(--light-color);
}

.contact-info-card {
  background: var(--primary-dark);
  color: #ffffff;
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-hover);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: var(--accent-color);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.2;
  z-index: 0;
}

.contact-info-card h3 {
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  position: relative;
  z-index: 2;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  position: relative;
  z-index: 2;
}

.contact-item i {
  color: var(--accent-color);
  font-size: 1.25rem;
  width: 20px;
}

.contact-form-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-hover);
}

.contact-form-card h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
}

.contact-form-card .form-control {
  padding: 0.9rem 1rem;
  border: 1px solid #e2e8e2;
  border-radius: 10px;
  transition: var(--transition);
}

.contact-form-card .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(44, 95, 45, 0.15);
}

.contact-form-card .form-label {
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

/* --- Newsletter Pages --- */
.newsletter-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://www.transparenttextures.com/patterns/cubes.png');
  opacity: 0.03;
  z-index: 0;
}

.newsletter-section h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.newsletter-section p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 2;
}

.newsletter-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 3rem;
  max-width: 550px;
  margin: 0 auto;
  box-shadow: var(--shadow-hover);
  position: relative;
  z-index: 2;
}

.newsletter-card h2 {
  color: var(--primary-dark);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.newsletter-card p {
  color: var(--muted-color);
  margin-bottom: 2rem;
}

.newsletter-card .form-control {
  padding: 1rem 1.25rem;
  border: 1px solid #e2e8e2;
  border-radius: 10px;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.newsletter-card .btn {
  background: var(--primary-color);
  border: none;
  color: #ffffff;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 10px;
  width: 100%;
  transition: var(--transition);
}

.newsletter-card .btn:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
}

.success-message {
  text-align: center;
  padding: 4rem 1rem;
}

.success-message h1 {
  color: var(--primary-color);
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.success-message p {
  font-size: 1.15rem;
  color: var(--muted-color);
  margin-bottom: 2rem;
}

/* --- Blog Post Page --- */
.blog-post-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.blog-post-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://www.transparenttextures.com/patterns/cubes.png');
  opacity: 0.05;
  z-index: 0;
}

.blog-post-hero h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.blog-post-hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

.blog-content {
  padding: 80px 0;
}

.blog-content .container {
  max-width: 900px;
}

.blog-content p {
  font-size: 1.1rem;
  margin-bottom: 1.75rem;
  color: var(--text-color);
  line-height: 1.8;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1rem;
}

.back-link:hover {
  color: var(--accent-color);
  gap: 0.75rem;
}

/* --- Legal Pages --- */
.legal-section {
  padding: 100px 0;
  background: var(--white);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--primary-dark);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid #f0f4f0;
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content p {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  color: var(--text-color);
  line-height: 1.7;
}

/* --- Footer --- */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 1rem;
  margin-top: auto;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
}

.footer p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer a:hover {
  color: #ffffff;
}

.footer .list-inline-item a {
  margin: 0 0.75rem;
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
  .hero-section {
    padding: 100px 0 80px;
    text-align: center;
  }
  .hero-section .row {
    justify-content: center;
    text-align: center;
  }
  .hero-section .btn-outline-light {
    margin-left: 0.5rem;
    margin-top: 1rem;
    display: inline-block;
  }
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  .hero-section {
    padding: 90px 0 70px;
  }
  .newsletter-section h1 {
    font-size: 2.25rem;
  }
  .newsletter-card {
    padding: 2rem;
  }
  .blog-post-hero h1 {
    font-size: 2.25rem;
  }
  .service-image {
    height: 180px;
  }
  .blog-image {
    height: 180px;
  }
}

/* Utility classes */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shape-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}