/* Common CSS  */
html, body {
    font-family: 'Inter', sans-serif !important;
}

.logo img, .main-logo {
    animation: combined 4s ease-in-out infinite;
}

@keyframes combined {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
        /* filter: drop-shadow(0 0 5px #18336c); */
    }

    25% {
        transform: translateY(-3px) scale(1.05) rotate(3deg);
        /* filter: drop-shadow(0 0 10px #FC9118); */
    }

    50% {
        transform: translateY(2px) scale(0.95) rotate(-3deg);
        /* filter: drop-shadow(0 0 5px #18336c); */
    }

    75% {
        transform: translateY(-2px) scale(1.02) rotate(2deg);
        /* filter: drop-shadow(0 0 10px #FC9118); */
    }

    100% {
        transform: translateY(0) scale(1) rotate(0deg);
        /* filter: drop-shadow(0 0 5px #18336c); */
    }
}

.swiper-wrapper {
    height: auto !important;
}

.custom-swiper-prev, .custom-swiper-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    /* your theme color */
    color: #18336c;
    border: 1px solid #18336c;
    font-size: 2rem;
    height: 45px;
    width: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
}

.custom-swiper-prev {
    left: 2px;
}

.custom-swiper-next {
    right: 2px;
}

.custom-swiper-next:hover,
.custom-swiper-prev:hover {
    transform: translateY(-50%) scale(1.1) rotate(-20deg);
}

.custom-swiper-next:active,
.custom-swiper-prev:active {
    transform: translateY(-50%) scale(0.9) rotate(0deg);
    transition: transform 0.1s ease;
}

.apply-btn {
    padding: 12px 36px;
    background: #FC9118;
    background-size: 300% 300%;
    border: none;
    border-radius: 30px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.apply-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-20deg);
    transition: 0.6s;
}

.apply-btn:hover {
    background-position: right center;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 25px rgba(254, 170, 13, 0.5);
}

.apply-btn:hover::before {
    left: 200%;
}


.new-section-title {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    font-size: 2rem;
    font-weight: 600;
    color: #1C2C59;
    margin-top: 15px;
    margin-bottom: 45px;
    position: relative;
    text-align: left;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.new-section-title::after {
    content: "";
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 0;
    height: 30px;
    background: url("/new-home-images/svg-icons/heading-underline.svg") no-repeat center/contain;
    transition: width 0.8s ease, transform 0.8s ease;
    transform-origin: left center;
}

/* Trigger animation */
.new-section-title.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.new-section-title.visible::after {
    width: 250px;
    animation: underlineBounce 0.8s ease forwards;
}

@keyframes underlineBounce {
    0% {
        transform: scaleX(0);
    }

    60% {
        transform: scaleX(1.1);
    }

    80% {
        transform: scaleX(0.95);
    }

    100% {
        transform: scaleX(1);
    }
}

@media (max-width: 768px) {
    .hide-on-mobile {
        display: none !important; 
    }
}

/* NavBar CSS Start */
.flex {
    display: flex;
    align-items: center;
    gap: 5px !important;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.nav-links {
    gap: 35px;
}

.nav-links a {
    color: black !important;
}

.navbar {
    background-color: #F5F5F2 !important;
    top: 18px !important;
    border-radius: 23px;
    border: 3px solid #ffff;
    justify-content: start;
    gap: 30px;
    padding: 7px 1% 0 1%;
    width: 98%;
    left: 1%;
}

.contact-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1px 5px;
}

p {
    padding-bottom: 0;
}

.dropdown-menu {
    background: white;
}

.custom-btn {
    background-color: #FC9118;
    padding: 2px 14px;
    border-radius: 11px;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 3px 10px rgba(252, 145, 24, 0.4);
}

.custom-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    transform: skewX(-20deg);
    transition: 0.6s;
}

.custom-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 15px rgba(252, 145, 24, 0.6);
    background-position: right center;
}

.custom-btn:hover::before {
    left: 200%;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 5px;
}


@media (max-width: 932px) {
    .hide-location {
        display: none !important;
    }

    .custom-btn {
        display: none !important;
    }
}

@media (max-width: 769px) {
    .main-header-desktop {
        display: none !important;
    }

    .navbar {
        padding: 7px 1%;
    }
}

/* NavBar CSS End */

/* Footer CSS Started  */

.new-footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
}

@media (max-width: 980px) {
    .new-footer-container {
        flex-direction: column;
    }
}

.new-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
}

