/* General Reset and Font Settings */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.logo img {
  height: 50px;
}

ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

ul li a {
  text-decoration: none;
  color: #264653;
  font-weight: 500;
  font-size: 1.1rem;
}

ul li a:hover {
  color: #E76F51;
}

.cta {
  background: #E76F51;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  font-size: 1.1rem;
}

.cta:hover {
  background: #d65f41;
}

/* Home Section */
#home {
  padding-top: 120px;
  background-image: url('backdrop.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  position: relative;
  min-height: 700px;
}

#home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), transparent);
  z-index: 1;
}

#home > * {
  position: relative;
  z-index: 2;
}

#home h1, #home p {
  font-size: 1.8em;
  margin-bottom: 15px;
  font-weight: 600;
}

.intro-text {
  font-size: 2.2em;
  line-height: 1.6;
  max-width: 900px;
  margin: 20px auto;
  color: #f9f9f9;
}

/* Section Styling */
section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

h2 {
  font-size: 2.2em;
  margin-bottom: 30px;
  color: #264653;
}

/* Services Grid */
.services-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.service {
  background: #fff;
  padding: 25px;
  width: 350px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.portfolio-item {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.portfolio-item h3 {
  color: #2A9D8F;
  margin-bottom: 15px;
}

.portfolio-item p {
  margin-bottom: 10px;
}

.portfolio-item a {
  color: #E76F51;
  text-decoration: none;
  font-weight: 500;
}

.portfolio-item a:hover {
  text-decoration: underline;
}

/* Contact Section */
#contact p {
  margin-bottom: 20px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

input, textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
}

button[type="submit"] {
  background: #E76F51;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 25px;
  font-size: 1.1em;
  cursor: pointer;
}

button[type="submit"]:hover {
  background: #d65f41;
}

/* Footer */
footer {
  padding: 20px;
  background: #264653;
  color: #fff;
  text-align: center;
  font-size: 0.9em;
}

/* Social Icons */
.social-icons a {
  color: white;
  font-size: 24px;
  margin: 0 15px;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
}

.social-icons a:hover {
  color: #1DA1F2;
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 15px;
  }

  ul {
    flex-direction: column;
    text-align: center;
  }
}





.service h3 {
  color: #2A9D8F; /* Matches the green used in portfolio headings */
}
html {
  scroll-padding-top: 80px; /* Adjust this value to match your header height */
  scroll-behavior: smooth;
}