  /* Main Styles for EPC Website */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  --primary-color: #27ae60;
  --primary-gradient: linear-gradient(135deg, #2ecc71, #27ae60);
  --secondary-color: #219653;
  --accent-color: #2ecc71;
  --accent-gradient: linear-gradient(135deg, #2ecc71, #219653);
  --text-color: #333;
  --light-gray: #f5f5f5;
  --medium-gray: #e0e0e0;
  --dark-gray: #666;
  --white: #fff;
  --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius: 8px;
}

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

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

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

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

@keyframes glow {
  0% { box-shadow: 0 0 5px rgba(46, 204, 113, 0.5); }
  50% { box-shadow: 0 0 20px rgba(46, 204, 113, 0.8); }
  100% { box-shadow: 0 0 5px rgba(46, 204, 113, 0.5); }
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

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

a:hover {
  color: var(--secondary-color);
}

a.animated-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

a.animated-link:hover::after {
  width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background-color: rgba(255, 255, 255, 0.75);
  background-image: linear-gradient(to right, rgba(46, 204, 113, 0.05), rgba(46, 204, 113, 0.02), rgba(46, 204, 113, 0.05));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(46, 204, 113, 0.15);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  border-bottom: 1px solid rgba(46, 204, 113, 0.1);
}

header.scrolled {
  padding: 12px 0;
  background-color: rgba(255, 255, 255, 0.85);
  background-image: linear-gradient(to right, rgba(46, 204, 113, 0.08), rgba(46, 204, 113, 0.05), rgba(46, 204, 113, 0.08));
  box-shadow: 0 6px 25px rgba(46, 204, 113, 0.2);
  transform: translateY(0);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  overflow: visible;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 70px;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover img {
  transform: scale(1.1) rotate(2deg);
  filter: drop-shadow(0 5px 15px rgba(46, 204, 113, 0.4));
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  align-items: center;
  gap: 10px;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.85rem; /* Further reduced font size */
  padding: 5px 11px; /* Further reduced padding to match smaller font */
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 30px;
  overflow: hidden;
  z-index: 1;
  color: #666; /* Dark grey text */
  margin: 0 4px; /* Slightly reduced margin */
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

/* External link icon */
.nav-links a[target="_blank"]::after {
  content: '↗';
  font-size: 0.8em;
  margin-left: 4px;
  display: inline-block;
  position: static;
  width: auto;
  height: auto;
  background: none;
  transition: transform 0.2s ease;
}

.nav-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(46, 204, 113, 0.1);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  border-radius: 30px;
  z-index: -1;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background-color: var(--primary-color);
  transition: width 0.4s cubic-bezier(0.65, 0, 0.35, 1), left 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  border-radius: 3px;
}

.nav-links a:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(46, 204, 113, 0.15);
}

.nav-links a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* Underline effect for hover and active states */
.nav-links a:hover::before,
.nav-links a.active::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* External link hover effect */
.nav-links a[target="_blank"]:hover::after {
  transform: translateY(-2px);
}

.nav-links a.active {
  color: var(--primary-color);
  background-color: rgba(46, 204, 113, 0.1);
  box-shadow: 0 4px 10px rgba(46, 204, 113, 0.15);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #000;
  transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background-color: #f9f9f9;
  background-image: linear-gradient(135deg, #f9f9f9 0%, #e9f2ff 100%);
  color: var(--text-color);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

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

.hero-badge {
  display: inline-block;
  background-color: rgba(255, 152, 0, 0.15);
  color: var(--accent-color);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 30px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(255, 152, 0, 0.2);
  transition: all 0.3s ease;
}

.hero-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 152, 0, 0.3);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #333;
}

.accent-text {
  color: #4CAF50;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  max-width: 500px;
  line-height: 1.6;
}

.hero-features {
  list-style: none;
  margin-bottom: 30px;
}

.hero-features li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.hero-features li i {
  color: #4CAF50;
  margin-right: 10px;
  font-size: 1.2rem;
}

.hero-btn {
  margin-top: 30px;
  padding: 12px 30px;
  font-size: 1.1rem;
  background: var(--accent-gradient);
  border: none;
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.hero-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.hero-btn:hover::before {
  left: 100%;
}

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

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

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

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--dark-gray);
  font-size: 0.9rem;
  opacity: 0.7;
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 10;
}

.hero-scroll-indicator span {
  margin-bottom: 8px;
}

.hero-scroll-indicator i {
  animation: bounce 2s infinite;
}

.hero-scroll-indicator:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
  color: var(--accent-color);
}

