:root {
    --primary-color: #0e77bc;
    --secondary-color: #ed0004;
    --white: #fff;
    --black: #241f21;
}


/* Carousel */
.carousel-item {
    height: 90vh;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomIn 10s ease-in-out infinite;
}

/* Overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

/* Caption */
.carousel-caption {
    position: absolute;
    top: 56%;
    left: 15%;
    transform: translateY(-50%);
    text-align: left;
    z-index: 2;
}

.carousel-caption h5 {
    font-size: 18px;
    color: var(--secondary-color);
    text-transform: uppercase;
    font-weight: 600;
}

.carousel-caption h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    width: 700px;
}

.carousel-caption p {
    font-size: 16px;
    color: #ddd;
    margin-top: 15px;
    max-width: 500px;
}

.carousel-caption .btn {
    margin-top: 20px;
    padding: 10px 20px;
    font-weight: 500;
}

.btn-primary {
    background-color: var(--secondary-color);
    border: none;
}

.btn-outline-light {
    border: 2px solid white;
}

/* Zoom effect */
@keyframes zoomIn {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.16);
    }
}

/* Controls styling */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary-color);
    padding: 20px;
    border-radius: 50%;
    background-size: 50% 50%;
}

.carousel-control-prev,
.carousel-control-next {
    z-index: 3;
}


/* Featred Section Start */

.feature-box {
    background: var(--primary-color);
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    transition: all 0.4s ease;
    height: 100%;
}

.feature-box i {
    font-size: 40px;
    color: var(--white);
    transition: transform 0.4s ease, color 0.4s ease;
}

.feature-box h5 {
    margin-top: 15px;
    font-weight: 600;
    color: var(--white);
    transition: color 0.4s ease;
}

.feature-box p {
    color: var(--white);
    font-size: 15px;
    margin-top: 10px;
    transition: color 0.4s ease;
}

.feature-box:hover {
    background: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.452);
    transform: translateY(-5px);
}

.feature-box:hover i {
    transform: scale(1.2);
    color: var(--primary-color);
}

.feature-box:hover h5 {
    color: var(--secondary-color);
}

.feature-box:hover p {
    color: var(--primary-color);
}

/* About US Section Start */

.about-section {
    /* padding: 60px 0; */
}

.about-text h6 {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text h2 {
    font-weight: 700;
    margin-bottom: 20px;
}

.about-text p {
    color: #555;
    margin-bottom: 15px;
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    margin-bottom: 10px;
    font-size: 15px;
}

.about-list i {
    color: var(--primary-color);
    margin-right: 8px;
}

.read-btn {
    background: var(--primary-color);
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.read-btn:hover {
    background: #0097a7;
}

.about-img img {
    border-radius: 6px;
    transition: transform 0.4s ease;
}

.about-img:hover img {
    transform: scale(1.03);
}

/* Our Courses Section Start */

/* Gradient Section */
.services-section {
    background: linear-gradient(135deg, var(--primary-color), var(--black));
    padding: 20px 0;
    color: white;
}


.section-title {
    text-align: center;
    margin-bottom: 20px;
}

.section-title h2 {
    font-weight: bold;
    color: var(--white);
}

.section-title p {
    color: var(--white);
}

/* Card Design */
.service-card {
    background: linear-gradient(135deg, #ffffff, #f9f9f9);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    border-top: 5px solid var(--secondary-color);
}

.service-card::before {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: all 0.4s ease;
    z-index: 0;
}

.service-card:hover::before {
    top: 0;
}

.service-card .icon {
    font-size: 45px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.service-card h5 {
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    color: var(--primary-color);
}

.service-card p {
    font-size: 14px;
    color: #555;
    position: relative;
    z-index: 1;
}

/* Hover Effects */
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.15);
}

.service-card:hover .icon {
    -webkit-text-fill-color: white;
    transform: scale(1.2) rotate(8deg);
}

.service-card:hover h5,
.service-card:hover p {
    color: #fff;
}

.btn-gradient {
    display: inline-block;
    padding: 12px 100px;
    background: linear-gradient(45deg, #4facfe, #00f2fe); /* Gradient color */
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease-in-out;
}

.btn-gradient:hover {
    background: linear-gradient(45deg, #00f2fe, #4facfe); /* Hover reverse gradient */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Contact Details and From Section Start */

.contact-section {
    padding: 60px 0;
    /* background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); */
}

.contact-card {
    background: var(--white);
    color: var(--black);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.692);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.contact-card i {
    font-size: 30px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.contact-card h5 {
    color: var(--primary-color);
    font-weight: bold;
}

.contact-card p {
    margin-bottom: 0;
}

.contact-card a{
    text-decoration: none;
    color: var(--black);
}

.contact-form-box {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.719);
}

.contact-form-box h4 {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-form-box .form-control {
    border-radius: 5px;
    padding: 20px;
}

.contact-form-box button {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: 0.3s;
}

.contact-form-box button:hover {
    background: #b10002;
}

@media (max-width: 768px) {
    .contact-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 991px) {
    main, .page-content, .container, .your-main-section {
        margin-top: -30px;
    }
}