* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {


  background-image: url('images/bg1.jpg');
  background-size: cover; /* This ensures the image covers the entire background */
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Keeps the background fixed while scrolling */
  margin: 0;
  padding: 0;

  background-color: #FFF5E4;
  color: #333;
  line-height: 1.6;
  margin: 10%; /* Adds margin around the content */
}

header {
  background-color: #fff;
  padding: 20px 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: fixed; /* Makes the navigation sticky */
  width: 80%;
  top: 0;
  z-index: 1000;
}

/* Desktop Navigation */
nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  transition: transform 0.3s ease-in-out;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-size: 18px;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #007bff;
}

.logo {
  width: 100%;
  max-width: 200px;
  z-index: 1;
  position: absolute;
  margin-top: -15px;
}

/* Mobile Navigation (Hamburger) */
.menu-toggle {
  display: none;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 1100;
}

.menu-toggle span {
  width: 30px;
  height: 3px;
  background-color: #333;
  display: block;
  margin: 5px 0;
}

/* Responsive Navigation Behavior */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #fff;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    display: none; /* Initially hidden on mobile */
  }

  h1{
    font-size: 22px !important;
  }

  h2{
    font-size: 20px !important;
  }

  nav ul.open {
    display: block; /* Display when the hamburger is clicked */
    transform: translateY(0);
  }

  nav ul li {
    margin: 15px 0;
    text-align: center;
  }

  .menu-toggle {
    display: block; /* Display hamburger menu on mobile */
  }

  .logo {
    position: static;
    margin-top: 0;
  }

  .intro {
    padding: 100px 20px 50px; /* Adjust for fixed header */
  }
}

/* Home Section Styling */
.intro {
  text-align: center;
  padding: 50px;
  background-color: #fff;
}

.intro-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 15px; 

}

.dino {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
  background-clip: border-box;
}

.intro h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.intro p {
  font-size: 20px;
  margin-bottom: 20px;
}

.cta-button {
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #0056b3;
}

/* Services Section Styling */
section {
  padding: 20px 0;
}

h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 36px;
}

.service-cards {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.card {
  flex: 1 1 calc(25% - 20px); /* Set the width of each card to 25% of the container minus the gap */
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  color: #fff;
  box-sizing: border-box;
}

/* Round Corners for Service Images */
.service-cards .card img {
  border-radius: 15px; /* Adjust this value for more or less roundness */
  width: 100%;
  height: auto;
}


.card img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}

/* Adding background colors to the cards */
.card-blue {
  background-color: #00b4d8;
}

.card-pink {
  background-color: #f28bb2;
}

.card-yellow {
  background-color: #ffd166;
}

.card-green {
  background-color: #28a745;
}

form {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: 0 auto;
}

form label {
  margin-bottom: 5px;
}

form input[type="text"],
form input[type="tel"],
form input[type="number"] {
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form input[type="submit"] {
  padding: 10px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

form input[type="submit"]:hover {
  background-color: #0056b3;
}

/* Responsive styling for smaller screens */
@media (max-width: 992px) {
  .card {
    flex: 1 1 calc(50% - 20px); /* 2 cards per row on medium screens */
  }
}

@media (max-width: 768px) {
  .card {
    flex: 1 1 100%; /* 1 card per row on small screens */
  }
}
