/* ==========================================================================
   United Pets Theme Custom Styles & Design System Override
   ========================================================================== */

/* Variables and Tokens */
:root {
  --primary-color: #018AE0;     /* Sky Blue */
  --primary-dark: #1446a0;      /* Dark Blue */
  --accent-color: #D61C62;       /* Magenta / Pink-Red */
  --text-color: #6f6f6f;         /* Slate Gray */
  --heading-color: #222222;      /* Off-Black */
  --bg-light: #f4f4f4;           /* Light Gray for Footer/Backgrounds */
  --white: #ffffff;
  --transition-smooth: all 0.3s ease-in-out;
  --font-body: 'Work Sans', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
}

/* Global Reset & Base Styles */
body {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--heading-color);
  margin-bottom: 15px;
}

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

a:hover, a:focus {
  color: var(--accent-color);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 30px;
  transition: var(--transition-smooth);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
}

.btn-accent {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 30px;
  transition: var(--transition-smooth);
}

.btn-accent:hover, .btn-accent:focus {
  background-color: #b0104b;
  border-color: #b0104b;
  color: var(--white);
}

/* Navigation & Header */
#main-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: var(--transition-smooth);
  box-shadow: none;
}

#main-nav.navbar-scrolled {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.top-bar {
  background-color: var(--primary-color);
  padding: 5px 0;
  font-size: 13px;
  color: var(--white);
}

.navbar {
  padding: 15px 0;
}

.navbar-brand img {
  height: 35px;
  width: auto;
}

.navbar-nav .nav-link {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--heading-color) !important;
  padding: 8px 15px !important;
  position: relative;
}

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

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15px;
  right: 15px;
  height: 2px;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transition: var(--transition-smooth);
}

.navbar-nav .nav-item.active .nav-link::after,
.navbar-nav .nav-link:hover::after {
  transform: scaleX(1);
}

.navbar-toggler {
  border: none;
  padding: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--heading-color);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

/* Hero Section */
.hero-section {
  position: relative;
  background: url('../images/hero-bg.jpg') no-repeat center top;
  background-size: cover;
  min-height: 680px;
  display: flex;
  align-items: center;
  padding-top: 120px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  margin-top: -180px; /* Shift the text group higher */
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 22px;
  color: var(--white);
  margin-bottom: 30px; /* Spacing between subtitle and button */
}

.hero-title {
  font-size: 46px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 15px; /* Spacing between title and subtitle */
}

.hero-title span {
  font-weight: 400;
}

.hero-dogs-wrapper {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1140px;
  text-align: center;
  z-index: 5;
}

.hero-dogs-wrapper img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

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

.section-heading .subtitle {
  font-family: var(--font-body);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 10px;
  display: inline-block;
}

.section-heading .subtitle::before {
  content: "";
  display: inline-block;
  position: relative;
  top: -4px;
  width: 32px;
  height: 2px;
  margin-right: 15px;
  background: #cecece;
}

.section-heading .subtitle::after {
  content: "";
  display: inline-block;
  position: relative;
  top: -4px;
  width: 32px;
  height: 2px;
  margin-left: 15px;
  background: #cecece;
}

.section-heading h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--heading-color);
  position: relative;
  margin-bottom: 0;
  text-transform: uppercase;
}

.section-heading h2::after {
  content: "\f1b0"; /* FontAwesome Paw Icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 20px;
  color: var(--primary-color);
  display: block;
  margin: 10px auto 0 auto;
  transform: rotate(15deg);
  opacity: 0.7;
  width: auto;
  height: auto;
  background-color: transparent;
  position: static;
}

/* Service Section (Split Card Layout) */
.service-card-wrapper {
  background-color: var(--white);
  border-radius: 20px;
  overflow: hidden; /* Clean card clipping, ribbon is clipped at corners */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  border: 1px solid #eef0f2;
  position: relative;
  margin-top: 20px;
}

/* Diagonal Corner Ribbon */
.service-ribbon-diagonal {
  position: absolute;
  top: 35px; /* Shifted slightly down */
  left: -32px; /* Shifted rightwards */
  width: 150px; /* Adjusted width for new position */
  background-color: #5cd075; /* Bright green from screenshot */
  color: white;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  transform: rotate(-45deg);
  padding: 4px 0;
  z-index: 10;
  letter-spacing: 0.5px;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.service-card-image {
  background: url('../images/blogbg.jpg') no-repeat center center;
  background-size: cover;
  height: 100%;
  min-height: 380px;
}

@media (max-width: 767.98px) {
  .service-card-image {
    min-height: 250px;
  }
}

/* About Section */
.about-section {
  position: relative;
  background: url('../images/newsletter.jpg') no-repeat center center;
  background-size: cover;
  padding: 80px 0;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1); /* Lowered opacity to make background image more prominent */
  z-index: 1;
}

.about-section .container {
  position: relative;
  z-index: 10;
}

.tab-nav-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.tab-nav-item {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--heading-color);
  padding: 10px 40px;
  background-color: var(--white);
  border: 1px solid #eee;
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.about-img-box {
  position: relative;
  display: inline-block;
  max-width: 100%;
  background-color: var(--white);
  padding: 10px 10px 30px 10px; /* Polaroid bottom spacing */
  border: 1px solid #eef0f2;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: rotate(-2deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  margin-bottom: 20px; /* Spacing on mobile */
}

.about-img-box img {
  border-radius: 0; /* Flat edge inside Polaroid */
  transition: transform 0.4s ease;
  width: 100%;
  height: auto;
}

.about-img-box:hover {
  transform: rotate(-0.5deg) scale(1.02) translateY(-5px); /* Lift up slightly */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.16);
}

