:root {

    --primary-color: #2563eb;

    --secondary-color: #1e40af;

    --dark-color: #1a202c;

    --light-color: #f8fafc;

    --accent-color: #f59e0b;

}



body {

    font-family: 'Poppins', sans-serif;

    overflow-x: hidden;

}



.navbar {

    background-color: var(--dark-color);

    padding: 8px 0;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

}



.navbar-brand {

    font-weight: 700;

    font-size: 1.8rem;

}



.navbar-brand span {

    color: var(--accent-color);

}



.hero {

    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('./trade.jfif');

    background-size: cover;

    background-position: center;

    background-attachment: fixed;

    color: white;

    padding: 120px 0;

    position: relative;

}



.hero-content {

    max-width: 800px;

    margin: 0 auto;

    position: relative;

    z-index: 2;

}



.course-card {

    transition: all 0.3s ease;

    border: none;

    border-radius: 12px;

    overflow: hidden;

    height: 100%;

}



.course-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

}



.card-img-top {
  width: 100%;             /* Full width of the card */
  height: auto;            /* Let the height adjust automatically */
  object-fit: contain;     /* Ensures the whole image is visible without cropping */
}




.star-rating {

    color: var(--accent-color);

}



.badge-discount {

    position: absolute;

    top: 10px;

    right: 10px;

    background-color: #ef4444;

    font-size: 0.8rem;

}



.feature-icon {

    font-size: 2.5rem;

    color: var(--primary-color);

    margin-bottom: 1rem;

}



.section-title {

    position: relative;

    margin-bottom: 3rem;

}



/* .section-title:after {

    content: '';

    position: absolute;

    bottom: -10px;

    left: 50%;

    transform: translateX(-50%);

    width: 80px;

    height: 4px;

    background: var(--primary-color);

    border-radius: 2px;

} */



.btn-primary {

    background-color: var(--primary-color);

    border-color: var(--primary-color);

    padding: 10px 25px;

    font-weight: 500;

    transition: all 0.3s;

}



.btn-primary:hover {

    background-color: var(--secondary-color);

    border-color: var(--secondary-color);

    transform: translateY(-2px);

}



.instructor-img {

    width: 200px;

    height: 200px;

    border-radius: 50%;

    object-fit: cover;

    border: 5px solid var(--primary-color);

    margin-bottom: 1.5rem;

}



.testimonial-card {

    background-color: white;

    border-radius: 12px;

    padding: 2rem;

    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

    margin: 0 10px;

}



.testimonial-img {

    width: 80px;

    height: 80px;

    border-radius: 50%;

    object-fit: cover;

    margin-bottom: 1rem;

}



.stats-item {

    padding: 2rem;

    border-radius: 12px;

    background-color: white;

    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);

    text-align: center;

    transition: all 0.3s;

}



.stats-item:hover {

    transform: translateY(-5px);

    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

}



.stats-number {

    font-size: 2.5rem;

    font-weight: 700;

    color: var(--primary-color);

}



.newsletter {

    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));

    color: white;

    padding: 4rem 0;

    border-radius: 12px;

    position: relative;

    overflow: hidden;

}



.newsletter:before {

    content: '';

    position: absolute;

    top: -50px;

    right: -50px;

    width: 200px;

    height: 200px;

    background-color: rgba(255, 255, 255, 0.1);

    border-radius: 50%;

}



.newsletter:after {

    content: '';

    position: absolute;

    bottom: -80px;

    left: -80px;

    width: 300px;

    height: 300px;

    background-color: rgba(255, 255, 255, 0.1);

    border-radius: 50%;

}



.form-control {

    padding: 12px 20px;

    border-radius: 8px;

    border: none;

}



footer {

    background-color: var(--dark-color);

    color: white;

    padding: 4rem 0 0;

}



.footer-links h5 {

    position: relative;

    padding-bottom: 10px;

    margin-bottom: 20px;

}



.footer-links h5:after {

    content: '';

    position: absolute;

    bottom: 0;

    left: 0;

    width: 40px;

    height: 2px;

    background-color: var(--accent-color);

}



.social-icon {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 40px;

    height: 40px;

    background-color: rgba(255, 255, 255, 0.1);

    border-radius: 50%;

    margin-right: 10px;

    transition: all 0.3s;

}



.social-icon:hover {

    background-color: var(--accent-color);

    transform: translateY(-3px);

}



.back-to-top {

    position: fixed;

    bottom: 30px;

    right: 30px;

    width: 50px;

    height: 50px;

    background-color: var(--primary-color);

    color: white;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.2rem;

    z-index: 99;

    opacity: 0;

    visibility: hidden;

    transition: all 0.3s;

}



.back-to-top.active {

    opacity: 1;

    visibility: visible;

}



.back-to-top:hover {

    background-color: var(--secondary-color);

    transform: translateY(-3px);

}

.iforex-section {

    padding: 80px 0;

    background: white;

  }

  

  .instructor-img {

    max-width: 100%;

    height: auto;

    border-radius: 16%;

    border: 5px solid white;

    box-shadow: 0 10px 30px rgba(0,0,0,0.1);

    transition: transform 0.3s ease;

  }

  

  .instructor-img:hover {

    transform: scale(1.05);

  }

  

  .book-covers img {

    max-height: 180px;

    margin: 0 15px;

    border-radius: 5px;

    box-shadow: 0 5px 15px rgba(0,0,0,0.1);

    transition: transform 0.3s ease;

  }

  

  .book-covers img:hover {

    transform: translateY(-5px);

  }

  

  .instructor-name {

    color: var(--primary-color);

    font-weight: 700;

    margin-top: 20px;

  }

  

  .instructor-title {

    color: var(--light-text);

    font-size: 1.1rem;

  }

  

  .instructor-bio {

    background: white;

    padding: 30px;

    border-radius: 10px;

    box-shadow: 0 5px 25px rgba(0,0,0,0.05);

    position: relative;

    margin-top: 30px;

  }

  

  .instructor-bio:before {

    content: '"';

    position: absolute;

    top: 10px;

    left: 20px;

    font-size: 80px;

    color: rgba(52, 152, 219, 0.1);

    font-family: Georgia, serif;

  }

  

  .iforex-img {

    border-radius: 10px;

    box-shadow: 0 15px 30px rgba(0,0,0,0.1);

    transition: transform 0.3s ease;

  }

  

  .iforex-img:hover {

    transform: scale(1.02);

  }

  

  .feature-list {

    list-style-type: none;

    padding-left: 0;

  }

  

  .feature-list li {

    padding: 10px 0;

    padding-left: 35px;

    position: relative;

  }

  

  .feature-list li:before {

    content: '\f00c';

    font-family: 'Font Awesome 6 Free';

    font-weight: 900;

    position: absolute;

    left: 0;

    top: 10px;

    color: var(--secondary-color);

  }

  

  .stats {

    background: var(--secondary-color);

    color: white;

    padding: 60px 0;

    text-align: center;

  }

  

  .stat-item {

    padding: 20px;

  }

  

  .stat-number {

    font-size: 3rem;

    font-weight: 700;

    margin-bottom: 10px;

  }

  

  .stat-label {

    font-size: 1.1rem;

    opacity: 0.9;

  }

  

  .btn-custom {

    background: var(--secondary-color);

    color: white;

    padding: 12px 30px;

    border-radius: 30px;

    font-weight: 600;

    border: none;

    transition: all 0.3s ease;

  }

  

  .btn-custom:hover {

    background: var(--primary-color);

    color: white;

    transform: translateY(-3px);

    box-shadow: 0 10px 20px rgba(0,0,0,0.1);

  }