/********** Template CSS **********/
:root {
    --primary: #348E38;
    --secondary: #525368;
    --light: #E8F5E9;
    --dark: #0F4229;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 80px
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgb(15 66 41 / 50%) !important;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(15, 66, 41, .6), rgba(15, 66, 41, .6)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Top Feature ***/
@media (min-width: 991.98px) {
    .top-feature {
        position: relative;
        margin-top: -80px;
        z-index: 1;
    }
}


/*** Facts & Quote ***/
.facts,
.quote {
    background: rgba(15, 66, 41, .6);
}


.service-item {
    perspective: 1000px;
}

.service-inner {
    width: 100%;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.service-item:hover .service-inner {
    transform: rotateY(180deg);
}

/* Front Side */
.service-front, .service-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 10px;
}

.service-front {
    background: #fff;
    overflow: hidden;
}

.service-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.service-title {
    position: absolute;
    bottom: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    border-radius: 5px;
}

/* Back Side */
.service-back {
    background: #f8f9fa;
    transform: rotateY(180deg);
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-square img {
    width: 50px;
    height: 50px;
    margin-bottom: 60px;
}



/*** Project Portfolio ***/
#portfolio-flters {
    display: inline-block;
    background: var(--light);
    padding: 10px 15px;
}

#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--dark);
    border-color: var(--dark);
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
}

.portfolio-inner::before,
.portfolio-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(15, 66, 41, .6);
    transition: .5s;
}

.portfolio-inner::after {
    left: auto;
    right: 0;
}

.portfolio-inner:hover::before,
.portfolio-inner:hover::after {
    width: 50%;
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
    transition-delay: .3s;
    opacity: 1;
}

.portfolio-inner .portfolio-text .btn {
    background: var(--light);
    color: var(--primary);
}

.portfolio-inner .portfolio-text .btn:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
}

.team-item .team-text {
    position: absolute;
    width: calc(100% - 45px);
    left: -100%;
    bottom: 45px;
    padding: 1.5rem;
    background: #FFFFFF;
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}


/*** Testimonial ***/

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 4px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: var(--light);
    background: #072A19;
}

.copyright a {
    color: #FFFFFF;
}

.copyright a:hover {
    color: var(--primary);
}

.tanaka_fondation_logo {
    width: 50%;
}

.tanaka_fondation_logo_alllang {
    width: 16%; 
    margin-right: 217px;
}

.why-choose-us {
  position: relative;
  z-index: 1;
}

.why-choose-us .overlay {
  background-color: rgba(0, 128, 0, 0.7); /* Green overlay */
  position: absolute;
  top: 0px; left: 0; right: 0; bottom: 0px;
  z-index: 1;
}

.why-choose-us .container {
  z-index: 2;
}

.choose-graphic {
  width: 220px;
  height: 320px;
  position: relative;
}

.arc {
  width: 100px;
  height: 80px;
  background-color: #0dcaf0;
  color: white;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 60% 60% 0 0;
  position: absolute;
}

.arc-top {
  top: 0;
  left: 50%;
  transform: translateX(-50%) rotate(-30deg);
  background-color: #015e74;
}

.arc-mid {
  top: 95px;
  left: 50%;
  transform: translateX(-50%) rotate(30deg);
  background-color: #66cc33;
}

.arc-bottom {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotate(-30deg);
  background-color: #00aaff;
}

.icon-box {
  color: white;
  font-weight: 500;
  position: absolute;
  display: flex;
  align-items: center;
}

.icon-top {
  top: -8px;
  right: 55px;
}

.icon-mid {
  top: 195px;
  right: 5px;
}

.icon-bottom {
  bottom: -6px;
  right: 47px;
}


/* Section background */
.stats-section {
  background-color: #0e1623;
  background-image: url('https://www.transparenttextures.com/patterns/black-linen.png'); /* optional background pattern */
  padding: 60px 0;
}

/* Circle styling */
.stat-circle {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 200px;
  height: 200px;
  margin: 0 auto;
  padding: 30px 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  background-color: transparent;
}