/* Desktop Overlapping and rotation */
@media (min-width: 768px) {
  .about-img-box {
    transform: rotate(-3.5deg);
    margin-top: -75px;
    margin-bottom: -75px;
    margin-left: -70px; /* Pull the image out of the left card border */
    z-index: 10;
    max-width: 120%;
    padding: 12px 12px 35px 12px; /* Enhanced margins on desktop */
  }
}

/* Washi Tape styling */
.washi-tape {
  position: absolute;
  top: -14px;
  left: 20%;
  width: 90px;
  height: 26px;
  background-color: rgba(214, 28, 98, 0.22); /* Semi-transparent accent color */
  border-left: 2px dashed rgba(255, 255, 255, 0.5);
  border-right: 2px dashed rgba(255, 255, 255, 0.5);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transform: rotate(-10deg);
  z-index: 15;
  backdrop-filter: blur(1px);
  pointer-events: none;
  transition: transform 0.4s ease;
}

.about-img-box:hover .washi-tape {
  transform: rotate(-7deg) scale(1.02);
}

/* Paw Print Watermark styling */
.paw-watermark {
  position: absolute;
  bottom: 20px;
  right: 25px;
  width: 140px;
  height: 140px;
  opacity: 0.035; /* Very subtle watermark */
  z-index: 1;
  pointer-events: none;
  transition: transform 1s ease;
}

.about-card-wrapper:hover .paw-watermark {
  transform: rotate(15deg) scale(1.05); /* Soft spin/scale animation on card hover */
}

.about-text h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 14.5px; /* Slightly smaller text size */
  line-height: 1.7;  /* Compact line spacing */
  margin-bottom: 15px;
}

/* Stats Counter Section */
.stats-section {
  position: relative;
  background: url('../images/blogbg.jpg') no-repeat center center;
  background-size: cover;
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

@media (min-width: 1025px) {
  .stats-section {
    background-attachment: fixed; /* Parallax effect only on desktop >= 1025px */
  }
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(41, 41, 41, 0.42); /* Semi-transparent blue overlay */
  z-index: 1;
}

.stats-section .container {
  position: relative;
  z-index: 10;
}

.counter-box {
  padding: 20px;
}

.counter-icon {
  font-size: 45px;
  margin-bottom: 15px;
  opacity: 0.9;
}

.counter-value {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 5px;
}

.counter-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

/* Reviews / Testimonials Section */
.reviews-section {
  padding: 80px 0;
  background: url('../images/pattern4-1.png') repeat;
}

.review-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  border: 1px solid #f0f0f0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.review-stars {
  color: #ffb800;
  margin-bottom: 15px;
  font-size: 16px;
}

.review-text {
  font-style: italic;
  line-height: 1.7;
  color: var(--text-color);
  margin-bottom: 20px;
  flex-grow: 1;
}

.review-author {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--heading-color);
  font-size: 14px;
}

.google-reviews-summary {
  background-color: #fafafa;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
  margin-bottom: 40px;
  border: 1px solid #eee;
}

.google-reviews-summary h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.google-rating {
  font-size: 32px;
  font-weight: 700;
  color: var(--heading-color);
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 5px;
}

.google-rating-stars {
  color: #ffb800;
  font-size: 24px;
}

.google-powered {
  font-size: 12px;
  color: #999;
}

