@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
:root {
  /* Your existing variables */
  --bs-primary: #3758A5;
  --bs-secondary: #F58634;
  --bs-primary-rgb: 0, 123, 255;
  --bs-info: #F58634;
  --bs-warning: #ffc107;
  --bs-dark: #343a40;
  --bs-tertiary: #6c757d;
  --bs-white: #fff;
  --bs-gutter-y: 1.5rem;

  --text-color-dark: var(--bs-dark);
  --text-color-light: var(--bs-tertiary);
  --bg-color-light: #f8f9fa;
  --bg-color-white: var(--bs-white);
}
*{
    word-wrap: break-word;
}
html {
    margin: 0 !important;
    padding: 0 !important;
}
body {
    /* font-family: 'Inter', sans-serif; */
    font-family: poppins, sans-serif;
    overflow-x: hidden;
}

a, button {
    cursor: pointer;
}
a.navbar-brand img {
    width: 200px;
}
.image-card, .service-card, .testimonial-card, .card, .about-image-wrapper, .info-card {
    height: 100%;
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.image-card:hover, .service-card:hover, .testimonial-card:hover {
    transform: 0;
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.15);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.12) !important;
}

.section-heading {
    font-size: calc(1.2rem + 1.5vw);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: .5rem !important;
    position: relative;
    padding-bottom: 15px;
    color: #0a2351;
    margin-bottom: 2.5rem;
}

.section-heading::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--bs-primary);
    border-radius: 2px;
}

.hero-bg, .course-hero, .contact-hero, .ai-hero, .healthCareBanner, .seniorCommunityBanner {
    background: #007AFF;
    padding-top: 3rem;
    padding-bottom: 3rem;
    color: white;
    background-repeat: no-repeat;
    color: white;
    border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
    position: relative;
    overflow: hidden;
    background-size: cover;
}

.contact-hero {
    background-image: url(../images/contact-us-banner.jpg);
}
.course-hero {
    background-image: url(../images/courses-banner.jpg);
}

.ai-hero {
    background-image: url(../images/ai-workshops-banner.jpg);
}

.healthCareBanner {
    background-image: url(../images/healthcare-service-banner.jpg);
}

.seniorCommunityBanner {
    background-image: url(../images/seniors-community-banner.jpg);
}

section.contact-hero:before, .ai-hero:before, .healthCareBanner:before, .seniorCommunityBanner:before, .course-hero:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #00000075, #1146c19e) !important;
    left: 0;
    top: 0;
}

.course-hero .container,.contact-hero .container, .ai-hero .container, .healthCareBanner .container, .seniorCommunityBanner .container {
    position: relative;
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--bs-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 0.25rem 0.75rem rgba(var(--bs-primary-rgb), 0.3);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.icon-circle.small {
    width: 60px;
    height: 60px;
}

.service-card:hover .icon-circle {
    background-color: var(--bs-info);
    transform: scale(1.05);
}

.icon-circle i {
    font-size: 2rem !important;
}

.hero-bg h1 {
    line-height: 2.8rem !important;
    font-size: 2.4rem;
    text-shadow: 2px 3px 7px #00000057;
}

.hero-bg p {
    line-height: 1.5rem;
    margin-bottom: 2rem;
    color: var(--bs-white);
    font-weight: 300;
    font-size: 1rem !important;
}

.hero-bg .text-info {
    color: var(--bs-white) !important;
    display: inline-block;
    padding: .3rem 1rem;
    border-radius: 1rem;
    font-weight: 500;
    background: #0000008c;
}

.hero-image-container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #004DB2;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 20px solid #005EC5;
    box-shadow: 0 0 0 20px #423d3d1a;
}

.hero-image-wrapper img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.award-badge {
    background-color: var(--bs-white);
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    top: 56%;
    left: -24%;
    white-space: nowrap;
    z-index: 2;
}

.award-badge .icon {
    color: var(--bs-warning);
}

.experience-badge {
    background-color: var(--bs-primary);
    color: white;
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    bottom: 10px;
    right: 21% !important;
    transform: translateY(-50%);
    white-space: nowrap;
    z-index: 2;
}

