@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 */
.hero {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex-shrink: 1;
  padding-left: 4rem;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 30rem;
  font-family: "Lato", sans-serif;
  font-size: 1.0625rem;
}

.kumonguidesyourchild {
  margin-bottom: 0.8rem;
}

.hero-image {
  width: 39.3125rem;
  max-width: 100%;
  flex-shrink: 1;
}

.hero-image img {
  width: 100%;
  max-width: 39.3125rem;
  height: auto;
  display: block;
}
.home-hero-equal-background-absolute {
  position: absolute;
  top: 34rem;         /* Adjust as needed */
  right: -9.8rem;       /* You can also use left, bottom */
  z-index: -1; 
  flex-shrink: 1;
}
.home-hero-equal-background-absolute img {
	width: 24.77419rem;
	transform: rotate(8.854deg);
	max-width: 100%;
	height: auto;
}

/* About Us Section */
.home-about-us {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex-shrink: 1;
  padding: 0.56rem 11.5rem 0 8rem; /*Top Right Bottom Left */
  gap: 4rem;
}
.home-about-us-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 28.5625rem;
  font-family: "Lato", sans-serif;
  font-size: 1.0625rem;
}
.home-about-us-datas {
  margin-top: 1.55rem;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2.5rem;
}
.home-about-us-datas-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.home-about-us-datas-line {
  width: 0.0625rem;
  height: 8.625rem;
  border: 0.07rem solid #000;
}
.home-about-us-datas-p {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.0625rem;
}
.home-about-us-image img {
  width: 100%;
  max-width: 36.4rem;
  min-width: 28rem;
  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;
}

/* Learning Method Section */
.how-learning-method-works {
  text-align: center;
  justify-content: center;
  margin-top: 8rem;
  margin-bottom: 3rem;
  width: 100%;
}
.slider-and-dots-wrapper {
  margin: 0 auto 0 auto;
  padding: 0 2rem;
  max-width: 72rem;
}
/* Card Carousel */
.slider-wrapper {
  display: flex;
  align-items: center;
  max-width: 66.3125rem;
  margin: auto;
  overflow: hidden;
}
.card-slider {
  display: flex;
  overflow-x: scroll;
  scroll-behavior: smooth;
  gap: 3.25rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.card-slider::-webkit-scrollbar {
  display: none;
}
.card {
  width: 27.25rem;
  height: 30.125rem;
  flex-shrink: 0;
  background-color: #D0F0FC;
  border-radius: 1.3125rem;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 1.31rem;
  padding: 1.75rem 5.6875rem 0rem 2.13rem; /*top right bottom left*/
}
.learning-method-1-image img {
	margin-top: 0.44rem;
	margin-left: -2.145rem;
	width: 27.29381rem;
	height: 14.97594rem;
}
.card-description-individual-width {
  font-family: "Lato", sans-serif;
  font-size: 1.0625rem;
  line-height: 120%;
  width: 21.125rem;
}
.arrow {
  background: #ffffff;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  z-index: 1;
}
.arrow.hidden {
  visibility: hidden;
  pointer-events: none;
}
.slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
  gap: 0.5rem;
  font-size: 2rem;
}
.dot {
  color: #aaa;
  transition: color 0.2s;
}
.dot.active {
  color: #222;
}
.home-learningmethod-devide-background-absolute {
  position: absolute;
  top: 118rem;         /* Adjust as needed */
  right: -5.37rem;       /* You can also use left, bottom */
  z-index: -1; 
  flex-shrink: 1;
}
.home-learningmethod-devide-background-absolute img {
	width: 25.11469rem;
	transform: rotate(-9.726deg);
	max-width: 100%;
	height: auto;
}


/* Why Choose Us Section */
.why-choose-us{
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 9rem 8rem 0rem 11.88rem; /*Top Right Bottom Left */
  width: 100;
}

.why-choose-us-wrapper {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 5.11rem;
}


.why-choose-us-center{
	text-align: center;
	justify-content:center;
}

.why-choose-us-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 30rem;
}

.why-choose-us-text-p{
	display: flex;
	align-items: center;
	gap: 1.12rem;
	font-size: 1.5rem;
}

.why-choose-us-image img {
  width: 100%;
  max-width:30.81731rem;
  min-width: 25rem;
  height: auto;
  display: block;
}
.home-whychooseus-A-background-absolute {
  position: absolute;
  top: 32rem;         /* Adjust as needed */
  left: -5.37rem;       /* You can also use left, bottom */
  z-index: -1; 
  flex-shrink: 1;
}
.home-whychooseus-A-background-absolute img {
	width: 24.5435rem;
	transform: rotate(15.635deg);
	max-width: 100%;
	height: auto;
}