/* Gallery Section */
.gallery-section {
  padding: 80px 0 0 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 15px;
  padding: 0 15px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(1, 138, 224, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.gallery-overlay i {
  color: var(--white);
  font-size: 28px;
  transform: scale(0.5);
  transition: var(--transition-smooth);
}

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

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
  transform: scale(1);
}

/* Contact & Map Section */
.contact-section {
  padding: 80px 0;
  background-color: var(--white); /* White background for the section */
}

/* Overlapping Dog on the left */
.contact-dog-img {
  margin-right: -15px;
  position: relative;
  z-index: 12;
  transform: scale(1.15);
  transform-origin: bottom right;
}

/* Blue form card wrapper */
.contact-form-container {
  background-color: var(--primary-color); /* Bright primary blue #018ae0 */
  color: var(--white);
  padding: 50px 40px 40px 40px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(1, 138, 224, 0.15);
  position: relative;
  z-index: 5;
}

/* Top Envelope Icon Badge */
.contact-envelope-badge {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  background-color: var(--primary-color);
  border: 3px solid var(--white); /* White border around blue circle */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 15;
}

/* White underline inputs */
.contact-input-line {
  background-color: transparent !important;
  border: none !important;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.8) !important;
  border-radius: 0 !important;
  color: var(--white) !important;
  padding: 6px 0 !important;
  box-shadow: none !important;
  font-size: 15px;
  transition: border-color 0.3s ease;
}

.contact-input-line:focus {
  border-bottom-color: var(--white) !important;
}

/* Textarea min height */
textarea.contact-input-line {
  min-height: 90px;
  resize: vertical;
}

/* Submit button - dark blue pill */
.contact-submit-btn {
  background-color: #1046a0 !important; /* Darker blue */
  border: none !important;
  color: var(--white) !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 12px 30px;
  border-radius: 30px !important;
  transition: background-color 0.3s ease, transform 0.2s ease !important;
  box-shadow: 0 4px 12px rgba(16, 70, 160, 0.2);
}

.contact-submit-btn:hover {
  background-color: #0b3273 !important;
  transform: translateY(-2px);
}

.contact-submit-btn:active {
  transform: translateY(0);
}

/* Contact Info Column on the right */
.contact-info-container {
  padding: 10px 0;
}

.contact-info-container h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 5px;
}

.contact-info-container p {
  color: #6f6f6f;
  margin-bottom: 25px;
}

.contact-details-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.contact-details-list li {
  margin-bottom: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 15px;
}

