body {
    scroll-behavior: smooth;
    user-select: none;
}

.header1HoverText {
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.header1HoverText:hover {
    color: #E13833;
}

@keyframes bounceUpDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

#header1CallButton {
    display: flex;
    align-items: center;
    font-size: 18px;
    padding: 0 30px;
    margin-left: 4%;
}

#header1CallButton i {
    font-size: 26px;
    padding: 0;
    margin: 0;
}

#header1CallButton a span {
    display: inline-block;
    /* Required for transform to work properly */
    transition: transform 0.3s ease;
}

#header1CallButton:hover a span {
    animation: bounceUpDown 0.4s ease-in-out forwards;
}

/* Stagger delays for each digit - increase delay per digit */
#header1CallButton:hover a span:nth-child(1) {
    animation-delay: 0s;
}

#header1CallButton:hover a span:nth-child(2) {
    animation-delay: 0.05s;
}

#header1CallButton:hover a span:nth-child(3) {
    animation-delay: 0.1s;
}

#header1CallButton:hover a span:nth-child(4) {
    animation-delay: 0.15s;
}

#header1CallButton:hover a span:nth-child(5) {
    animation-delay: 0.2s;
}

#header1CallButton:hover a span:nth-child(6) {
    animation-delay: 0.25s;
}

#header1CallButton:hover a span:nth-child(7) {
    animation-delay: 0.3s;
}

#header1CallButton:hover a span:nth-child(8) {
    animation-delay: 0.35s;
}

#header1CallButton:hover a span:nth-child(9) {
    animation-delay: 0.4s;
}

#header1CallButton:hover a span:nth-child(10) {
    animation-delay: 0.45s;
}

#header1CallButton:hover a span:nth-child(11) {
    animation-delay: 0.5s;
}

#header1CallButton:hover a span:nth-child(12) {
    animation-delay: 0.55s;
}

#header1CallButton:hover a span:nth-child(13) {
    animation-delay: 0.6s;
}

/* Header Scroller */
#header2 {
    position: fixed;
    top: 48px;
    background-color: white;
    width: 100%;
    padding: 0;
    z-index: 1000;
    transition: all 0.3s;
}

#smallHeader {
    position: fixed;
    top: 0;
    background-color: white;
    width: 100%;
    padding: 0;
    z-index: 1000;
    transition: all 0.3s;
}

/* Header Scroller */
#logoCanvas {
    position: absolute;
    top: 0;
    left: 2%;
    background-color: white;
    box-shadow: 0.1px 0.1px 1px 0px black;
    border-bottom: 6px solid #E13833;
    width: 270px;
    height: 130px;
    cursor: pointer;
}

#logoCanvas a,
#logoCanvas img {
    width: 100%;
    height: 100%;
}

#header2List {
    padding: 0 60px;
}

.header2List1Links {
    color: black;
    text-decoration: none;
    padding: 40px 0;
    transition: all 0.2s;
}

.header2List1Links:hover {
    color: #E13833;
}