/* Kumon Programs Section */
.kumon-programs {
	position: relative;
	display:flex;
	flex-direction: column;
	padding: 8.77rem 16.25rem 0rem 16.25rem;
	width: 100;
}
.kumon-programs-center {
	text-align: center;
	justify-content:center;
	margin-bottom: 3.63rem;
}
.kumon-programs-wrapper {
	display:flex;
	flex-direction: row;
	justify-content: center;
	gap: 3rem;
}
.kumon-programs-card {
	width: 27.25rem;
	height: 32.3125rem;
	border-radius: 1.3125rem;
	background: #A2E1F9;
	flex-shrink: 0; 
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	gap: 1.06rem;
	padding: 1rem 4.31rem 2.5rem 4.31rem;
}
.kumon-programs-card-2 {
	width: 27.25rem;
	height: 32.3125rem;
	border-radius: 1.3125rem;
	background: #1B8FC0;
	flex-shrink: 0; 
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	gap: 1.06rem;
	padding: 1rem 4.8rem 2.5rem 4.8rem;
	color: #FFFFFF;
}
.kumon-programs-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 15rem;
  overflow: hidden;
}
.kumon-programs-age-title {
	font-size: 1.0625rem;
	font-weight: 700;
	margin-top: 0.6rem;
	margin-bottom: -2rem;
}
.kumon-programs-image {
  max-height: 100%;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}
.kumon-programs-age {
  margin-top: 1.55rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
}
.kumon-programs-age-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.kumon-programs-age-line {
  width: 0.0625rem;
  height: 1rem;
  border: 0.07rem solid #000;
}
.kumon-programs-age-line-2 {
  width: 0.0625rem;
  height: 1rem;
  border: 0.07rem solid #FFFFFF;
}
.kumon-programs-age-font {
	font-size: 1.0625rem;
	font-weight: 700;
}
.learn-more-button {
	display: flex;
	justify-content: center;
	margin-top: 3.75rem;
}
.home-kumonprograms-B-background-absolute {
  position: absolute;
  top: 45rem;         /* Adjust as needed */
  right: -5.37rem;       /* You can also use left, bottom */
  z-index: -1; 
  flex-shrink: 1;
}
.home-kumonprograms-B-background-absolute img {
	width: 24.5625rem;
	transform: rotate(25.087deg);
	max-width: 100%;
	height: auto;
}

/* Know More About Us Section*/
.home-know-more-about-us {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 9.87rem;
  padding: 0.56rem 11.5rem 0 0; /*Top Right Bottom Left */
  gap: 4.44rem;
  overflow-x: clip; /* prevents content from overflowing the page if needed */
  margin-left: -1rem; /* adjust this to the amount you want it to extend */
  width: 100%;
  flex-shrink: 1;
}
.home-know-more-about-us-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  max-width: 30rem;
  font-family: "Lato", sans-serif;
  font-size: 1.0625rem;
}
.home-know-more-about-us-image img {
  width: 46.8rem;
  max-width: 46.8rem;
  min-width: 25rem;
  height: auto;
  display: block;
}
/* Know More About Us Card Carousel */
.slider-and-dots-wrapper2 {
  max-width: 32.8125rem;
}
.slider-wrapper2 {
  display: flex;
  align-items: center;
  max-width: 30rem;
  overflow: hidden;
  margin-top: 1rem;
}
.card-slider2 {
  display: flex;
  overflow-x: scroll;
  scroll-behavior: smooth;
  gap: 1.13rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.card-slider2::-webkit-scrollbar {
  display: none;
}
.card2 {
  width: 15.375rem;
  height: 11.52525rem;
  flex-shrink: 0;
  background-color: #D0F0FC;
  border-radius: 0.5625rem;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 1.31rem;
  overflow: hidden;
}
.dot2 {
  color: #aaa;
  transition: color 0.2s;
}
.dot2.active {
  color: #222;
}

.home-kumon-know-more-about-us-image img {
    width: 15.375rem;
    height: auto;
}

/* Enrol In Kumon Today Section*/
.home-enrol-in-kumon-today {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5.25rem;
  padding: 0rem 0rem 0rem 4rem; /*Top Right Bottom Left */
  margin-top: 3.34rem;
  width: 100%
}
.home-enrol-in-kumon-today-text {
  top: 13.69rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 2rem;
  width: 29.875rem;
  font-family: "Lato", sans-serif;
  font-size: 1.0625rem;
  margin-bottom: 0.8rem;
}
.home-enrol-in-kumon-today-button-margin {
	margin-top: 0.5rem;
}
.home-enrol-in-kumon-today-image img {
  width: 100%;
  max-width: 35.0625rem;
  min-width: 30rem;
  height: auto;
  display: block;
}
.home-enrolinkumontoday-C-background-absolute {
  position: absolute;
  top: 23rem;         /* Adjust as needed */
  left: 18.94rem;       /* You can also use left, bottom */
  z-index: -1; 
  flex-shrink: 1;
}
.home-enrolinkumontoday-C-background-absolute img {
	width: 24.5625rem;
	transform: rotate(-13.49deg);
	max-width: 100%;
	height: auto;
}


/* 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;
}


/* 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 */
  }
}


