/* ==========================================

   YIEN WEBSITE

========================================== */



* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



html {

    scroll-behavior: smooth;

}



body {

    font-family: Arial, Helvetica, sans-serif;

    color: #14213d;

    background: #ffffff;

    overflow-x: hidden;

}



a {

    transition: 0.2s ease;

}





/* ==========================================

   NAVIGATION

========================================== */



header {

    width: 100%;

    background: #ffffff;

    border-bottom: 1px solid #eeeeee;

    position: relative;

    z-index: 1000;

}



.navbar {

    max-width: 1200px;

    height: 90px;

    margin: 0 auto;

    padding: 0 30px;



    display: flex;

    align-items: center;

    justify-content: space-between;

}



.logo {

    display: flex;

    align-items: center;

    text-decoration: none;

}



.logo img {

    width: 135px;

    height: auto;

    display: block;

}



.nav-links {

    display: flex;

    align-items: center;

    gap: 35px;

}



.nav-links a {

    color: #14213d;

    text-decoration: none;

    font-size: 16px;

    font-weight: 600;

}



.nav-links a:hover {

    color: #1670ad;

}



.nav-button {

    background: #1670ad;

    color: white;

    padding: 13px 23px;

    border-radius: 30px;

    text-decoration: none;

    font-size: 15px;

    font-weight: 700;

}



.nav-button:hover {

    background: #125b8d;

    transform: translateY(-2px);

}





/* ==========================================

   HERO

========================================== */



.hero {

    max-width: 1200px;

    min-height: 650px;

    margin: 0 auto;

    padding: 80px 30px 100px;



    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    align-items: center;

    gap: 50px;

}



.hero-content {

    position: relative;

    z-index: 2;

}



.small-title,

.section-label {

    color: #1670ad;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 20px;

}



.hero h1 {

    font-size: clamp(50px, 6vw, 78px);

    line-height: 1.02;

    letter-spacing: -3px;

    margin-bottom: 30px;

}



.hero h1 span {

    color: #1670ad;

}



.hero-text {

    max-width: 560px;

    color: #64748b;

    font-size: 19px;

    line-height: 1.7;

}



.hero-buttons {

    display: flex;

    align-items: center;

    gap: 15px;

    margin-top: 35px;

}



.primary-button {

    display: inline-block;

    background: #f44336;

    color: white;

    padding: 15px 26px;

    border-radius: 30px;

    text-decoration: none;

    font-weight: 700;

}



.primary-button:hover {

    background: #dc382e;

    transform: translateY(-2px);

}



.secondary-button {

    display: inline-block;

    border: 2px solid #14213d;

    color: #14213d;

    padding: 13px 25px;

    border-radius: 30px;

    text-decoration: none;

    font-weight: 700;

}



.secondary-button:hover {

    background: #14213d;

    color: white;

}





/* ==========================================

   HERO ART

========================================== */



.hero-art {

    height: 480px;

    position: relative;

}



.circle {

    position: absolute;

    border-radius: 50%;

}



.circle-blue {

    width: 330px;

    height: 330px;

    background: #1670ad;

    right: 40px;

    top: 60px;

}



.circle-green {

    width: 150px;

    height: 150px;

    background: #4caf50;

    right: 0;

    top: 0;

}



.circle-orange {

    width: 120px;

    height: 120px;

    background: #f6a817;

    left: 50px;

    bottom: 10px;

}



.hero-card {

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);



    width: 160px;

    padding: 0;

    margin: 0;



    background: transparent;

    border: none;

    box-shadow: none;



    text-align: center;

    z-index: 10;

}



.globe {

    font-size: 45px;

}



.hero-card h3 {

    font-size: 28px;

    margin-top: 15px;

    margin-bottom: 5px;

}



.hero-card p {

    color: #64748b;

}





/* ==========================================

   OUR STORY

========================================== */



.about {

    background: #f7f9fb;

    padding: 110px 30px;

    text-align: center;

}



.story-container {

    max-width: 1100px;

    margin: 0 auto;

}



.about h2,

.projects h2,

.community h2,

.contact h2 {

    font-size: clamp(38px, 5vw, 56px);

    line-height: 1.1;

    margin-bottom: 25px;

}



.about h2 span {

    color: #4caf50;

}



.story-text {

    max-width: 820px;

    margin: 35px auto 0;

}



