:root {
    --Primary-color: rgba(21, 68, 119, 1);
    --secondary-color: rgba(42, 140, 152, 1);
    --accent-color: #f5a623;
    --light-color: #f8f9fa;
    --dark-color: #333333;
    --gradient: linear-gradient(135deg, var(--Primary-color), var(--secondary-color));
    --box-shadow: 0 2px 10px rgba(224, 146, 10, 0.121);
    --transition: all 0.3s ease;

    /* Card Colors */
    --card-1-color: #154477;
    --card-2-color: #2a8c98;
    --card-3-color: #f5a623;
    --card-4-color: #8e44ad;

    /* font size  */
    --font-base: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 2rem;
    --font-4xl: 2.5rem;
    --font-5xl: 3rem;
}

* {
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #ffff;
    color: var(--dark-color);

}

/* header section  */
header {
    width: 100%;
    box-shadow: 1px 1px 10px #15225120;
    padding: 15px 10%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

}

header img {
    width: 150px;
    height: auto;
}

.btn {
    color: var(--secondary-color);
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--Primary-color);
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    font-weight: bold;
    background: transparent;
    position: relative;
    transition: all 1s;
    overflow: hidden;
}

.btn:hover {
    color: white;
}

.btn::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 0%;
    top: 0;
    left: -40px;
    transform: skewX(45deg);
    background-color: var(--Primary-color);
    z-index: -1;
    transition: all 1s;
}

.btn:hover::before {
    width: 160%;
}

/* Hero Section Css  */

.hero-section {
    width: 100%;
    padding: 50px 10%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    background-color: #15225128;

}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero-content h1 {
    font-size: 2.5rem;
    color: var(--Primary-color);
    margin-bottom: 25px;
    line-height: 1.3;
    font-weight: 700;
    position: relative;
}

.hero-content h1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 35px;
    line-height: 1.7;
    font-weight: 500;
}

.highlight {
    background-color: rgba(245, 165, 35, 0.405);
    padding: 0 5px;
    font-weight: 600;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
    border: none;
    font-size: 1rem;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(10, 74, 122, 0.25);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.hero-video {
    flex: 1;
    width: 100%;
    min-width: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
    transition: var(--transition);
}

.hero-video:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(10, 74, 122, 0.2);
}

.hero-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
}

.hero-video video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.hero-video h1 {
    margin: 15px;
    margin-bottom: 10px;
    text-align: center;
    font-size: 2.2rem;
    color: var(--Primary-color);
}

.hero-video p {
    margin: 0;
    text-align: center;
    font-size: 1.1rem;
    color: black;
    line-height: 1.7;
    font-weight: 500;
}

.hero-video p strong {
    margin: 0;
    text-align: center;
    font-size: 1.1rem;
    color: var(--Primary-color);
    line-height: 1.7;
    font-weight: 600;
}


.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
    opacity: 0.9;
    transition: var(--transition);
}

.hero-video.playing .play-icon {
    display: none;
}

.play-icon::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 25px solid var(--primary-color);
    margin-left: 5px;
}

.hero-video:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
}

/* Lead Section Styles */
.lead-section {
    width: 100%;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
    justify-content: center;
}

.lead-content {
    flex: 1 1 500px;
    padding: 50px 0px;
    border-radius: 12px;
    background: white;
    overflow: hidden;
}



.lead-content h2 {
    font-size: 2.3rem;
    color: var(--Primary-color);
    margin-bottom: 25px;
    line-height: 1.3;
    font-weight: 700;
    position: relative;
}

.lead-content h2 span {
    color: var(--secondary-color);
    display: block;
    font-weight: 600;
}

.date-location {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--Primary-color);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(42, 140, 152, 0.2);
    display: flex;
    align-items: center;
}

.date-location i {
    margin-right: 10px;
    font-size: 1.1em;
}

.lead-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 35px;
    color: #555;
    font-weight: 400;
}

.highlights {
    margin: 40px 0 20px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    padding: 12px 15px;
    border-radius: 6px;
}

.highlight-item:hover {
    background: rgba(21, 68, 119, 0.03);
    transform: translateX(5px);
}