.contact-details-list li i {
  color: var(--accent-color); /* Pink accent icons */
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.contact-details-list li a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details-list li a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.contact-map-canvas {
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eef0f2;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.contact-map-canvas iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer Section */
footer {
  background: var(--bg-light);
  padding: 60px 0 20px 0;
  border-top: 1px solid #e5e5e5;
}

footer h5.sidebar-footer {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

footer h5.sidebar-footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

footer p, footer li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-color);
}

footer a {
  color: var(--text-color);
}

footer a:hover {
  color: var(--accent-color);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-links a img {
  transition: var(--transition-smooth);
}

.social-links a:hover img {
  transform: translateY(-3px);
  filter: brightness(0.9);
}

.site-copyright {
  text-align: center;
  font-size: 13px;
  color: #999;
  margin-top: 20px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #25d366;
  color: var(--white);
  padding: 8px 18px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.whatsapp-float:hover {
  background-color: #20ba59;
  transform: translateY(-3px);
  color: var(--white);
}

.whatsapp-icon {
  font-size: 24px;
}

/* Floating Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  width: 45px;
  height: 45px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
}

/* Lightbox Styles */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.show {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 80%;
  max-height: 80%;
  position: relative;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 5px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  color: var(--white);
  font-size: 30px;
  cursor: pointer;
  background: transparent;
  border: none;
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 40px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 15px;
  transition: var(--transition-smooth);
}

.lightbox-prev:hover, .lightbox-next:hover {
  color: var(--primary-color);
  scale: 1.1;
}

.lightbox-prev {
  left: -80px;
}

.lightbox-next {
  right: -80px;
}

/* Pricing Page Styles */
.pricing-header {
  padding: 100px 0 40px 0;
  background-color: var(--white);
  text-align: center;
}

.pricing-table-card {
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid #eee;
  text-align: center;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  padding: 0 0 35px 0; /* Bottom padding only */
}

.pricing-table-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.pricing-table-card.popular {
  border: 1px solid #eee; /* Normal border matching screenshot */
}

/* Green Diagonal badge for both popular and flexible cards */
.pricing-badge {
  position: absolute;
  top: 18px;
  right: -32px;
  background-color: #5cd075; /* Bright green for both badges */
  color: var(--white);
  padding: 4px 32px;
  font-size: 9px;
  font-weight: 700;
  transform: rotate(45deg);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pricing-header-card {
  background-color: #4c5357; /* Dark gray header block */
  color: var(--white);
  padding: 30px 20px;
  margin-bottom: 30px;
}

.pricing-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
}

.pricing-subtitle {
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  min-height: auto;
}

/* Pricing Value block */
.pricing-value-box {
  padding: 0 30px;
}

.pricing-amount {
  display: inline-flex;
  align-items: flex-start;
  line-height: 1;
  font-family: 'Montserrat', sans-serif;
  font-size: 64px;
  font-weight: 700;
  color: #4c5357; /* Dark gray from screenshot */
}

.pricing-amount .currency {
  font-size: 22px;
  font-weight: 600;
  margin-top: 8px;
  margin-right: 2px;
}

.pricing-amount .decimals {
  font-size: 22px;
  font-weight: 600;
  margin-top: 8px;
  margin-left: 2px;
}

.pricing-period {
  font-size: 14px;
  color: #777;
  font-weight: 500;
  margin-top: 8px;
}

/* Pricing Features list */
.pricing-features {
  list-style: none;
  padding: 0 30px;
  margin: 0 0 30px 0;
  text-align: center;
}

.pricing-features li {
  padding: 12px 0;
  border-top: 1px solid #f0f2f4; /* Lines above/between/below features */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: #6f6f6f;
}

.pricing-features li:last-child {
  border-bottom: 1px solid #f0f2f4; /* Bottom line under last feature */
}

.pricing-features li i {
  color: #777; /* Muted gray icon color */
  font-size: 15px;
}

.pricing-footer {
  padding: 0 30px;
  margin-top: auto;
}

.pricing-info-text p {
  font-size: 12px;
  margin-bottom: 0;
  line-height: 1.5;
}

.pricing-info-text .text-dark {
  font-size: 13px;
}

/* Tax Info Box styling (clean text with SVG Highlight circle) */
.tax-info-box {
  background-color: transparent;
  border: none;
  padding: 30px 0 10px 0;
  text-align: center;
}

.tax-info-box h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #4c5357; /* Dark gray */
  margin: 0;
  line-height: 1.6;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.highlight-circle {
  position: relative;
  display: inline-block;
  padding: 0 12px;
  color: #4c5357;
  z-index: 1;
}

.circle-svg {
  position: absolute;
  top: -8px;
  left: 0;
  width: 100%;
  height: calc(100% + 16px);
  z-index: -1;
  pointer-events: none;
  overflow: visible;
}

.circle-svg path {
  fill: none;
  stroke: #5cd075; /* The bright green color from screenshot */
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Animate circle path on scroll visible */
.animate-on-scroll.visible .circle-svg path {
  stroke-dashoffset: 0;
}

.tax-text-desc {
  display: inline-block;
  margin-left: 8px;
}

/* Page Preloader styling */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.lds-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid var(--primary-color);
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: var(--primary-color) transparent transparent transparent;
}

.lds-ring div:nth-child(1) { animation-delay: -0.45s; }
.lds-ring div:nth-child(2) { animation-delay: -0.3s; }
.lds-ring div:nth-child(3) { animation-delay: -0.15s; }

@keyframes lds-ring {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Overrides */
@media (max-width: 991px) {
  .hero-section {
    min-height: 550px;
    padding-top: 100px;
  }
  .hero-title {
    font-size: 36px;
  }
  .hero-subtitle {
    font-size: 18px;
  }
  .section-heading h2 {
    font-size: 28px;
  }
  .about-img-box {
    margin-bottom: 40px;
  }
  .contact-info-container {
    margin-top: 40px;
  }
  .lightbox-prev {
    left: -40px;
  }
  .lightbox-next {
    right: -40px;
  }
}

@media (max-width: 767px) {
  .hero-section {
    min-height: 480px;
  }
  .hero-title {
    font-size: 30px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .service-cta-content {
    padding: 40px 20px;
  }
  .service-cta-content h3 {
    font-size: 28px;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  .lightbox-content {
    max-width: 95%;
  }
  .lightbox-prev, .lightbox-next {
    display: none; /* Hide arrows on mobile for swipe or tap */
  }
}

/* ==========================================================================
   Scroll Entrance Animations (AOS equivalent)
   ========================================================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