/* Dropdown wrapper */
.dropdown-parent {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* Dropdown content */
.dropdown {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 95%;
    left: 0;
    min-width: 220px;
    background-color: #fff;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.5s ease;

}

/* Show dropdown on hover */
.dropdown-parent:hover .dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Dropdown link styling */
.dropdown a {
    padding: 15px 25px;
    text-decoration: none;
    color: black;
    width: 100%;
    white-space: nowrap;
    transition: all 0.3s;
}

.dropdown a:hover {
    background-color: #f2f2f2;
    color: #E13833;
}

/* Dropdown2 wrapper */
.dropdown-parent2 {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* Dropdown2 content */
.dropdown2 {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0%;
    left: 100%;
    min-width: 220px;
    background-color: #fff;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.5s ease;

}

/* Show dropdown2 on hover */
.dropdown-parent2:hover .dropdown2 {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Dropdown2 link styling */
.dropdown2 a {
    padding: 15px 25px;
    text-decoration: none;
    color: black;
    white-space: nowrap;
    transition: all 0.3s;
}

.dropdown2 a:hover {
    background-color: #f2f2f2;
    color: #E13833;
}

/*  */

/* Dropdown3 wrapper */
.dropdown-parent3 {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* Dropdown3 content */
.dropdown3 {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0%;
    right: 100%;
    min-width: 220px;
    background-color: #fff;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.5s ease;

}

/* Show dropdown3 on hover */
.dropdown-parent3:hover .dropdown3 {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Dropdown3 link styling */
.dropdown3 a {
    padding: 15px 25px;
    text-decoration: none;
    color: black;
    white-space: nowrap;
    transition: all 0.3s;
}

.dropdown3 a:hover {
    background-color: #f2f2f2;
    color: #E13833;
}

/*  */
.dropdown-link {
    position: relative;
    padding-left: 1.5rem;
    /* enough space for line + gap */
    transition: all 0.3s ease;
}

.dropdown-link::before {
    content: "";
    position: absolute;
    left: 0.5rem;
    /* this sets the space from the left edge */
    top: 50%;
    width: 0;
    height: 2px;
    background-color: #E13833;
    transform: translateY(-50%);
    transition: width 0.3s ease;
}

.dropdown-link:hover {
    padding-left: 2rem;
}

.dropdown-link:hover::before {
    width: 14px;
}

#smallHeaderContent {
    padding: 8px 16px;
}

#hamburgerIcon {
    user-select: none;
    border-radius: 10px;
    font-size: 52px;
    padding: 25px;
    transition: background-color 0.1s;
}

#hamburgerIcon:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

#side-menu {
    transition: transform 0.15s ease-in-out;
}

.side-menu-list-items {
    color: black;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

#side-menu-services,
#side-menu-studyVisa,
#side-menu-country,
#side-menu-country-canada,
#side-menu-country-australia,
#side-menu-country-germany,
#side-menu-country-canada-pnp {
    overflow: hidden;
    max-height: 42px;
    transition: max-height 0.5s ease-in-out;
}

.side-menu-first-list i,
.side-menu-second-list i,
#side-menu-third-list i {
    transition: transform 0.3s;
}

/* Main */

.contentContainer {
    margin-top: 95px;
}

.contentLinks {
    color: #E13833;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: all linear 0.1s;
}

.contentLinks:hover {
    color: #162842;
}

/* Main */
#footerLogoCanvas {
    background-color: white;
    box-shadow: 0.1px 0.1px 1px 0px black;
    border-bottom: 6px solid #E13833;
    width: 270px;
    height: 130px;
    /* transform: translateY(30px); */
    cursor: pointer;
}

#footerLogoCanvas a,
#footerLogoCanvas img {
    width: 100%;
    height: 100%;
}

#footerAddressLink,
#footerNumberLink {
    color: white;
    text-decoration: none;
    transition: color 0.2s;
}

#footerAddressLink:hover,
#footerNumberLink:hover {
    color: #162842;
    cursor: pointer;
}

.footerIcons {
    border-radius: 50%;
    border: 1px solid white;
    background-color: #E13833;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    width: 50px;
    height: 50px;
    transition: all 0.2s;
}

.footerIcons:hover {
    border: none;
    background-color: #00112B;
    transform: translateY(-3px);
    cursor: pointer;
}

#footerButton {
    border-radius: 15px;
    border: none;
    background-color: #E13833;
    color: white;
    font-size: 20px;
    padding: 24px 48px;
    transition: all 0.2s;
}

#footerButton:hover {
    background-color: #162842;
}

.footer-links {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links:hover {
    color: #E13833;
    cursor: pointer;
}


#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #E13833;
    color: white;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.75;
    }

    100% {
        opacity: 1;
    }
}

#whatsappIcon {
    display: none;
    position: fixed;
    bottom: 40px;
    /* Adjust so it doesn't overlap scroll-to-top button */
    right: 40px;
    z-index: 100;
    background-color: #25d366;
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: blink 1.5s infinite;
    transition: transform 0.2s;
}

#whatsappIcon img {
    width: 28px;
    height: 28px;
}

/* Home Page */

.carousel-indicators-custom .indicator {
    background-color: #E13833;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-indicators-custom .indicator.active {
    background-color: #00112B;
}

#section1CallButton {
    position: absolute;
    top: 125px;
    left: -50px;
    width: max-content;
    border-radius: 15px;
    background-color: #E13833;
    color: white;
    text-decoration: none;
    transition: background-color 0.2s;
}

#section1CallButton:hover {
    background-color: #00112B;
    cursor: pointer;
}

#section1Card {
    border-radius: 15px;
    position: absolute;
    bottom: -50px;
    left: -30px;
    width: 45%;
    background-color: white;
}

#section1CardPlaneIcon {
    position: absolute;
    top: -20px;
    right: -20px;
    background-color: #00112B;
    color: white;
}

