/* Blur background when navbar is open */
.nav-blur::before {
   content: '';
   position: fixed;
   top: 0; left: 0; right: 0; bottom: 0;
   background: rgba(71, 70, 70, 0.2);
   backdrop-filter: blur(3px);
   z-index: 1040;
   pointer-events: none;
}
/* Testimonial paragraph alignment like sample image */
.testimonial-item p, .testimonial-paragraph {
   text-align: left;
   padding-left: 8px;
   padding-right: 8px;
   margin-bottom: 0;
   font-size: 1rem;
   color: #222;
}
/* Feature Card Improvements */
.icon-circle {
   width: 70px;
   height: 70px;
   background: var(--primary, #ECB71F);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   margin-bottom: 10px;
   box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.content-box {
   background: #fff;
   border-radius: 16px;
   box-shadow: 0 2px 8px rgba(0,0,0,0.08);
   padding: 24px 16px 16px 16px;
   min-height: 180px;
   margin-bottom: 10px;
}

.feature-desc {
   text-align: justify;
   text-justify: inter-word;
   font-size: 1rem;
   color: #333;
}
/********** Template CSS **********/
:root {
   --primary: #ECB71F;
   --secondary: #34AD54;
   --light: #EEF9FF;
   --dark: #091E3E;
}


/*** Spinner ***/
.spinner {
   width: 40px;
   height: 40px;
   background: var(--primary);
   margin: 100px auto;
   -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
   animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
   0% {
      -webkit-transform: perspective(120px)
   }

   50% {
      -webkit-transform: perspective(120px) rotateY(180deg)
   }

   100% {
      -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
   }
}

@keyframes sk-rotateplane {
   0% {
      transform: perspective(120px) rotateX(0deg) rotateY(0deg);
      -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
   }

   50% {
      transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
      -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
   }

   100% {
      transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
      -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
   }
}

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

/*** Heading ***/
h1,
h2,
.fw-bold {
   font-weight: 800 !important;
}

h3,
h4,
.fw-semi-bold {
   font-weight: 700 !important;
}

h5,
h6,
.fw-medium {
   font-weight: 600 !important;
}




/*** Button ***/
.btn {
   font-family: 'Nunito', sans-serif;
   font-weight: 600;
   transition: .5s;
}

.btn-primary,
.btn-secondary {
   color: #FFFFFF;
   box-shadow: inset 0 0 0 50px transparent;
}

.btn-primary:hover {
   box-shadow: inset 0 0 0 0 var(--primary);
}

.btn-secondary:hover {
   box-shadow: inset 0 0 0 0 var(--secondary);
}

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
   padding-left: 0;
   padding-right: 0;
   text-align: center;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
   font-family: 'Nunito', sans-serif;
   position: relative;
   margin-left: 25px;
   padding: 35px 0;
   color: #FFFFFF;
   font-size: 18px;
   font-weight: 600;
   outline: none;
   transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
   padding: 18px 0;
   color: var(--dark);
}

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

.navbar-dark .navbar-brand h1 {
   color: #FFFFFF;
}

.navbar-dark .navbar-toggler {
   color: var(--primary) !important;
   border-color: var(--primary) !important;
}

@media (max-width: 991.98px) {
   .sticky-top.navbar-dark {
      position: relative;
      background: #FFFFFF;
   }

   .navbar-dark .navbar-nav .nav-link,
   .navbar-dark .navbar-nav .nav-link.show,
   .sticky-top.navbar-dark .navbar-nav .nav-link {
      padding: 10px 0;
      color: var(--dark);
   }

   .navbar-dark .navbar-brand h1 {
      color: var(--primary);
   }
}

@media (min-width: 992px) {
   .navbar-dark {
      position: absolute;
      width: 100%;
      top: 0;
      left: 0;
      border-bottom: 1px solid rgba(256, 256, 256, .1);
      z-index: 999;
   }

   .sticky-top.navbar-dark {
      position: fixed;
      background: #FFFFFF;
   }

   .navbar-dark .navbar-nav .nav-link::before {
      position: absolute;
      content: "";
      width: 0;
      height: 2px;
      bottom: -1px;
      left: 50%;
      background: var(--primary);
      transition: .5s;
   }

   .navbar-dark .navbar-nav .nav-link:hover::before,
   .navbar-dark .navbar-nav .nav-link.active::before {
      width: 100%;
      left: 0;
   }

   .navbar-dark .navbar-nav .nav-link.nav-contact::before {
      display: none;
   }

   .sticky-top.navbar-dark .navbar-brand h1 {
      color: var(--primary);
   }
}


/*** Carousel ***/
.carousel-caption {
   top: -20%;
   left: 0;
   right: 0;
   bottom: 0;
   background: rgba(9, 30, 62, .5);
   z-index: 1;
}

@media (max-width: 576px) {
   .carousel-caption h5 {
      font-size: 14px;
      font-weight: 500 !important;
   }

   .carousel-caption h1 {
      font-size: 30px;
      font-weight: 600 !important;
   }
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
   width: 3rem;
   height: 3rem;
}


/*** Section Title ***/
.section-title::before {
   position: absolute;
   content: "";
   width: 150px;
   height: 5px;
   left: 0;
   bottom: 0;
   background: #f0dc6d;
   border-radius: 2px;
}

.section-title.text-center::before {
   left: 50%;
   margin-left: -75px;
}

.section-title.section-title-sm::before {
   width: 90px;
   height: 3px;
}

.section-title::after {
   position: absolute;
   content: "";
   width: 6px;
   height: 5px;
   bottom: 0px;
   background: #FFFFFF;
   -webkit-animation: section-title-run 5s infinite linear;
   animation: section-title-run 5s infinite linear;
}

.section-title.section-title-sm::after {
   width: 4px;
   height: 3px;
}

.section-title.text-center::after {
   -webkit-animation: section-title-run-center 5s infinite linear;
   animation: section-title-run-center 5s infinite linear;
}

.section-title.section-title-sm::after {
   -webkit-animation: section-title-run-sm 5s infinite linear;
   animation: section-title-run-sm 5s infinite linear;
}

@-webkit-keyframes section-title-run {
   0% {
      left: 0;
   }

   50% {
      left: 145px;
   }

   100% {
      left: 0;
   }
}

@-webkit-keyframes section-title-run-center {
   0% {
      left: 50%;
      margin-left: -75px;
   }

   50% {
      left: 50%;
      margin-left: 45px;
   }

   100% {
      left: 50%;
      margin-left: -75px;
   }
}

@-webkit-keyframes section-title-run-sm {
   0% {
      left: 0;
   }

   50% {
      left: 85px;
   }

   100% {
      left: 0;
   }
}


/*** Error ***/
.test-class {
   display: flex;
   gap: 20px;
   justify-content: center;
}

.service1-item {
   position: relative;
   height: 300px;
   padding: 0 30px;
   transition: .5s;
}

.service1-item .service1-icon {
   margin-bottom: 30px;
   width: 60px;
   height: 60px;
   display: flex;
   align-items: center;
   justify-content: center;
   background: #ffc107;
   border-radius: 2px;
   transform: rotate(-45deg);
}

.service1-item .service1-icon i {
   transform: rotate(45deg);
}

.service1-item a.btn {
   position: absolute;
   width: 60px;
   bottom: -48px;
   left: 50%;
   margin-left: -30px;
   opacity: 0;
}

.service1-item:hover a.btn {
   bottom: -24px;
   opacity: 1;
}

.mb1-3 {
   color: #113F67;
}


/*** Service ***/
.service-item {
   position: relative;
   height: 300px;
   padding: 0 30px;
   transition: .5s;
}

.service-item .service-icon {
   margin-bottom: 30px;
   width: 60px;
   height: 60px;
   display: flex;
   align-items: center;
   justify-content: center;   
   background: #ffc107;
   border-radius: 2px;
   transform: rotate(-45deg);
}

.service-item .service-icon i {
   transform: rotate(45deg);
}

.service-item a.btn {
   position: absolute;
   width: 60px;
   bottom: -48px;
   left: 50%;
   margin-left: -30px;
   opacity: 0;
}

.service-item:hover a.btn {
   bottom: -24px;
   opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .testimonial-item {
   height: 100%;
   /* Ensure it spans the full height */
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   /* Distribute content evenly */
   box-sizing: border-box;
}

.testimonial-carousel .owl-dots {
   margin-top: 15px;
   display: flex;
   align-items: flex-end;
   justify-content: center;
}

.testimonial-carousel .owl-dot {
   position: relative;
   display: inline-block;
   margin: 0 5px;
   width: 15px;
   height: 15px;
   background: #DDDDDD;
   border-radius: 2px;
   transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
   width: 30px;
   background: var(--primary);
}

.testimonial-carousel .owl-item.center {
   position: relative;
   z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
   transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
   background: #FFFFFF !important;
   box-shadow: 0 0 30px #DDDDDD;
}

.txd{
   text-align: justify;
}

/*** Team ***/
.team-item {
   transition: .5s;
}

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

.team-social a.btn {
   position: relative;
   margin: 0 3px;
   margin-top: 100px;
   opacity: 0;
}

.team-item:hover {
   box-shadow: 0 0 30px #DDDDDD;
}

.team-item:hover .team-social {
   background: rgba(9, 30, 62, .7);
}

.team-item:hover .team-social a.btn:first-child {
   opacity: 1;
   margin-top: 0;
   transition: .3s 0s;
}

.team-item:hover .team-social a.btn:nth-child(2) {
   opacity: 1;
   margin-top: 0;
   transition: .3s .05s;
}

.team-item:hover .team-social a.btn:nth-child(3) {
   opacity: 1;
   margin-top: 0;
   transition: .3s .1s;
}

.team-item:hover .team-social a.btn:nth-child(4) {
   opacity: 1;
   margin-top: 0;
   transition: .3s .15s;
}

.team-item .team-img img,
.blog-item .blog-img img {
   transition: .5s;
}

.team-item:hover .team-img img,
.blog-item:hover .blog-img img {
   transform: scale(1.15);
}


/*** Miscellaneous ***/
@media (min-width: 991.98px) {
   .facts {
      position: relative;
      margin-top: -75px;
      z-index: 1;
   }
}

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

.bg-header {
   background: linear-gradient(rgba(9, 30, 62, .7), rgba(9, 30, 62, .7)), url(../img/head2.jpg) center center no-repeat;
   background-size: cover;
}

/* .link-animated a {
   mix-blend-mode: difference;
   color: white; base color */


.link-animated a {
   transition: .5s;
}

.link-animated a:hover {
   padding-left: 10px;
}

@media (min-width: 767.98px) {
   .footer-about {
      margin-bottom: -75px;
   }
}


.plan-items {
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   height: 100%;
   padding-left: 15px;
}

.plan-items ul {
   list-style-type: disc;
   padding-left: 15px;
   margin: 0;
}

.plan-items li {
   margin-bottom: 15px;
}

/* .footer-background {
   background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
      url('img/pexels-pavel-danilyuk-5520287.jpg');
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
   width: 100%;
   min-height: 400px;
   padding: 100px 0;
   color: white;
}

footer .background {
   position: absolute;
   z-index: -1;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
}

footer ul {
   display: flex;
   list-style: none;
   padding: 0;
   margin: 0;
}

.socials {
   gap: 20px;
}

.socials a {
   font-size: 24px;
}

.links {
   gap: 10px;
}

.legal {
   font-size: 12px;
   margin: 0;
}

footer svg {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   transform: scaleY(3) scaleX(2.25);
   transform-origin: bottom;
   box-sizing: border-box;
   display: block;
   pointer-events: none;
}

footer {
   position: relative;
   left: 0;
   display: flex;
   width: 100%;
   height: 419px;
   overflow: hidden;
}

footer section {
   display: flex;
   flex-direction: column;
   justify-content: flex-end;
   padding-left: 60px;
   width: 100%;
}

@media (width > 420px) {
   footer section {
      align-items: center;
      padding-left: 0;
   }

   .links {
      gap: 20px;
   }
} */

/* Modal overlay */
.modal {
   display: none;
   position: fixed;
   z-index: 9999;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.7);
}

/* Modal container */
.modal-content {
   position: relative;
   margin: 8% auto;
   display: flex;
   justify-content: center;
   align-items: center;
   max-width: 800px;
   height: 54%;
   width: 90%;
   background: url("../img/model2.png") no-repeat center center;
   background-size: cover;
   border-radius: 10px;
   padding: 20px;
   /* box-shadow: 0 0 20px rgba(0,0,0,0.5); */
}

.modal-right {
   background: transparent;
}



/* Close button */
.close {
   position: absolute;
   top: -15px;
   right: -15px;
   color: white;
   background: red;
   border-radius: 50%;
   font-size: 20px;
   font-weight: bold;
   cursor: pointer;
   padding: 5px 10px;
   z-index: 100;
}



/* Right side card */
.modal-right {
   flex: 1;
   margin-left: 50%;
   display: flex;
   flex-direction: column;
   justify-content: center;
   text-align: center;
   padding: 20px;

}

.modal-right h2 {
   font-size: 24px;
   margin-bottom: 15px;
   color: rgb(255, 187, 0);
}

.register-btn {
   padding: 12px 20px;
   background: #ffbf00;
   color: rgb(9, 9, 9);
   border: none;
   border-radius: 8px;
   font-size: 18px;
   cursor: pointer;
   transition: all 0.3s ease;
}

.register-btn:hover {
   background: #e5ee82;
}

/* Hover card offer */
.offer {
   margin-top: 15px;
   font-size: 16px;
   font-weight: bold;
   color: #007bff;
   opacity: 0;
   transition: opacity 0.3s ease;
}

.register-btn:hover+.offer {
   opacity: 1;
}


.contact1 {
   margin-bottom: 60px;

}


/* ul.course-features {
   list-style: none;
   padding-left: 0;
}

ul.course-features li {
   position: relative;
   padding-left: 40px;
   margin: 12px 0;
   font-size: 16px;
   line-height: 1.6;
   background: #f9fbff;
   border-radius: 6px;
   padding: 10px 15px 10px 40px;
   transition: background 0.3s ease;
}

ul.course-features li::before {
   content: "$";
   position: absolute;
   left: 15px;
   top: 50%;
   transform: translateY(-50%);
   background: #ECB71F;
   color: white;
   font-weight: bold;
   font-size: 14px;
   width: 20px;
   height: 20px;
   line-height: 20px;
   text-align: center;
   border-radius: 50%;
}

ul.course-features li:hover {
   background: #eef6cf;
} */



.course-container {
   display: grid;
   grid-template-columns: 90% 90%; 
   justify-content: space-between; 
   max-width: 1200px;
   margin: auto;
   /* padding: 20px; */
   gap: 20px 40px; 
   display: flex;
   /* gap: 20px; */
}
@media (max-width: 768px) {
   .course-container {
     flex-direction: column; 
   }
 }

ul.course-features {
   list-style: none;
   padding: 0;
   margin: 0;
}

ul.course-features li {
   position: relative;
   padding-left: 40px;
   font-size: 16px;
   line-height: 1.6;
   background: #f9fbff;
   border-radius: 6px;
   padding: 12px 15px 12px 40px;
   transition: background 0.3s ease, transform 0.2s ease;
   box-shadow: 0 2px 6px rgba(0,0,0,0.05);
   margin: 10px 0;
   display: flex;
   align-items: center;
}

ul.course-features li::before {
   content: "$";
   position: absolute;
   left: 15px;
   top: 50%;
   transform: translateY(-50%);
   background: #ECB71F;
   color: white;
   font-weight: bold;
   font-size: 14px;
   width: 20px;
   height: 20px;
   line-height: 20px;
   text-align: center;
   border-radius: 50%;
   box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

ul.course-features li:hover {
   background: #eef6cf;
   transform: translateX(5px);
}  


.card {
   background-color: #fff;
   border-radius: 10px;
   padding: 40px;
   max-width: 1300px;
   margin: auto;
   justify-self: center;
   box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
   width: 100%;
   height: 34vh;
}

/* .newspaper {
   column-count: 2;
   column-gap: 40px;
   display: flex;
   justify-content: center;
   gap: 14%;
} */


.Crypto_stats {
   z-index: 998;
   width: 100%;
   position: absolute;
   top: 109%;

}

.tv-embed-widget-wrapper__body {
   background: transparent !important;
}

.owl-stage {
   display: flex;
   gap: 20px;
}

/* Service Card */
.service-item {
   background: #f8fbff;
   border-radius: 12px;
   padding: 30px 20px;
   text-align: center;
   transition: all 0.3s ease;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
   cursor: pointer;
   height: 100%;
}

/* Hover Effect */
.service-item:hover {
   transform: translateY(-10px) scale(1.05);
   background: #ffffff;
   box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Service Icon */
.service-icon {
   width: 70px;
   height: 70px;
   background: #ffc107;
   /* yellow background */
   border-radius: 12px;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 28px;
   margin-bottom: 20px;
   transition: all 0.3s ease;
}

/* Icon hover */
.service-item:hover .service-icon {
   background: #FFD700;
   transform: rotate(10deg) scale(1.1);
}

/* Title */
.service-item h4 {
   font-size: 18px;
   font-weight: bold;
   margin-bottom: 12px;
   color: #001f3f;
   transition: color 0.3s ease;
}

/* Title hover */
.service-item:hover h4 {
   color: #000000;
}

/* Description */
.service-item p {
   font-size: 14px;
   color: #333;
}


/* Common style for all course plan cards */
.course-card {
   border-radius: 12px;
   transition: all 0.3s ease;
   cursor: pointer;
   overflow: hidden;
}

/* Hover effect */
.course-card:hover {
   transform: translateY(-10px) scale(1.03);
   box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
   background: #ffffff !important;
   z-index: 2;
}

/* Header section inside card */
.course-card .border-bottom {
   transition: background 0.3s ease, color 0.3s ease;
}

/* Header hover effect */
.course-card:hover .border-bottom {
   background: #1976d2;
   color: #fff;
}

.course-card:hover h4,
.course-card:hover small {
   color: #fff !important;
}

/* List items */
.course-card ul li {
   margin-bottom: 8px;
   transition: color 0.3s ease;
}

/* List hover color */
.course-card:hover ul li {
   color: #1976d2;
}

/* Button hover enhancement */
.course-card .btn {
   transition: all 0.3s ease;
}

.course-card:hover .btn {
   background: #1976d2;
   border-color: #1976d2;
   transform: scale(1.05);
}

/* Base card style */
.service-item {
   background: #f8f9fa;
   border-radius: 12px;
   padding: 30px 20px;
   text-align: center;
   transition: all 0.3s ease !important;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
   cursor: pointer;
}

/* Hover effect on card */
.service-item:hover {
   transform: translateY(-10px) scale(1.05);
   background: #ffffff !important;
   box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3) !important;
   z-index: 10;
}

/* Title hover effect */
.service-item:hover h4 {
   color: #000000 !important;
   /* Black color */
}

.service-item {
   background: #f8f9fa;
   border-radius: 12px;
   padding: 30px 20px;
   text-align: center;
   transition: all 0.3s ease;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
   cursor: pointer;
}

.service-item:hover {
   transform: translateY(-10px) scale(1.05);
   background: #ffffff;
   box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.service-item:hover h4 {
   color: #000;
   /* Black title on hover */
}

.hidden {
   display: none;
}


/* .service-item p {
  transition: all 0.3s ease-in-out;
}
.service-item p.hidden {
  display: none;
} */
.service-item p {
   transition: all 0.3s ease-in-out;
   cursor: pointer;
}

.hidden {
   display: none;
}

.service-item {
   cursor: pointer;
   transition: all 0.3s ease-in-out;
}

.service-item p {
   margin-top: 10px;
   transition: max-height 0.4s ease, opacity 0.4s ease;
   max-height: 200px;
   opacity: 1;
   overflow: hidden;
}

.service-item p.hidden {
   max-height: 0;
   opacity: 0;
}


.service-item {
   transition: all 0.4s ease;
   cursor: pointer;
   padding: 20px;
}

.service-item:hover {
   transform: translateY(-10px);
   box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Paragraph effect */
.service-item p {
   opacity: 0;
   max-height: 0;
   overflow: hidden;
   transition: all 0.5s ease;
}

/* Hover par paragraph show hoga */
.service-item:hover p {
   opacity: 1;
   max-height: 200px;
   /* jitna content ho */
}

/* Card hover effect */
.bg-light.rounded,
.bg-white.rounded {
   transition: all 0.3s ease;
   cursor: pointer;
}

.bg-light.rounded:hover,
.bg-white.rounded:hover {
   transform: translateY(-10px);
   /* card thoda upar uth jaaye */
   box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
   /* shadow add ho */
   background-color: #f9f9f9;
   /* optional: halka bg change */
}


@font-face {
   font-family: 'Coolvetica';
   src: url('../fonts/Coolvetica Rg.otf') format('opentype');
   font-weight: normal;
   font-style: normal;
}

/* Apply Coolvetica to body and key sections */
body,
h1,
h5,
p,
.btn,
.navbar-brand,
.navbar-nav .nav-link {
   font-family: 'Coolvetica', sans-serif;
}

/* Optional: Target About section specifically */
.about-section h1,
.about-section h5,
.about-section p,
.about-section .btn {
   font-family: 'Coolvetica', sans-serif;
}

/* popup */

/* Popup Overlay */
#popupForm {
   display: none;
   position: fixed;
   z-index: 9999;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.6);
   justify-content: center;
   align-items: center;
}

/* Popup Content */
.popup-content {
   background-color: #fff;
   padding: 25px 30px;
   margin-top: 71px;
   width: 380px;
   border-radius: 12px;
   box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
   position: relative;
   animation: popupOpen 0.3s ease-in-out;
}

.popup-content h3 {
   text-align: center;
   margin-bottom: 15px;
   color: #071739;
}

/* Close Button */
.close-btn {
   position: absolute;
   top: 12px;
   right: 18px;
   font-size: 22px;
   cursor: pointer;
   color: #333;
   transition: color 0.3s;
}

.close-btn:hover {
   color: red;
}

/* Form Styling */
form {
   display: flex;
   flex-direction: column;
}

form label {
   margin-top: 10px;
   margin-bottom: 5px;
   font-size: 14px;
   color: #333;
}

form input {
   padding: 10px;
   border: 1px solid #ccc;
   border-radius: 6px;
   font-size: 14px;
   margin-bottom: 10px;
   transition: border-color 0.3s;
}

form input:focus {
   border-color: #fcd74f;
   outline: none;
}

/* Submit Button */
.submit-btn {
   margin-top: 10px;
   color: white;
   padding: 10px;
   background-color: #ECB71F;
   border: none;
   border-radius: 6px;
   cursor: pointer;
   font-size: 16px;
   transition: background-color 0.3s;
}

.submit-btn:hover {
   background-color: #103268;
}

/* Animation */
@keyframes popupOpen {
   from {
      transform: scale(0.8);
      opacity: 0;
   }

   to {
      transform: scale(1);
      opacity: 1;
   }
}


/* mobile view for contact pag */
@media (max-width: 768px) {
   .navbar-brand img {
     max-height: 50px;
   }
 
   .section-title h1 {
     font-size: 1.8rem;
   }
 
   .contact1 h5 {
     font-size: 1rem;
   }
 
   .contact1 h4 {
     font-size: 1rem;
     word-wrap: break-word;
   }
 
   iframe {
     height: 250px;
   }
 }
 
.fill-up {
   --hover: #ecb71f; 
   position: relative;
   overflow: hidden;
   z-index: 1;
   color: #000; 
   background: transparent; 
   border: 2px solid var(--hover); 
   transition: color 0.25s ease-in-out, border-color 0.25s ease-in-out;
 }
 
 /* Pseudo-element that will fill the background */
 .fill-up::after {
   content: '';
   position: absolute;
   top: 100%;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: var(--hover); 
   transition: top 0.25s ease-in-out;
   z-index: -1; 
 }
 
 .fill-up:hover,
 .fill-up:focus {
   color: #fff; /* Change text color to white */
   border-color: var(--hover); 
 }
 
 .fill-up:hover::after,
 .fill-up:focus::after {
   top: 0; 
 }

 .newspaper h3 {
   text-align: center;   
   margin-bottom: 10px;  
   color: #ecb71f;
}
.newspaper {
   display: flex;
   justify-content: center;
   gap: 40px;
   flex-wrap: wrap;
   margin-top: 30px;
 }
 .newspaper > div {
   flex: 1 1 45%;
   background: #ffffff;
   padding: 25px 30px;
   border-radius: 14px;
   box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
   border: 1px solid #f0d48a; /* subtle gold border */
   transition: transform 0.3s ease, box-shadow 0.3s ease;
 }
 .newspaper > div:hover {
   transform: translateY(-6px);
   box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
 }
 
 .newspaper h3 {
   font-size: 20px;
   font-weight: 700;
   margin-bottom: 18px;
   color: #d4af37; /* gold */
   text-align: center;
   letter-spacing: 0.5px;
 }
 .newspaper ul {
   list-style: none;
   padding: 0;
   margin: 0;
 }
 
 .newspaper ul li {
   font-size: 16px;
   font-weight: 500;
   padding: 10px 0;
   border-bottom: 1px solid #eee;
   position: relative;
   padding-left: 28px;
   color: #222; /* black text */
 }
 
 .newspaper ul li:last-child {
   border-bottom: none;
 }
 .newspaper ul li::before {
   content: "✔";
   position: absolute;
   left: 0;
   top: 10px;
   color: #d4af37; /* gold tick */
   font-size: 16px;
   font-weight: bold;
 }
 /* Responsive */
 @media (max-width: 992px) {
   .newspaper {
     gap: 25px;
   }
   .newspaper > div {
     flex: 1 1 100%;
   }
 }
 @media (max-width: 991px) {
   .navbar-collapse {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100vh;         /* full screen height */
     background: #f3f2f2;      /* same as navbar-dark */
     padding-top: 80px;     /* space for brand/logo */
     z-index: 9999;
     overflow-y: auto;
   }
 
   .navbar-collapse .navbar-nav {
     flex-direction: column;
     align-items: center;
   }
 
   .navbar-collapse .nav-link {
     font-size: 1.5rem;
     margin: 15px 0;
     color: #fff;           /* keep links visible */
   }
 }
/* home page full screen image in the mobile view  */
@media (max-width: 768px) {
   #header-carousel .carousel-item {
       height: 90vh; 
   }

   #header-carousel .carousel-item img {
       height: 100%;
       width: 100%;
       object-fit: cover;
   } 
}