.story-text p {

    color: #64748b;

    font-size: 18px;

    line-height: 1.8;

    margin-bottom: 22px;

}





/* ==========================================

   VALUE CARDS

========================================== */



.values {

    max-width: 1100px;

    margin: 60px auto 0;



    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

}



.value-card {

    background: white;

    padding: 40px 30px;

    border-radius: 18px;

    text-align: left;



    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04);



    transition: 0.25s ease;

}



.value-card:hover {

    transform: translateY(-6px);

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);

}



.value-icon {

    font-size: 38px;

    margin-bottom: 25px;

}



.value-card h3 {

    font-size: 24px;

    margin-bottom: 15px;

}



.value-card p {

    color: #64748b;

    line-height: 1.6;

}



.value-card.blue {

    border-top: 5px solid #1670ad;

}



.value-card.green {

    border-top: 5px solid #4caf50;

}



.value-card.orange {

    border-top: 5px solid #f6a817;

}





/* ==========================================

   PROJECTS

========================================== */



.projects {

    max-width: 1100px;

    margin: 0 auto;

    padding: 110px 30px;

}



.section-heading {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 30px;

    margin-bottom: 15px;

}



.section-heading a {

    color: #1670ad;

    font-weight: 700;

    text-decoration: none;

}



.section-heading a:hover {

    text-decoration: underline;

}



.project-card {

    display: grid;

    grid-template-columns: 1fr 1fr;
column-gap: 20px;



    background: #f7f9fb;

    border-radius: 25px;

    overflow: hidden;



    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);

}



.project-image {

    min-height: 430px;

    position: relative;



    background:

        linear-gradient(

            rgba(22, 112, 173, 0.15),

            rgba(22, 112, 173, 0.15)

        ),

        url("https\://images.unsplash.com/photo-1507525428034-b723cf961d3e")

        center / cover no-repeat;

}



.date-box {

    position: absolute;

    top: 25px;

    left: 25px;



    display: flex;

    flex-direction: column;



    background: white;

    padding: 15px 20px;

    border-radius: 12px;



    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);

}



.date-box strong {

    font-size: 22px;

}



.date-box span {

    margin-top: 3px;

    color: #64748b;

    font-size: 12px;

    font-weight: 700;

}



.project-info {

    padding: 55px;

}



.project-type {

    color: #f44336;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;

}



.project-info h3 {

    font-size: 35px;

    line-height: 1.15;

    margin: 20px 0;

}



.project-info .location {

    color: #14213d;

    font-weight: 700;

    margin-bottom: 20px;

}



.project-info p {

    color: #64748b;

    line-height: 1.7;

}



.project-button {

    display: inline-block;

    margin-top: 30px;

    color: #1670ad;

    text-decoration: none;

    font-weight: 700;

}



.project-button:hover {

    text-decoration: underline;

}





/* ==========================================

   COMMUNITY

========================================== */



.community {

    background: #1670ad;

    color: white;

    padding: 110px 30px;

    text-align: center;

}



.community .section-label {

    color: #f6a817;

}



.community h2 span {

    color: #f6a817;

}



.community > p:not(.section-label) {

    max-width: 650px;

    margin: 0 auto 35px;

    font-size: 18px;

    line-height: 1.7;

}



.white-button {

    display: inline-block;

    background: white;

    color: #1670ad;



    padding: 15px 26px;

    border-radius: 30px;



    text-decoration: none;

    font-weight: 700;

}



.white-button:hover {

    transform: translateY(-2px);

}





/* ==========================================

   CONTACT

========================================== */



.contact {

    background: #f8f7f4;

    padding: 110px 30px;

}



.contact-container {

    max-width: 1100px;

    margin: 0 auto;



    display: grid;

    grid-template-columns: 0.9fr 1.1fr;



    gap: 90px;

    align-items: center;

}



.contact-heading {

    text-align: left;

}



.contact-heading h2 {

    font-size: clamp(45px, 5vw, 65px);

    line-height: 1.05;

    margin-bottom: 25px;

}



.contact-intro {

    max-width: 480px;

    color: #64748b;

    font-size: 18px;

    line-height: 1.7;

}



.contact-details {

    display: flex;

    flex-direction: column;

    gap: 12px;

}