.stat-circle i {
  font-size: 36px;
  margin-bottom: 15px;
}

.stat-circle h2 {
  font-size: 32px;
  margin-bottom: 5px;
  font-weight: 700;
}

.stat-circle p {
  font-size: 16px;
  margin: 0;
  font-weight: 400;
}

.stat-circle:hover {
  transform: scale(1.05);
}

.leadership-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
  padding: 40px 20px;
  position: relative;
}

.image-section {
  position: relative;
  flex-shrink: 0;
}

.founder-img {
  width: 420px;
  z-index: 2;
  position: relative;
  margin-top: 90px;
}

.curve {
  position: absolute;
  top: 150px;
  left: 300px;
  width: 200px;
  height: 200px;
  border-radius: 0 200px 200px 0;
  background: linear-gradient(135deg, #D74C1F 0%, #1A4A87 100%);
  z-index: 1;
}

.text-section {
  padding-left: 90px;
  max-width: 900px;
}

.text-section p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #333;
}

.banner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: white;
  flex-wrap: wrap;
}

.left img {
  width: 500px;
  border-top-left-radius: 100% 100px;
  border-bottom-left-radius: 100% 100px;
  object-fit: cover;
}

.right {
  max-width: 600px;
  padding: 20px 40px;
  text-align: center;
}

.logo {
  width: 250px;
  margin: 0 auto 20px;
}

.quote {
  font-size: 20px;
  line-height: 1.6;
  color: #222;
  margin-bottom: 30px;
}

.slogan {
  font-weight: bold;
  font-size: 28px;
}

.changing {
  color: #000;
}

.lives {
  color: #1a4a87;
  border: 4px solid #d74c1f;
  padding: 5px 10px;
  border-radius: 6px;
  margin-left: 10px;
  margin-right: 10px;
}

.and {
  color: #007c70;
  margin-right: 10px;
}

.hope {
  font-size: 60px;
  background: linear-gradient(to right, #e91e63, #ff5722, #ffc107);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.carousel-image-wrapper {
  height: 590px;
  overflow: hidden;
}

.carousel-image {
  
  object-fit: cover;
}

.carousel-caption {
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.3); /* Optional dark overlay for text visibility */
  padding: 20px;
}

.caption-bg {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 20px 30px;
  border-radius: 10px;
  max-width: 80%;
}

@media (max-width: 768px) {
  .carousel-caption h1 {
    font-size: 24px;
  }

  .caption-bg {
    padding: 15px 20px;
  }
}


