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

/* Body and Font Settings */
html, body {
  height: 100%;
  font-family: 'Inter', sans-serif;
  line-height: 1.8;
  color: #333;
  background-color: #f4f4f4;
  text-align: center;
}

/* Site Header */
.site-header {
  background-color: #a8dadc;
  color: #000;
  padding: 20px 40px;
  width: 100%;
}

.site-header h1 {
  font-size: 1.5em;
  font-weight: 500;
}

/* Section Base Styles */
section {
  padding: 60px 40px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Alternating Backgrounds */
.section-a {
  background-color: #f1faee;
}

.section-b {
  background-color: #a8dadc;
}

/* Landing Section */
.landing {
  background-color: #1d3557;
  color: #fff;
  padding: 120px 90px;  /* Increased padding */
  text-align: center;
  line-height: 1.8;
}

.landing-text h1 {
  font-size: 2.5em;
  margin-bottom: 30px;  /* Ensure consistent spacing below */
}

/* About Section */
.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 80px;
}

.about h2 {
  font-size: 2.5em;
  margin-bottom: 30px;  /* Consistent bottom margin */
  width: 100%;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
  flex-wrap: wrap;
  line-height: 1.8;
}

.about-text {
  flex: 1;
  margin-right: 40px;
  text-align: left;
  line-height: 1.8;
}

.about-text ul {
  list-style: disc;
  padding-left: 40px;
  line-height: 1.8;
}

.about-image {
  border-radius: 90%;
  width: 200px;
  height: 200px;
  object-fit: cover;
}

/* Key Skills Section */
.key-skills {
  padding: 60px 40px;
}

.key-skills h2 {
  font-size: 2.5em;
  margin-bottom: 30px;  /* Consistent bottom margin */
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1000px;
}

.skill-box {
  background-color: #fff;
  border: 2px solid #ccc;
  padding: 15px 25px;
  font-size: 1em;
  font-weight: 600;
  text-align: center;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s;
}

.skill-box:hover {
  background-color: #1d3557;
  color: #fff;
  transform: scale(1.05);
}

/* Companies Section */
.companies {
  padding: 40px 40px;
}

.companies h2 {
  font-size: 2.5em;
  margin-bottom: 30px;  /* Consistent bottom margin */
  width: 100%;
}

.company-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 35px;
  margin-top: 20px;
}

.company-logos img {
  width: 140px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s, filter 0.3s;
}

.company-logos img:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* Testimonials Section */
.testimonials {
  padding: 60px 40px;
  background-color: #f1faee;
}

.testimonials h2 {
  font-size: 2.5em;
  margin-bottom: 30px;  /* Consistent bottom margin */
}

.testimonials p {
    font-size: 1.2em;
    line-height: 1.8;
  margin-bottom: 30px;  /* Consistent bottom margin */
}

/* Why Me Section */
.why-me {
  padding: 30px 40px;
}

.why-me h2 {
  font-size: 2.5em;
  margin-bottom: 30px;  /* Consistent bottom margin */
}

.why-me p {
  font-size: 1.0em;
    margin-bottom: 30px;  /* Consistent bottom margin */
  line-height: 1.8;
}

/* Contact Section */
.contact {
  padding: 60px 40px;
}

.contact h2 {
  font-size: 2.5em;
  margin-bottom: 30px;  /* Consistent bottom margin */
}

.contact p {
  font-size: 1.0em;
    line-height: 1.8;
  margin-bottom: 30px;  /* Consistent bottom margin */
}

.button {
  background-color: #1d3557;
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  font-size: 1.2em;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.button:hover {
  background-color: #457b9d;
}

/* Footer */
footer {
  background-color: #1d3557;
  color: #fff;
  text-align: center;
  padding: 20px 40px;
  font-size: 1em;
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.footer-icon-img {
  width: 30px;
  height: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-text {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .skills-grid {
    flex-direction: column;
  }

  .company-logos {
    flex-direction: column;
  }

  .company-logos img {
    width: 100px;
  }

  .contact .button {
    font-size: 1em;
    padding: 10px 20px;
  }
}
