@import url("https://fonts.googleapis.com/css2?family=Google+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap");

/* Basic reset */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Google Sans", "Product Sans", Arial, sans-serif;
  color: #111;
  background: #ebebebe7;
}

/* Shared container */
.container {
  width: min(1100px, 92%);
  margin: 0 auto;
  align-items: center;
}

/* Navigation bar*/
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 70px;
  background: rgba(248, 238, 227, 0.92);
  color: #1d6b5b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  border-bottom: 1px solid rgba(29, 107, 91, 0.12);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-brand img {
  display: block;
  width: 116px;
  height: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #1d6b5b;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
}

.nav-links a:hover {
  background: rgba(29, 107, 91, 0.1);
  text-decoration: none;
}

.menu-close {
  display: none;
}

/* Hero */
.hero {
  height: 100vh;
  padding-top: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #f8eee3;
}

.hero-content {
  max-width: 720px;
  padding: 0 18px;
}

.hero-image {
  display: block;
  width: min(600px, 80vw);
  height: auto;
  margin: 0 auto 0px;
}

.hero h1 {
  font-size: 100px;
  margin: 0 0 16px 0;
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 28px 0;
  text-align: justify;
}

.cta-button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  background: #1d6b5b;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.cta-button:hover {
  text-decoration: underline;
}

/* SECTIONS */
.section {
  padding: 70px 0;
}

.section-t1 {
  min-height: 100vh;
  padding: 100px 24px;
  background: #1d6b5b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-margin-top: 80px;
}


.section-t2 {
  min-height: 100vh;
  padding: 100px 24px;
  background: #ffc954;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  scroll-margin-top: 80px;

}

.contact-content {
  width: min(980px, 100%);
  margin: 0 auto;
  text-align: center;
}

.section-t1 h2 {
  max-width: 760px;
  margin: 14px auto 26px;
  text-align: center;
  font-size: 48px;
  line-height: 1.08;
}

.section-t1 h3 {
  text-align: center;
  font-size: 28 px;
  font-weight:lighter;
  line-height: 2;    
  margin-bottom: 30 px;  
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.section-label {
  display: inline-block;
  color: #f8eee3;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.about-content p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 20px;
  line-height: 1.7;
  text-align: justify;
}

.about-highlight {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(248, 238, 227, 0.45);
  color: #f8eee3;
  font-size: 22px;
  font-weight: 700;
}

.content{
  margin: 0 0 28px 0;
  color: #000000;
  line-height: 1.5;
}


.section-t2 h2 {
  text-align: center;
  font-size: 52px;
  margin: 12px 0 22px;
  color: #1d6b5b;
}

.contact-label {
  color: #1d6b5b;
}

.contact-intro {
  max-width: 760px;
  margin: 0 auto 30px;
  color: #1d6b5b;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.7;
  text-align: justify;
}

.contact-email {
  display: inline-block;
  margin-bottom: 42px;
  color: #1d6b5b;
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
}

.contact-email:hover {
  text-decoration: underline;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.contact-card {
  min-height: 170px;
  padding: 28px 24px;
  border: 1px solid rgba(29, 107, 91, 0.18);
  border-radius: 8px;
  background: #f8eee3;
  text-align: left;
}

.contact-card h3 {
  margin: 0 0 14px;
  color: #1d6b5b;
  font-size: 24px;
}

.contact-card p {
  margin: 0;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
  text-align: justify;
}







.icon-small {
  width: 80px;
  margin-bottom: 20px;
}



.card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.card p {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}



/* FOOTER */
.footer {
  background: #f8eee3;
  color: #d14632;
  padding: 26px 0;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}



.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: #d14632;
  text-decoration: none;
  font-size: 14px;
}

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

/*****************************************
*****************Excersie 2***************
******************************************/





.text_columns {
  column-count: 3;   
  column-gap: 2rem;
  line-height: 1.6;
  margin: 0 20 0 20;
}


.list_ {
  display: flex;
  flex-wrap: wrap;            
  gap: 30px;
  padding: 60px;
  justify-content: center;   
}

.card {
  background:transparent;
  padding: 40px 25px;
  text-align: center;
  border-radius: 6px;
  box-shadow: 0 0px 1px ;
}


.card_grid {
  background:transparent;
  padding: 40px 25px;
  text-align: center;
  border-radius: 6px;
  box-shadow: 0 0px 1px ;
}




.list_grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  padding: 60px;
}

.card_grid,
.card_intern {
  background: transparent;
  padding: 40px 25px;
  text-align: center;
  border-radius: 6px;
  box-shadow: 0 0px 1px;
}

.card_grid {
  grid-column: span 3; 
}

.card_intern {
  grid-column: span 2; 
}

.icon-large {
  width: 100%;
  max-width: 220px;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

@media (max-width: 500px) {
  .section-t1 {
    padding: 72px 20px;
  }

  .section-t1 h2 {
    font-size: 34px;
  }

  .about-content p {
    font-size: 17px;
  }

  .about-highlight {
    font-size: 18px;
  }

  .section-t2 h2 {
    font-size: 38px;
  }

  .contact-intro {
    font-size: 17px;
  }

  .contact-email {
    font-size: 20px;
    margin-bottom: 28px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .text_columns {
    column-count: 1;     
  }


  .list_grid {
    grid-template-columns: 1fr;
    padding: 30px 15px;
  }

  .card_grid,
  .card_intern {
    grid-column: auto; 
  }

  .icon-large {
    max-width: 260px;
    height: 180px;
  }

 }


.menu-toggle {
  display: none;
  color: #1d6b5b;
  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 500px) {
  .navbar {
    height: 64px;
    padding: 0 20px;
  }

  .nav-brand img {
    width: 96px;
  }

  .menu-toggle {
    display: block;
    color: #1d6b5b;
    font-size: 28px;
    text-decoration: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    width: auto;
    background: #f8eee3;
    padding: 20px;
    gap: 8px;
    border-bottom: 1px solid rgba(29, 107, 91, 0.12);
  }

  .nav-links:target {
    display: flex;
  }

  .menu-close {
    display: block;
    align-self: flex-end;
  }

  .nav-links a {
    display: block;
    color: #1d6b5b;
    text-align: center;
  }

  /* Footer */
  .footer-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}