/* Statistics Section */
.statistics {
  padding: 80px 0;
  background-color: var(--light-gray);
  background-image: linear-gradient(135deg, #f5f7fa 0%, #e4eff9 100%);
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background-color: var(--white);
}

.testimonial-slider {
  max-width: 800px;
  margin: 40px auto 0;
  position: relative;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--card-shadow);
  margin: 20px 0;
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
  color: var(--dark-gray);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.author-title {
  color: var(--dark-gray);
  font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background-color: var(--light-gray);
  background-image: linear-gradient(135deg, #f5f7fa 0%, #e4eff9 100%);
}

.faq-container {
  max-width: 900px;
  margin: 40px auto 0;
}

.faq-item {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.faq-question {
  padding: 20px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  position: relative;
}

.faq-icon i {
  color: var(--accent-color);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.faq-icon .fa-minus {
  position: absolute;
  opacity: 0;
  transform: rotate(-90deg);
}

.faq-item.active .faq-icon .fa-plus {
  opacity: 0;
  transform: rotate(90deg);
}

.faq-item.active .faq-icon .fa-minus {
  opacity: 1;
  transform: rotate(0);
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 0 30px 20px;
  transition: all 1s cubic-bezier(1, 0, 1, 0);
}

.faq-item.active .faq-question {
  border-bottom: 1px solid var(--medium-gray);
}

.faq-item.active .faq-question h3 {
  color: var(--accent-color);
}

.faq-answer p {
  margin-top: 15px;
  margin-bottom: 0;
  line-height: 1.6;
  color: var(--dark-gray);
}

.faq-answer p + p {
  margin-top: 10px;
}

/* Why Choose Abertest Section */
.why-choose {
  padding: 80px 0;
  background-color: #fff;
}

.why-choose h2 {
  text-align: center;
  color: #4CAF50;
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  color: #000;
  font-size: 1.1rem;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

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

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--light-gray);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-size: 1.8rem;
  transition: var(--transition);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.feature-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
  border-radius: 50%;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(46, 204, 113, 0.3);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #333;
  font-weight: 600;
}

.feature-card p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333333; /* Changed to dark grey */
  margin: 20px 0 10px;
  transition: all 0.3s ease;
}

.pricing-card:hover .price {
  color: #333333; /* Maintaining dark grey on hover */
  transform: scale(1.05);
}

.price-description {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.book-btn {
  margin-top: auto;
  align-self: center;
  padding: 10px 25px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.book-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
  z-index: -1;
}

.book-btn:hover::before {
  left: 100%;
}

.book-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* What is an EPC Section */
.what-is-epc {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.what-is-epc h2 {
  text-align: center;
  color: #4CAF50;
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

/* Our Pricing Section */
.pricing {
  padding: 80px 0;
  background-color: #fff;
}

.pricing h2 {
  text-align: center;
  color: #4CAF50;
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.pricing-subtitle {
  text-align: center;
  margin: 40px 0 30px;
  font-size: 1.8rem;
  color: #333;
  font-weight: 600;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.pricing-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  padding: 30px;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-title {
  color: #4CAF50;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  min-height: 50px;
}

.feature-list {
  list-style: none;
  margin-bottom: 25px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #555;
}

.feature-list li i {
  color: #4CAF50;
  margin-right: 10px;
  font-size: 1rem;
  margin-top: 3px;
}

.combined-title {
  margin-top: 60px;
}

.best-value {
  color: #4CAF50;
  font-weight: 500;
  font-size: 1.2rem;
}

.combined-grid {
  margin-top: 30px;
}

.combined-card {
  background-color: #f9f9f9;
  border: 1px solid rgba(76, 175, 80, 0.1);
}

.highlight-card {
  background-color: #f0f8e8;
  border: 1px solid rgba(76, 175, 80, 0.2);
  position: relative;
  z-index: 1;
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.bedroom-note {
  font-size: 1rem;
  font-weight: normal;
  color: #666;
}

.includes-section {
  margin: 20px 0;
}

.includes-section p {
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #555;
}

.includes-list {
  list-style: none;
  margin-bottom: 15px;
}

.includes-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #555;
}

.includes-list li i {
  color: #4CAF50;
  margin-right: 8px;
  font-size: 0.9rem;
  margin-top: 3px;
}

.highlight-btn {
  background-color: #3d8b40;
}

.highlight-btn:hover {
  background-color: #357a38;
}

/* Services Section */
.services {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  position: relative;
  margin-bottom: 70px;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.section-title h2::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background-color: var(--accent-color);
  border-radius: 3px;
}

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

.section-title::after {
  content: attr(data-subtitle);
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1rem;
  color: var(--dark-gray);
  font-weight: 300;
  width: 100%;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  position: relative;
  z-index: 1;
  border: 1px solid rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeIn 0.8s ease forwards;
}

.services-grid .service-card:nth-child(1) { animation-delay: 0.1s; }
.services-grid .service-card:nth-child(2) { animation-delay: 0.3s; }
.services-grid .service-card:nth-child(3) { animation-delay: 0.5s; }

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 86, 179, 0.05) 0%, rgba(255, 152, 0, 0.05) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 86, 179, 0.1);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-content {
  padding: 25px;
}

.service-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.service-content p {
  margin-bottom: 20px;
}

/* About Section */
.about {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  align-items: center;
}

.about-content h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 15px;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

/* FAQ Section */
.faq {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.faq-item {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.6s ease forwards;
}

.faq-grid .faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-grid .faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-grid .faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-grid .faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-grid .faq-item:nth-child(5) { animation-delay: 0.5s; }
.faq-grid .faq-item:nth-child(6) { animation-delay: 0.6s; }
.faq-grid .faq-item:nth-child(7) { animation-delay: 0.7s; }
.faq-grid .faq-item:nth-child(8) { animation-delay: 0.8s; }

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--accent-gradient);
  transition: height 0.4s ease;
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.faq-item:hover::before {
  height: 100%;
}

.faq-item h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Contact Section */
.contact {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

.contact-info h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.contact-details {
  margin-bottom: 30px;
}

.contact-details p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.contact-details p i {
  margin-right: 10px;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--medium-gray);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background: #121a23;
  color: var(--white);
  padding: 40px 0 20px;
  margin-top: auto;
  position: relative;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
}

.footer-left {
  flex: 1;
  max-width: 400px;
}

.footer-left h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--white);
}

.footer-left p {
  color: #aaa;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.footer-social {
  margin-top: 15px;
}

.footer-social a {
  color: var(--white);
  font-size: 1.2rem;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-social a:hover {
  opacity: 1;
  color: var(--accent-color);
}

.footer-right {
  flex: 1;
  max-width: 400px;
}

.footer-right h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--white);
}

.contact-list {
  display: flex;
  flex-direction: column;
}

.contact-item {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.contact-item i {
  color: #4CAF50;
  margin-right: 10px;
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.contact-item a, .contact-item span {
  color: #aaa;
  font-size: 0.9rem;
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--white);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #888;
}

@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
  }
  
  .footer-left, .footer-right {
    max-width: 100%;
    margin-bottom: 30px;
  }
}

/* Additional Animations */
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s ease;
}

.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal-visible {
  opacity: 1;
  transform: translate(0);
}

/* Floating Animation */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  nav ul.show {
    display: flex;
  }
  
  nav ul li {
    margin: 10px 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .service-card,
  .faq-item {
    padding: 20px;
  }
}
