body {
    background-color: #f2f2f2;
  }
  
.page-title {
    text-align: center;
    padding: 40px 0;
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
}

.content-container {
  max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    min-height: 400px;
}


/* Education Market Section */
.education-market-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #ffffff, #d1e6ff);
    border-radius: 20px;
    margin-bottom: 30px;
}
  
  .education-market-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
  }
  
  .education-market-image {
    flex: 1 1 45%;
  }
  
  .education-market-image img {
    width: 100%;
    border-radius: 10px;
  }
  
  .education-market-text {
    flex: 1 1 50%;
  }
  
  .education-market-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  
  .section-number {
    color: #90c5f0;
    font-weight: bold;
    font-size: 2rem;
  }
  
  .highlight-title {
    color: #007aff;
    font-weight: bold;
  }
  
  .education-market-text p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
  }


/* Software Service Section */
  .software-service-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f2f2f2, #d0e0f7);
    border-radius: 20px;
    margin-bottom: 30px;
  }
  
  .software-service-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
  }
  
  .software-service-text {
    flex: 1 1 50%;
  }
  
  .software-service-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  
  .software-service-text p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
  }
  
  .software-service-image {
    flex: 1 1 45%;
  }
  
  .software-service-image img {
    width: 100%;
    border-radius: 10px;
  }
  

/* === Single Card Apple Values Layout === */
.apple-values-layout {
  display: flex;
  justify-content: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #f5f9fc, #e6f2fb);
}

.values-card {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 
              0 1px 1px rgba(0, 0, 0, 0.02),
              0 0 0 1px rgba(255, 255, 255, 0.7) inset;
  overflow: hidden;
  position: relative;
}

/* Decorative elements */
.values-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 200, 250, 0.1), rgba(0, 122, 255, 0.05));
  z-index: 0;
}

.values-card::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 86, 214, 0.08), rgba(0, 122, 255, 0.03));
  z-index: 0;
}

/* Left section (values and commitments) */
.values-section {
  padding: 40px;
  position: relative;
  z-index: 1;
}

/* First section (left side) */
.values-card > .values-section:first-child {
  flex: 1 1 30%;
  border-right: none;
  position: relative;
}

/* Vertical gradient divider between left and right sections */
.values-card > .values-section:first-child::after {
  content: '';
  position: absolute;
  top: 10%;
  right: 0;
  width: 2px;
  height: 80%;
  background: linear-gradient(to bottom, rgba(0, 122, 255, 0.1), rgba(52, 199, 89, 0.5), rgba(255, 149, 0, 0.3));
  border-radius: 1px;
}

/* Right content container */
.values-right-content {
  flex: 1 1 65%;
  display: flex;
  flex-direction: column;
}

/* Sections within right content */
.values-right-content .values-section {
  flex: 1;
  position: relative;
  padding: 30px;
}

/* Horizontal gradient divider for the second section (Our Methodology) */
.values-right-content .values-section:nth-child(1) {
  border-bottom: none;
}

/* Horizontal gradient divider for the third section (Our Specialty) */
.values-right-content .values-section:nth-child(2)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(to right, rgba(52, 199, 89, 0.3), rgba(0, 122, 255, 0.5), rgba(255, 149, 0, 0.3));
  border-radius: 1px;
}

/* Horizontal gradient divider for the fourth section (Contact Us) */
.values-right-content .values-section:nth-child(3)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(to right, rgba(0, 122, 255, 0.3), rgba(255, 149, 0, 0.5), rgba(52, 199, 89, 0.3));
  border-radius: 1px;
}