.plan-items ul{
   text-align: left;
}

/* Scoped to .testimonial-section to prevent global conflicts */
.testimonial-section, .expert-testimonial-section {
   width: 100%; /* Ensure it takes full width if needed */
   display: flex;
   justify-content: center;
   align-items: center;
   padding: 20px 0; /* Add some vertical padding around the section */
   box-sizing: border-box; /* Include padding in width calculations */
   overflow: hidden; /* Prevent horizontal scrollbar on the section itself */
}

 .expert-testimonial-section .carousel-container {
   /* width: 90%; Adjust as needed */
   /* max-width: 1200px; */
   overflow: hidden;
   position: relative;
   padding: 20px 0px;
}
.testimonial-section .carousel-container{
   width: 90%; /* Adjust as needed */
   /* max-width: 1200px; */
   overflow: hidden;
   position: relative;
   padding: 20px 0px;
}

.testimonial-section .carousel-track, .expert-testimonial-section .carousel-track {
   display: flex;
   /* transition: transform 0.5s ease-in-out; Removed for continuous JS scroll */
}

.testimonial-section .testimonial-card, .expert-testimonial-section .testimonial-card {
   background-color: #EEF9FF;
   border-radius: 10px;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
   padding: 20px;
   margin: 0 15px; /* Space between cards */
   width: 350px; /* **Constant width for each card** */
   min-width: 350px; /* Ensure it never shrinks below this */
   max-width: 350px; /* Ensure it never grows beyond this */
   box-sizing: border-box;
   flex-shrink: 0; /* Prevent cards from shrinking */
   flex-grow: 0; /* Prevent cards from growing */
   display: flex;
   flex-direction: column;
   position: relative;
}