.footer {
    background-color: #1C2C59;
    padding: 3rem 2rem 0 2rem;
}

.footer-column a {
    color: white;
}

.footer-column a::before {
    background-color: #FC9118;
}

.footer-offices {
    color: #fff;
    line-height: 1.6;
    width: auto;
    margin-right: 10px;
}

.footer-offices .office-item {
    margin-bottom: 15px;
}

.footer-offices .office-item strong {
    color: #FC9118;
    font-weight: 600;
}

@media (max-width: 769px) {
    .footer {
        padding: 20px !important;
    }

    .new-footer {
        grid-template-columns: 1fr !important;
    }

    .footer-second-row {
        border-top: none !important;
        padding-top: 0 !important;
        margin-top: 10px !important;
    }
}

.footer-second-row {
    border-top: 1px solid #7382AC;
    padding-top: 25px;
    margin-top: 25px;
}

.footer-second-row p {
    font-size: 10px;
}

.footer-second-row a {
    color: #fff;
    text-decoration: none;
}

.footer-social a {
    background-color: #FC9118;
}

.footer-column h3::after {
    background-color: #FC9118;
}

.back-to-top {
    background-color: #FC9118;
    color: white;
    font-weight: 400;
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 18px rgba(252, 145, 24, 0.6);
    background-position: right center;
}

/* Footer CSS Ended  */

/* Hero Section CSS Started */
.hero-main {
    background-color: #F7F4EF !important;
    margin-top: 140px !important;
    padding: 20px 0 0 0 !important;
}

@media (max-width: 769px) {
    .hero-main {
        margin-top: 118px !important;
        padding: 20px 0 20px 0 !important;
    }
}

.hero-content-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 98%;
    max-width: 1500px;
    gap: 20px;
    margin: auto;
    flex-wrap: nowrap;
}

.home-hero-content {
    width: 80%;
    max-width: 600px;
    margin: 0 auto;
}

.home-hero-content .hero-title {
    font-size: 2rem;
    font-weight: 600;
    color: black;
    margin-bottom: 14px;
    margin-top: 0 !important;
    line-height: 1.3;
}

.hero-cta {
    background-color: #ffa500;
    color: #fff;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 114, 229, 0.2);
}

.hero-cta:hover {
    background-color: #ff4500;
    transform: translateY(-2px);
}

.hero-card-title {
    color: #1C2C59;
    font-size: 16px;
    font-weight: 600
}

.hero-card-description {
    color: black;
    font-size: 10px;
    font-weight: 400;
}

.hero-stats {
    width: 98%;
    margin: auto;
    background-color: #1C2C59;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
    padding: 20px 40px;
    border-radius: 12px;
    flex-wrap: wrap;
    max-width: 1200px;
}

@media (max-width: 768px) {
    .hero-content-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-tip {
        font-size: 15px;
    }

    .hero-cta {
        font-size: 15px;
        padding: 12px 24px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .home-hero-content {
        width: 95%;
    }

}

@media (max-width: 480px) {
    .hero-title {
        font-size: 22px;
    }

    .hero-tip {
        font-size: 14px;
    }

    .hero-cta {
        font-size: 14px;
        padding: 10px 20px;
    }
}

.map-container {
    position: relative;
    margin-left: 0;
    margin-right: auto;
    top: 0;
}

.map-image {
    width: 100%;
    opacity: 1;
    transform: scale(1);
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.card-country {
    position: absolute;
    background-color: #ffffffb8;
    text-align: right;
    border-radius: 7px;
    padding: 10px 17px;
    opacity: 0;
    transform: scale(0.6) translateY(20px);
    pointer-events: none;
    transition: transform .6s cubic-bezier(.25, .8, .25, 1), opacity .6s;
}

.card-country.animate-in {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

.card-country.animate-in:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.card-country span {
    font-size: 16px;
    font-weight: 500;
    color: #4a4a4a;
}

.UK-card {
    top: 30%;
    left: -53%;
}

.usa-card {
    top: 34%;
    right: -15%;
}

.canada-card {
    top: 74%;
    left: -27%;
}

@keyframes markerFadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .map-container {
        display: none;
    }
}

/* Hero Section CSS End  */

/* Top Countries Section CSS started  */
.new-country-list-wrapper {
    position: relative;
    flex: 1;
    display: flex;
}

.scroll-dots {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.scroll-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #1C2C59;
    transition: all .3s;
}

.scroll-dots span.active {
    background: #1C2C59;
}

.new-countries-section {
    max-width: 1300px;
    margin: 40px auto;
    padding: 0 35px;
}

.new-countries-container {
    display: flex;
    gap: 30px;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.new-country-main {
    flex: 2;
    display: flex;
    flex-direction: column;
}

.new-main-img {
    width: 100%;
    border-radius: 20px;
    object-fit: fill;
    height: 350px;
}

.new-country-features {
    margin-top: 25px;
}

.new-country-features ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    gap: 10px 16px;
    font-size: 1rem;
}

.explore-btn {
    background: #FC9118;
    display: flex;
    align-items: center;
    color: #fff;
    padding: 4px 12px;
    border: none;
    border-radius: 11px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 3px 10px rgba(252, 145, 24, 0.4);
}

.explore-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    transform: skewX(-20deg);
    transition: 0.6s;
}

.explore-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 15px rgba(252, 145, 24, 0.6);
    background-position: right center;
}