/* Typography and content styling */
.values-section h2 {
  font-size: 1.8rem;
  color: #1d1d1f;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Icon styling with 3D effect */
.values-section h2 i {
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff, #f5f5f7);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05),
              0 0 0 1px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

/* Icon colors for different sections */
.values-card > .values-section:first-child h2 i {
  color: #007aff;
}

.values-right-content .values-section:nth-child(1) h2 i {
  color: #34c759;
}

.values-right-content .values-section:nth-child(2) h2 i {
  color: #5856d6;
}

.values-right-content .values-section:nth-child(3) h2 i {
  color: #ff9500;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .values-card {
    flex-direction: column;
  }
  
  .values-card > .values-section:first-child {
    flex: 1 1 100%;
    border-right: none;
  }
  
  .values-card > .values-section:first-child::after {
    display: none;
  }
  
  .values-right-content {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .apple-values-layout {
    padding: 40px 15px;
  }
  
  .values-section {
    padding: 30px;
  }
  
  .values-section h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .values-section {
    padding: 25px 20px;
  }
  
  .values-section h2 {
    font-size: 1.4rem;
  }
  
  .values-section h2 i {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* === Service Section === */
.service-section {
    padding: 80px 20px;
    text-align: center;
}
  
  .service-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 50px;
    color: #1d1d1f;
  }
  
  .service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .service-card {
    background-color: #fefefe;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    color: #1d1d1f;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  }
  
  .service-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
  }
  
  .service-card span {
    font-size: 1.1rem;
    font-weight: 500;
  }

/* Service Section */
.services-section {
  padding: 60px 20px;
  background-color: #f5f5f7;
  border-radius: 20px;
  margin-bottom: 30px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-item {
  background-color: #fff;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.service-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.service-icon img {
  width: 100%;
  height: auto;
}

.service-text h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0;
}

/* Experience Section */
.experience-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f2f2f2, #e6f0fd);
  border-radius: 20px;
  margin-bottom: 30px;
  text-align: center;
}

.experience-content {
  max-width: 900px;
  margin: 0 auto;
}

.experience-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
}

/* MDM Section */
.mdm-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #ffffff, #e1edff);
  border-radius: 20px;
  margin-bottom: 30px;
}

.mdm-header {
  text-align: center;
  margin-bottom: 40px;
}

.mdm-header h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #1d1d1f;
}

.mdm-content {
  max-width: 1200px;
  margin: 0 auto;
}

.mdm-content > p {
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 40px;
  color: #333;
}

.mdm-features {
  background-color: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.mdm-feature-title {
  margin-bottom: 30px;
}

.mdm-feature-title h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 15px;
}

.mdm-checkmark {
  color: #34c759;
  font-size: 1.1rem;
  font-weight: 500;
}

.mdm-feature-box {
  margin-top: 30px;
}

.mdm-feature-box h4 {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #1d1d1f;
}

.mdm-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.mdm-feature-card {
  background-color: #f5f5f7;
  border-radius: 16px;
  padding: 25px;
  transition: all 0.3s ease;
}

.mdm-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.mdm-feature-card h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #007aff;
  margin-bottom: 15px;
}

.mdm-feature-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

.mdm-image-gallery {
  margin-top: 50px;
}

.gallery-title {
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 30px;
  color: #1d1d1f;
}

.mdm-gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.mdm-gallery-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.mdm-gallery-item img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.mdm-gallery-item:hover img {
  transform: scale(1.05);
}

/* After Sales Section */
.after-sales-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f5f5f7, #e0ecff);
  border-radius: 20px;
  margin-bottom: 30px;
}

.section-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.after-sales-header {
  text-align: center;
  margin-bottom: 30px;
}

.after-sales-header h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #1d1d1f;
}

.after-sales-content {
  text-align: center;
}

.after-sales-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #333;
}

/* Technical Features Section */
.tech-features-section {
  padding: 60px 20px;
  background-color: #fff;
  border-radius: 20px;
  margin-bottom: 30px;
}

.tech-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.tech-feature-item {
  background: linear-gradient(135deg, #f5f5f7, #e8f0fd);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tech-feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.tech-feature-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.tech-feature-icon img {
  width: 100%;
  height: auto;
}

.tech-feature-text h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0;
}

/* Maintenance Service & AppleCare Section */
.maintenance-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f5f5f7, #e6f0fd);
  border-radius: 20px;
  margin-bottom: 30px;
}

.maintenance-header {
  text-align: center;
  margin-bottom: 30px;
}

.maintenance-header h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #1d1d1f;
}

.maintenance-content {
  max-width: 1000px;
  margin: 0 auto 40px;
  text-align: center;
}

.maintenance-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
}

.applecare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto 40px;
}

.applecare-item {
  background-color: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.applecare-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.applecare-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.applecare-icon img {
  width: 100%;
  height: auto;
}

.applecare-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1d1d1f;
  text-align: center;
  margin-bottom: 20px;
}

.applecare-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.applecare-item li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.5;
}

.applecare-item li::before {
  content: "•";
  position: absolute;
  left: 5px;
  font-size: 1.2rem;
}

.blue-text {
  color: #007aff;
}

.pink-text {
  color: #ff2d55;
}

.contact-info {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.contact-info p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #333;
}

/* K-12 Education Solutions Section */
.k12-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #ffffff, #e8f4ff);
  border-radius: 20px;
  margin-bottom: 30px;
}

.k12-header {
  text-align: center;
  margin-bottom: 40px;
}

.k12-header h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #1d1d1f;
}

