@charset "UTF-8";

/* Global Reset */
html {
  font-size: clamp(8px, 1.2vw, 16px);
}

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

body, html {
  width: 100%;
  height: auto;
  position: relative;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  position: relative;
  z-index: 0;
  overflow-x: hidden;
}

/* Wrap everything you want to scale in .wrapper */
.wrapper {
  transform-origin: top left;
  width: 100%;
}

/* Header */
.header {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 5.875rem;
  padding: 1.4375rem 11.5rem;
  background: #A2E1F9;
  z-index: 1;
  font-family: "Lato", sans-serif;
  font-size: 1.0625rem;
  gap: 3.4rem;
  flex-shrink: 0;
}
.logo img {
  max-height: 3rem;
}
.nav-items {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 3.3rem;
  padding: 0rem 3.5rem 0rem 3.5rem;
}
.nav-items a {
  flex-shrink: 0;
  text-decoration: none;
  color: black;
  position:relative;
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
  border-bottom: 1px solid transparent;
}
.nav-items a.active,
.nav-items a:hover {
  border-bottom: 1px solid black;
}

/* Buttons */
.button, .button2 {
  text-decoration: none;
  color: #000;
  display: flex;
  width: 14.1875rem;
  height: 2.6875rem;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  border-radius: 0.375rem;
  border: 1px solid #000;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
.button2 {
  background-color:#A2E1F9;
  border: 1px solid transparent;
}
.button:hover,
.button2:hover {
  background-color: #1B8FC0;
  color: white;
  border-color: #1B8FC0;
}
.button:hover .arrow-icon,
.button2:hover .arrow-icon {
  filter: brightness(0) invert(1);
}

/* Hero Section */
.about-us-hero {
  position: relative;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex-shrink: 1;
  margin-bottom: 9.12rem;
}
.about-us-hero-background-image img{
	width:100%;
	height:auto;
}
.about-us-hero-text {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	position: absolute;
	margin-left: 11.75rem;
	top: 9rem;
	max-width: 100%;
}

/* How Kumon Started Section */
.how-kumon-started {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex-shrink: 1;
  gap: 6rem;
  margin-bottom: 10rem;
}
.how-kumon-started-text-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 2rem;
  width: 29rem;
}
.how-kumon-started-quotation-vector-text {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 0.94rem;
}
.kumonwascreatedbyadadtext {
  font-family: "Lato", sans-serif;
}
.how-kumon-started-text {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  margin-top: 0.5rem;
  width: 29.5rem;
}
.how-kumon-started-image img {
  width: 100%;
  max-width: 30rem;
  height: auto;
  display: block;
}
.home-aboutus-plus-background-absolute {
  position: absolute;
  top: 76rem;         /* Adjust as needed */
  left: -5.37rem;       /* You can also use left, bottom */
  z-index: -1; 
  flex-shrink: 1;
}
.home-aboutus-plus-background-absolute img {
	width: 24.77363rem;
	max-width: 100%;
	height: auto;
}

/* Kumons Aspirations */
.kumons-aspirations {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex-shrink: 1;
  gap: 3.63rem;
  margin-bottom: 8.75rem;
}
.card-slider {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.card {
  width: 21.5625rem;
  max-width: 100%;
  height: 32.0625rem;
  flex-shrink: 0;
  background-color: #E8F6FD;
  border-radius: 1.3125rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* Add this */
  text-align: center;
  padding: 1.75rem 0rem 1.8rem 0rem;
  overflow: hidden;
}
.card-content-width {
  display: flex;
  flex-direction: column;
  align-items: center; /* horizontal centering */
  gap: 1.37rem;
  width: 100%;
}
.card-content-width h5,
.card-content-width p.p1 {
  padding: 0rem 4rem 0rem 4rem;
  text-align: center;
  width: 100%;
}
.learning-method-1-image img {
	justify-content: center;
	widtht: 100%;
	max-width: 16rem;
	width: auto;
    margin: 2.12rem 2.75rem 0rem 2.75rem;
}
.learning-method-2-image img {
	justify-content: center;
	widtht: 100%;
	max-width: 21.5rem;
	width: auto;
    margin: 0;
}
.programs-ages-absolute-background-devide {
  position: absolute;
  top: 23rem;         /* Adjust as needed */
  right: -12rem;       /* You can also use left, bottom */
  z-index: -1; 
  flex-shrink: 1;
}
.programs-ages-absolute-background-devide img {
	width: 24.89788rem;
	transform: rotate(-9.772deg);
	max-width: 100%;
	height: auto;
}

/* Kumons Milestone */
.kumons-milestone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex-shrink: 1;
  gap: 3.63rem;
}
.kumons-milestone-image img {
  width: 100%;
  max-width: 70.5625rem;
  height: auto;
  display: block;
}