.testimonial-section .card-header, .expert-testimonial-section .card-header {
   display: flex;
   margin-bottom: 15px;
   align-items: center; /* Vertically align items in the header */
}

.testimonial-section .profile-photo, .expert-testimonial-section .profile-photo {
   width: 70px;
   height: 70px;
   border-radius: 50%;
   object-fit: cover;
   margin-right: 15px;
   border: 3px solid #007bff; /* Accent border */
   flex-shrink: 0; /* Prevent photo from shrinking */
}

.testimonial-section .details, .expert-testimonial-section .details {
   display: flex;
   flex-direction: column;
   justify-content: center;
   flex-grow: 1; /* Allow details to take up available space */
   overflow-wrap: break-word; /* For long names/professions */
   word-wrap: break-word; /* Legacy support */
}

.testimonial-section .details p, .expert-testimonial-section .details p {
   margin: 0;
   font-size: 0.9em;
   color: #555;
   overflow-wrap: break-word;
   word-wrap: break-word;
}

.testimonial-section .details .name, .expert-testimonial-section .details .name {
   font-weight: bold;
   color: #333;
   font-size: 1.1em;
}

.testimonial-section .testimonial-text, .expert-testimonial-section .testimonial-text {
   font-size: 1em;
   color: #444;
   line-height: 1.6;
   word-wrap: break-word;
   overflow-wrap: break-word;
}