.k12-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.k12-card {
  background-color: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.k12-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.k12-card-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.animated-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(to right, rgba(0, 122, 255, 0.5), rgba(52, 199, 89, 0.5));
  border-radius: 1px;
  opacity: 0.3;
}

.line-1 {
  top: 20%;
  left: -10%;
  width: 70%;
  transform: rotate(5deg);
  animation: floatLine 8s infinite ease-in-out;
}

.line-2 {
  top: 50%;
  right: -10%;
  width: 60%;
  transform: rotate(-3deg);
  animation: floatLine 12s infinite ease-in-out reverse;
}

.line-3 {
  bottom: 25%;
  left: 20%;
  width: 50%;
  transform: rotate(2deg);
  animation: floatLine 10s infinite ease-in-out 2s;
}

@keyframes floatLine {
  0%, 100% {
    transform: translateY(0) rotate(var(--rotation, 0deg));
  }
  50% {
    transform: translateY(10px) rotate(var(--rotation, 0deg));
  }
}

.k12-card-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #007aff, #5ac8fa);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 122, 255, 0.3);
}

.k12-card-badge i {
  color: #fff;
  font-size: 1.5rem;
}

.k12-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 15px;
}

.k12-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

/* Trade-In Section */
.tradein-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f5f5f7, #e0ecff);
  border-radius: 20px;
  margin-bottom: 30px;
}

.section-gap {
  margin-top: 60px;
}

.tradein-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 60px;
}

.tradein-hero-content {
  flex: 1 1 55%;
}

.tradein-hero-content h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 15px;
}

.tradein-hero-content h2 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #007aff;
  margin-bottom: 20px;
}

.tradein-hero-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
}

.tradein-hero-image {
  flex: 1 1 40%;
}

.tradein-hero-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.tradein-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 60px;
}

.benefit-card {
  background: linear-gradient(135deg, #01275241, #e8f0fd);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  background: linear-gradient(135deg, #e0ecff, #eaf4ff);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.benefit-icon img {
  width: 100%;
  height: auto;
}

.benefit-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 15px;
}

.benefit-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

.tradein-pricing {
  max-width: 1000px;
  margin: 0 auto 60px;
}

.tradein-pricing h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #1d1d1f;
  text-align: center;
  margin-bottom: 30px;
}

.pricing-table {
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.table-header {
  background: linear-gradient(135deg, #007aff, #5ac8fa);
  padding: 15px 20px;
  color: #fff;
  font-weight: 600;
}

.header-left {
  font-size: 1.1rem;
}

.table-row {
  padding: 15px 20px;
  border-bottom: 1px solid #e5e5e5;
  transition: background-color 0.3s ease;
}

.table-row:last-child {
  border-bottom: none;
}

.table-row:hover {
  background-color: #f5f5f7;
}

.model-name {
  font-size: 1rem;
  color: #333;
}

.limited-offer {
  margin-top: 20px;
}

.offer-banner {
  background-color: #fff3e0;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
}

.offer-note {
  font-size: 1rem;
  color: #ff9500;
  margin: 0;
}

.tradein-terms {
  margin-top: 20px;
  text-align: center;
}

.tradein-terms p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

.inquiry-button {
  margin-top: 30px;
  text-align: center;
}

.btn-inquiry {
  display: inline-block;
  background: linear-gradient(135deg, #007aff, #5ac8fa);
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 122, 255, 0.3);
  transition: all 0.3s ease;
}

.btn-inquiry:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 122, 255, 0.4);
}

.tradein-process {
  max-width: 1000px;
  margin: 0 auto;
}

.tradein-process h3 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #1d1d1f;
  text-align: center;
  margin-bottom: 30px;
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.step {
  flex: 1 1 200px;
  max-width: 200px;
  text-align: center;
}

.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.step-icon img {
  width: 60%;
  height: auto;
}

.step p {
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .tradein-hero {
    flex-direction: column;
  }
  
  .tradein-hero-content,
  .tradein-hero-image {
    flex: 1 1 100%;
  }
  
  .process-steps {
    gap: 20px;
  }
  
  .step {
    flex: 1 1 160px;
    max-width: 160px;
  }
}