/* Footer */
.footer{
	width: 100%;
	height: 27.9375rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: #6ED0F7;
	flex-shrink: 0;
	margin-top: 8.44rem;
	padding: 3.75rem 0 3.75rem 0;
	gap: 2rem;
}
.footer-logo {
	width: 15.12375rem;
	height: auto;
}
.footer-social-media-container{
	display: flex;
	flex-direction: column;
	align-content: center;
	justify-content: center;
}
.home-connect-with-us{
	font-weight: 700;
	align-content: center;
	justify-content: center;
	text-align: center;
	margin-bottom: 1rem;
}
.footer-social-media{
	display: flex;
	flex-direction: row;
	align-content: center;
	justify-content: center;
	gap: 0.96rem;
}
.footer-content{
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 2.81rem;
}
.footer-nav{
	display: flex;
	flex-direction: row;
	gap: 2.81rem;
	align-items: center;
}
.footer-nav a {
  flex-shrink: 0;
  text-decoration: none;
  color: black;
  position: relative;
  padding-top: 0.25rem;
  border-bottom: 0.5px solid transparent;
}
.footer-nav a.active,
.footer-nav a:hover {
  border-bottom: 1px solid black;
}
.footer-bottom{
	align-items: center;
	justify-content: center;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}





/* Font Design System */
h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
  line-height: 120%;
}
h1 { font-size: 3.75rem; }
h2 { font-size: 3.125rem; }
h3 { font-size: 2.5625rem; }
h4 { font-size: 2.1875rem; }
h5 { font-size: 1.8125rem; }
h6 { font-size: 1.5rem; }
p {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 120%;
}
.p1 {
  font-size: 1.0625rem;
}
.p2 {
  font-size: 0.875rem;
}
.p3 {
  font-size: 0.9375rem;
  line-height: 150% !important;
}
.p3-bold {
	font-size: 0.9375rem;
    line-height: 150% !important;
	font-weight: 700;
}
.h7-bold {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
  line-height: 120%;
  font-size: 1.5rem;
}
.h8-bold {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
  line-height: 131%;
  font-size: 1.25rem;
}



/* Hamburger Icon - Hidden on Desktop */
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
}
.nav-book-free-assessment {
  display: none;
  background: none;
  border: none;
}

/* Responsive Header */
@media (max-width: 768px) {
  .header {
	justify-content: space-between;
    flex-wrap: wrap;
    padding: 1rem 4rem;
    height: auto;
  }

  .hamburger {
    display: block;
  }
  
  .nav-book-free-assessment {
	display: block;
	}

  .nav-items {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #A2E1F9;
    gap: 1rem;
    padding: 1rem 0;
  }

  .nav-items.show {
    display: flex;
  }

  .button {
    display: none; /* Optional: hide CTA button or move inside nav-items for mobile */
  }
}



@media (max-width: 500px) {
  html {
    font-size: 10px;
  }

  header {
    position: static;
    height: 5.875rem;
    z-index: 10;
  }
	footer * {
		font-size: clamp(18px, 2.5vw, 20px);
	}
	
  .wrapper {
    transform: scale(0.5);
    transform-origin: top left;
    width: 200vw;
    overflow-x: hidden;
  }

  body {
    overflow-x: hidden;
    margin: 0;
   height: 100vh; /* Prevent vertical overflow due to scaled-down content */
  }
}


