* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
}
:root {
  --primary-blue: #90caf9;
  --accent-indigo: #7986cb;
  --cta-blue: #42a5f5;
  --bg-soft: #f0f7ff;
  --card-bg: #e3f2fd;
  --text-dark: #37474f;
  --text-strong: #263238;
  --shadow-blue: 0 0 10px rgba(66, 165, 245, 0.25);
}
html,
body {
  scroll-behavior: smooth;
  scroll-padding-top: 4rem;
  overflow-x: hidden;
}
body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--bg-soft);
  color: var(--text-dark);
  margin-right: 50px;
}
.bottom-nav {
  display: none;
}
main {
  transition: transform 0.3s ease-in-out;
  will-change: transform;
}
.main.active {
  transform: translate(-250px);
}
/* === LAYOUT & NAVIGATION === */
aside {
  position: fixed;
  right: 0;
  top: 0;
  height: 100vh;
  width: 50px;
  background-color: var(--primary-blue);
  padding: 5rem 0;
  z-index: 99;
}
aside nav,
nav a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 5rem;
  font-size: 2rem;
  color: var(--bg-soft);
  text-shadow: 2px 2px 2px var(--cta-blue);
}
nav #open-sidebar {
  transform: rotate(-90deg);
  transition: 0.3s ease;
}
#open-sidebar.active {
  transform: rotate(90deg);
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
}
.off-screen-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 50%;
  max-width: 300px;
  height: 100vh;
  background-color: var(--primary-blue);
  color: white;
  padding: 5rem 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: var(--shadow-blue);
  z-index: 98;
  transition: 0.3s ease-in-out;
}
.off-screen-menu.active {
  right: 0;
}
.off-screen-menu .logo_and_btn {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  height: 20px;
  margin-bottom: 40px;
  padding: 0.5rem;
}
.off-screen-menu i {
  font-size: 1.5rem;
}
.off-screen-menu img {
  position: absolute;
  top: -6.5rem;
  left: -2rem;
  width: 15rem;
  filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.3));
  margin: -3% 15% 40px;
}
.off-screen-menu nav {
  position: absolute;
  right: 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 1rem;
  gap: 4.7rem;
  padding: 3.2rem 0;
}
.off-screen-menu nav a {
  color: white;
  font-weight: 500;
}

/* === HERO SECTION === */
header {
  background: url("images/hero.png") center/cover no-repeat;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: start;
  position: relative;
}
header .container {
  position: absolute;
  z-index: 3;
}
.hero-content {
  color: var(--bg-soft);
  text-shadow: 2px 2px 2px var(--text-dark);
  line-height: 1.6;
}
.hero-content h1 {
  font-size: 3.5rem;
}
.hero-content p {
  font-size: 1.25rem;
}
.hero-content a {
  font-size: 1.12rem;
  padding: 0.75rem 2rem;
  background-color: var(--cta-blue);
  color: var(--bg-soft);
  border-radius: 15px;
  transition: 0.3s ease;
}

/* === WAVE DIVIDERS === */
.wave-divider,
.wave-divider_second,
.wave-divider_third {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.wave-divider svg,
.wave-divider_second svg,
.wave-divider_third svg {
  display: block;
  width: 100%;
  height: auto;
}
.wave-divider svg {
  margin-top: -0px;
}
.wave-divider_second {
  margin-top: 0;
  transform: rotate(-180deg);
}
.wave-divider_third {
  margin-top: -5px;
}

/* === ABOUT SECTION === */
#about {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-dark);
}
.about-content .about-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: justify;
}
.about-container h2,
.about-container h3 {
  color: var(--cta-blue);
  margin-left: 5%;
}
.about-container .about-m-and-v {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.5rem;
}
.about-container p {
  border-left: 10px solid var(--primary-blue);
  background: var(--card-bg);
  border-radius: 10px;
  padding: 1rem;
}

/* === SERVICES SECTION === */
#services {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-dark);
}
#services .container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
#services .service-info {
  text-align: center;
  color: var(--cta-blue);
}
#services .services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
#services .service-cards {
  padding: 1rem;
  border-radius: 25px;
  box-shadow: inset 2px 2px 2px 4px rgba(0, 0, 0, 0.05);
  color: var(--accent-indigo);
}
#services img {
  height: 8rem;
  width: 8rem;
  filter: drop-shadow(1px 1px 2px var(--primary-blue));
}

