.header1,
.navbar {
    background: #0e2255;
}

.header-top,
.modern-nav {
    background: linear-gradient(to right, #0e2255, #1a3a7a);
    /* padding: 0.75rem 0; */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact {
    color: #fff;
    font-size: 20px;
}

.contact a {
    color: #fff;
    margin-right: 30px;
    text-decoration: none;
}

.contact-height a {
    font-size: 26px;
}

.contact-height i {
    font-size: 22px;
}

.modern-nav__brand {
    margin-right: 15px;
}

.modern-nav__brand img {
    height: 60px;
    transition: transform 0.3s;
}

.modern-nav__brand img:hover {
    transform: scale(1.05);
}

.modern-nav__menu {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-right: 15px;
}

.modern-nav__menu > li {
    text-align: center;
    position: relative;
}

.modern-nav__link {
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.25rem 0.5rem;
    transition: color 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    position: relative;
}

.modern-nav__link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #6195ed;
    transform: scaleX(0);
    transition: transform 0.3s;
}

.modern-nav__link:hover::after,
.modern-nav__link.active::after {
    transform: scaleX(1);
}

.modern-nav__link:hover,
.modern-nav__link.active {
    color: #6195ed;
}

.modern-nav__dropdown:hover > .modern-nav__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.modern-nav__icon {
    margin-left: 0.25rem;
    font-size: 0.8em;
}

.modern-nav__submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a3a7a;
    border: 1px solid #6195ed;
    border-radius: 4px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modern-nav__submenu li {
    margin: 0;
}

.modern-nav__submenu .modern-nav__link {
    padding: 0.75rem 1.5rem;
    display: block;
}

.modern-nav__submenu .modern-nav__link:hover {
    background: rgba(97, 149, 237, 0.2);
}

.modern-nav__toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.modern-nav__toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

/* .modern-nav__mobile {
    display: none;
    background: #0e2255;
}

.modern-nav__mobile ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-nav__mobile .modern-nav__link {
    display: block;
    padding: 0.75rem 1.5rem;
} */

.modern-nav--open .modern-nav__toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.modern-nav--open .modern-nav__toggle span:nth-child(2) {
    opacity: 0;
}

.modern-nav--open .modern-nav__toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* .modern-nav--open .modern-nav__mobile {
    display: block;
} */

.panel-body {
    color: #fff;
}

.panel-body .fa {
    color: #fff;
}

.nav-link {
    color: #fff;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: #6195ed;
}

.nav-item {
    border-left: #6195ed 1px solid;
}

.navbar-toggler {
    color: #fff;
    border: 1px solid #6195ed;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.dropdown-menu {
    background-color: #0e2255;
    border: #6195ed 1px solid;
}

.dropdown-menu a {
    color: #fff;
}

.dropdown-menu a:hover {
    background-color: #6195ed;
}

.social-link i {
    color: #6195ed;
    transition: color 0.3s;
}

.social-link:hover i {
    color: #ffffff;
}

.btn-register {
    width: 195px;
    background: linear-gradient(to left, #00bfff, #004e92);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-align: center;
    color: white;
    animation: pulse-glow 1.8s infinite ease-in-out;
    position: relative;
    overflow: hidden;
    transform-origin: center;
    transition: background 0.3s ease;
}

/* Button hover (optional for instant feedback) */
.btn-register:hover {
    background: #4a7cd1;
    color: #fff;
}

/* Strong pulse + blue glow */
@keyframes pulse-glow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0px #00bfff;
        filter: brightness(1);
    }
    50% {
        transform: scale(1.07);
        box-shadow: 0 0 25px #00bfff, 0 0 35px #004e92;
        filter: brightness(1.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0px #00bfff;
        filter: brightness(1);
    }
}

/* Shine streak effect */
.btn-register::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0), rgba(255,255,255,0.7), rgba(255,255,255,0));
    transform: skewX(-20deg);
    animation: shine-blast 2.5s infinite;
}

@keyframes shine-blast {
    0% {
        left: -75%;
    }
    60% {
        left: 130%;
    }
    100% {
        left: 130%;
    }
}


.circle-fb {
    background: #1877f2;
    padding: 8px 10px 8px 10px;
    border-radius: 50%;
}

.circle-twitter {
    background: #1da1f2;
    padding: 8px;
    border-radius: 50%;
}

.circle-yt {
    background: #ff0000;
    padding: 8px;
    border-radius: 50%;
}

.whatsapp-bg {
    background: #075e54;
    padding: 3px;
    border-radius: 25%;
}

.section-title {
    color: #0e2255;
}

