/* General Styling*/
body {
  font-family: "Montserrat", sans-serif;
}
a {
  color: #06c;
}
img {
  max-width: 100%;
}
.white {
  color: #fff;
}
.black {
  color: #1d1d1f;
}
.grey {
  color: #86868b;
}
.top-50 {
  margin-top: 50px;
}
.top-100 {
  margin-top: 100px;
}
/* Header Style */
.nav-wrapper {
  background: rgba(0, 0, 0, 0.8);
  font-size: 0.85em;
  font-weight: 200;
}
.nav-wrapper ul li a {
  color: #fff;
}
.navbar-toggler {
  color: #fff;
}
.nav-item {
  text-align: left !important;
  padding: 4px 0;
  border-bottom: 1px solid #4b4b4b;
}
/* Footer Styling */
.footer-wrapper {
  background-color: #f5f5f7;
  color: #86868b;
  font-size: 0.75em;
  padding: 0 20px;
}

.footer-wrapper ul {
  list-style: none;
  padding-inline-start: 0;
}

.footer-wrapper ul a {
  color: #515154;
  text-decoration: none;
}

.my-apple-wrapper {
  padding: 15px 0;
  border-bottom: 1px solid #d2d2d7;
  margin-top: 10px;
  font-size: 0.9em;
}

.copyright-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-top: 1px solid #d2d2d7;
  font-size: 0.85em;
  color: #6e6e73;
}

.footer-country {
  display: flex;
  align-items: center;
  gap: 5px;
}

.flag-wrapper img {
  width: 18px;
  height: auto;
}

.footer-links-terms ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links-terms ul li a {
  border-right: 1px solid #d2d2d7;
  padding: 0 5px;
}

.footer-links-terms ul li:last-child a {
  border-right: none;
}

.footer-links-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  padding-bottom: 20px;
}

.footer-links-wrapper h3 {
  font-size: 12px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 8px;
}

.footer-wrapper ul li {
  padding: 4px 0;
}

.upper-text-container {
  border-bottom: 1px solid #d2d2d7;
  padding: 17px 0 10px;
  margin-bottom: 20px;
}

.upper-text-container a {
  color: #515154;
}

/* Responsive Footer for Mobile */
@media (max-width: 768px) {
  .footer-links-wrapper {
    display: block;
  }

  .footer-links-wrapper ul {
    display: none;
  }

  .footer-links-wrapper h3 {
    position: relative;
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
  }

  .footer-links-wrapper h3::after {
    content: "+";
    position: absolute;
    right: 10px;
    font-weight: bold;
  }

  .footer-links-wrapper h3.active::after {
    content: "–";
  }

  .footer-links-wrapper h3.active + ul {
    display: block;
  }

  .copyright-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}



/*=== First Section ===*/
.first-section {
  background-color: #fafafa;
}
a {
  text-decoration: none;
}
.links a::after {
  content: "\f105";
  font-family: "FontAwesome";
  padding: 0 5px;
  margin-right: 10px;
}
.links a:hover {
  color: #000;
}

/* third section starts here */
.third-section {
  background-image: url("../images/home/iphone11-bg.jpg");
}
/* third section ends here */
/* second section  starts here */
.iphone-section {
  background-repeat: no-repeat;
  background-position: center;
  
  background-size: cover;
  height: 450px;
}
@media (min-width: 768px) {
  .iphone-section {
    height: 600px;
  }
}
.second-section {
  background-image: url("../images/home/iphone11-pro-bg.jpg");
}
.second-section .links a:hover {
  color: #fff;
}

/* second section ends here */

/*=== Fourth Section ===*/
/* common product styles */
.product {
  padding: 40px 5px 30px;
  background-repeat: no-repeat;
  background-position: bottom;
  background-color: #fafafa;
  height: 510px;
  background-size: auto 450px;
}
.product .font-size-2 {
  font-size: clamp(1.6rem, 4vw, 2.6rem); 
}
.product .font-size-4 {
  font-size: clamp(0.95rem, 2.3vw, 1.3rem); 
}
/* separate products */
.product-1 {
  background-image: url("../images/home/watch-series-5.jpg");
}
.product-2 {
  background-image: url("../images/home/apple-card.jpg");
}
.product-3 {
  background-image: url("../images/home/apple-tv-background.jpg");
}
.product-3 a {
  color: #0000EE;
}
.product-3 a::after {
  content: "\f144";
  font-family: "FontAwesome";
}
.product-4 {
  background-image: url("../images/home/air-pods.jpg");
  background-color: #000;
  color: #fff;
  background-size: auto 320px;
}
.product-5 {
  background-image: url("../images/home/mac-laptop.jpg");
  background-size: auto 310px;
}
.product-6 {
  background-image: url("../images/home/new-ipad.jpg");
  background-size: auto 470px;
}