.founder-section {
  background: linear-gradient(135deg, #f7f7f7, #eaf0f6);
  padding: 60px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.founder-heading h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #2c3e50;
}

.founder-heading .punchline {
  font-size: 18px;
  color: #7f8c8d;
  margin-bottom: 40px;
  font-style: italic;
}

.founder-card {
  display: flex;
  flex-wrap: wrap;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-radius: 16px;
  overflow: hidden;
}

.founder-image {
  flex: 1 1 300px;
  max-width: 400px;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

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

.founder-caption {
  margin-top: 15px;
}

.founder-caption h4 {
  margin: 0;
  font-size: 20px;
  color: #2c3e50;
  font-weight: 600;
}

.founder-caption p {
  font-size: 14px;
  color: #7f8c8d;
  margin: 4px 0 0;
}

.founder-text {
  flex: 2 1 500px;
  padding: 40px;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  text-align: justify;
}

@media (max-width: 768px) {
  .founder-card {
    flex-direction: column;
  }

  .founder-text {
    padding: 20px;
  }

  .founder-heading h2 {
    font-size: 28px;
  }

  .founder-heading .punchline {
    font-size: 16px;
  }
}


.feature_start {
    width: 33px;
}
.card:hover {
  transform: translateY(-8px);
  transition: all 0.3s ease;
}

/* Core Values Section Styles */
.serviceBox {
    color: #999;
    background: linear-gradient(transparent 65%, #3088E2 65%);
    font-family: 'Kumbh Sans', sans-serif;
    text-align: center;
    padding: 0 15px 15px;
    border-radius: 0 0 150px 150px;
    box-shadow: 0 12px 7px -7px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.serviceBox:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

/* Icon */
.serviceBox .service-icon {
    color: #fff;
    background-color: #3088E2;
    font-size: 50px;
    line-height: 80px;
    height: 80px;
    width: 85px;
    margin: 0 auto 25px;
    border-radius: 0 0 50px 50px;
}

/* Service Content */
.serviceBox .service-content {
    background: #fff;
    padding: 0 20px 20px;
    border-radius: 15px 15px 150px 150px;
    border-top: 15px solid #3088E2;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Title */
.serviceBox .title {
    color: #3088E2;
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 7px;
}

/* Description */
.serviceBox .description {
    font-size: 14px;
    margin: 0 0 15px;
}

/* Read More Link */
.serviceBox .read-more {
    color: #3088E2;
    font-size: 14px;
    transition: all 0.3s ease 0s;
}

.serviceBox .read-more:hover {
    color: #999;
    border-bottom: 1px dashed #999;
}

/* Different Colors for Boxes */
.serviceBox.orange {
    background: linear-gradient(transparent 65%, #FFA005 65%);
}

.serviceBox.orange .service-content {
    border-top-color: #FFA005;
}

.serviceBox.orange .service-icon {
    background-color: #FFA005;
}

.serviceBox.orange .title,
.serviceBox.orange .read-more {
    color: #FFA005;
}

.serviceBox.pink {
    background: linear-gradient(transparent 65%, #f22e52 65%);
}

.serviceBox.pink .service-content {
    border-top-color: #f22e52;
}

.serviceBox.pink .service-icon {
    background-color: #f22e52;
}

.serviceBox.pink .title,
.serviceBox.pink .read-more {
    color: #f22e52;
}

.serviceBox.green {
    background: linear-gradient(transparent 65%, #00B59C 65%);
}

.serviceBox.green .service-content {
    border-top-color: #00B59C;
}

.serviceBox.green .service-icon {
    background-color: #00B59C;
}

.serviceBox.green .title,
.serviceBox.green .read-more {
    color: #00B59C;
}

/* Responsive Styles */
@media only screen and (max-width: 990px) {
    .serviceBox {
        margin: 0 0 30px;
    }

    .serviceBox .service-content {
        padding: 0 35px 20px;
    }
}

@media only screen and (max-width: 359px) {
    .serviceBox .service-content {
        padding: 0 20px 20px;
    }
}

/* Flexbox for Aligning Boxes */
.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.col-md-4,
.col-sm-6 {
    display: flex;
    justify-content: center;
    padding: 10px;
}


.section {
      background-color: #C6420C; /* New background */
      padding: 60px 20px;
      text-align: center;
    }

    .section h2 {
      font-size: 36px;
      margin-bottom: 10px;
      color: #ffffff;
    }

    .section p {
      font-size: 18px;
      color: #ccc;
      margin-bottom: 40px;
    }

    .services-box {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: center;
    }

    .item {
      position: relative;
      width: 300px;
      border-radius: 12px;
      overflow: hidden;
      color: white;
      display: flex;
      flex-direction: column;
      box-shadow: 0 4px 20px rgba(0,0,0,0.5);
      transition: transform 0.3s ease;
    }

    .item:hover {
      transform: scale(1.05);
    }

    .image img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
    }

    .content {
      background-color: rgba(0, 0, 0, 0.7);
      padding: 20px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
      height: 100%;
    }

    .title {
      font-size: 20px;
      font-weight: bold;
      margin-bottom: 15px;
      text-align: center;
    }

    .icon svg {
      width: 40px;
      height: 40px;
      fill: white;
    }

    .color-1 { background-color: #e91e63; }
    .color-2 { background-color: #3f51b5; }
    .color-3 { background-color: #009688; }
    .color-4 { background-color: #ff5722; }