.explore-btn:hover::before {
    left: 200%;
}


.new-country-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 540px;
    overflow-y: auto;
    padding-right: 20px;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

.new-country-list::-webkit-scrollbar {
    width: 0;
}

@media (max-width: 1030px) {
    .new-country-list {
        max-height: 450px;
    }
}

@media (max-width: 900px) {
    .new-country-list {
        max-height: 425px;
    }
}

@media (max-width: 378px) {
    .new-country-list {
        max-height: 445px;
    }
}

.new-country-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    scroll-snap-align: start;
    margin-bottom: 8px;
    margin-left: 5px;
    border-radius: 10px;
    padding: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.25);
}

.new-country-card img {
    width: 90px;
    height: 75px;
    border-radius: 15px;
    object-fit: fill;
}

.new-country-card h3 {
    margin: 0 0 1px 0;
    font-weight: 700;
}

.new-country-card p {
    margin: 0;
    font-weight: 400;
}

.new-country-card.active {
    background: #1C2C59;
    color: #fff;
}

.new-country-card.active h3,
.new-country-card.active p {
    color: #fff;
}

@media (max-width: 900px) {
    .new-countries-container {
        flex-direction: column;
    }

    .new-main-img {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .new-countries-section {
        padding: 0 15px;
    }
}

/* Top Countries Section CSS End  */

/* Testimonial Section CSS Started  */
.video-gallery-section {
    padding: 35px;
    background: #ffffff;
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
    font-family: Arial, sans-serif;
}

.video-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.video-card:hover .youtube-facade img {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    /* square */
    background: #000;
    border-radius: 6px;
    overflow: hidden;
}

.youtube-facade {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #000;
    cursor: pointer;
}

.youtube-facade img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.youtube-facade::after {
    content: '';
    font-size: 3rem;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .video-gallery-section {
        padding: 35px 15px;
    }
}

/* Testimonial Section CSS Ended  */

/* Support Service Section CSS started  */
.student-support {
    padding: 20px 35px;
    max-width: 1300px;
    margin: 0 auto;
}

.support-grid {
    display: flex;
    gap: 20px 50px;
    flex-wrap: wrap;
}

.support-item {
    flex: 1 1 45%;
    transition: all 0.5s ease-in-out;
    opacity: 0;
    transform: translateY(30px);
}

.support-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.support-item:hover {
    transform: scale(1.03);
}

.support-item:hover .number-badge::before {
    transition: all 0.3s ease-in-out;
    transform: rotate(180deg);
}

.support-heading {
    margin: 0 0 5px 0;
    font-size: 27px;
    font-weight: 600;
}

.number-badge {
    position: relative;
    display: inline-block;
    padding-left: 2px;
    font-weight: 600;
    color: #000;
}

.number-badge::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: linear-gradient(to bottom,
            #ffffff 0%,
            #ffe0b2 25%,
            #fbb040 70%,
            #f9a825 100%);
    border-radius: 50%;
    z-index: -1;
}

.support-text {
    font-size: 17px;
    line-height: 23px;
    margin-left: 33px;
}

@media (max-width: 768px) {
    .support-grid {
        flex-direction: column;
    }

    .student-support {
        padding: 20px 15px;
    }
}

/* Support Service Section CSS Ended  */

/* Want Study Abroad CSS Started  */
.study-guide-section {
    background-color: #1C2C59;
}

.study-guide-container {
    position: relative;
    padding: 30px 35px;
    margin: 50px auto;
    max-width: 1300px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
}

.study-guide-content {
    color: #fff;
    max-width: 60%;
}

.study-guide-content h2 {
    font-size: 2rem;
    margin-bottom: 8px;
    color: #fff;
    text-align: left;
}

.study-guide-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #fff;
    text-align: left;
}