.contact-item {

    width: 100%;

    min-height: 90px;



    display: flex;

    align-items: center;

    gap: 22px;



    padding: 12px 18px;



    border-radius: 18px;



    color: #14213d;

    text-decoration: none;



    transition:

        background 0.2s ease,

        transform 0.2s ease,

        box-shadow 0.2s ease;

}



a.contact-item:hover {

    background: white;

    transform: translateX(5px);



    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);

}





/* ==========================================

   CONTACT ICONS

========================================== */



.contact-icon {

    width: 68px;

    height: 68px;

    min-width: 68px;



    display: flex;

    align-items: center;

    justify-content: center;



    border-radius: 18px;

}



.contact-icon svg {

    width: 30px;

    height: 30px;

    fill: white;

}



.email-icon {

    background: #1670ad;

}



.location-icon {

    background: #4caf50;

}



.instagram-icon {

    background: #ef4438;

}



.linkedin-icon {

    background: #0a66c2;

}



.contact-text {

    min-width: 0;

}



.contact-item h3 {

    color: #14213d;

    font-size: 21px;

    margin-bottom: 7px;

}



.contact-item p {

    color: #64748b;

    font-size: 18px;

    line-height: 1.4;

    overflow-wrap: anywhere;

}





/* ==========================================

   FOOTER

========================================== */



footer {

    max-width: 1200px;

    margin: 0 auto;

    padding: 45px 30px;



    border-top: 1px solid #e5e7eb;



    display: flex;

    align-items: center;

    gap: 25px;

}



.footer-brand {

    display: flex;

    align-items: center;

}



.footer-logo {

    width: 100px;

    height: auto;

    display: block;

}



footer p {

    color: #64748b;

    font-size: 14px;

}



.copyright {

    margin-left: auto;

}





/* ==========================================

   TABLET

========================================== */



@media (max-width: 850px) {



    .navbar {

        height: 80px;

    }



    .logo img {

        width: 120px;

    }



    .nav-links {

        display: none;

    }



    .nav-button {

        padding: 11px 17px;

        font-size: 14px;

    }



    .hero {

      grid-template-columns: 1.1fr 0.9fr;

    padding-top: 70px;

    gap: 20px;

}





    .values {

        grid-template-columns: 1fr;

    }



    .project-card {

        grid-template-columns: 1fr;

    }



    .project-info {

        padding: 35px;

    }



    .section-heading {

        align-items: flex-start;

       flex-direction: column; gap: 8px;

    }



    .contact-container {

        grid-template-columns: 1fr;

        gap: 45px;

    }



    footer {

        flex-direction: column;

        align-items: flex-start;

    }



    .copyright {

        margin-left: 0;

    }

}





/* ==========================================

   MOBILE

========================================== */



@media (max-width: 500px) {



    .navbar {

        padding: 0 18px;

    }



    .logo img {

        width: 105px;

    }



    .nav-button {

        font-size: 13px;

        padding: 10px 14px;

    }



    .hero {

        min-height: auto;

        padding: 60px 20px 70px;

    }



    .hero h1 {

        font-size: 44px;

        letter-spacing: -2px;

    }



    .hero-text {

        font-size: 17px;

    }



    .hero-buttons {

        flex-direction: column;

        align-items: flex-start;

    }



    .hero-art {

        height: 370px;

    }



    .circle-blue {

        width: 250px;

        height: 250px;

        right: 0;

    }



    .circle-green {

        width: 105px;

        height: 105px;

    }



    .circle-orange {

        width: 90px;

        height: 90px;

        left: 10px;

    }



    .hero-card {

        width: 215px;

        left: 20px;

        padding: 25px;

    }



    .about {

        padding: 80px 20px;

    }



    .story-text p {

        font-size: 17px;

    }



    .values {

        margin-top: 45px;

    }



    .projects {

        padding: 80px 20px;

    }



    .project-image {

        min-height: 300px;

    }



    .project-info {

        padding: 30px 25px;

    }



    .project-info h3 {

        font-size: 29px;

    }



    .community {

        padding: 80px 20px;

    }



    .contact {

        padding: 80px 20px;

    }



    .contact-container {

        gap: 35px;

    }



    .contact-heading h2 {

        font-size: 43px;

    }



    .contact-intro {

        font-size: 17px;

    }



    .contact-item {

        min-height: 75px;

        gap: 16px;

        padding: 8px 0;

    }



    .contact-icon {

        width: 58px;

        height: 58px;

        min-width: 58px;

        border-radius: 15px;

    }



    .contact-icon svg {

        width: 26px;

        height: 26px;

    }



    .contact-item h3 {

        font-size: 18px;

    }



    .contact-item p {

        font-size: 15px;

    }



    footer {

        padding: 35px 20px;

    }



    .footer-logo {

        width: 90px;

    }

}