#section1TextContainer {
    position: absolute;
    width: 100%;
    left: 0;
    transform: translateY(-55px);
}

#section1GetStartedBtn {
    border-radius: 30px;
    background-color: #E13833;
    color: white;
    padding: 12px 40px;
    transition: background-color 0.2s;
}

#section1GetStartedBtn:hover {
    background-color: #00112B;
}

.section2CarouselImages i {
    transition: transform 0.2s;
}

.section2CarouselImages:hover i {
    transform: rotateZ(-45deg);
}

.carousel-dot {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.carousel-dot.active {
    background-color: #E13833;
    transform: scale(1.3);
    animation: dotPulse 0.3s ease;
}

@keyframes dotPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.4);
        opacity: 1;
    }

    100% {
        transform: scale(1.3);
        opacity: 1;
    }
}

.section3Lgitems {
    background-color: #001B42;
    color: white;
    transition: all 0.2s;
}

.section3Lgitems:hover {
    background-color: #E13833;
    cursor: pointer;
}

.section3Lgitems h2 {
    transform: rotateZ(-90deg);
}

.section3Smitems {
    background-color: white;
    color: #00112B;
    transition: all 0.2s;
}

.section3Smitems:hover {
    background-color: #E13833;
}

.section4DivIcons {
    color: #E13833;
    font-size: 56px;
}

.section4DivBtn {
    border: none;
    background-color: #E13833;
    border-radius: 30px;
    color: white;
    transition: background-color 0.2s;
}

.section4DivBtn:hover {
    background-color: #00112B;
    cursor: pointer;
}

.section4Images {
    transition: transform 0.3s;
}

.section4Images:hover {
    transform: scale(1.1) rotateZ(5deg);
    cursor: pointer;
}

#section5 {
    background-image: url(/assets/Images/Home\ City\ Background.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#section6LeftDiv {
    background-image: url(/assets/Images/Home\ Map\ Background\ 1.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#section10LeftDiv {
    background-image: url(/assets/Images/Home\ Map\ Background\ 2.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

@keyframes sweepReveal {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes blinking {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

#gif-animate {
    animation: blinking 0.5s ease-in-out infinite;
}

.reveal-left {
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 1s ease, transform 1s ease;
}

.reveal-left::before {
    content: "";
    position: absolute;
    inset: 0;
    background: white;
    z-index: 1;
    transform: translateX(-100%);
    animation: sweepReveal 2s ease forwards;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

@keyframes growWidth {
    from {
        width: 0;
        opacity: 0.5;
    }

    to {
        width: 100%;
        opacity: 1;
    }
}

.animate-fade-in {
    overflow: hidden;
    animation: growWidth 1s ease forwards;
}


/* Home Page */

/* Blog Page */

.blogContainerImages {
    width: 180%;
}

.blogContainerViewButton {
    color: rgb(32, 32, 32);
    transition: all 0.2s;
}

.blogContainerViewButton:hover {
    color: #E13833;
}

/* Blog Page */

/* Success Stories */

#success-stories-wrapper {
    width: 100%;
    /* or a fixed width like 1200px */
    overflow: hidden;
}

#success-stories-container {
    transition: transform 0.5s ease-in-out;
}

.transition {
    display: flex;
}

/* Success Stories */


@media (max-width: 1024px) {

    .contentContainer {
        margin-top: 185px;
    }

    #footerLogoCanvas {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    #hamburgerIcon {
        font-size: 40px;
        padding: 10px;
    }

    #scrollToTopBtn {
        bottom: 20px;
        right: 20px;
    }

    #whatsappIcon {
        bottom: 20px;
        right: 20px;
    }

    .contentContainer {
        margin-top: 120px;
    }

    .blogContainerImages {
        width: 100%;
    }

    #section1CallButton {
        position: relative;
        top: 0;
        left: 0;
        width: max-content;
        border-radius: 15px;
    }

    #section1Card {
        position: absolute;
        bottom: -5px;
        left: -1px;
        width: 35%;
    }

}

@media (max-width: 480px) {
    #hamburgerIcon {
        font-size: 20px;
        padding: 10px;
    }

    #section1Card {
        position: absolute;
        bottom: -40px;
        left: -1px;
        width: 60%;
    }

    .contentContainer {
        margin-top: 80px;
    }

    .contentHeadings {
        font-size: 22px;
    }

}