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

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Removes horizontal scrollbar */
    font-family:'Merriweather', serif;
}





.hero-education {
  width: 100%;
  height: 100vh;            /* full screen height */
  overflow: hidden;
}

.hero-education img {
  width: 100%;
  height: 100%;
  object-fit: cover;        /* keeps image proportional */
  object-position: center; /* centers like reference */
  display: block;
}
@media (max-width: 768px) {
  .hero-education {
    height: 60vh;
  }
}

/* MENU BAR */
.icon-menu {
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  padding: 22px 0;
}

.icon-menu-inner {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ITEM */
.menu-item {
  text-align: center;
  cursor: pointer;
}

/* ICON */
.icon-circle {
  width: 52px;
  height: 52px;
  background: #2f3947;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
}

.icon-circle i {
  color: #fff;
  font-size: 16px;
}

/* TEXT */
.menu-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 25px;
  font-weight:700;
  color: #000;
}

/* HOVER EFFECT */
.menu-item:hover .icon-circle {
  background: #000;
  transition: 0.3s ease;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .icon-menu-inner {
    flex-wrap: wrap;
    gap:40px;
    justify-content: center;
  }
}
/* ===== RESPONSIVE ===== */
@media(max-width:900px){
    .product-intro,
    .usa{
        flex-direction:column;
    }

    .product-img,
    .product-text,
    .usa img{
        width:100%;
    }

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

    .navbar{
        flex-direction:row;
        gap:10px;
    }
}

/* Section */
.materials-section {
  padding: 80px 20px;
  background: #f7f7f7;
  text-align: center;
}

/* Header */
.materials-badge {
  display: inline-block;
  background: #1a73e8;
  color: #fff;
  padding: 10px 40px;
  border-radius: 35px;
  font-size:35px;
  margin-bottom: 10px;
}

.materials-header p {
  color:black;
  margin-bottom: 60px;
  font-size:20px;
  font-family: 'Open Sans', sans-serif;
}

/* Grid */
.materials-grid {
   display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}
.material-card:nth-last-child(2) {
  grid-column: 1 / 2;
  justify-self: end;
}

.material-card:nth-last-child(1) {
  grid-column: 2 / 3;
  justify-self: start;
}

@media (max-width: 992px) {
  .materials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .material-card:nth-last-child(2),
  .material-card:nth-last-child(1) {
    grid-column: auto;
    justify-self: stretch;
  }
}

@media (max-width: 576px) {
  .materials-grid {
    grid-template-columns: 1fr;
  }
}
/* Card */
.material-card {
  /* background: #fff; */
  border-radius: 38px;
  /* overflow: hidden; */
  position: relative;
}

/* Image */
.material-card img {
  width: 100%;
  height: 250px;
  border-radius:30px;
  object-fit: cover;
  display: block;
}

/* === SHAPE LOGIC (Your CSS Adapted) === */
.material-info {
  margin-top: -30px;
  text-align: center;
  padding: 10px 18px 25px;
}

.material-title {
  background: #fff;
  width: calc(100% - 70px);
  margin: -40px auto 0;
  padding: 18px 10px;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  border-bottom-left-radius:15px;
  border-bottom-right-radius:15px;
  font-size: 26px;
  font-weight: 600;
  color: #111;
  position: relative;
  z-index: 2;
}

.material-desc {
  font-size: 18px;
  color:black;
  line-height: 1.6;
  margin-top:5px;
}

/* Button */
.material-btn {
   display: inline-flex;
  align-items: center;
  justify-content: center;
    font-weight: 600;
  /* margin-top: 14px; */
  padding: 14px 26px;
  background: #111;
  color: #fff;
  border-radius: 20px;
  font-size: 15px;
  text-decoration: none;
  transition: 0.3s;
  font-family: 'Open Sans', sans-serif;
    background: linear-gradient(
    to bottom,
    #2a2a2a 0%,
    #0b0b0b 100%
  );
    box-shadow:
    inset 0 3px 6px rgba(255, 255, 255, 0.15),
    inset 0 -6px 10px rgba(0, 0, 0, 0.8),
    0 6px 12px rgba(0, 0, 0, 0.4);

}
.btn-black{
    background-color:black;
    padding: 10px 10px;
    display: inline-block;
    margin-top:20px;
    justify-content:center;
   align-content:center;
border-radius: 30px;
}
.aluminium-btn{
    margin-top:80px;
}
/* .material-btn:hover {
  background: #1a73e8;
} */

/* Mobile tweaks */
@media (max-width: 480px) {
  .material-card img {
    height: 180px;
  }

  .material-title {
    font-size: 15px;
  }
}