.section-title h5 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #eab308; /* gold accent */
}

.section-title h1 {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
}

/* Decrease the font size of the .section-title h1.mb-0 (Basic Forex Foundation) for both desktop and mobile views. */
.section-title h1.mb-0 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .section-title h1.mb-0 {
    font-size: 1.3rem;
  }
}

/* Contact Info Boxes */
.contact-info {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  padding: 15px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: #2563eb; /* blue accent */
  color: #fff;
  font-size: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-text {
  margin-left: 15px;
}

.contact-text h5 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #374151;
}

.contact-text h4 {
  margin: 4px 0 0;
  font-size: 18px;
  color: #2563eb;
  font-weight: 700;
  word-wrap: break-word;
}

/* Contact Form */
#contactForm .form-control {
  border-radius: 8px;
  border: none;
  font-size: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

#contactForm textarea {
  resize: none;
}

.submitbutton {
  background: #ecb71f;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
}

.submitbutton:hover {
  background: #dfa608;
  transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .section-title h1 {
    font-size: 22px;
  }

  .contact-info {
    flex-direction: column;
    text-align: center;
  }

  .contact-icon {
    margin-bottom: 12px;
  }

  .contact-text {
    margin-left: 0;
  }
}

@media (max-width: 576px) {
  .contact-text h4 {
    font-size: 16px;
  }

  #contactForm .form-control {
    font-size: 14px;
    padding: 12px;
  }

  .submitbutton {
    font-size: 15px;
    padding: 12px;
  }
}