@media (max-width: 768px) {
  .mdm-feature-grid {
    grid-template-columns: 1fr;
  }
  
  .applecare-grid {
    grid-template-columns: 1fr;
  }
  
  .tradein-benefits {
    grid-template-columns: 1fr;
  }
  
  .process-steps {
    flex-direction: column;
    align-items: center;
  }
  
  .step {
    flex: 1 1 100%;
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .service-grid,
  .tech-features-grid,
  .k12-cards-container {
    grid-template-columns: 1fr;
  }
  
  .tradein-hero-content h1 {
    font-size: 1.8rem;
  }
  
  .tradein-hero-content h2 {
    font-size: 1.4rem;
  }
}

/*Apple Apps Section*/
  .apple-app-section {
    background: linear-gradient(135deg, #f9f9f9, #d8e8ff);
    padding: 100px 20px;
    text-align: center;
    border-radius: 20px;
    margin-bottom: 30px;
  }
  
  .apple-app-container {
    max-width: 900px;
    margin: 0 auto;
    color: #333;
  }
  
  .apple-app-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: #000;
  }
  
  .apple-app-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: #333;
  }
  
  .apple-app-container p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #444;
  }

/*Apple Apps Section*/
  .apple-apps-section {
    background: linear-gradient(135deg, #f9f9f9, #d4e6ff);
    padding: 100px 20px;
    border-radius: 20px;
    margin-bottom: 30px;
  }
  
  .apple-apps-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: center;
  }
  
  .apple-apps-left {
    flex: 1 1 35%;
    text-align: center;
  }
  
  .apple-apps-left img {
    max-width: 200px;
    margin-bottom: 20px;
  }
  
  .apple-apps-left h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #1d77c0;
    margin-bottom: 15px;
  }
  
  .apple-apps-left p {
    font-size: 1.2rem;
    color: #444;
    line-height: 1.5;
  }
  
  .apple-apps-right {
    flex: 1 1 60%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  
  .app-card {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    padding: 30px 25px;
    text-align: center;
    flex: 1 1 250px;
    max-width: 300px;
    transition: transform 0.3s ease;
  }
  
  .app-card:hover {
    transform: translateY(-5px);
  }
  
  .app-card img {
    width: 64px;
    height: 64px;
    margin-bottom: 15px;
  }
  
  .app-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
  }
  
  .app-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
  }
  
  /* RWD 調整 */
  @media (max-width: 992px) {
    .apple-apps-container {
      flex-direction: column;
    }
  
    .apple-apps-left, .apple-apps-right {
      flex: 1 1 100%;
      text-align: center;
    }
  }
  
/*Apple Media Section*/
  .apple-media-section {
    background: linear-gradient(135deg, #ffffff, #e0f0ff);
    padding: 100px 20px;
    border-radius: 20px;
    margin-bottom: 30px;
  }
  
  .apple-media-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: center;
  }
  
  .apple-media-left {
    flex: 1 1 35%;
    text-align: center;
  }
  
  .apple-media-left img {
    max-width: 200px;
    margin-bottom: 20px;
  }
  
  .apple-media-left h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #1d77c0;
    margin-bottom: 15px;
  }
  
  .apple-media-left p {
    font-size: 1.2rem;
    color: #444;
    line-height: 1.5;
  }
  
  .apple-media-right {
    flex: 1 1 60%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  
/* === Image Gallery Section === */
.image-gallery-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f5f9fc, #e6f2fb);
  border-radius: 20px;
  margin-bottom: 40px;
  text-align: center;
  overflow: hidden;
}

.image-gallery-section h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 40px;
  color: #1d1d1f;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #1d77c0, #007aff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Thumbnail wrapper and scrolling */
.thumbnail-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
  overflow: hidden;
}

.thumbnail-row {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
  padding: 10px 5px;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.thumbnail-row::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  font-size: 18px;
  color: #007aff;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.scroll-btn:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  color: #0056b3;
}

.scroll-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.scroll-btn.left {
  left: 10px;
}

.scroll-btn.right {
  right: 10px;
}

.scroll-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.thumbnail {
  width: 150px;
  height: 212px; /* A4 aspect ratio (1:1.414) */
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

.thumbnail:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 122, 255, 0.5);
}

/* Overlay for full-size image */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.full-image {
  max-width: 85%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
  animation: fadeIn 0.3s ease-in-out;
  transform: scale(0.98);
  transition: transform 0.3s ease;
  background-color: white; /* Add white background for PDF images */
  padding: 10px; /* Add some padding around the image */
}

.full-image:hover {
  transform: scale(1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(0.98);
  }
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .thumbnail {
    width: 140px;
    height: 198px;
  }
  
  .thumbnail-wrapper {
    padding: 0 45px;
  }
}

