/* General Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  margin: 0;
  background-color: #f9fafb;
  color: #1f2937;
  line-height: 1.6;
}

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

/* Header */
header {
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s ease-in-out;
}

header.scrolled {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  transition: padding 0.3s ease-in-out;
}

header.scrolled nav {
  padding: 0.75rem 1.5rem;
}

.logo img {
  height: 3.5rem;
  width: auto;
  transition: height 0.3s ease-in-out;
}

header.scrolled .logo img {
  height: 3.25rem;
}

.nav-links {
  display: none;
}

.nav-links a {
  color: #4b5563;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #d97706;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.nav-links a:hover {
  color: #d97706;
}

.nav-links a.active {
  color: #d97706;
  font-weight: 700;
}

.mobile-menu-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.mobile-menu-button svg {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-menu {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-top: 1px solid #e5e7eb;
  transform: translateY(-150%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  display: block;
  padding: 1rem 1.5rem;
  text-decoration: none;
  color: #4b5563;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-weight: 500;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  background-color: #f3f4f6;
  color: #d97706;
}

/* Hero Section */
.hero-gradient {
  background: linear-gradient(135deg, #fefbf3 0%, #fde6aa 100%);
  background-image: -moz-linear-gradient(135deg, #fefbf3 0%, #fde6aa 100%);
  padding-bottom: 7rem;
}

.hero-content {
  text-align: center;
  padding-top: 4rem;
}

.hero-content h1 {
  font-size: 2.25rem; /* Adjusted for mobile */
  font-weight: 800;
  line-height: 1.2;
  color: #111827;
}

.hero-content .highlight {
  color: #d97706;
}

.hero-content p {
  font-size: 1.125rem;
  max-width: 48rem;
  margin: 1rem auto 0;
  color: #374151;
}

.hero-content .subtitle {
  font-size: 0.875rem;
  color: #4b5563;
  margin-top: 0.5rem;
}

/* Features Section */
.features-section {
  margin-top: -4rem;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  gap: 1.5rem;
}

.feature-card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  color: #d97706;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
}

.cta-card {
  background-color: #d97706;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-card .phone-number {
  font-size: 1.25rem;
  font-weight: 700;
}

/* Intro Section */
.intro-section {
  padding: 4rem 0;
  background-color: #f9fafb;
}

.intro-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

.intro-grid h2 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
}

.intro-video-container {
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-radius: 0.5rem;
  overflow: hidden;
}

.intro-video-container video {
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4rem;
  height: 4rem;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.play-button:hover {
  background-color: white;
  transform: translate(-50%, -50%) scale(1.1);
}

.play-button svg {
  width: 2rem;
  height: 2rem;
  color: #d97706;
}

/* Services Section */
.services-section {
  padding: 4rem 0;
  background-color: #ffffff;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 700;
}

.section-title p {
  margin-top: 0.5rem;
  color: #4b5563;
}

.services-grid {
  display: grid;
  gap: 2.5rem;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: scale(1.03);
}

.service-icon-container {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: #fef3c7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon {
  width: 2rem;
  height: 2rem;
  color: #d97706;
}

.service-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Why Choose Us Section */
.why-us-section {
  padding: 4rem 0;
}

.why-us-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}

.why-us-card {
  background-color: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.why-us-card p {
  font-size: 1.125rem;
  font-weight: 600;
}

/* Footer */
footer {
  background-color: #111827;
  color: #d1d5db;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column .footer-logo {
  height: 4rem;
  width: auto;
  margin-bottom: 0.5rem;
}

.footer-column h4 {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #fbbf24;
}

.social-media-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-media-icons a svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Style all font awesome icons */
.fa {
  padding: 8px;
  font-size: 30px;
  width: 30px;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
}

/* Add a hover effect if you want */
.fa:hover {
  opacity: 0.7;
}

/* Set a specific color for each brand */

/* Facebook */
.fa-facebook {
  background: #3b5998;
  color: white;
}
.fa-instagram {
  background: #d62976;
  color: white;
}
.fa-youtube {
  background: #971a1a;
  color: white;
}
.fa-twitter {
  background: #55acee;
  color: white;
}

.copyright {
  border-top: 1px solid #374151;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
}

/* Responsive Styles */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
    gap: 1.5rem;
  }
  .mobile-menu-button {
    display: none;
  }
  .hero-content {
    padding-top: 5rem;
  }
  .hero-content h1 {
    font-size: 3rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .intro-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-content h1 {
    font-size: 3.75rem;
  }
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
