/* Add a CSS reset or use normalize.css */
@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&family=Righteous&display=swap&family=Varela+Round");
@import url("https://necolas.github.io/normalize.css/8.0.1/normalize.css");
@import "./header.css";
/* @import "./separators.css"; */
@import "./home-hero.css";
@import "./services.css";
@import "./insta-quote.css";
@import "./get-in-touch.css";
@import "./reviews.css";
@import "./footer.css";
@import "./service-areas.css";
@import "./about.css";

/* Global Styles */
:root {
  --primary: #56c5ca;
  --primary-dark: #12757a;
  --light-gray: #f5f7f7;
  --white: #ffffff;
  --highlight-blue: #b5e1e4;
  --highlight-yellow: #feeea8;
  --gray: #f0f1f1;
  --dark-gray: #333333;
  --dark-glass: #000000a1;
  --rosy: #ffe6dd;
  --black: #151312;
}

html {
  scroll-behavior: smooth;
  background-color: var(--primary);
  overflow-x: hidden;
  width: 100%;
  scroll-padding-top: 75px; /* Set to your header height */
}

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

body {
  background-color: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  font-family: "Varela Round", sans-serif;
  /* font-family: "Poiret One", sans-serif; */
  /* font-family: "Comfortaa", sans-serif; */
  /* font-family: "Righteous", sans-serif; */
  font-optical-sizing: auto;
  font-style: normal;
}

/* Main container to prevent overflow */
.main-container {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

/* Container for consistent content width */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.5rem;
  font-weight: bold;
}

.section-title span {
  color: var(--primary-dark);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .review-card,
  .service-card {
    flex: 0 0 50%;
    min-width: 50%;
  }

  /* Ensure content stays in viewport */
  .what-we-do .container {
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .review-card,
  .service-card {
    flex: 0 0 100%;
    min-width: 100%;
  }

  /* Fix header on mobile */
  .header-content {
    width: 100%;
  }

  /* Ensure video background doesn't cause overflow */
  .video-background {
    width: 100%;
    max-width: 100%;
  }

  /* Reduce font sizes for mobile */
  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1.5rem;
  }

  .section-subtitle-small {
    font-size: 1.2rem;
  }

  .service-text {
    font-size: 1rem;
  }

  .service-title {
    font-size: 1.3rem;
  }
}