/* ===== Footer Styling ===== */
.footer-dark {
   background: linear-gradient(120deg, rgba(236,183,31,0.85) 0%, rgba(0,0,0,0.7) 100%), url('../img/carousel-3.jpg') center center/cover no-repeat;
   color: #000; /* Black text */
   border-radius: 10px 10px 0 0;
   margin: 40px auto 0 auto;
   max-width: 100vw;
   padding-left: 80px;
   padding-right: 80px;
   box-shadow: 0 2px 16px rgba(0,0,0,0.15);
   overflow: hidden;
   font-family: "Segoe UI", Arial, sans-serif;
   position: relative;
   background-size: cover;

@media (max-width: 576px) {
   .footer-dark {
      padding-left: 10px;
      padding-right: 10px;
      text-align: center;
   }
   .footer-main {
      flex-direction: column;
      align-items: center;
      gap: 20px;
   }
   .footer-col {
   align-items: center;
   text-align: center;
   min-width: 0;
   width: 100%;
   }
}
      background: linear-gradient(120deg, rgba(236,183,31,0.85) 0%, rgba(0,0,0,0.7) 100%), url('../img/carousel-3.jpg') center center/cover no-repeat;
   color: #000; /* Black text */
   border-radius: 10px 10px 0 0;
   margin: 40px auto 0 auto;
   max-width: 100vw;
   padding-left: 80px;
   padding-right: 80px;
   box-shadow: 0 2px 16px rgba(0,0,0,0.15);
   overflow: hidden;
   font-family: "Segoe UI", Arial, sans-serif;
   position: relative;
         background-size: cover;
}