@media (max-width: 768px) {
  .image-gallery-section {
    padding: 60px 15px;
  }
  
  .image-gallery-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  .thumbnail {
    width: 120px;
    height: 170px;
  }
  
  .thumbnail-wrapper {
    padding: 0 40px;
  }
  
  .scroll-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .image-gallery-section h2 {
    font-size: 1.8rem;
  }
  
  .thumbnail-row {
    gap: 15px;
  }
  
  .thumbnail {
    width: 100px;
    height: 141px;
  }
  
  .thumbnail-wrapper {
    padding: 0 35px;
  }
  
  .scroll-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}

/* Apple Financing Benefits Section */
.apple-financing-benefits {
  padding: 80px 20px;
  background-color: #fff;
  border-radius: 20px;
  margin-bottom: 30px;
}

.financing-benefits-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.benefit-box {
  background: linear-gradient(to bottom, #f9f9f9, #ffffff);
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.benefit-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #007aff, #5ac8fa);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.benefit-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.benefit-box:hover::before {
  transform: scaleX(1);
}

.benefit-box h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 20px;
}

.benefit-box p {
  font-size: 1rem;
  line-height: 1.6;
  color: #494949;
}

/* Financing Details Section */
.financing-details-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f5f9fc, #e6f2fb);
  border-radius: 20px;
  margin-bottom: 30px;
}

.financing-details-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 50px;
}

.financing-details-text {
  flex: 1 1 60%;
}

.financing-details-text h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 20px;
  margin-top: 30px;
}

.financing-details-text h3:first-child {
  margin-top: 0;
}

.financing-details-text p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #494949;
  margin-bottom: 30px;
}

.financing-details-image {
  flex: 1 1 40%;
}

.financing-details-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Apple Buyback Section */
.apple-buyback-section {
  padding: 80px 20px;
  background-color: #fff;
  border-radius: 20px;
  margin-bottom: 30px;
}

.buyback-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 50px;
}

.buyback-text {
  flex: 1 1 60%;
}

.buyback-text h3 {
  font-size: 2rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 20px;
}

.buyback-text p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #494949;
}

.buyback-stats {
  flex: 1 1 40%;
  background: linear-gradient(to bottom, #f9f9f9, #ffffff);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.buyback-stats h4 {
  font-size: 1.3rem;
  font-weight: 500;
  color: #1d1d1f;
  margin-bottom: 30px;
  text-align: center;
}

.device-value {
  display: flex;
  justify-content: space-around;
  gap: 20px;
}

.device-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.device-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 15px;
}

.device-item .value {
  font-size: 2.5rem;
  font-weight: 600;
  color: #007aff;
  margin-bottom: 5px;
}

.device-item .label {
  font-size: 1rem;
  color: #494949;
}

/* Responsive styles for all financing sections */
@media (max-width: 992px) {
  .financing-benefits-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .financing-details-container,
  .buyback-container {
    flex-direction: column;
  }
  
  .financing-details-text,
  .buyback-text,
  .financing-details-image,
  .buyback-stats {
    flex: 1 1 100%;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .apple-financing-benefits,
  .financing-details-section,
  .apple-buyback-section {
    padding: 60px 20px;
  }
  
  .financing-benefits-container {
    grid-template-columns: 1fr;
  }
  
  .benefit-box,
  .buyback-stats {
    padding: 30px 20px;
  }
  
  .financing-details-text h3 {
    font-size: 1.6rem;
  }
  
  .buyback-text h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .device-value {
    flex-direction: column;
    gap: 30px;
  }
  
  .device-item .value {
    font-size: 2rem;
  }
}

/* Apple Financing Hero Section */
.apple-financing-hero {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f5f9fc, #e6f2fb);
  border-radius: 20px;
  margin-bottom: 30px;
  overflow: hidden;
}

.financing-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.financing-text {
  flex: 1 1 50%;
}

.financing-text h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 20px;
  line-height: 1.2;
}

.financing-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #494949;
  max-width: 90%;
}

.financing-image {
  flex: 1 1 45%;
  position: relative;
}

.financing-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transform: perspective(1000px) rotateY(-5deg);
  transition: all 0.5s ease;
}

.financing-image:hover img {
  transform: perspective(1000px) rotateY(0deg);
}

@media (max-width: 992px) {
  .financing-container {
    flex-direction: column;
    text-align: center;
  }
  
  .financing-text p {
    max-width: 100%;
  }
  
  .financing-image img {
    transform: none;
    max-width: 80%;
    margin: 0 auto;
  }
  
  .financing-image:hover img {
    transform: none;
  }
}

@media (max-width: 768px) {
  .apple-financing-hero {
    padding: 60px 20px;
  }
  
  .financing-text h2 {
    font-size: 2rem;
  }
  
  .financing-image img {
    max-width: 100%;
  }
}