/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  background: linear-gradient(
    135deg,
    #f0f8ff,
    #e6e6fa
  ); /* Gradient background */
  /* overflow: hidden; Prevent scrollbars from appearing */
}

a {
  text-decoration: none;
  color: #d4af37; /* Gold color for links */
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #d4af37; /* Gold color for buttons */
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #b8860b; /* Darker gold on hover */
}

/* Header styles */
header {
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

.logo span {
  color: #d4af37; /* Gold color for Web part of logo */
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: #333;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #d4af37; /* Gold color on hover */
}

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 5px;
  transition: all 0.3s ease;
}

/* Hero section */
.hero {
  padding: 120px 0 80px;
  text-align: center;
  background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: #000; /* Black text */
  animation: fadeIn 2s; /* Fade-in animation */
}

.hero p {
  font-size: 20px;
  color: #666;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Services section */
.services {
  padding: 80px 0;
  background-color: white;
}

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

.section-title h2 {
  font-size: 36px;
  color: #000; /* Black text */
}

.section-title p {
  color: #666;
  margin-top: 10px;
}

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

.service-card {
  padding: 30px;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s;
  border: 1px solid #f0f0f0;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: #d4af37; /* Gold border on hover */
}

.service-card i {
  font-size: 40px;
  color: #d4af37; /* Gold color for icons */
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 22px;
  color: #000; /* Black text */
}

/* Projects section */
.projects {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.project-card {
  background-color: white;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.project-img {
  height: 200px;
  background-color: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

.project-info {
  padding: 20px;
}

.project-info h3 {
  margin-bottom: 10px;
  color: #000; /* Black text */
}

/* Contact section */
.contact {
  padding: 80px 0;
  background-color: white;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #000; /* Black text */
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #d4af37; /* Gold border on focus */
  outline: none;
}

.form-group textarea {
  height: 150px;
}

/* Footer */
footer {
  background-color: #000; /* Black background */
  color: white;
  padding: 40px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #d4af37; /* Gold text */
}

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

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column a {
  color: #ddd;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: #d4af37; /* Gold color on hover */
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #222;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
  .burger {
    display: block;
  }
  .nav-links {
    position: absolute;
    right: 0;
    top: 70px;
    background-color: white;
    height: calc(100vh - 70px);
    width: 250px;
    flex-direction: column;
    align-items: center;
    padding-top: 30px;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  }

  .nav-links li {
    margin: 15px 0;
  }

  .nav-active {
    transform: translateX(0%);
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }
}

/* Star styles */
.petal {
  position: absolute;
  /* width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent; */
  width: 15px;
  height: 15px;
  margin: 15px auto;
  border: 15px solid #d4af37;
  -webkit-clip-path: polygon(
    50% 0%,
    63% 38%,
    100% 38%,
    69% 59%,
    82% 100%,
    50% 75%,
    18% 100%,
    31% 59%,
    0% 38%,
    37% 38%
  );
  clip-path: polygon(
    50% 0%,
    63% 38%,
    100% 38%,
    69% 59%,
    82% 100%,
    50% 75%,
    18% 100%,
    31% 59%,
    0% 38%,
    37% 38%
  );
  opacity: 0.8;
  animation: fall linear infinite;
  top: -20px; /* Start from above the viewport */
}

@keyframes fall {
  0% {
    transform: translateY(0);
    opacity: 0.8;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0; /* Fade out as it falls */
  }
}

/* Create multiple stars */
.petal:nth-child(1) {
  left: -20%;
  animation-duration: 5.5s;
  animation-delay: 0s;
}
.petal:nth-child(2) {
  left: 10%;
  animation-duration: 5s;
  animation-delay: 1s;
}
.petal:nth-child(3) {
  left: 30%;
  animation-duration: 5s;
  animation-delay: 2s;
}
.petal:nth-child(4) {
  left: 50%;
  animation-duration: 6s;
  animation-delay: 3s;
}
.petal:nth-child(5) {
  left: 70%;
  animation-duration: 4.5s;
  animation-delay: 0.5s;
}
.petal:nth-child(6) {
  left: 90%;
  animation-duration: 5.5s;
  animation-delay: 1.5s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.decorative {
  position: relative;
  z-index: 1; /* Ensures content is above the background */

  animation: float 3s ease-in-out infinite; /* Floating animation */
}

/* Additional decorative elements */
.decorative::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  /* background: repeating-linear-gradient(45deg, #D4AF37, #D4AF37 5px, #ffffff 5px, #ffffff 500px); */
  /* opacity: 0.2;  */
  z-index: -1;

  --s: 6px; /* control the size */

  /* --g: repeating-conic-gradient(#D4AF37 0 30%,#ffffff 0 50%) 0/;
background:
var(--g) calc(1*var(--s)) calc(7*var(--s)),
var(--g) calc(2*var(--s)) calc(5*var(--s)),
var(--g) calc(3*var(--s)) calc(3*var(--s)),
var(--g) calc(5*var(--s)) calc(2*var(--s)),
var(--g) calc(7*var(--s)) calc(1*var(--s));
background-blend-mode: darken; */
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}
/* Add this CSS to your styles */
@keyframes bounce {

  0% {
    transform: translateY(0px); 
  }
  25% {
    transform: translateY(30px); 
  }

  50% {
    transform: translateY(-5px); 
  }
  75% {
    transform: translateY(30px); 
  }
  100% {
    transform: translateY(0px); 
  }

}
.service-card {
  animation: bounce 8s ease-in-out infinite; /* Apply the bounce animation */
}