/* ====================== */
/* === ROOT VARIABLES === */
/* ====================== */
:root {
  /* Colors */
  --primary: #31c3ed;
  --primary-dark: #1ab1d9;
  --secondary: #d1903d;
  --dark: #1d1b53;
  --dark-light: #282b60;
  --light: #f7f9fb;
  --light-blue: #e6f4fa;
  --beige: #f3e7d7;
  --light-beige: #f2e3d5;
  --gray-light: #f6f6f8;
  
  /* Font */
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  
  /* Spacing */
  --section-padding: 5rem 0;
  --section-padding-sm: 3rem 0;
}

/* ====================== */
/* === BASE STYLES === */
/* ====================== */
body {
  font-family: var(--font-main);
  margin: 0;
  padding: 0;
  color: #222;
  line-height: 1.4;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--dark-light);
}

.title {
  color: var(--dark-light);
}

/* ====================== */
/* === COMPONENTS === */
/* ====================== */

/* === TOPBAR === */
.topbar {
  background-color: var(--secondary); 
}

.topbar-scroll {
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.topbar-scroll::-webkit-scrollbar {
  display: none;
}

.topbar-icon {
  width: 1rem;
  height: 1rem;
  object-fit: contain;
  margin-right: 0.5rem;
}
@media (max-width: 991.98px) {
  .topbar-item {
    padding: 0 1rem;
  }
  
  .topbar-scroll {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-left 20s linear infinite;
  }

  @keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
  }
}


/* === HEADER/NAVIGATION === */
.header {
  padding: 0.75rem 0;
  background: white; 
}

.nav-link {
  color: #333;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Mobile Menu */
@media (max-width: 991.98px) {
  body.menu-open {
    overflow: hidden;
  }

  .fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    padding-top: 6.25rem;
    background-color: white;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(-1.25rem);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .fullscreen-menu.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .fullscreen-menu .nav-link {
    font-size: 1.3rem;
    margin: 0.625rem 0;
  }
}

/* === HERO SECTION === */
.hero-section {
  background: url(../Images/her-bg.png) no-repeat var(--light) bottom;
  background-size: cover;
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 700; 
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400; 
}

.hero-image-wrapper {
  position: relative;
  z-index: 1;
}

.bg-circle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  max-width: 100%;
}

.hero-main {
  position: relative;
  max-width: 100%;
}

/* Badges */
.badge {
  position: absolute;
  background-color: #ffffffad;
  padding: 0.625rem 0.875rem;
  border-radius: 0.75rem;
  z-index: 10;
}

.badge span,
.badge p {
  font-weight: 400;
  color: #000;
}

.badge-human {
  top: 25%;
  left: 10%;
}

.badge-original {
  bottom: 10%;
  left: 0;
}

.badge-grade {
  top: 5%;
  right: 0;
}

.curve-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  line-height: 0;
}

.curve-bottom svg {
  display: block;
  width: 100%;
  height: 6.25rem;
}

/* === LEAD FORM SECTION === */
.lead-form-section {
  background-color: var(--light);
  
}

.lead-form-box {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  transform: translateY(-50px);
  z-index: 999;
  position: relative;
}

.form-title {
  color: var(--dark);
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.form-field {
  background-color: #f1f5f9;
  border: none;
  padding: 0.625rem 0.875rem;
  border-radius: 0;
  border-bottom: 2px solid #ccc;
}

.upload-box {
  background-color: #f1f5f9;
  border: 2px dotted #333;
  border-radius: 0.25rem;
  height: 75%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.upload-icon i {
  font-size: 1.5rem;
  color: #999;
}

.btn-custom-submit {
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 0.5rem;
  padding: 0.625rem 1.5rem;
  font-weight: 600;
  min-width: 9.375rem;
  transition: background-color 0.3s ease;
}

.btn-custom-submit:hover {
  background-color: var(--primary-dark);
}

/* === SERVICES SECTION === */
.services-section {
  background-color: var(--light);
}
  
.service-card {
  transition: all 0.6s ease-in-out;
  border-radius: 0.75rem;
}

.service-card:hover {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  transform: translateY(-4px); 
}

.services-caption {  
  color: var(--primary);  
  font-weight: 700;
  text-transform: uppercase; 
}


.service-icon-img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
 
}



/* === COUNTER SECTION === */
.counter-section {
  background-color: var(--dark);
  color: white;
  
  text-align: center;
}

.counter-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--primary);
}

.counter-section p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* === EXPERTISE SECTION === */
.expertise-section {
  background-color: var(--light);
  
}

.badge-outline {
  display: inline-block;
  padding: 0.75rem;
  border: 1px solid var(--primary);
  border-radius: 0.5rem; 
  color: var(--dark);
  background-color: white;
  white-space: nowrap;
  transition: all 0.6s ease-in-out; 
}