.study-guide-button {
    background: #F7941F;
    border: none;
    color: #fff;
    padding: 10px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(247, 148, 31, 0.4);
}

.study-guide-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    transform: skewX(-20deg);
    transition: 0.6s;
}

.study-guide-button:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 20px rgba(247, 148, 31, 0.6);
    background-position: right center;
}

.study-guide-button:hover::before {
    left: 200%;
}


.study-guide-image img {
    max-width: 100%;
    height: 200px;
    display: block;
    position: absolute;
    top: -30px;
    right: -220px;
    transform: rotate(5.71deg);
}

@media (max-width: 890px) {
    .study-guide-image img {
        height: 100px;
        right: -180px;
        top: -17px;
    }

    .study-guide-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .study-guide-content {
        max-width: 86%;
    }

    .study-guide-image img {
        height: 100px;
        right: -180px;
        top: -17px;
    }

    .study-guide-container {
        padding: 30px 15px;
    }
}

/* Want Study Abroad CSS Ended */

/* Affiliate Section CSS Started  */
.affiliates-section {
    padding: 40px 35px;
    overflow: hidden;
    max-width: 1300px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .affiliates-section {
        padding: 40px 15px;
    }
}

.affiliate-card {
    display: inline-block;
    padding: 2px;
    border-radius: 20px;
    background: linear-gradient(50deg, lightblue 0%, white 50%, lightblue 100%);
}

.affiliate-inner {
    background: #fff;
    border-radius: 18px;
    padding: 8px;
    width: 200px;
    height: 80px;
}

.affiliate-inner img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.affiliate-marquee {
    display: grid;
    gap: 15px;
    /* space between rows */
}

.marquee-row {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: inline-flex;
    gap: 40px;
    animation: scroll-left 20s linear infinite;
}

.marquee-row img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

/* Alternate direction */
.marquee-row.right-left .marquee-track {
    animation: scroll-right 20s linear infinite;
}

/* Keyframes */
@keyframes scroll-left {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Affiliate Section CSS Ended */

/* 8 Step Section CSS Started */
.new-steps-wrapper {
    max-width: 1300px;
    margin: 50px auto;
    padding: 0 35px;
}

.new-steps-container {
    display: flex;
    gap: 40px;
}

.new-accordion {
    flex: 1;
    padding-left: 30px;
}

.new-item {
    border-bottom: 1px solid #777777;
    padding: 20px 0
}

.new-item:last-child {
    border-bottom: none;
}

.new-header {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.3rem;
    padding: 8px 0;
    cursor: pointer;
    color: black;
    font-weight: 400;
    position: relative;
}

.new-header::after {
    content: "+";
    position: absolute;
    right: 0;
    transition: transform 0.3s;
}

.new-header.active::after {
    content: "–";
}

.new-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    color: #989898;
    padding-left: 2px;
    font-weight: 400;
}

.new-content-inner {
    padding: 2px;
}

.new-image-box {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.new-image-box-outer {
    background-color: #EFEFEF;
    padding: 45px;
    box-shadow: 0 2px 25px 0 rgba(0, 0, 0, 0.29);
    border-radius: 50%;
}

.new-image-box-outer img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: white;
    object-fit: cover;
    transition: all 0.6s ease;
}

/* Zoom effect */
.img-zoom {
    transform: scale(1.2);
    opacity: 0;
}

