
body { 
    font-family: 'Roboto', sans-serif; 
}

.top-header img { 
    max-height: 60px; 
}


.social-icons a { 
    width: 30px; 
    height: 30px; 
    background: #111; 
    color: #fff; 
    border-radius: 50%; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    margin-right: 0.5rem; }

.social-icons a:hover { 
    background: #d25111;
 }

.course-card img {
    height: 120px; /* or any size that fits your layout */
    width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }

.carousel-item img {
    height: 500px; /* or any fixed height you want */
    object-fit: cover;
    width: 100%;
    }     

footer {
     font-size: 0.9rem;
     }

     
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
 }

 .marquee-content {
   display: flex;
   animation: scroll-right 10s linear infinite;
 }

 .marquee-item {
   flex-shrink: 0;
   padding: 8px 16px;
   margin: 0 10px;
   background: #fff;
   border-radius: 50px;
   cursor: pointer;
 }
 

 @keyframes scroll-right {
   0% {
     transform: translateX(100%);
   }

   100% {
     transform: translateX(0%);
   }
 }

 .paused {
    animation-play-state: paused;
 }

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #17a2b8;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    /* Prevent touch delay on mobile devices */
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    /* Ensure consistent behavior across devices */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #138496;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.scroll-to-top:active {
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Ensure smooth scrolling behavior is consistent across browsers */
html {
    scroll-behavior: smooth;
}

/* Override any conflicting scroll behavior on mobile */
@media (max-width: 768px) {
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    body {
        /* Prevent momentum scrolling interference */
        -webkit-overflow-scrolling: touch;
        overflow-x: hidden;
    }
}

/* Center the contact form */
.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
}

     