/* PROJECT CARD LAYOUT */
.project-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  column-gap: 20px;
  align-items: center;
  padding: 25px;
  background: #f7f9fb;
  border-radius: 25px;
  overflow: hidden;
}

.project-card img {
  grid-column: 1;
  grid-row: 1 / span 6;
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  margin: 0;
  display: block;
  transform: none;
}

.project-card .project-type {
  grid-column: 2;
  grid-row: 1;
  margin: 0 0 8px;
}

.project-card h3 {
  grid-column: 2;
  grid-row: 2;
  margin: 0 0 10px;
}

.project-card .location {
  grid-column: 2;
  grid-row: 3;
  margin: 0 0 10px;
}

.project-card > p:not(.location) {
  grid-column: 2;
  grid-row: 4;
  margin: 0 0 10px;
}

.project-card > p:last-of-type {
  grid-column: 2;
  grid-row: 5;
  margin: 0 0 12px;
}

.project-card .project-button {
  grid-column: 2;
  grid-row: 6;
  justify-self: start;
  margin-top: 0;
}

/* TABLET */
@media (max-width: 850px) {
  .project-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 22px;
  }

  .project-card img {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    height: 350px;
    object-fit: cover;
  }

  .project-card .project-type,
  .project-card h3,
  .project-card .location,
  .project-card > p:not(.location),
  .project-card > p:last-of-type,
  .project-card .project-button {
    grid-column: 1;
    grid-row: auto;
  }
}