@media (max-width: 768px) {
    .new-steps-container {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .new-image-box-outer img {
        height: 200px;
        width: 200px;
    }

    .new-accordion {
        padding-left: 0;
    }

    .new-steps-wrapper {
        padding: 0 15px;
    }
}

/* 8 Step Section CSS Ended */

/* Smooth Transition CSS Started */
.new-smooth-section {
    padding: 20px 35px;
    max-width: 1300px;
    margin: 0 auto;
}

.new-smooth-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.new-smooth-cards {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.new-smooth-card {
    padding: 20px;
    text-align: center;
    border-radius: 30px;
    box-shadow: 0 2px 25px 0 rgba(0, 0, 0, 0.29);
    min-width: 230px;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.new-smooth-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.new-smooth-icon {
    height: 100px;
    width: auto;
    display: block;
    margin: 0 auto 10px;
    border-radius: 20px;
}

.new-smooth-text {
    font-weight: 500;
    text-align: center;
    margin: 7px auto 0;
    width: 70%;
    line-height: 1.4;
    color: #000;
}

.new-smooth-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.new-smooth-mainimg {
    height: 280px;
    max-width: 100%;
    object-fit: contain;
}

@media (max-width: 992px) {
    .new-smooth-wrapper {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .new-smooth-cards {
        justify-content: center;
    }

    .new-smooth-image {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .new-smooth-section {
        padding: 20px 15px;
    }
}

/* Smooth Transition CSS Ended */

/* Start Your Journey CSS Started  */
.new-journey-wrapper {
    max-width: 1300px;
    margin: 60px auto;
    padding: 0 35px;
}

@media (max-width: 768px) {
    .new-journey-wrapper {
        padding: 0 15px;
    }
}

.new-journey-header p {
    font-size: 16px;
    color: #333;
    margin-bottom: 30px;
}

.new-journey-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 50px;
}

.new-journey-card {
    text-decoration: none;
    color: inherit;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    background: #fff;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s ease;
}

.new-journey-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.new-journey-card:hover {
    transform: translateY(-5px);
}

.new-journey-card-image {
    position: relative;
    height: 450px;
}

.new-journey-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Initial arrow style */
.new-journey-card-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    /* white background initially */
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.new-journey-card-icon img {
    filter: invert(54%) sepia(57%) saturate(3200%) hue-rotate(200deg) brightness(60%) contrast(200%);
    transition: all 0.3s ease;
}

/* On hover of the card */
.new-journey-card:hover .new-journey-card-icon {
    background: #1C2C59;
    /* dark background on hover */
}

.new-journey-card:hover .new-journey-card-icon img {
    filter: brightness(0) invert(1);
    /* make arrow white on hover */
}


.new-journey-card-title {
    padding: 0 15px;
    font-size: 22px;
    font-weight: 600;
    color: white;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
}

/* Start Your Journey CSS Ended  */
/* Services Section CSS Started  */
.new-home-service-section {
    padding: 20px 35px;
    max-width: 1300px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .new-home-service-section {
        padding: 20px 15px;
    }
}

.new-home-service-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.new-home-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.new-home-service-card {
    position: relative;
    height: 200px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    border: 1px solid #FDFDFF;
    background: linear-gradient(to bottom, #F4F9FF 0%, #ECF3FD 100%);
    padding: 16px;
    color: #000;
    transition: all 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.new-home-service-card:hover {
    background: linear-gradient(to bottom, #7CB7FA 0%, #7DB1EE 100%);
    color: #fff;
}

.new-home-service-card-title {
    margin: 0;
    font-weight: 600;
    font-size: 23px;
    color: #1C2C59;
}

.new-home-service-card:hover .new-home-service-card-title {
    color: white;
}

.new-home-service-icon {
    position: absolute;
    top: 25px;
    right: 25px;
    height: 20px;
    transition: all 0.3s ease;
}

.new-home-service-card:hover .new-home-service-icon {
    filter: brightness(0) invert(1);
    transform: rotate(360deg) scale(1.2);
}

.new-home-service-image {
    position: absolute;
    bottom: 5px;
    right: 5px;
    height: 120px;
    width: 120px;
    object-fit: cover;
    pointer-events: none;
}

@media (max-width: 990px) {
    .new-home-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .new-home-service-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* ===== Overlay ===== */
.new-service-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1500;
}

/* ===== Modal ===== */
.new-service-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0;
    visibility: hidden;
    width: 80%;
    max-width: 700px;
    max-height: 80%;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    overflow-y: auto;
    z-index: 1600;
    transition: all 0.4s ease;
}

.new-service-modal::-webkit-scrollbar {
    width: 6px;
    /* scrollbar thickness */
}

.new-service-modal::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

.new-service-modal::-webkit-scrollbar-thumb {
    background: #18336c;
    /* your theme color */
    border-radius: 10px;
}

.new-service-modal::-webkit-scrollbar-thumb:hover {
    background: #FC9118;
    /* hover color */
}

/* Firefox */
.new-service-modal {
    scrollbar-width: thin;
    scrollbar-color: #18336c transparent;
}

@media (max-width: 768px) {
    .new-service-modal {
        padding: 15px;
    }
}

/* When active */
.new-service-modal.active {
    opacity: 1;
    visibility: visible;
}

/* Overlay active */
.new-service-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Close button */
.new-service-close {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 32px;
    border: none;
    background: transparent;
    color: #333;
    cursor: pointer;
}

/* Content */
.new-service-content {
    margin-top: 10px;
}

.new-service-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1C2C59;
    margin-bottom: 15px;
}

.new-service-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
}


.service-details-container h2 {
    font-size: 1.5rem;
    color: #FC9118;
    margin-bottom: 0.5rem;
}

.service-details-container p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.service-details-container ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.service-details-container li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 25px;
    line-height: 1.5;
}

.service-details-container li::before {
    content: "⮞";
    position: absolute;
    left: 0;
    color: #1C2C59;
    font-weight: bold;
}

.service-details-container li strong {
    color: #1C2C59;
}



/* Services Section CSS Ended */

/* CTA Section CSS Started  */
.new-cta-section {
    padding: 20px 35px;
    max-width: 1300px;
    margin: 50px auto 10px;
}

.new-cta-container {
    background-color: #1C2C59;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    gap: 20px;
}

.new-cta-content {
    max-width: 500px;
}

.new-cta-title {
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 1.8rem;
    line-height: 1.2;
    font-weight: 600;
}

.new-cta-text {
    margin-bottom: 15px;
    line-height: 22px;
    color: #ffffff;
    font-weight: 400;
}

/* === Right Image === */
.new-cta-image-wrapper {
    height: 300px;
    margin: -55px -20px -20px 0;
}

.new-cta-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 0 25px 25px 0;
}

.new-cta-content,
.new-cta-image-wrapper {
    opacity: 0;
    transform: translateY(30px);
    /* can also do translateX for horizontal slide */
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.new-cta-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.new-cta-image-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Optional: stagger the child elements for smoother effect */
.new-cta-content>* {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.new-cta-content.visible>* {
    opacity: 1;
    transform: translateY(0);
}


/* === Responsive === */
@media (max-width: 768px) {
    .new-cta-container {
        flex-direction: column;
        text-align: center;
    }

    .new-cta-section {
        padding: 20px 15px;
    }

    .new-cta-image-wrapper {
        margin: 20px 0 0 0;
        height: auto;
        width: 100%;
    }

    .new-cta-image {
        width: 100%;
        height: auto;
        border-radius: 0 0 25px 25px;
    }
}

/* CTA Section CSS Ended  */

/* FAQ Section CSS Started  */
.new-faq-section {
    padding: 50px 35px;
    max-width: 1300px;
    margin: 0 auto;
}

.new-faq-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

@media(max-width: 880px) {
    .new-faq-container {
        grid-template-columns: 1fr;
    }
}

.new-faq-text {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
    margin-top: -5px;
    margin-bottom: 20px;
}

.new-faq-graphic {
    text-align: center;
}

.new-faq-graphic img {
    width: 300px;
    max-width: 100%;
}

.new-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.new-faq-item {
    background: white;
    border-radius: 10px;
    border: 1px solid #A3A0A0;
    overflow: hidden;
}

.new-faq-btn {
    width: 100%;
    background: none;
    border: none;
    padding: 16px;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: #1C2C59;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.new-faq-btn p {
    background-color: #C8E3F299;
    border-radius: 16px;
    padding: 5px;
    margin: -16px -22px 0 0;
    width: 48px;
    transform: rotate(320deg);
    flex-shrink: 0;
}

.new-faq-btn span {
    font-weight: bold;
    flex-shrink: 0;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    height: 20px;
    width: 20px;
    background-color: #1C2C59;
    border-radius: 50%;
    transition: transform 1s ease;
    transform: rotate(40deg);
}

.new-faq-btn.active span {
    transform: rotate(175deg);
    color: white;
}

.new-faq-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 16px;
    font-size: 14px;
    line-height: 1.5;
    color: #444;
    transition: max-height 0.7s ease, padding .3s ease;
}

.new-faq-content.open {
    padding: 0 16px 14px;
    margin-bottom: 15px;
}

.new-faq-viewall {
    display: inline-block;
    margin-top: 20px;
    background: #1C2C59;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(28, 44, 89, 0.4);
}

.new-faq-viewall::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    transform: skewX(-20deg);
    transition: 0.6s;
}

.new-faq-viewall:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 18px rgba(28, 44, 89, 0.6);
    background-position: right center;
}

.new-faq-viewall:hover::before {
    left: 200%;
}


@media (max-width: 768px) {
    .new-faq-section {
        padding: 30px 15px;
    }
}

/* FAQ Section CSS Ended  */