.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 32px 24px 32px;
}

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

.footer-col h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #000; /* Black heading */
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.footer-col ul li {
   margin-bottom: 4px;
}

.footer-col ul li a {
  color: #000; /* Black links */
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: #fff; /* White hover */
  transform: translateX(4px);
}

.footer-col.newsletter .newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col.newsletter input[type="email"] {
  padding: 12px 14px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  outline: none;
  margin-bottom: 0;
}

.footer-col.newsletter button {
  padding: 12px 0;
  border: none;
  border-radius: 6px;
  background: #fff;   /* White button */
  color: #000;        /* Black text */
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

 /* .footer-col.newsletter button:hover {
  background: #000;  
  color: #fff;      
  transform: scale(1.05);
}  */

/* Bottom Section */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: #fff; /* White links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ECB71F; /* Yellow hover */
}

.footer-copyright {
   text-align: center;
   color: #ccc;
}

/* ===== Responsive Design ===== */
@media (max-width: 900px) {
  .footer-main {
    flex-direction: column;
    gap: 24px;
    padding: 32px 16px 16px 16px;
  }
  .footer-col {
    margin-bottom: 20px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .footer-main {
    padding: 20px 10px;
  }
  .footer-col h3 {
    font-size: 1.05rem;
  }
  .footer-col ul li a {
    font-size: 0.95rem;
  }
}

.icon-circle {
    width: 100px;
    height: 100px;
    background: #ECB71F; /* Bootstrap primary */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto -50px auto;
    position: relative;
    z-index: 2;
  }

  .icon-circle i {
    font-size: 30px;
  }

  .content-box {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    min-height: 150px;
    padding: 60px 15px 15px 15px;
    position: relative;
    z-index: 1;
    text-align: center;
  }

  .content-box h4 {
    margin-bottom: 10px;
  }

  .content-box p {
    margin: 0;
    text-align: left;        /* ✅ Normal left alignment */
    word-spacing: normal;    /* ✅ No extra spacing */
    letter-spacing: normal;  /* ✅ Normal letters */
    line-height: 1.6;        /* ✅ Better readability */
    font-size: 15px;
  }

.feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.icon-circle {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  background: #ECB71F; /* yellow brand color */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.feature-card h4 {
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: #555;
}

/* Default logo size (desktop) */
.logo-img {
  height: 60px;   /* adjust as per your need */
  width: auto;    /* keeps aspect ratio */
}

/* Default: full width (desktop/tablet) */
.mobile-half {
  width: 100%;
}

/* Mobile only: show half screen */
@media (max-width: 991px) {
  .mobile-half {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;       /* full height */
    width: 50%;          /* half width */
    /* Gradient from white to golden */
    background: linear-gradient(135deg, #ffffff, #ECB71F);
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
    padding: 1rem;
    overflow-y: auto;
    z-index: 1050;       /* keeps navbar above content */
  }

  /* Optional: make nav links visible */
  .mobile-half .nav-link,
  .mobile-half .dropdown-item,
  .mobile-half .btn {
      color: #000 !important; /* black text looks good on gradient */
  }
}


/* Contact Us icons (phone, email, map) */
.contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 8px;              /* same rounded shape */
  flex-shrink: 0;                  /* prevent shrinking in flexbox */
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon i {
  font-size: 22px;                 /* consistent icon size */
  color: #fff;
  line-height: 1;
}