.badge-outline:hover {
  background-color: var(--primary);
  color: white;
}

/* === COURSES SECTION === */
.courses-section {
  background-color: var(--light-blue);
  
}

/* === ACHIEVEMENTS SECTION === */
.achievements-section {
  background-color: var(--beige);
  
}

.achievements-section .counter {
  font-size: 1.875rem;
  font-weight: 900;
  color: #222;
}

.achievements-section p {
  font-size: 1.125rem;
  color: #333;
  font-weight: 500;
}

/* === PORTFOLIO SECTION === */
.portfolio-section {
  background-color: var(--light);
  
}

.portfolio-card {
  height: 100%;
  padding: 1rem;
  background-color: white;
  border-radius: 0.25rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-0.3125rem);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

/* === RESOURCES SECTION === */
/* CSS */
.tools-section {
  background-color: var(--light-beige); 
}

.tool-item {
  width: 120px;
  text-align: center;
}

.tool-img-wrap {
  height: 50px;
  display: flex;
  align-items: flex-start;
  justify-content: center; 
}

.tool-icon {
  max-height: 100%;
  max-width: 100%;
}


/* === TESTIMONIALS SECTION === */
.testimonials-section {
  background-color: var(--gray-light);  
}
/* Testimonial styling */
.testimonial-card {
  min-height: 100%;
  transition: transform 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
}
.testimonial-author img {
  object-fit: cover;
}

/* Carousel arrow positioning */
.custom-carousel-control.carousel-control-prev {
  position: absolute;
  top: 50%;
  left: -40px;
  transform: translateY(-50%);
  background: transparent;
  border: none;
}

.custom-carousel-control.carousel-control-next {
  position: absolute;
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  background: transparent;
  border: none;
}

@media (max-width: 767.98px) {
  .custom-carousel-control.carousel-control-prev {
    left: -20px;
  }
  .custom-carousel-control.carousel-control-next {
    right: -20px;
  }
}


/* === CLIENTS SECTION === */
.clients-section {
  background-color: var(--gray-light);
  
}

.client-logo {
  max-height: 3.125rem;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.client-logo:hover {
  opacity: 1;
}

/* === FAQ SECTION === */
.faq-section {
  background-color: #efeff2;
  
}

.accordion-button::after {
  display: none;
}

.accordion-button::before {
  content: "+";
  position: absolute;
  right: 1rem;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::before {
  content: "–";
}

.accordion-button {
  background-color: white;
  border: 1px solid #ddd;
  position: relative;
  padding-right: 2.5rem;
}

.accordion-item {
  border: 1px solid #ddd;
  border-radius: 0.375rem;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

/* === CTA SECTION === */
.cta-section {
  background-color: var(--gray-light); 
}

/* === FOOTER === */
.footer-section {
  background-color: var(--dark);
  color: white;
  padding-top: var(--section-padding);
}

.footer-section a {
  color: white;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

.newsletter-form input {
  border-radius: 0.375rem;
  padding: 0.625rem 0.9375rem;
  font-size: 0.9rem;
  margin-right: 1.25rem;
}

.btn-subscribe {
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 0.375rem;
  padding: 0.5rem 1.125rem;
}

.btn-subscribe:hover {
  background-color: var(--primary-dark);
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.powered-by {
  border: 1px solid white;
  font-size: 0.85rem;
  white-space: nowrap;
  padding: 0.25rem 0.75rem;
  display: inline-block;
}

.footer-bottom {
  margin-top: 3.125rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom a {
  font-size: 0.85rem;
  margin-left: 1rem;
}

/* ====================== */
/* === UTILITY CLASSES === */
/* ====================== */
.text-primary {
  color: var(--primary) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}
.btn {
  transition: all 0.6s ease-in-out;
  padding: 0.6rem 1rem;
}

.btn:hover {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); 
  transform: translateY(-4px); 
}
.btn-primary {
  background-color: var(--primary);
  border: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--secondary);
}

.btn-info {
  background-color: var(--primary);
  color: white;
}

.btn-outline-info {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-info:hover {
  background-color: var(--primary);
  color: white;
}

/* ====================== */
/* === MEDIA QUERIES === */
/* ====================== */
@media (max-width: 1199.98px) {
  :root {
    --section-padding: 4rem 0;
  }
}

@media (max-width: 991.98px) {
  :root {
    --section-padding: 3.5rem 0;
  }
  

  .hero-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 767.98px) {
  :root {
    --section-padding: 3rem 0;
    --section-padding-sm: 2rem 0;
  }
  
  .faq-section .accordion {
    margin: 0;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 575.98px) {
  :root {
    --section-padding: 2.5rem 0;
  }
  
   
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    margin-right: 0;
    margin-bottom: 0.75rem;
    width: 100%;
  }
}


