body {
        margin: 0;
        font-family: Arial, sans-serif;
        scroll-behavior: smooth; /* <-- Smooth scroll works here */
    }



.navbar-custom {
            background: #fdf7f0;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
            position: fixed;
            top: 0;          /* Stick to top */
            width: 100%;
         
           color: white;
        padding: 15px 20px;
         z-index: 1000;  
        }

        .navbar-brand {
            font-size: 1.6rem;
            font-weight: bold;
            color: #333;
            margin-right: 25px;
        }

        .navbar-nav {
            display: flex;
            align-items: center;
            gap: 25px;
        }

        .nav-link {
            color: #333 !important;
            font-weight: 500;
            transition: 0.3s;
        }

        .nav-link:hover {
            color: #ff7f50 !important;
        }

        .top-btn {
            background: #ff7f50;
            border-radius: 20px;
            color: #fff;
            padding: 8px 18px;
            font-size: 24px;
            font-weight: 600;
            border: none;
            transition: 0.3s;
        }

        .top-btn:hover {
            background: #563de7;
        }




        /*hero section */
        .hero-section {
            height: 65vh; /* light tall height */
            min-height: 420px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;

            background: linear-gradient(135deg, #fef6e4, #fde2c3, #0d6efd);
            background-size: 200% 200%;
            animation: gradientAnimation 7s ease infinite;
            color: white;
            padding: 40px 20px;
            border-radius: 0 0 0px 0px;
        }
        @keyframes gradientAnimation {
       0%{ background-position: 0% 50%; }
       50%{ background-position: 100% 50%; }
      100%{ background-position: 0% 50%; }
        }

      .hero-section h1 {
         font-size: 3rem;
         font-weight: 700;
         margin-bottom: 15px;
}
 
.hero-section p {
    font-size: 1.2rem;
    opacity: 0.9;
}



/* Background color for floating section */
.floating-cards-section {
 background: linear-gradient(135deg, #fef6e4, #fcf4ec); /* light warm beige tone */
  padding: 80px 0;
  margin-top: -60px; /* makes it touch the hero smoothly */
  border-radius: 0 0 25px 25px;

}

/* Actual floating cards */
.floating-cards {
  margin-top: -150px;  /* pull cards upward */
  position: relative;
  z-index: 10;
}

/* Card style */
.float-card {
  border-radius: 18px;
  background: #fff;
  transition: 0.3s ease-in-out;
}

.float-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Optional gradient for second card */
.strategy-bg {
  background: linear-gradient(135deg, #e8f8ff, #e8ffe8);
}






.nav-tabs .nav-link {
        color: #333;
        border: none;
        font-weight: 500;
        padding: 10px 20px;
    }

    .nav-tabs .nav-link.active {
        border-bottom: 3px solid #000;
        color: #000;
    }

    .service-card {
        transition: 0.3s ease;
    }

    .service-card:hover {
        transform: translateY(-5px);
    }




    /* Background gradient overlay */
.core-courses-section {
    background: url('tutor.jpg') center/cover no-repeat;
    position: relative;
    padding: 80px 0;
}

.core-courses-section .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(17, 79, 109, 0.8), rgba(6, 148, 135, 0.8));
    z-index: 1;
}

.core-courses-section .container {
    position: relative;
    z-index: 2;
}

/* Timeline Styles */
.timeline {
    position: relative;
    margin-left: 30px;
    border-left: 3px solid rgba(255,255,255,0.4);
    padding-left: 40px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child { margin-bottom: 0; }

/* Timeline bullet */
.timeline-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: transparent;
    border: 3px solid #fff;
    position: absolute;
    left: -54px;
    top: 5px;
    transition: .3s;
}

/* Hover and Active */
.timeline-item:hover .timeline-icon {
    background: #fff;
}

/* Text */
.timeline-content h5 {
    margin-bottom: 6px;
}
.timeline-content p {
    margin: 0;
    font-size: 14px;
}



.faq-accordion .accordion-button {
    background: #e9f2ff;
    color: #003366;
    border-radius: 10px !important;
    font-weight: 600;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: #cfe2ff;
    color: #002855;
}

.faq-accordion .accordion-item {
    border-radius: 12px;
    overflow: hidden;
}

.img-fluid{
    width: auto;
}




/* Contact Section */
.contact-section {
    background: #fdf7f0; /* light warm background */
    padding: 80px 20px;
    min-height: 70vh;
    color: #333;
}

/* Section Title */
.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #050b14;
}

/* Map Container */
.map-container {
    width: 100%;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
}

/* Contact Info Boxes */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-box {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
    text-align: center;
    transition: 0.3s;
}

.info-box h5 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #040a13;
}

.info-box p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 5px;
}

/* Hover Effect */
.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* Responsive Layout */
@media (min-width: 992px) {
    .contact-info {
        flex-direction: column; /* keep stacked inside right column */
    }
}

@media (max-width: 991px) {
    .contact-section .row {
        flex-direction: column;
    }
    
    .map-container {
        margin-bottom: 30px;
    }
}



/* Links section vertical */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column; /* vertical */
    gap: 8px; /* spacing between items */
}

.footer-links a {
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #0d6efd;
    text-decoration: underline;
}