.how-it-works {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

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

.text-primary {
    color: #6195ed !important;
}

.btn-primary {
    background: #6195ed;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #4a7cd1;
    transform: scale(1.05);
}

.hex-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

.hex-item {
    width: 200px;
    height: 230px;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* transition:
        transform 0.3s ease,
        background 0.3s ease; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hex-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(to bottom, #6195ed, #1a3a7a);
    color: #ffffff;
}

.hex-item:hover h5,
.hex-item:hover p,
.hex-item:hover i {
    color: #ffffff !important;
}

.hex-content {
    text-align: center;
    padding: 1rem;
}

.hex-content h5 {
    font-size: 1.1rem;
    color: #0e2255;
    margin-bottom: 0.5rem;
}

.hex-content p {
    font-size: 0.85rem;
    color: #666;
}

.quote-banner {
    background: linear-gradient(to right, #6195ed, #1a3a7a);
}

.blog-menu h4 {
    background-color: #ffa500;
    color: #000;
    padding: 10px;
}

.blog-menu h4 a {
    color: #000;
}

.blog-menu img {
    height: 200px;
    width: 100%;
}

.blog-section {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.blog-header {
    font-family: "Poppins", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0e2255;
    margin-bottom: 2rem;
}

.blog-card {
    background: #ffffff;
    border-radius: 10px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-height: 500px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog-card img {
    border-radius: 10px 10px 0 0;
    height: 277px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.category-tag {
    display: inline-block;
    font-size: 0.8rem;
    color: #6195ed;
    background: #e6f0ff;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.blog-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.blog-content h4 a {
    color: #0e2255;
    text-decoration: none;
}

.blog-content h4 a:hover {
    color: #6195ed;
}

.blog-excerpt {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.btn-outline-primary {
    border-color: #6195ed;
    color: #6195ed;
}

.btn-outline-primary:hover {
    background: #6195ed;
    color: #ffffff;
}

.footer {
    background-color: #0e2255;
}

.footer .fa {
    color: #6195ed;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s;
}
.footer .fa:hover {
    color: #ffffff;
}
.footer-menu ul li {
    margin-bottom: 0.5rem;
}
.contact-item {
    display: flex;
    align-items: center;
    /* margin-bottom: 1rem; */
}
.contact-item i {
    margin-right: 0.5rem;
}
.footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}
.footer a:hover {
    color: #6195ed;
}
.footer .bg {
    border-top: 1px solid #1a3a7a;
}
.footer-menu p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}
.contact-item a {
    font-size: 1.25rem;
}

.bg {
    background-color: #0e2255;
    color: #fff;
}

.carousel-caption {
    top: 50%;
    transform: translateY(-50%);
}

.carousel-caption h2 {
    line-height: 2.5rem;
    font-size: 2.5rem;
    -webkit-text-stroke: 1px #0e2255;
    color: white;
    text-shadow:
        3px 3px 0 #0e2255,
        -1px -1px 0 #0e2255,
        1px -1px 0 #0e2255,
        -1px 1px 0 #0e2255,
        1px 1px 0 #0e2255;
}

#card-btn-text {
    font-size: 2rem;
}

#carouselExampleControls .carousel-control-next,
#carouselExampleControls .carousel-control-prev {
    width: 5%;
    color: #ffffff;
}

.carousel-control-prev-icon {
    display: inline-block;
    width: 60px;
    height: 60px;
    background-size: contain;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
}

.carousel-control-next-icon {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E")
        no-repeat center;
    background-size: contain;
}

.custom-next-icon {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E")
        no-repeat center;
    background-size: contain;
}

.custom-prev-icon {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E")
        no-repeat center;
    background-size: contain;
}

#slider3 {
    margin-top: 1rem;
}

.section-bg {
    /* background: linear-gradient(135deg, #4a7cd1, #ffffff); */
    padding: 3rem 0;
}

.card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-header {
    background: #4a7cd1 !important;
    border-radius: 1rem 1rem 0 0;
    border-bottom: none;
    padding: 1.5rem;
}

.btn-success {
    background: #5384d9;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
}

.btn-success:hover {
    background: #426cb5;
    transform: scale(1.05);
}

.carousel-inner .card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
}

.carousel-inner .card-img-top {
    height: 250px;
    object-fit: cover;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
    background-size: 50%;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
}

.text-success {
    color: #4a7cd1 !important;
}

h1,
h2 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
}

p.lead {
    font-size: 1.1rem;
    line-height: 1.6;
}

.btn-register-mobile {
    display: none;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .btn-register-mobile {
        width: 190px;
        font-size: 16px !important;
    }
    /* Header: Stack contact info and social icons vertically */
    .header-top .d-flex {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }

    .header-top .social-list {
        /* margin-top: 1rem; */
        flex-direction: row; /* Keep social icons horizontal but with spacing */
    }

    /* Navigation: Hide desktop menu, show mobile menu */
    .modern-nav__menu {
        display: none;
    }

    .modern-nav__mobile {
        display: block;
    }

    /* Main Carousel: Adjust captions and buttons */
    .carousel-caption h2 {
        font-size: 1.2rem;
        line-height: 1.4;
    }

    .carousel-caption .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    .nav-item {
        border-left: 0px;
    }
    .carousel-caption {
        top: 30%;
        transform: translateY(-50%);
    }
    .carousel-caption h2 {
        font-size: 1.5rem;
        line-height: 1.5rem;
        -webkit-text-stroke: 1px #0e2255;
        color: white;
        text-shadow:
            3px 3px 0 #0e2255,
            -1px -1px 0 #0e2255,
            1px -1px 0 #0e2255,
            -1px 1px 0 #0e2255,
            1px 1px 0 #0e2255;
    }
    #card-btn-text {
        font-size: 1rem;
    }
    #slider3 {
        margin-top: 2.5rem;
    }
}

