/*! 
Theme Name: New Tpo Alliance 
Description: Description 
Version: 1.0.0 
Tested up to: 5.4 
Requires PHP: 5.6 
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

:root {
  --teal-bg: #dfeff0;
  --primary-dark: #0b2f3a;
  --icon-blue: #1e6f8b;
  --text-muted: #555;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.container-fluid {
  padding: 0 30px;
}

.content p {
  font-size: 18px;
  font-weight: 500;
}

.mt-6 {
  margin-top: 100px;
}

/* Header  */

.navbar-brand img {
  width: 150px;
  margin-bottom: 0;
}

.banner-head {
  background: var(--teal-bg);
}

.banner-head img {
  width: 512px;
  margin-top: 20px;
}

.home-banner {
  width: 100%;
  min-height: 645px;
}

.home-banner ul {
  list-style: none;
  margin-top: 36px;
}

.home-banner ul li {
  color: #000;
}

.home-banner ul li i {
  font-size: 24px;
}

.home-banner ul li a {
  color: #000;
  text-decoration: none;
  font-size: 26px;
}

.btn {
  width: max-content;
  font-size: 34px;

}

.btn-primary {
  background: #07567D;
  border: none;
}

/* .video-box video {
    border: 6px solid #07567D;
    position: absolute;
    top: -175px;
    left: 0;
} */

/* VIDEO FRAME */
.video-wrapper {
  position: relative;
  width: 520px;
  aspect-ratio: 3 / 3;
  /* border: 6px solid #0E4F6E; */
  background: #fff;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 6px solid #07567D;

  position: absolute;
  top: -175px;
  left: 0;
}

.mentoring {
  width: 400px !important;
  margin-left: 92px;
}

.thinking-img {
  position: absolute;
  width: 279px;
  top: -56px;
  right: 115px;
}

.about-section .icon {
  width: 140px;
  padding: 0 15px;
  height: 100px;
}

/* service style */

/* SECTION BACKGROUND */
.services-section {
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 57%;
  background: var(--teal-bg);
  z-index: -1;
}

/* VERTICAL LABEL */
.vertical-label {
  background: #fff;
  border-radius: 60px;
  padding: 22px 12px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  animation: fadeSlideLeft 0.8s ease forwards;
}

.vertical-label span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-weight: 600;
  font-size: 34px;
  letter-spacing: 1px;
}

.vertical-label i {
  font-size: 26px;
  color: var(--icon-blue);
}

/* IMAGES */
.service-img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  /* border-radius: 8px; */
  transition: transform 0.5s ease;
}

.service-img:hover {
  transform: scale(1.03);
}

/* TEXT BLOCKS */
h3 {
  animation: fadeSlideUp 0.7s ease forwards;
}

p {
  color: var(--text-muted);
}

/* LIST */
.service-list li {
  margin-bottom: 12px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  animation: fadeSlideUp 0.8s ease forwards;
}

.service-list i {
  color: var(--icon-blue);
  font-size: 1.1rem;
}

/* ANIMATIONS */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 📱 MOBILE-FIRST ADJUSTMENTS */
@media (max-width: 991px) {
  .services-section::before {
    width: 100%;
  }

  .vertical-label {
    flex-direction: row;
    border-radius: 40px;
    padding: 12px 20px;
  }

  .vertical-label span {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 22px;
  }
}

@media (max-width: 576px) {
  h3 {
    font-size: 1.25rem;
  }

  .service-img {
    max-height: 220px;
  }
}


/* second section css */

/* Alternate section spacing */
.services-section-alt {
  margin-top: 60px;
}

/* List icon alignment */
.service-list li {
  gap: 10px;
}

/* Slight delay for second section animations */
.services-section-alt h3 {
  animation-delay: 0.1s;
}

.services-section-alt .service-list li {
  animation-delay: 0.15s;
}

/* Better image balance */
.services-section-alt .service-img {
  max-height: 280px;
}

/* Mobile stacking refinement */
@media (max-width: 768px) {
  .services-section-alt {
    margin-top: 40px;
  }
}


/* Third Style of service */

/* Slightly taller image for training */
.training-img {
  max-height: 100%;
}

/* Training text style */
.training-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 14px;
  animation: fadeSlideUp 0.8s ease forwards;
}

/* Icon color tweak */
.services-section-training .vertical-label i {
  color: var(--icon-blue);
}

/* Mobile refinements */
@media (max-width: 991px) {
  .services-section-training {
    margin-top: 50px;
  }

  .training-img {
    max-height: 260px;
  }
}


#carouselExampleSlidesOnly .carousel-item {
  /* padding: 2rem 0; */
  height: auto;
}


/* Team member style */


.profile-card {
  text-align: center;
  animation: fadeUp 0.8s ease;
}

.profile-img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  transition: transform 0.4s ease;
}

.profile-card:hover .profile-img {
  transform: scale(1.05);
}