/* === PRICING SECTION === */
#pricing {
  margin-top: 40px;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-dark);
}
#pricing .container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}
#pricing .pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5rem;
}
.section-title {
  font-size: 2rem;
  color: var(--cta-blue);
  text-align: center;
}
.section-subtitle {
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-dark);
}
.pricing-cards .card {
  flex: 1 1 250px;
  max-width: 300px;
  background: var(--card-bg);
  padding: 1.5rem;
  text-align: center;
  border-radius: 12px;
  box-shadow: var(--shadow-blue);
  transition: 0.3s ease;
}
.pricing-cards .card:hover {
  transform: translateY(-5px);
}
.pricing-cards .card i {
  font-size: 5rem;
  color: var(--cta-blue);
  margin-bottom: 2rem;
}
.price {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--text-strong);
  margin: 0.5rem 0;
}

/* === CONTACT SECTION === */
#contact {
  margin-top: 80px;
}
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}
.contact-info,
.contact-form {
  flex: 1 1 300px;
}
.contact-info p,
.contact-info a {
  color: var(--text-dark);
}
.contact-info i {
  margin-right: 0.5rem;
  color: var(--cta-blue);
}
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: Arial, Helvetica, sans-serif;
  resize: none;
}
.contact-form .btn {
  background: var(--cta-blue);
  color: white;
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}
.contact-form .btn:hover {
  background: var(--accent-indigo);
}

/* === FOOTER === */
footer {
  margin-top: 50px;
  padding: 0.5rem 2rem;
  background: var(--cta-blue);
  color: var(--bg-soft);
  text-align: center;
}

/* === TABLET BREAKPOINT (768px and below) === */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  aside {
    display: none; /* Hide side nav for mobile/tablet */
  }
  body {
    margin: auto;
    padding-bottom: 10vh;
  }
  .bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10vh;
    display: flex;
    flex-direction: row;
    background-color: var(--cta-blue);
    z-index: 100;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.095);
  }
  .bottom-nav a {
    color: #fff;
    text-align: center;
    font-size: 0.85rem;
    flex: 1;
    transition: 0.3s ease;
  }
  .bottom-nav i {
    font-size: 1.5rem;
  }
  section {
    padding: 0.5rem;
  }
  #home .hero-content {
    padding: 2rem;
  }
  .about-content .about-container {
    grid-template-columns: 1fr; /* Stack about columns */
  }
  #services .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  #pricing .pricing-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  header .hero-content h1 {
    font-size: 2.5rem;
  }
  header .hero-content p,
  header .hero-content a {
    font-size: 1rem;
  }
  .hero-content a {
    padding: 0.5rem 1.5rem;
  }
  .contact-grid {
    flex-direction: column;
  }
  .contact-form {
    margin-top: -200px;
  }
  .wave-divider {
    /* margin-top: -40px; */
  }
  .wave-divider_second {
    margin-top: 5px;
  }
  .wave-divider_third {
    margin-top: 0;
  }
}
/* === MOBILE BREAKPOINT */
@media screen and (max-width: 767px) {
  aside {
    display: none; /* Hide side nav for mobile/tablet */
  }
  body {
    padding-bottom: 10vh;
  }
  .bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10vh;
    display: flex;
    flex-direction: row;
    background-color: var(--cta-blue);
    z-index: 100;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.095);
  }
  .bottom-nav a {
    color: #fff;
    text-align: center;
    font-size: 0.85rem;
    flex: 1;
    transition: 0.3s ease;
  }
  .bottom-nav i {
    font-size: 1.5rem;
  }
  body {
    margin: auto;
  }
  section {
    padding: 0.5rem;
  }
  #home .hero-content {
    padding: 1rem;
  }
  .about-content .about-container {
    grid-template-columns: 1fr; /* Stack about columns */
  }
  #services .services-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .service-cards {
    width: 90%;
  }
  #pricing .pricing-cards {
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
  }
  header .hero-content h1 {
    font-size: 2.5rem;
  }
  header .hero-content p,
  header .hero-content a {
    font-size: 1rem;
  }
  .hero-content a {
    padding: 0.5rem 1.5rem;
  }
  .contact-grid {
    flex-direction: column;
  }
  .contact-form {
    margin-top: -225px;
  }
  .wave-divider {
    /* margin-top: -40px; */
  }
  .wave-divider_second {
    margin-top: 5px;
  }
  .wave-divider_third {
    margin-top: -2px;
  }
}
/* ANIMATIONS */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