.services-section-new {
    background-color: #e9f1fe;
    background-image: radial-gradient(#d3d8e3 1px, transparent 1px);
    background-size: 20px 20px;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

/* Animated Background Shapes - with increased thickness */
.services-section-new::before,
.services-section-new::after {
    content: '';
    position: absolute;
    opacity: 0.2; /* Increased from 0.1 */
    filter: blur(80px); /* Decreased blur for more definition */
    z-index: 0;
    pointer-events: none;
}

/* First animated shape - a large circle */
.services-section-new::before {
    width: 350px;
    height: 350px;
    background-color: #3758A5;
    border-radius: 50%;
    top: -50px;
    left: -50px;
    animation: move-shape-1 20s ease-in-out infinite alternate;
}

/* Second animated shape - a semi-transparent square rotating to look like a diamond */
.services-section-new::after {
    width: 250px;
    height: 250px;
    background-color: #20c997;
    bottom: -80px;
    right: -80px;
    transform: rotate(45deg);
    animation: move-shape-2 18s ease-in-out infinite alternate-reverse;
}

@keyframes move-shape-1 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes move-shape-2 {
    0% { transform: translate(0, 0) rotate(45deg); }
    100% { transform: translate(-50px, -50px) rotate(55deg); }
}

.section-heading {
    font-weight: 700;
    font-size: 2.5rem;
    color: #212529;
    position: relative;
    padding-bottom: 1.5rem;
    z-index: 1;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #3758A5;
    border-radius: 2px;
}
.services-section-new .section-heading::after{
    display: none;
}
.section-heading.about-head:after{
    left: 41px
}
/* Service Card Styles - with Gradient Background */
.service-card-new {
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.service-card-new:hover {
    background: linear-gradient(135deg, #eef7ff, #e1e9f2);
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Icon Styles */
.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #3758A5;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
    transition: all 0.4s ease;
}

.service-card-new:hover .icon-circle {
    background-color: var(--bs-info);
    transform: rotateY(180deg);
}

/* Read More Link */
.read-more-link-new {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: #3758A5;
    transition: all 0.3s ease;
}

.read-more-link-new:hover {
    color: var(--bs-secondary) !important;
    transform: translateX(5px);
}

.read-more-link-new i {
    transition: transform 0.3s ease;
}

.read-more-link-new:hover i {
    transform: translateX(3px);
}
/* General styling for the new section */
.about-section-new {
    background-color: #f8f9fa; /* Light, clean background */
    font-family: 'Poppins', sans-serif;
}

.about-subtitle {
    color: #3758A5; /* Primary color */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}

.about-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #3758A5;
    border-radius: 2px;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a2e; /* Darker text */
}

.about-text {
    color: #575757;
    line-height: 1.8rem !important;
    font-size: 1rem !important;
    margin-bottom: 1rem !important;
}

/* Image Stack Layout */
.image-stack-wrapper {
    position: relative;
    width: 500px;
    height: 500px;
}

.image-card {
    border-radius: 1rem;
    overflow: hidden;
    position: absolute;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 13px solid #ffffff;
}

.image-card:hover {
    transform: 0;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Positioning the images in a staggered layout */
.main-image-card {
    width: 70%;
    height: 70%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(5deg);
    z-index: 3;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.sub-image-card-top {
    width: 40%;
    height: 40%;
    top: 0;
    left: 0;
    transform: rotate(-10deg);
    z-index: 2;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.sub-image-card-bottom {
    width: 45%;
    height: 45%;
    bottom: 0;
    right: 0;
    transform: rotate(15deg);
    z-index: 2;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Hover effect for the button */
.hover-effect {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.4);
}

/* Media Queries for Responsiveness */
@media (max-width: 991.98px) {
    html{
        overflow-x: hidden;
    }
    .seniorCommunityBanner, .about-hero, .contact-hero, .course-hero, .about-hero, .ai-hero {
        background-size: cover;
        background-position: center;
    }
    .section-heading.about-head:after {
        left: 50%;
    }
    .image-stack-wrapper {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .image-card {
        position: relative;
        transform: none !important;
        margin-bottom: 1rem;
        width: 80% !important;
        height: auto !important;
        left: auto;
        top: auto;
    }

    .about-subtitle::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

.achiveGoals {
    background: url(../images/front-page-goals-image.jpg) no-repeat center center;
    background-size: cover;
}

.achiveGoals .bg-black {
    background: linear-gradient(to right, #0a2351e8, #3758a542) !important;
}

.testimonial-section {
    padding: 6rem 0;
    background-color: #f4f9ff !important;
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    padding: 20px;
    background: #fff;
    text-align: center;
}

.d-flex.text-warning.mt-2.star-rating {
    margin: auto;
    display: inline-block !important;
}

.testimonial-card .fa-quote-left {
    color: var(--bs-primary);
    font-size: 3rem;
    margin-bottom: 2rem;
    opacity: 0.7;
}

.testimonial-card .testimonial-text {
    font-size: 1.15rem;
    line-height: 1.8;
    font-style: italic;
    color: var(--bs-tertiary);
    margin-bottom: 2.5rem;
}

.testimonial-card .client-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--bs-primary);
    box-shadow: 0 0 0 7px rgba(var(--bs-primary-rgb), 0.2);
    margin-bottom: 1.5rem;
}

.testimonial-card .client-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--bs-dark);
    margin-bottom: 0.5rem;
}

.testimonial-card .star-rating {
    color: var(--bs-warning);
    font-size: 1.1rem;
}

#testimonialCarousel {
    padding-bottom: 1rem;
}

.carousel-item {
    padding: 2rem 0 4.5rem;
}

.carousel-control-prev, .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgb(0 0 0 / 80%);
    border-radius: 50%;
    opacity: 0.8;
    transition: opacity 0.3s ease, background-color 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev:hover, .carousel-control-next:hover {
    opacity: 1;
    background-color: var(--bs-primary);
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    width: 1.5rem;
    height: 1.5rem;
    filter: brightness(0) invert(1);
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgb(117 117 117 / 40%);
    border: none;
    opacity: 0.7;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    margin: 0 5px;
}

.carousel-indicators .active {
    background-color: #080808;
    opacity: 1;
    width: 14px;
    height: 14px;
}

.course-card h3 {
    background: -webkit-radial-gradient(#1598ee, #2a01a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h3.card-title+h5 {
    font-size: 1rem;
    color: #000000 !important;
    font-weight: 500 !important;
}

.btn-primary {
    /* background-image: linear-gradient(to right, #087bd2 0%, #0a37ea 51%, #087bd2 100%); */
    background-image: linear-gradient(to right, #3206dd 0%, #ff6c00 51%, #3206dd 100%);
    padding: .8rem 2.5rem !important;
    margin-top: 30px !important;
}

.btn-primary {
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    /* display: block; */
    border: none;
}

.btn-primary:hover {
    background-position: right center;
    /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
}

.about-hero {
    background-image: url(../images/about-us-banner.jpg);
    background-repeat: no-repeat;
    color: white;
    padding: 80px 0;
    border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
    position: relative;
    overflow: hidden;
    background-size: cover;
}

section.about-hero:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #00000075, #1146c19e) !important;
    left: 0;
    top: 0;
}

.about-hero .container {
    position: relative;
}

.skill-item {
    background: linear-gradient(to right, #0080d3, #5d55e0);
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    font-weight: 500;
    color: var(--bs-white);
}

.text-tertiary {
    color: #353434 !important;
}

section.about-hero+.bg-light {
    background: linear-gradient(to bottom, #ffffff, #2c9cff42);
}

footer .text-tertiary {
    color: #617e96 !important;
}

.skill-item i {
    color: var(--bs-white);
    margin-right: 1rem;
}

.team-member-card {
    background-color: var(--bs-white);
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    text-align: center;
}

.team-member-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid var(--bs-primary);
}

/* Course Details */
.feature-icon {
    color: var(--bs-primary);
    font-size: 1.8rem;
    margin-right: 1rem;
}

.instructor-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--bs-primary);
}

.curriculum-item {
    background-color: #e9ecef;
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.curriculum-item i {
    color: var(--bs-primary);
    margin-right: 1rem;
}

.info-card {
    text-align: center;
    height: 100%;
    padding: 2rem;
    background: #fff !important;
    word-wrap: break-word;
}

.info-card i {
    font-size: 2.5rem;
    color: var(--bs-primary);
    margin-bottom: 1rem;
}

.info-card a {
    text-decoration: none;
    color: #6c757d;
}

.form-control {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}

.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

.btn-primary {
    border-radius: 2rem;
    padding: 0.75rem 2.5rem;
    font-weight: 600;
}

/* Footer Styles */
.footer-bg {
    background-color: #001e37;
}

/* Headings */
.footer-bg h5 {
    color: #7eb3e2;
    font-weight: 600;
}

/* Links */
.footer-bg a {
    color: #adb5bd;
    transition: color 0.3s ease-in-out; /* Adds a smooth hover effect */
}

.footer-bg a:hover {
    color: #ffffff !important; /* Brighter color on hover */
}
.footer-contact p {
    margin-bottom: 0px !important;
}
/* Social Icons */
.social-icons .fab {
    transition: color 0.3s ease-in-out;
}

.social-icons .fab:hover {
    color: var(--bs-info) !important;
}

/* Horizontal line */
.footer-bg hr {
    border-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 767.98px) {
    .copycontainer p {
        text-align: center !important;
    }

    .award-badge {
        top: 81px;
        left: -8px;
    }

    .experience-badge {
        left: 12px;
        width: 188px;
    }

    .testimonial-card {
        padding: 2rem;
    }

    .testimonial-card .testimonial-text {
        font-size: 1rem;
    }

    .testimonial-card .client-img {
        width: 80px;
        height: 80px;
    }

    .testimonial-card .client-name {
        font-size: 1.1rem;
    }

    .carousel-control-prev, .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .carousel-control-prev-icon, .carousel-control-next-icon {
        width: 1.2rem;
        height: 1.2rem;
    }

    .section-heading {
        font-size: 2rem;
    }

    .about-image-layout .col-12 {
        margin-bottom: var(--bs-gutter-y);
    }

    .about-image-layout .col-12:last-child {
        margin-bottom: 0;
    }
    .new-hero-content h1 {
        font-size: 2rem !important;
    }

    .new-hero-content p {
        font-size: 1rem !important;
        margin-bottom: 30px !important;
    }

    .new-hero-visual {
        margin: 0 !important;
        padding: 0 !important;
        margin-top: 30px !important;
    }

    .image-stack {
        width: 90% !important;
    }

    .badge-experience-float {
        display: none !important;
    }

    section.new-hero-section {
        padding: 2rem 0 !important;
    }
    a.navbar-brand img {
        width: 150px;
    }
    .main-image-card, .sub-image-card-top{
        display: none !important;
    }
    .achiveGoals p, .achiveGoals h2 {
        text-align: left;
        align-items: start !important;
    }

    .achiveGoals i {
        margin-top: 7px;
    }

    .achiveGoals {
        background-position-x: 70%;
    }
}

@media (min-width: 768px) {
    .hero-image-wrapper {
        width: 320px;
        height: 320px;
    }

    .award-badge {
        left: -8px;
    }

    .experience-badge {
        right: -10%;
    }
}

@media (min-width: 992px) {
    .hero-image-wrapper {
        width: 380px;
        height: 380px;
    }
}


/*new hero home page*/

.new-hero-section {
    background-color: #1a62ab;
    color: #ecf0f1;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

/* Animated Background Shapes */
.new-hero-section::before, .new-hero-section::after {
    content: '';
    position: absolute;
    opacity: 0.4;
    border-radius: 50%;
    filter: blur(150px);
    animation: pulse 6s ease-in-out infinite alternate;
    z-index: 0;
    /* Place behind the main content */
}

.new-hero-section::before {
    width: 400px;
    height: 400px;
    background-color: #a3daff;
    top: -50px;
    right: 100px;
}

.new-hero-section::after {
    width: 500px;
    height: 500px;
    background-color: #068610;
    /* Emerald green, like the forests */
    bottom: -100px;
    left: 50px;
    animation-delay: 3s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

.new-hero-container {
    /* max-width: 1320px; */
    position: relative;
    /* Ensure content stays on top of shapes */
    z-index: 1;
}

/* Text and Greeting Badge */
.new-hero-content {
    padding-right: 4rem;
}

.greeting-badge {
    display: inline-block;
    background-color: #a3daff;
    color: #ecf0f1;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.greeting-badge:hover {
    transform: scale(1.05);
    background-color: #0d8fe4;
}

.new-hero-content h1 {
    color: #ecf0f1;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.new-hero-content p {
    color: #fff;
    line-height: 1.6;
    font-weight: 300;
}

/* Call to Action Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--bs-secondary);
    color: #ecf0f1;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #be550a;
    transform: translateY(-3px);
}

/* Image and Visuals */
.new-hero-visual {
    position: relative;
    height: 450px;
    padding: 2rem;
    margin-bottom: 60px;
}

.image-stack {
    position: relative;
    width: 350px;
    height: 450px;
}

.hero-image-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-5deg);
    width: 100%;
    height: 100%;
    background-color: #044484;
    border-radius: 1rem;
    padding: .1rem;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(255, 255, 255, 0.05);
    z-index: 2;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.image-stack:hover .hero-image-frame {
    transform: translate(-50%, -50%) rotate(0deg) scale(1.05);
}

.new-hero-image {
    border-radius: 1rem;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating Badges */
.badge-award-float, .badge-experience-float {
    position: absolute;
    background-color: #ecf0f1;
    color: var(--primary-bg);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 3;
    white-space: nowrap;
    animation: float 5s ease-in-out infinite;
}

.badge-award-float {
    top: 50%;
    left: 0;
    transform: rotate(8deg);
    background-color: #f1c40f;
    /* Gold */
    color: #000000;
}

.badge-award-float i {
    color: #000000;
}

.badge-experience-float {
    bottom: 10%;
    right: -40px;
    transform: rotate(-8deg);
    text-align: center;
    flex-direction: column;
    background-color: #ffffff;
    color: #ecf0f1;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(-8deg);
    }

    50% {
        transform: translateY(-10px) rotate(-8deg);
    }

    100% {
        transform: translateY(0px) rotate(-8deg);
    }
}

/* Media Queries for Responsiveness */
@media (max-width: 767.98px) {
    .new-hero-section {
        padding: 5rem 0;
    }

    .new-hero-content {
        padding-right: 0;
        text-align: center;
    }

    .cta-button {
        margin: 0 auto;
    }

    .new-hero-visual {
        height: auto;
        margin-top: 3rem;
    }

    .image-stack {
        width: 280px;
        height: 380px;
    }

    .hero-image-frame {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    .image-stack:hover .hero-image-frame {
        transform: translate(-50%, -50%) rotate(0deg) scale(1.03);
    }

    .badge-award-float, .badge-experience-float {
        position: relative;
        top: auto;
        left: auto;
        bottom: auto;
        right: auto;
        transform: none;
        margin: 1rem auto;
    }
}

.badge-experience-float * {
    color: #000;
}

ul#menu-menu-1 .nav-item a{
    position:relative;
    transition: all 0.5s ease;
}

.primary-nav .current-menu-item a,
.navbar-nav .current-menu-parent a,
.navbar-nav .current-page-ancestor a {
    color: #3758A5 ! important;
    transition: all 0.5s ease;
}

.primary-nav .current-menu-item a:after, .nav-item a:hover:after,
.navbar-nav .current-menu-parent a:after, .nav-item a:hover:after,
.navbar-nav .current-page-ancestor a:after, .nav-item a:hover:after
{
    content:"";
    position:absolute;
    bottom:0px;
    width: 100%;
    height:2px;
    left: 0;
    background:#3758A5;
    transition: all 0.5s ease;
}

ul#menu-menu-1 li a {
    padding-left: 0 !important;
    padding-right: 0px !important;
    margin-left: 16px !important;
    margin-right: 16px !important;
    transition:ease all .5s;
}

/* Footer Menu - current page */
/* Target current/active menu item inside footer quick links */
#menu-footer-quick-links .current-menu-item > a,
#menu-footer-quick-links .current_page_item > a,
#menu-footer-quick-links .current-page-ancestor > a {
    color: orange !important; /* Selected color for current or ancestor menu items */
}

/* Smooth Scroll to the page top */

.scroll-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #3758A5;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: none;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease, transform 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.scroll-top-btn:hover,
.scroll-top-btn:active {
  background-color: #F58634;
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

/* END - Smooth Scroll to the page top */
/* Pricing Section */
.pricing-header h1,
.pricing-header p {
  color: var(--text-color-dark) !important;
}

.pricing-header h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

.card-header h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600 !important;
  color: var(--bs-primary);
}

.card {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.card-header {
  background-color: transparent;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-weight: 600;
}

.card.border-primary {
  border: 2px solid var(--bs-primary) !important;
  box-shadow: 0 0.5rem 1.5rem rgba(55, 88, 165, 0.2) !important;
}

.card.border-primary .card-header {
  background-color: var(--bs-primary) !important;
  color: var(--bs-white) !important;
  border-bottom: none;
}

.card.border-primary .card-header h4 {
  color: var(--bs-white);
}

.pricing-card-title {
  color: var(--bs-secondary);
  font-weight: 700;
}

.btn {
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.2s ease-in-out;
}

.btn-outline-primary {
  color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.btn-outline-primary:hover {
  background-color: var(--bs-primary);
  color: var(--bs-white);
  border-color: var(--bs-primary);
  transform: scale(1.02);
}

.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.btn-primary:hover {
  background-color: var(--bs-secondary);
  border-color: var(--bs-secondary);
  transform: scale(1.02);
}

.text-muted.fw-light {
  font-size: 0.8em;
  color: var(--bs-secondary) !important;
}

ul.list-unstyled li {
  color: var(--text-color-dark);
}

ul.list-unstyled.mt-3.mb-4 li:before {
  content: "✓";
  color: var(--bs-primary);
  margin-right: 8px;
  font-weight: 700;
}

.dotted-bg{
    background-color: #e9f1fe;
    background-image: radial-gradient(#d3d8e3 1px, #e3edff47 1px);
    background-size: 20px 20px;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.dotted-bg::before,
.dotted-bg::after {
    content: '';
    position: absolute;
    opacity: 0.2;
    filter: blur(80px); 
    z-index: 0;
    pointer-events: none;
}

.dotted-bg::before {
    width: 350px;
    height: 350px;
    background-color: #3758A5;
    border-radius: 50%;
    top: -50px;
    left: -50px;
    animation: move-shape-1 20s ease-in-out infinite alternate;
}

.dotted-bg::after {
    width: 250px;
    height: 250px;
    background-color: #20c997;
    bottom: -80px;
    right: -80px;
    transform: rotate(45deg);
    animation: move-shape-2 18s ease-in-out infinite alternate-reverse;
}

.pricing-header h2 {
    font-weight: 700 !important;
    font-size: 27px;
    color: #116091;
}

/* END - Pricing Section */

/* upcoming events */
.upcoming-events{
  border-radius: 1rem;
  background-color: #FCDBC2;
  box-shadow: 0 0.25rem 0.5rem rgb(0 0 0 / 21%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.upcoming-events:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.event-date-col {
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  max-width: 100px;
  background: var(--bs-secondary);
  padding: 15px;
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}

.event-day {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.3em; /* Increase font size for the day */
  color: var(--bs-white);
  line-height: 1;
}

.event-day small {
  font-size: 0.5em;
  vertical-align: top;
  font-weight: 400;
}

.event-month {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--bs-white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-title a {
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  color: var(--bs-dark);
}

.event-title a:hover {
  color: var(--bs-primary);
  text-decoration: underline;
}

/* END - Upcoming Events */