.highlight-icon {
    width: 22px;
    height: 22px;
    margin-right: 15px;
    color: var(--accent-color);
    font-size: 0.9rem;
    background: rgba(245, 166, 35, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.highlight-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: #444;
}

.highlight-text strong {
    color: var(--Primary-color);
    font-weight: 600;
}

/* Form Styles */
.lead-form {
    flex: 1 1 450px;
    padding: 50px 40px;
    border-radius: 12px;
    background: white;
    color: var(--dark-color);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(21, 68, 119, 0.1);
    position: relative;
    overflow: hidden;
}

.lead-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--gradient);
}

.form-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
    color: var(--Primary-color);
    position: relative;
    padding-bottom: 15px;
}

.form-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 3px;
}

.form-group {
    margin-bottom: 22px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    background-color: white;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(42, 140, 152, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 6px;
    background: var(--gradient);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 15px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--Primary-color));
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.submit-btn:hover::before {
    opacity: 1;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(21, 68, 119, 0.2);
}


/* paces card section  */

.paces-info-container {
    width: 100%;
    padding: 20px 10%;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
        url('https://media.istockphoto.com/id/1332985409/photo/doctor-and-nurse-medical-team-are-performing-surgical-operation-at-emergency-room-in-hospital.jpg?s=612x612&w=0&k=20&c=P3xsG4PsfEQMqYQN8OwEymuMM6IE0-Us7bJvQQ-HTr4=') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.section-heading h2 {
    font-size: 2.5rem;
    color: var(--Primary-color);
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-heading h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-heading p {
    font-size: 1.2rem;
    color: var(--dark-color);
    max-width: 700px;
    margin: 25px auto 0;
    line-height: 1.6;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
    z-index: 2;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-content {
    padding: 30px;
    position: relative;
}

.card h3 {
    color: var(--Primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.card h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    bottom: 0;
    left: 0;
    border-radius: 3px;
}

.card p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.card-icon {
    font-size: 2.8rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    opacity: 0.9;
}

.cardbtn {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background: var(--gradient);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(21, 68, 119, 0.2);
}

.cardbtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(21, 68, 119, 0.3);
}

.cardbtn i {
    margin-left: 8px;
    transition: var(--transition);
}

.cardbtn:hover i {
    transform: translateX(3px);
}

.card-bg {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.03;
    font-size: 8rem;
    z-index: -1;
    color: var(--secondary-color);
}

/* Student Testimonial section  */
.student-testimonials {
    width: 100%;
    padding: 20px 10%;
    background-color: var(--Primary-color);
    position: relative;
    overflow: hidden;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-header h2 {
    font-size: 2.5rem;
    color: #ffff;
    margin-bottom: 15px;
    font-weight: 700;
}

.testimonials-header p {
    font-size: 1.1rem;
    color: var(--accent-color);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    min-height: 350px;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: opacity 0.5s ease, transform 0.5s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}

.testimonial-content {
    margin-bottom: 25px;
    position: relative;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    font-style: italic;
    margin-bottom: 0;
}

.testimonial-content::before,
.testimonial-content::after {
    content: '"';
    font-size: 3rem;
    color: var(--accent-color);
    opacity: 0.3;
    font-family: Georgia, serif;
    position: absolute;
}

.testimonial-content::before {
    top: -20px;
    left: 0;
}

.testimonial-content::after {
    bottom: -40px;
    right: 0;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    border: 3px solid var(--accent-color);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--Primary-color);
    font-weight: 600;
}

.author-info p {
    margin: 5px 0 0;
    font-size: 0.95rem;
    color: var(--secondary-color);
}

.rating {
    color: var(--accent-color);
    margin-top: 10px;
    font-size: 1.1rem;
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
    align-items: center;
}

.nav-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 1px solid #eee;
}

.nav-arrow:hover {
    background-color: var(--accent-color);
    color: white;
}

.nav-dots {
    display: flex;
    gap: 8px;
    margin: 0 20px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.nav-dot.active {
    background-color: var(--accent-color);
    transform: scale(1.2);
}

/* Counting Animation css  */
.counting-section {
    width: 100%;
    padding: 0px 10%;
    background: linear-gradient(135deg, #f9f9f9 0%, #eef2f5 100%);
}

.section-heading {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-heading h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-heading p {
    font-size: 18px;
    color: var(--secondary-color);
    max-width: 700px;
    margin: 0 auto;
}

.section-heading::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin: 20px auto 0;
    border-radius: 2px;
}

.counting-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.counter-card {
    flex: 1;
    min-width: 220px;
    background: white;
    border-radius: 15px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-top: 5px solid;
}

.counter-card:nth-child(1) {
    border-color: var(--card-1-color);
}

.counter-card:nth-child(2) {
    border-color: var(--card-2-color);
}

.counter-card:nth-child(3) {
    border-color: var(--card-3-color);
}

.counter-card:nth-child(4) {
    border-color: var(--card-4-color);
}

.counter-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.counter-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.counter-card:nth-child(1) .counter-icon {
    color: var(--card-1-color);
}

.counter-card:nth-child(2) .counter-icon {
    color: var(--card-2-color);
}

.counter-card:nth-child(3) .counter-icon {
    color: var(--card-3-color);
}

.counter-card:nth-child(4) .counter-icon {
    color: var(--card-4-color);
}

.counter-number {
    font-size: 48px;
    font-weight: 700;
    margin: 10px 0;
}

.counter-card:nth-child(1) .counter-number {
    color: var(--card-1-color);
}

.counter-card:nth-child(2) .counter-number {
    color: var(--card-2-color);
}

.counter-card:nth-child(3) .counter-number {
    color: var(--card-3-color);
}

.counter-card:nth-child(4) .counter-number {
    color: var(--card-4-color);
}

.counter-label {
    font-size: 18px;
    color: var(--dark-color);
    font-weight: 500;
    margin-top: 10px;
}

/* Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.counter-card:hover .counter-icon {
    animation: pulse 1.5s infinite;
}

/* Brochure Section  */
.mrcp-paces-course {
    padding: 40px 10%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.container {
    width: 100%;
}

.course-card {
    display: flex;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

.card-left {
    flex: 1;
    background: linear-gradient(145deg, var(--Primary-color) 0%, #1a2530 100%);
    color: white;
    padding: 3rem;
    position: relative;
}

.course-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.course-info h2 {
    margin: 1rem 0 1.5rem;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
}

.course-info h2 span {
    color: var(--secondary-color);
    display: block;
    font-weight: 600;
    font-size: 1.8rem;
}

.divider {
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 1.5rem 0;
}

.detail-item {
    display: flex;
    margin-bottom: 1.8rem;
    align-items: flex-start;
}

.icon-box {
    background: rgba(42, 140, 152, 0.2);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.icon-box i {
    color: var(--secondary-color);
    font-size: 1rem;
}

.detail-item h3 {
    margin: 0 0 0.3rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ecf0f1;
}

.detail-item p {
    margin: 0;
    line-height: 1.6;
    color: #bdc3c7;
    font-size: 0.95rem;
}

.affiliation {
    font-size: 0.85rem;
    color: #95a5a6;
    display: block;
    margin-top: 0.3rem;
}

.key-highlights {
    margin-top: 2.5rem;
}

.key-highlights h3 {
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    color: #ecf0f1;
    display: flex;
    align-items: center;
}

.key-highlights h3 i {
    margin-right: 0.7rem;
    color: var(--secondary-color);
}

.key-highlights ul {
    padding-left: 0;
    margin: 0;
    color: #bdc3c7;
    line-height: 1.8;
    list-style: none;
}

.key-highlights li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
}

.key-highlights li i {
    color: #2ecc71;
    margin-right: 0.7rem;
    font-size: 0.9rem;
    margin-top: 0.2rem;
}

.card-right {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
}

.form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.form-header h3 {
    color: var(--Primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-header p {
    color: #7f8c8d;
    font-size: 0.95rem;
}

.registration-form {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--Primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(42, 140, 152, 0.2);
    outline: none;
}

.btn-download {
    width: 100%;
    padding: 1.1rem;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-download:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--Primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(41, 128, 185, 0.3);
}

.btn-download i {
    margin-right: 0.7rem;
    font-size: 1.1rem;
}

.form-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    text-align: center;
}

.form-footer p {
    color: #95a5a6;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-footer i {
    margin-right: 0.5rem;
    color: #2ecc71;
}

/* banner cta section  */
.banner-cta-section {
    background: var(--gradient);
    color: white;
    padding: 20px 10%;
    text-align: center;
}

.banner-cta-content {
    margin: 0 auto;
}

.banner-cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.banner-cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.banner-cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
}

.banner-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
    background-color: #e6951a;
}

/* Student Feedback Video Section  */
.feedback-header {
    text-align: center;
    padding: 40px 10% 20px;
    background: linear-gradient(135deg, rgba(21, 68, 119, 0.05), rgba(42, 140, 152, 0.05));
    position: relative;
    overflow: hidden;
}

.feedback-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.feedback-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--Primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.feedback-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.feedback-subtitle {
    font-size: 1.1rem;
    color: var(--dark-color);
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.student-feedback {
    width: 100%;
    padding: 0 10% 40px;
    background-color: var(--light-color);
}

.main-video-container {
    width: 100%;
    margin: 0 auto 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    position: relative;
}

.main-video-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    z-index: 2;
}

.main-video {
    width: 100%;
    height: auto;
    display: block;
    background-color: #000;
}

.student-videos-container {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) #f1f1f1;
}

.student-videos-scroll {
    display: inline-flex;
    padding-bottom: 15px;
}

.student-video-item {
    display: inline-block;
    width: 250px;
    margin-right: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background: white;
    transition: var(--transition);
    cursor: pointer;
    flex-shrink: 0;
}

.student-video-item:last-child {
    margin-right: 0;
}

.student-video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.student-video {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    background-color: #eee;
}

.student-name {
    padding: 15px;
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Scrollbar styling */
.student-videos-container::-webkit-scrollbar {
    height: 8px;
}

.student-videos-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.student-videos-container::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 10px;
}

/* Accessibility focus styles */
.student-video-item:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Loading state */
.video-loading {
    position: relative;
    background-color: #f0f0f0;
}

.video-loading::after {
    content: "Loading...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--dark-color);
}

/* What We Do Section Css  */
/* What We Do Section CSS  */
.whatwedo {
    width: 100%;
    padding: 2rem 10%;
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
    overflow: hidden;
    background-color: #ffff;
}

.whatwedo-Image-container {
    width: 100%;
    max-width: 600px;

}

.image-container {
    width: 100%;
    aspect-ratio: 1/1;
    position: relative;
    background-color: #ffff;
}

/* Main image now on the right */
.rect-image {
    width: 80%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background-color: lightblue;
    border-radius: 15px;
    z-index: 1;
    opacity: 0;
    clip-path: polygon(0 0, 0% 0, 0% 100%, 0% 100%);
    transition: clip-path 1.5s ease-in-out, opacity 0.5s ease-in-out;
}

.rect-image img {
    width: 100%;
    height: 100%;
    /* aspect-ratio: 1/1; */
    object-fit: cover;
    border-radius: 15px;
}

/* Secondary image now on the left */
.circle-image {
    width: 40%;
    height: 40%;
    position: absolute;
    top: 40%;
    /* 100px */
    left: 0%;
    /* Changed from left:40% to left:0 */
    background-color: rgba(255, 0, 0, 0.5);
    border: 5px solid white;
    border-radius: 50%;
    z-index: 2;
}

.circle-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 50%;
}

/* Third image in the middle */
.float-button-container {
    width: 15%;
    height: 35%;
    position: absolute;
    top: 3%;
    left: 2.5%;
    /* background-color: rgba(0, 255, 0, 0.5); */
    z-index: 5;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    animation: floatUpDown 0.5s ease-in-out infinite alternate;
}

.whatwedo-donate-btn {
    writing-mode: vertical-rl;
    /* Makes text vertical */
    transform: rotate(180deg);
    /* Optional: makes text bottom-to-top */
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(12px, 2vw, 20px);
    color: white;
    text-decoration: none;
    background-color: var(--Primary-color);
    width: 60%;
    height: 100%;
    max-height: 200px;
    max-width: 50px;
    min-width: 40px;
    /* padding: 10px 15px; */
    border-radius: 8px;
    font-weight: bold;
    letter-spacing: 0.5px;
    gap: clamp(3px, 0.5vw, 10px);
}

.whatwedo-donate-btn i {
    transform: rotate(90deg);
}

/* Animation keyframes */
@keyframes floatUpDown {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(5px);
    }
}

.whatwedo-Text-container {
    width: 100%;
    max-width: 600px;
    padding: 10px;
    color: var(--Primary-color);
}

.whatwedo-Text-container .text-title {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
}

.whatwedo-Text-container .text-title i {
    margin: 0;
    padding: 0;
    color: #E65100;
    font-size: 20px;
}

.whatwedo-Text-container .text-title h3 {
    margin: 0;
    padding: 0;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--Primary-color);
    font-size: var(--font-lg);
}

.whatwedo-Text-container h1 {
    margin: 0;
    padding: 0;
    color: var(--Primary-color);
    font-size: var(--font-4xl);
    line-height: 1.2em;
    margin-bottom: 15px;
    font-weight: 500;
}

.whatwedo-Text-container p {
    margin: 0;
    padding: 0;
    font-size: var(--font-base);
    line-height: 1.8em;
    margin-bottom: 15px;
    color: #555;
}

.whatwedo-card {
    width: 100%;
    /* max-width: 400px; */
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 15px 5px;
    margin-top: 25px;
    border-bottom: 2px solid #020d1916;
}

.whatwedo-card svg {
    color: #E65100;
    width: 100px;
    height: auto;
}

.whatwedo-card-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 5px;
}

.whatwedo-card-text h3 {
    margin: 0;
    padding: 0;
    font-size: var(--font-2xl);
    font-weight: 600;
    line-height: 1.2em;
}

.whatwedo-card-text p {
    margin: 0;
    padding: 0;
    font-size: var(--font-base);
    font-weight: 400;
    line-height: 1.4em;
    color: #555;
}

.animate2-image {
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* Gallery Section  */
.gallery-section {
    width: 100%;
    padding: 60px 5%;
    background-color: #f9fafb;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    height: 500px;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 25px;
    text-align: center;
}

.carousel-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.carousel-caption p {
    font-size: 1rem;
    opacity: 0.9;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    z-index: 10;
}

.carousel-button {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-button:hover {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background-color: white;
    transform: scale(1.2);
}

.auto-play-pause {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    opacity: 0;
    transition: var(--transition);
    z-index: 10;
    cursor: pointer;
}

.carousel-container:hover .auto-play-pause {
    opacity: 1;
}

/* Footer Section  */
.footer {
    background: var(--gradient);
    color: white;
    padding: 60px 10% 30px;
    width: 100%;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo img {
    width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-logo p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
    /* Removes underline */
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: white;
    opacity: 0.8;
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
    display: inline-block;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
    transform: translateX(5px);
}

.contact-info {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.contact-info i {
    color: var(--accent-color);
    margin-top: 3px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    opacity: 0.8;
}


@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column;
        padding: 20px 5%;
        gap: 50px;
    }



    .hero-content h1 {
        font-size: 2.2rem;
    }

    .lead-section {
        /* margin: 40px auto; */
        margin: 0;
        gap: 30px;
    }

    .lead-content,
    .lead-form {
        flex: 1 1 100%;
        padding: 35px 30px;
    }

    .paces-info-container {
        padding: 20px 8%;
    }

    .student-testimonials {
        padding: 20px 5%;
    }

    .counting-section {
        padding: 80px 8%;
    }

    .counter-card {
        min-width: 200px;
        padding: 30px 20px;
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .mrcp-paces-course {
        padding: 40px 5%;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    }

    .banner-cta-section {
        padding: 10px 5%;
    }

    .banner-cta-section h2 {
        font-size: 2rem;
    }

    .whatwedo {
        flex-direction: column;
    }

    .carousel-track {
        height: 450px;
    }

    .footer {
        padding: 20px 8%;
    }
}

@media (max-width: 768px) {
    header img {
    width: 100px;
    height: auto;
    }
    .cardbtn{
        font-size: 10px;
        padding: 12px 15px;
    }
    .hero-section {
        flex-direction: column;
        padding: 20px 5%;
        gap: 40px;
        text-align: center;
    }

    .hero-content h1::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-content h1 {
        font-size: 1.5rem;
        text-align: justify;

    }

    .hero-content p {
        font-size: 1rem;
        text-align: justify;
    }

    /* lead section  */
    .lead-section {
        /* margin: 40px auto; */
        margin: 0;
        gap: 30px;
    }

    .lead-content {
        padding: 0;
    }

    .lead-form {
        flex: 1 1 100%;
        padding: 35px 30px;
    }

    .lead-content h2 {
        font-size: 2rem;
        text-align: center;
    }

    .date-location {
        font-size: 1.1rem;
        justify-content: center;
    }

    .form-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }

    .paces-info-container {
        padding: 20px 5%;
        background-attachment: scroll;
    }

    .section-heading h2 {
        font-size: 2rem;
    }

    .cards-container {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .card {
        max-width: 100%;
    }

    .testimonials-header h2 {
        font-size: 2rem;
    }

    .testimonials-header p {
        font-size: 1rem;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .counting-section {
        padding: 60px 5%;
    }

    .counting-container {
        gap: 20px;
    }

    .counter-card {
        min-width: calc(50% - 20px);
    }

    .counter-number {
        font-size: 36px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .section-heading p {
        font-size: 16px;
    }

    .course-card {
        flex-direction: column;
    }

    .card-left,
    .card-right {
        padding: 2rem;
    }

    .course-badge {
        position: static;
        display: inline-block;
        margin-bottom: 1rem;
    }

    .banner-cta-section {
        padding: 10px 5%;
    }

    .banner-cta-section h2 {
        font-size: 1.8rem;
    }

    .banner-cta-section p {
        font-size: 1rem;
    }

    .feedback-header {
        padding: 30px 5% 15px;
    }

    .feedback-title {
        font-size: 2rem;
    }

    .feedback-subtitle {
        font-size: 1rem;
    }

    .student-feedback {
        padding: 0 5% 30px;
    }

    .student-video-item {
        width: 200px;
    }

    /* What We Do Section CSS  */
    .whatwedo {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        padding: 3rem 5%;
    }

    .whatwedo-Image-container {
        flex: 1;
        max-width: none;
        order: 2;
    }

    .whatwedo-Text-container {
        flex: 1;
        max-width: none;
        padding: 10px 0px;
        order: 1;
    }

    .whatwedo-Text-container .text-title {
        justify-content: center;
    }

    .whatwedo-Text-container h1 {
        font-size: 26px;
        margin-bottom: 5px;
        text-align: center;
    }

    .whatwedo-Text-container p {
        font-size: 16px;
    }

    .whatwedo-card {
        margin-top: 10px;
        align-items: flex-start;
    }

    .whatwedo-card:last-child {
        border-bottom: none;
    }

    .whatwedo-card-text h3 {
        font-size: 18px;
    }


    .float-button-container svg {
        width: 40px;
    }

    .float-button-container h3 {
        font-size: clamp(12px, 3vw, 18px);
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .carousel-track {
        height: 400px;
    }

    .carousel-caption {
        padding: 15px;
    }

    .carousel-caption h3 {
        font-size: 1.3rem;
    }

    .footer {
        padding: 40px 5%;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    header{
        padding: 15px 5%;
    }
    .hero-section {
        padding: 20px 5%;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .cta-button {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    /* lead Section  */


    .lead-content h2 {
        font-size: 1.7rem;
    }

    .date-location {
        font-size: 1.1rem;
    }

    .form-title {
        font-size: 1.4rem;
    }

    .section-heading h2 {
        font-size: 1.8rem;
    }

    .section-heading p {
        font-size: 1rem;
    }

    .card-content {
        padding: 25px;
    }

    .card-icon {
        font-size: 2.5rem;
    }

    .student-testimonials {
        padding: 20px 20px;
    }

    .testimonials-header h2 {
        font-size: 1.8rem;
    }

    .testimonial-content p {
        font-size: 1rem;
    }

    .testimonials-slider {
        min-height: 400px;
    }

    .counting-section {
        padding: 50px 5%;
    }

    .counter-card {
        min-width: 100%;
    }

    .section-heading h2 {
        font-size: 24px;
    }

    .course-info h2 {
        font-size: 1.8rem;
    }

    .course-info h2 span {
        font-size: 1.4rem;
    }

    .form-header h3 {
        font-size: 1.5rem;
    }

    .card-left,
    .card-right {
        padding: 1.5rem;
    }

    .banner-cta-section {
        padding: 10px 5%;
    }

    .banner-cta-section h2 {
        font-size: 1.5rem;
    }

    .banner-cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .feedback-title {
        font-size: 1.8rem;
    }

    .student-video-item {
        width: 180px;
        margin-right: 15px;
    }

    .carousel-track {
        height: 300px;
    }

    .carousel-button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .auto-play-pause {
        top: 10px;
        right: 10px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-heading {
        margin-bottom: 15px;
    }
}