.name {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.designation {
  font-size: 1rem;
  color: var(--secondary-text);
}

.reg {
  font-size: 0.95rem;
  color: var(--muted-text);
  margin-bottom: 1.4rem;
}

.read-more {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  color: #000;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.carousel-control-prev,
.carousel-control-next {
  width: 6%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile tweaks */
@media (max-width: 767px) {
  .profile-img {
    width: 180px;
    height: 180px;
  }
}

/* Footer Style */

.footer-section {
  background-image: url(assets/img/footer-background.jpg);
  padding-top: 25px;
  padding-bottom: 25px;
  background-size: cover;
  position: relative;
  z-index: 1;
}

.footer-section .service {
  position: relative;
}

.footer-section .service .content {
  margin-bottom: 30px;
}

.service .content .footer-logo {
  width: 75%;
  height: auto;
}


.footer-section .service ul {
  list-style: none;
  padding-left: 0px;
}

.footer-section .service ul li {
  line-height: 2;
}

.footer-section .service a {
  font-weight: 400;
  color: #000;
  padding: 3px 0;
  font-size: 17px;
  transition: .5s all ease;
  text-decoration: none;
}

.footer-section .service a:hover {
  padding: 3px 0;
  margin-left: 5px;
  color: #436689;
}

.footer-section .service .social-icon {
  display: inline-flex;
  margin-top: 10px;
}

.footer-section .service .social-icon p {
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  word-spacing: 1px;
  color: #000;
  margin-right: 10px;
  margin-bottom: 0;
  margin-top: 3px;
}

.footer-section .service .social-icon ul {
  padding: 0;
  margin: 0;
  display: inline-flex;
}

.footer-section .service .social-icon ul li a {
  transition: .5s all ease;
  background-image: linear-gradient(to left, #91c4d5, #4ec2c9);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  color: white;
  border-radius: 4px;
  justify-content: center;
  text-decoration: none;
  margin-left: 3px;
  margin-right: 3px;
}

.footer-section .service h2 {
  padding-top: 50px;
}



.service .content .phone-gift {
  width: 80px;
  position: absolute;
  top: 77px;
  left: -7px;
}

.footer-bottom-section {
  background-image: linear-gradient(to left, #91c4d5, #087aa0);
  padding-top: 10px;
  padding-bottom: 6px;
}

.footer-bottom-section p {
  margin-bottom: 0;
  color: #fff;
  font-size: 14px;
  margin-left: 24px;
}

.footer-bottom-section .right p img {
  width: 132px;
  margin-top: -10px;
  height: 37px;
  object-fit: unset;
  margin-bottom: 0;
}

.service .content p strong {
  font-weight: 700;
  margin-left: 58px;
  font-size: 25px;
  color: #087aa0;
}

.footer-section .service a i {
  font-size: 16px;
  line-height: 0;
}



/* Menu style filter */
.top-section {
  padding-top: 20px;
  position: relative;
}

.top-section .logo img {
  width: 100%;
  height: auto;
}

.contact-info {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100%;
}

.contact-info a {
  color: #000;
  text-decoration: none;
  font-size: 26px;
  font-weight: 500;
  margin-top: 30px;
}


.menu-section {
  background: #07567dc7;
  padding: 16px;
  width: 100%;
}

#navLinks {
  list-style: none;
  margin: 0;
  text-align: center;
}

#navLinks li {
  display: inline;
  padding: 18px;
}

#navLinks li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 10px 0;
}

.menu-btn {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 50px;
  height: 22px;
  justify-content: space-between;
  position: absolute;
  top: 45px;
  right: 0;
}

.menu-btn span {
  height: 3px;
  width: 100%;
  background: #000;
  transition: 0.3s;
}

/* Animation */
.menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile */
@media (max-width: 768px) {

  .top-section .logo img {
    width: 45%;
    height: auto;
  }

  .menu-section {
    padding: 0;
  }

  .menu-btn {
    display: flex;
  }

  .links {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s ease;
    flex-direction: column;
  }

  .links.active {
    max-height: 500px;
  }

  .desktop-link {
    display: none;
  }

  .dropdown-toggle {
    display: block;
    cursor: pointer;
  }

  .submenu {
    display: none;
  }

  input[type="checkbox"]:checked~.submenu {
    display: block;
  }

  #navLinks li {
    display: flex;
    padding: 0px;
  }

  #navLinks li a:hover {
    padding-right: 15px;
  }

  /* Banner */

  .banner-head img {
    width: 212px;
  }

  .home-banner ul {
    padding: 0;
  }


  .home-banner ul li i,
  .home-banner ul li a {
    font-size: 16px;
  }

  .video-wrapper {
    width: 100%;
    margin-top: 15px;
  }

  .video-wrapper video {
    position: unset;
  }

  .mentoring {
      width: 60% !important;
      margin-left: 40%;
  }

  .thinking-img {
    position: unset;
    width: 50%;
    transform: rotate(269deg);
    margin: -40px 30px;
    
}

  .btn {
    font-size: 22px;
  }
}