@media (max-width: 1280px) {
    .btn-register {
        display: none !important;
    }
    .carousel-item img {
        height: 370px;
    }
    /* Simple container without effects */
.register-btn-section {
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    border-radius: 16px;
    margin: 40px auto;
}

/* Button with strong blue glow, bounce, and shine */
.btn-register-mobile {
    display: block !important;
    background: linear-gradient(to left, #00bfff, #004e92);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 22px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    transform-origin: center;
    animation: pulse-glow 1.8s infinite ease-in-out;
}

/* Strong pulse + blue glow */
@keyframes pulse-glow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0px #00bfff;
        filter: brightness(1);
    }
    50% {
        transform: scale(1.07);
        box-shadow: 0 0 25px #00bfff, 0 0 35px #004e92;
        filter: brightness(1.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0px #00bfff;
        filter: brightness(1);
    }
}

/* Shine streak */
.btn-register-mobile::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0), rgba(255,255,255,0.7), rgba(255,255,255,0));
    transform: skewX(-20deg);
    animation: shine-blast 2.5s infinite;
}

@keyframes shine-blast {
    0% {
        left: -75%;
    }
    60% {
        left: 130%;
    }
    100% {
        left: 130%;
    }
}




}

@media (max-width: 768px) {
    .contact-height a {
        font-size: 14px;
    }

    .contact-height i {
        font-size: 12px;
    }
    .header-top .social-list {
        flex-direction: column;
        align-items: flex-start;
    }
    .header-top {
        padding: 0 !important;
    }
    .carousel-item img {
        height: 125px;
    }
    .mobile-row {
        flex-direction: row !important;
    }
    .mobile-none {
        display: none !important;
    }
    .btn-register {
        display: none;
    }
    .modern-nav__brand {
        align-self: center;
    }

    .header-top .social-item {
        margin-bottom: 0.5rem;
        margin-top: 0;
    }

    .section-bg .row {
        flex-direction: column;
    }

    .section-bg .card {
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .carousel-inner .card {
        width: 100% !important;
    }

    .carousel-caption {
        top: 20%;
        transform: translateY(-20%);
    }

    .carousel-caption h2 {
        font-size: 1rem;
        line-height: 1.2;
    }

    .carousel-caption .btn {
        font-size: 0.9rem;
    }
    .header-top .d-flex {
        flex-direction: column;
        align-items: center;
        padding: 0.12rem;
    }
    .header-contact {
        order: 2;
        display: flex !important;
        flex-direction: row !important;
    }
    .header-social {
        order: 3;
    }
    .center-div {
        justify-content: center;
        margin-left: 35px;
    }
    .modern-nav {
        padding: 0;
    }
    .modern-nav__brand img {
        height: 35px;
    }
    .nav-item {
        border-left: 0;
    }
    #card-btn-text {
        font-size: 1rem;
        display: inline-block;
    }
    .carousel-caption {
        top: 30%;
        transform: translateY(-50%);
    }
    .carousel-caption h2 {
        line-height: 1rem;
        font-size: 0.8rem;
        -webkit-text-stroke: 1px #fff;
        color: white;
        text-shadow:
            0px 0px 0 #fff,
            0px 0px 0 #fff,
            0px 0px 0 #fff,
            0px 0px 0 #fff,
            0px 0px 0 #fff;
    }
    #slider3 {
        margin-top: 1rem;
    }
    .carousel-inner .card {
        width: 90% !important;
    }
    h1 {
        font-size: 1.5rem;
    }
    p.lead {
        font-size: 1rem;
    }
    .hex-item {
        width: 180px;
        height: 210px;
    }
    .hex-content h5 {
        font-size: 1rem;
    }
    .hex-content p {
        font-size: 0.8rem;
    }
    .h1 {
        font-size: 1.5rem;
    }
    .lead {
        font-size: 1rem;
    }
}

/* Mobile Menu Styling */
.modern-nav__mobile {
    background: #0e2255;
    padding: 1rem;
}

.modern-nav__mobile ul {
    list-style: none;
    padding: 0;
}

.modern-nav__mobile .modern-nav__link {
    color: #fff;
    padding: 0.75rem 1rem;
    display: block;
    text-decoration: none;
}

.modern-nav__mobile .modern-nav__link:hover {
    background: rgba(97, 149, 237, 0.2); /* Hover effect with #6195ed */
}

/* Ensure hamburger toggle is visible and functional */
.modern-nav__toggle {
    border: none;
    outline: none;
}

.modern-nav--open .modern-nav__mobile {
    display: block;
}