/* MOBILE */
@media (max-width: 500px) {
  .project-card {
    padding: 16px;
    gap: 12px;
  }

  .project-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
  }

  .project-card h3 {
    font-size: 27px;
  }
}
/* HERO PLANET GRAPHIC */
.hero-art {
  position: relative;
  isolation: isolate;
  min-height: 440px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-art .planet {
  display: block;
  position: absolute;
  width: 230px;
  height: 230px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: transparent;
  border: 2px solid #77cfc0;
  z-index: 2;
}
.hero-art .orbit {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  border: 2px solid #f5c878;
  border-radius: 50%;
  z-index: 1;
}
.hero-art .orbit-one { width: 310px; height: 175px; transform: translate(-50%, -50%) rotate(-35deg); }
.hero-art .orbit-two { width: 350px; height: 205px; border-color: #f07860; transform: translate(-50%, -50%) rotate(35deg); }
.hero-art .orbit-three { width: 280px; height: 240px; border-color: #77cfc0; transform: translate(-50%, -50%) rotate(65deg); }
.hero-art .continent { display: block; }
.hero-art .hero-card {
  position: absolute;
  left: 50%;
  top: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 190px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-align: center;
  z-index: 20;
}
.hero-art .hero-card h3 {
  color: #000000;
  font-size: 20px;
  line-height: 1.3;
  text-align: center;
  margin: 0;
  white-space: normal;
  text-shadow: 0 1px 4px rgba(0,0,0,.25);
}

@media (max-width: 850px) {
  .project-card { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .project-card img { grid-column: 1; grid-row: auto; width: 100%; height: 200px; object-fit: contain; }
  .project-card .project-type,
  .project-card h3,
  .project-card .location,
  .project-card > p:not(.location),
  .project-card > p:last-of-type,
  .project-card .project-button { grid-column: 1; grid-row: auto; }
}

@media (max-width: 500px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
    min-height: auto;
    padding: 45px 20px 55px;
    overflow: hidden;
  }
  .hero-content { width: 100%; min-width: 0; z-index: 3; }
  .hero h1 { font-size: clamp(38px, 10.5vw, 48px); line-height: 1.05; letter-spacing: -1.8px; overflow-wrap: normal; }
  .hero-text { width: 100%; max-width: 100%; font-size: 17px; line-height: 1.65; }
  .hero-buttons { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 28px; }
  .hero-art { height: 260px; min-height: 290px; width: 100%; overflow: hidden; }
  .hero-art .planet { width: 175px; height: 175px; }
  .hero-art .orbit-one { width: 240px; height: 135px; }
  .hero-art .orbit-two { width: 260px; height: 150px; }
  .hero-art .orbit-three { width: 210px; height: 190px; }
  .hero-art .hero-card { max-width: 145px; }
  .hero-art .hero-card h3 { font-size: 16px; }
  .project-card { padding: 12px; }
 
}


/* FINAL PROJECT CARD OVERRIDES */
.project-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  column-gap: 20px;
  align-items: center;
  padding: 25px;
  background: #f7f9fb;
  border-radius: 25px;
  overflow: hidden;
}

.project-card img {
  grid-column: 1;
  grid-row: 1 / span 6;
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  margin: 0;
  display: block;
  transform: none;
}

.project-card .project-type { grid-column: 2; grid-row: 1; margin: 0 0 8px; }
.project-card h3 { grid-column: 2; grid-row: 2; margin: 0 0 10px; }
.project-card .location { grid-column: 2; grid-row: 3; margin: 0 0 10px; }
.project-card > p:not(.location) { grid-column: 2; grid-row: 4; margin: 0 0 10px; }
.project-card > p:last-of-type { grid-column: 2; grid-row: 5; margin: 0 0 12px; }
.project-card .project-button { grid-column: 2; grid-row: 6; justify-self: start; margin-top: 0; }

@media (max-width: 850px) {
  .project-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 22px;
  }

  .project-card img {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    height: 350px;
    object-fit: cover;
  }

  .project-card .project-type,
  .project-card h3,
  .project-card .location,
  .project-card > p:not(.location),
  .project-card > p:last-of-type,
  .project-card .project-button {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 500px) {
  .project-card {
    padding: 16px;
    gap: 12px;
  }

  .project-card img {
    height: 280px;
    object-fit: cover;
  }

 .project-card h3 {
  font-size: 24px;
  line-height: 1.3;
}
}

/* PROJECTS PAGE */
.projects-page {
  width: min(100% - 40px, 900px);
  margin: 0 auto;
  padding: 70px 0 90px;
  color: #14213d;
}

.projects-page h1 {
  margin: 0 0 24px;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.1;
  text-align: center;
}

.projects-page h2 {
  margin: 36px 0 16px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.25;
}

.projects-page p {
  margin: 0 0 20px;
  font-size: 17px;
  line-height: 1.8;
  color: #64748b;
}

.projects-page a {
  display: inline-block;
  margin-top: 16px;
  color: #1670ad;
  font-weight: 700;
  text-decoration: none;
}

.projects-page a:hover { text-decoration: underline; }

@media (max-width: 500px) {
  .projects-page {
    width: calc(100% - 36px);
    padding: 42px 0 60px;
  }

  .projects-page h1 { font-size: 36px; }
  .projects-page h2 { margin-top: 28px; font-size: 25px; }
  .projects-page p { font-size: 16px; line-height: 1.7; }
}
/* MOBILE HAMBURGER MENU */

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 1002;
}

.menu-toggle span {
    display: block;
    width: 27px;
    height: 3px;
    background: #14213d;
    border-radius: 3px;
    transition: 0.25s ease;
}

.mobile-get-involved {
    display: none;
}

@media (max-width: 850px) {
    .navbar {
        position: relative;
        justify-content: space-between;
    }

    .menu-toggle {
        display: flex;
        flex-shrink: 0;
    }

    .navbar > .nav-button {
        display: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 18px 20px 25px;
        background: #ffffff;
        box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
        z-index: 1001;
    }

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

    .nav-links a {
        display: block;
        width: 100%;
        padding: 16px;
        text-align: center;
    }

    .nav-links .mobile-get-involved {
        display: block;
        margin-top: 8px;
        color: #ffffff;
        background: #1670ad;
        border-radius: 30px;
        font-weight: 700;
    }
}

@media (min-width: 851px) {
    .menu-toggle,
    .mobile-get-involved {
        display: none;
    }
}/* PROJECT CARD TEXT SIZE */
.project-card .project-type {
  font-size: 15px;
}

.project-card h3 {
  font-size: 24px;
  line-height: 1.3;
}

.project-card .location {
  font-size: 16px;
}

.project-card > p {
  font-size: 16px;
  line-height: 1.6;
}

.project-card .project-button {
  font-size: 16px;
}