:root {
  --primary-color: #FFAF27;
  --text-color: black;
}

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

body {
  font-family: popins, sans-serif;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 15px 24px;
  gap: 24px;
  flex-wrap: nowrap;
  max-width: 1500px;
  margin: 0 auto;
  height: auto;
  position: relative;
  z-index: 100;
}

.logo {
  font-size: 24px;
  font-family: "Baloo Chettan 2", sans-serif;
  font-weight: bold;
  color: var(--text-color);
  white-space: nowrap;
}

.contact {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  flex: 1;
  flex-wrap: nowrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.contact-item i {
  color: var(--primary-color);
  font-size: 25px;
}

.label {
  font-size: 12px;
  color: gray;
}

.value {
  font-size: 14px;
  color: var(--text-color);
}

.quote-btn-container {
  display: flex;
  justify-content: flex-end;
  white-space: nowrap;
}

.quote-btn {
  padding: 10px 30px;
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.quote-btn:hover {
  background: var(--primary-color);
  color: white;
}

/* Mobile view */
@media (max-width: 768px) {
  .header {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
    padding: 15px 20px;
    height: auto;
  }

  .contact {
    flex: 1 1 auto;
    justify-content: center;
    flex-wrap: wrap;
  }

  .quote-btn-container {
    flex: none;
  }
}





/* Second header - sticky with no gap */
.second-header {
  background-color: black;
  padding: 18px 36px;
  width: 100%;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 999;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  max-width: 1500px;
  margin: 0 auto;
  position: relative;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.location {
  color: white;
  font-weight: bold;
  font-size: 14px;
}

.contact-btn {
  display: none;
  background: white;
  color: #FFAF27;
  border: none;
  padding: 10px 24px;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
}

.nav-links {
  font-size: 25px;
  display: flex;
  align-items: left;
  gap: 24px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.separator {
  width: 1px;
  height: 14px;
  background-color: white;
  display: inline-block;
}

.menu-icon {
  display: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .location {
    display: none;
  }

  .contact-btn {
    display: inline-block;
  }

  .nav-links {
    display: none;
  }

  .menu-icon {
    display: inline-block;
  }

  .nav-links.mobile-visible {
    display: flex !important;
    flex-direction: column;
    background: #FFAF27;
    position: absolute;
    top: 50px;
    left: -40px;
    right: -40px;
    padding: 64px 48px;
    z-index: 999;
  }

  .nav-links.mobile-visible a {
    padding: 8px 0;
  }

  .nav-links.mobile-visible .separator {
    display: none;
  }
}


.about-hero {
  position: relative;
  height: 60vh; /* increased from 50vh */
  background: url('image/hero1.jpg') no-repeat center center/cover;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-hero-overlay {
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0.3));
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.about-hero-inner {
  width: 100%;
  max-width: 1500px;
  padding: 0 5%;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.about-hero-content {
  max-width: 600px;
}

.about-hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.about-hero-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #FFAF27;
  color: black;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.contact-btn:hover {
  background-color: #e69c10;
}

@media (max-width: 768px) {
  .about-hero-content h1 {
    font-size: 2rem;
  }

  .about-hero-content p {
    font-size: 1rem;
  }

  .about-hero-inner {
    justify-content: center;
    text-align: left;
  }

  .about-hero-content {
    max-width: 100%;
  }
}






.aboutus-section {
  background-color: #fdfdfd;
  padding: 60px 0;
}

.aboutus-wrapper {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  align-items: left;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

.aboutus-content {
  flex: 1;
  min-width: 300px;
}

.aboutus-intro {
  color: #FFAF27;
  font-weight: bold;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.aboutus-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #222;
  margin: 10px 0 20px;
}

.aboutus-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  max-width: 700px;
}

.aboutus-image {
  flex: 1;
  min-width: 280px;
}

.aboutus-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Responsive */
@media (max-width: 992px) {
  .aboutus-wrapper {
    flex-direction: column-reverse;
    text-align: center;
  }

  .aboutus-title {
    font-size: 2rem;
  }

  .aboutus-description {
    font-size: 1rem;
  }
}


.mission-vision-section {
  background-color: #ffffff;
  padding: 60px 5%;
}

.mission-vision-wrapper {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
  flex-wrap: wrap;
}

.mv-card {
  flex: 1 1 45%;
  background-color: #f9f9f9;
  border-left: 5px solid #FFAF27;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.mv-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 15px;
}

.mv-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
}

/* Responsive */
@media (max-width: 768px) {
  .mission-vision-wrapper {
    flex-direction: column;
  }

  .mv-card {
    flex: 1 1 100%;
  }

  .mv-title {
    font-size: 1.5rem;
  }

  .mv-description {
    font-size: 1rem;
  }
}




.why-choose-section {
  background-color: white;
  padding: 80px 30px;
  color: black;
}

.why-choose-wrapper {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
}

/* Left Side: Stats */
.why-stats {
  flex: 1 1 40%;
}

.why-stats h3 {
  font-size: 2rem;
  color: #FFAF27;
  margin-bottom: 2rem;
}

.stat-bar {
  margin-bottom: 1.5rem;
}

.stat-bar p {
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
}

.bar {
  height: 10px;
  background-color: #eee;
  border-radius: 20px;
  overflow: hidden;
}

.bar-fill.red {
  height: 100%;
  background-color: red;
  border-radius: 20px;
  transition: width 0.6s ease-in-out;
}

/* Right Side: Cards */
.why-cards {
  flex: 1 1 55%;
}

.why-cards h2 {
  font-size: 2.4rem;
  color: #FFAF27;
  margin-bottom: 2rem;
  text-align: center;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.why-card {
  background: #fdf7ea;
  border-left: 6px solid #FFAF27;
  border-radius: 12px;
  padding: 1.8rem 1.2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: transform 0.3s ease;
}

.why-card:hover {
  transform: translateY(-5px);
}

.why-card i {
  font-size: 2rem;
  color: #FFAF27;
  margin-bottom: 0.8rem;
}

.why-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

/* Always 2x2 Grid on All Devices */
@media (max-width: 768px) {
  .why-choose-wrapper {
    flex-direction: column;
  }

  .why-stats,
  .why-cards {
    flex: 1 1 100%;
  }

  .stat-bar p {
    font-size: 0.95rem;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .why-cards h2 {
    font-size: 1.8rem;
  }
}



.partner-section {
  background-color: #fff7ec;
  padding: 60px 5%;
}

.partner-wrapper {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  align-items: left;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.partner-content {
  flex: 1 1 500px;
}

.partner-title {
  font-size: 2.5rem;
  color: #222;
  margin-bottom: 20px;
  font-weight: 700;
}

.partner-text {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.7;
}

.partner-btn {
  display: inline-block;
  background-color: #FFAF27;
  color: black;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.partner-btn:hover {
  background-color: #e69c10;
}

.partner-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
  .partner-wrapper {
    flex-direction: column-reverse;
    text-align: center;
  }

  .partner-content {
    flex: 1 1 100%;
  }

  .partner-image img {
    max-width: 100%;
  }
}











.services-hero {
  position: relative;
  height: 60vh; /* increased from 50vh */
  background: url('image/hero1.jpg') no-repeat center center/cover;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-hero-overlay {
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0.3));
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.services-hero-inner {
  width: 100%;
  max-width: 1500px;
  padding: 0 5%;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.services-hero-content {
  max-width: 600px;
}

.services-hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.services-hero-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #FFAF27;
  color: black;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.contact-btn:hover {
  background-color: #e69c10;
}

@media (max-width: 768px) {
  .services-hero-content h1 {
    font-size: 2rem;
  }

  .services-hero-content p {
    font-size: 1rem;
  }

  .services-hero-inner {
    justify-content: center;
    text-align: left;
  }

  .services-hero-content {
    max-width: 100%;
  }
}


.dedication-section {
  background-color: #fefefe;
  padding: 60px 5%;
  display: flex;
  justify-content: center;
}

.dedication-container {
  max-width: 1200px;
  text-align: left;
}

.dedication-title {
  font-size: 2.5rem;
  color: #FFAF27;
  font-weight: 800;
  margin-bottom: 1rem;
}

.dedication-subtitle {
  font-size: 1.2rem;
  color: #333;
  font-weight: 600;
  margin-bottom: 1rem;
}

.dedication-text {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .dedication-title {
    font-size: 2rem;
  }

  .dedication-subtitle,
  .dedication-text {
    font-size: 1rem;
  }
}




.services-section {
  background-color: #001e28;
  padding: 60px 40px;
  color: black;
}

.services-content {
  max-width: 1500px;
  margin: 0 auto;
  text-align: left;
}

.services-content h2 {
  font-size: 2.8rem;
  color: #FFAF27;
  margin-bottom: 1rem;
  font-weight: 700;
}

.services-content p {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  color: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  width: 100%;
}

.service-card {
  background-color: white;
  border-left: 6px solid #FFAF27;
  border-radius: 12px;
  padding: 2rem 1.5rem 2rem 2rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  color: black;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.service-card i {
  background-color: #FFAF27;
  color: white;
  font-size: 1.2rem;
  padding: 0.6rem;
  border-radius: 50%;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
}

.service-card h3 {
  font-size: 1.0rem;
  margin-bottom: 0.6rem;
  font-weight: 700;
}

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

@media (max-width: 768px) {
  .services-section {
    padding: 40px 20px; /* Reduce side padding */
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .service-card {
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
  }

  .service-card i {
    margin: 0 auto 1rem auto;
  }

  .service-card h3,
  .service-card p {
    text-align: center;
  }
}




.how-we-work-section {
  background-color: #fff;
  padding: 60px 5%;
}

.how-we-work-container {
  max-width: 1500px;
  margin: 0 auto;
  text-align: center;
}

.how-we-work-title {
  font-size: 2.5rem;
  color: #FFAF27;
  font-weight: 800;
  margin-bottom: 1rem;
}

.how-we-work-description {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Steps Grid */
.how-we-work-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: left;
}

.step i {
  font-size: 2.2rem;
  color: #FFAF27;
  margin-bottom: 10px;
  display: inline-block;
}

.step h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #222;
}

.step p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
  .how-we-work-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .how-we-work-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .how-we-work-title {
    font-size: 2rem;
  }

  .how-we-work-description {
    font-size: 1rem;
  }

  .step i {
    font-size: 1.8rem;
  }
}



.commitment-section {
  background-color: #f9f9f9;
  padding: 60px 5%;
}

.commitment-container {
  display: flex;
  align-items: left;
  justify-content: space-between;
  max-width: 1500px;
  margin: 0 auto;
  gap: 40px;
  flex-wrap: wrap;
}

.commitment-image {
  flex: 1 1 500px;
}

.commitment-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.commitment-content {
  flex: 1 1 500px;
}

.commitment-content h2 {
  font-size: 2.5rem;
  color: #FFAF27;
  margin-bottom: 1rem;
  font-weight: 800;
}

.commitment-content p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #FFAF27;
  color: black;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.contact-btn:hover {
  background-color: #e69c10;
}

@media (max-width: 992px) {
  .commitment-container {
    flex-direction: column;
    text-align: left;
  }

  .commitment-content h2 {
    font-size: 2rem;
  }

  .commitment-content p {
    font-size: 1rem;
  }

  .contact-btn {
    margin-top: 10px;
  }
}






.portfolio-hero {
  position: relative;
  height: 60vh; /* increased from 50vh */
  background: url('image/hero1.jpg') no-repeat center center/cover;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-hero-overlay {
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0.3));
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.portfolio-hero-inner {
  width: 100%;
  max-width: 1500px;
  padding: 0 5%;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.portfolio-hero-content {
  max-width: 600px;
}

.portfolio-hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.portfolio-hero-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #FFAF27;
  color: black;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.contact-btn:hover {
  background-color: #e69c10;
}

@media (max-width: 768px) {
  .portfolio-hero-content h1 {
    font-size: 2rem;
  }

  .portfolio-hero-content p {
    font-size: 1rem;
  }

  .portfolio-hero-inner {
    justify-content: center;
    text-align: left;
  }

  .portfolio-hero-content {
    max-width: 100%;
  }
}





.mio-students-section {
  background-color: white;
  color: black;
  padding: 60px 20px;
}

.mio-students-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.mio-students-text {
  flex: 1 1 500px;
}

.mio-students-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #FFAF27;
}

.mio-students-text p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.apply-btn {
  display: inline-block;
  background-color: #FFAF27;
  color: #000;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.apply-btn:hover {
  background-color: #1f8fff;
}

.mio-students-image {
  flex: 1 1 400px;
  text-align: center;
}

.mio-students-image img {
  max-width: 100%;
  border-radius: 8px;
  object-fit: cover;
}





/* === Services Section Styles (Scoped) === */
.modern-services-section {
  padding: 60px 20px;
  max-width: 1600px;
  margin: auto;
  font-family: 'Segoe UI', sans-serif;
}

/* Section Title */
.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 30px;
  color: #333;
}

/* Service Tabs Container */
.service-tabs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  white-space: nowrap;
  justify-content: flex-start;
  padding-bottom: 10px;
  margin-bottom: 30px;
  scrollbar-width: none; /* Firefox */
}

.service-tabs::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

/* Buttons */
.service-tabs button {
  background-color: #f1f1f1;
  color: #333;
  border: none;
  padding: 10px 18px;
  font-size: 15px;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.service-tabs button:hover {
  background-color: #ddd;
}

/* Gallery Grid Container */
.gallery-wrapper .gallery-grid {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  animation: fadeIn 0.4s ease-in-out;
}

/* Gallery Images */
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* Optional: Larger cards for big screens */
@media (min-width: 1200px) {
  .gallery-wrapper .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

/* Fade-in Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}





.portfolio-section {
  padding: 80px 5%;
  background-color: #fdfdfd;
}

.portfolio-container {
  max-width: 1500px;
  margin: 0 auto;
  text-align: center;
}

.portfolio-header h2 {
  font-size: 2.5rem;
  color: #FFAF27;
  font-weight: bold;
  margin-bottom: 1rem;
}

.portfolio-header p {
  font-size: 1.1rem;
  color: #555;
  max-width: 900px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.portfolio-btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #FFAF27;
  color: black;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
  margin-bottom: 40px;
}

.portfolio-btn:hover {
  background-color: #e69c10;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.portfolio-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease;
}

.portfolio-grid img:hover {
  transform: scale(1.02);
}



.partner-reasons-section {
  padding: 80px 5%;
  background-color: #fff;
}

.partner-reasons-container {
  max-width: 1500px;
  margin: 0 auto;
  text-align: center;
}

.partner-reasons-header h2 {
  font-size: 2.5rem;
  color: #FFAF27;
  margin-bottom: 1rem;
}

.partner-reasons-header p {
  font-size: 1.1rem;
  color: #444;
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.reason-item {
  text-align: left;
  padding: 20px;
  background: #fdf7ea;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.reason-item i {
  font-size: 2rem;
  color: #FFAF27;
  margin-bottom: 10px;
}

.reason-item h4 {
  font-size: 1.2rem;
  margin: 10px 0;
  color: #222;
}

.reason-item p {
  color: #555;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .partner-reasons-header h2 {
    font-size: 2rem;
  }

  .partner-reasons-header p {
    font-size: 1rem;
  }

  .reason-item {
    text-align: center;
  }
}











.contact-hero {
  position: relative;
  height: 60vh; /* increased from 50vh per earlier request */
  background: url('image/hero1.jpg') no-repeat center center/cover;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-hero-overlay {
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0.3));
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.contact-hero-inner {
  width: 100%;
  max-width: 1500px;
  padding: 0 5%;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.contact-hero-content {
  max-width: 600px;
}

.contact-hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.contact-hero-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #FFAF27;
  color: black;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.contact-btn:hover {
  background-color: #e69c10;
}

@media (max-width: 768px) {
  .contact-hero-content h1 {
    font-size: 2rem;
  }

  .contact-hero-content p {
    font-size: 1rem;
  }

  .contact-hero-inner {
    justify-content: center;
    text-align: left;
  }

  .contact-hero-content {
    max-width: 100%;
  }
}




.contact-section {
  background-color: #f9f9f9;
  padding: 60px 0; /* Enough padding top & bottom */
}

.contact-wrapper {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  flex-direction: column;
  gap: 40px;
  box-sizing: border-box;
}

/* Top Content (Image + Text) */
.contact-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  align-items: stretch;
}

.contact-left {
  flex: 1;
  min-width: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-left img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  object-fit: cover;
}

.contact-right {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-intro {
  font-size: 0.9rem;
  color: #FFAF27;
  font-weight: bold;
  margin-bottom: 6px;
}

.contact-title {
  font-size: 2rem;
  color: #222;
  margin-bottom: 10px;
}

.contact-paragraph {
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 16px;
}

.contact-faq {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  color: #FFAF27;
  margin-top: 10px;
}

.contact-faq i {
  font-size: 1.2rem;
}

/* Contact Info */
.contact-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  border-top: 1px solid #ddd;
  padding-top: 30px;
}

.info-item {
  flex: 1 1 30%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 250px;
  border-right: 1px solid #ddd;
  padding-right: 20px;
}

.info-item:last-child {
  border-right: none;
  padding-right: 0;
}

.info-item i {
  font-size: 1.5rem;
  color: #FFAF27;
}

.info-item h4 {
  margin: 0;
  font-size: 1.1rem;
  color: #333;
}

.info-item p {
  margin: 4px 0;
  color: #555;
}

.info-item a {
  font-size: 0.9rem;
  color: #FFAF27;
  text-decoration: none;
}

/* Responsive Tweaks */
@media (max-width: 992px) {
  .contact-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-info {
    gap: 20px;
    justify-content: center;
  }

  .info-item {
    flex: 1 1 45%;
    border-right: none;
    padding-right: 0;
  }
}

@media (max-width: 600px) {
  .info-item {
    flex: 1 1 100%;
    border-right: none;
    padding-right: 0;
  }
}






.map-section {
  width: 100%;
  height: 60vh; /* Change to 100vh if you want full screen */
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .map-section {
    height: 300px;
  }
}


.quote-section {
  padding: 60px 5%;
  background-color: #f5f5f5;
  display: flex;
  justify-content: center;
}

.quote-card {
  display: flex;
  max-width: 1100px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background-color: white;
  flex-wrap: wrap;
}

/* Form Section */
.quote-form {
  flex: 1;
  padding: 40px;
  background-color: #fffaf2;
}

.quote-form h2 {
  margin-bottom: 20px;
  color: #333;
  font-size: 2rem;
}

.quote-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.quote-form input,
.quote-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  resize: none;
}

.quote-form button {
  padding: 12px;
  background-color: #FFAF27;
  color: black;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.quote-form button:hover {
  background-color: #e09b15;
}

/* Image Section */
.quote-image {
  flex: 1;
  min-height: 300px;
}

.quote-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 768px) {
  .quote-card {
    flex-direction: column;
  }

  .quote-form,
  .quote-image {
    width: 100%;
  }

  .quote-form {
    padding: 30px 20px;
  }
}




.matsu-footer {
  background-color: #001e28;
  color: #ffffff;
  padding: 60px 20px 30px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1300px;
  margin: auto;
}

.footer-column {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #f97316;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.footer-column a {
  text-decoration: none;
  color: #d1d5db;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #f97316;
}

.footer-column i {
  margin-right: 8px;
  color: #f97316;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
  color: #888;
  border-top: 1px solid #2a4c58;
  padding-top: 20px;
}

