* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

::selection {
    background-color: #ff0000;
    color: white;
}

::-webkit-scrollbar {
    width: 8px;
}

/* Track (background) */
::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

/* Thumb (scroll box) */
::-webkit-scrollbar-thumb {
    background: #ed0000;
    border-radius: 10px;
}

/* Hover effect */
::-webkit-scrollbar-thumb:hover {
    background: #9e2000;
}

body {
    scroll-behavior: smooth;
    padding-top: 80px;
    font-family: 'poppins', sans-serif;
}

.nav-icon,
.navbar .nav-link i {
    transition: all 0.5s ease-in-out;
    scale: 1.1;
    color: red;
}

.nav-item .nav-icon:hover {
    scale: 2.1;
}

.nav-link {
    color: #ffffff !important;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link.active {
    position: relative;
    display: inline-block;
    color: red !important;
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background-color: rgb(255, 255, 255);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease-in-out;
}

.nav-link.active:hover::after {
    transform: scaleX(1);
}

.nav-link:hover {
    color: #f10707 !important;
    scale: 1.1;
}

.navbar-collapse {
    margin-right: 10px;
}

.navbar {
    background: transparent !important;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

.navbar-blur {
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(0.25turn, rgb(252, 252, 251), rgb(255, 0, 0), rgba(56, 2, 155, 0));
    border-image-slice: 1;
    width: 100%;
}

.underline {
    position: relative;
    display: inline-block;
}

.underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background-color: rgb(148, 4, 4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease-in-out;
}

.underline:hover::after {
    transform: scaleX(1);
}

.secondry-btn {
    background-color: #d60a0a;
    color: white;
}

.secondry-btn:hover {
    border: 1px solid #d60a0a;
    color: #d60a0a;
}

@media (max-width:768px) {
    .carousel {
        height: 40vh;
    }

    .carousel-item {
        object-fit: cover;
    }

    .about-sec {
        margin-top: -10vw;
        text-align: center;
    }

    .about-sec1 {
        margin-top: -15vw;
        text-align: end;
    }

    .about-text {
        font-size: 20px;
    }

    .about-text-footer {
        font-size: 1rem;
        margin-top: -1vh;
    }
}

.about-text {
    font-size: 1.25rem;
}

.about-text-footer {
    text-align: center;
    font-weight: 500;
}

/* footer section */
.footer-image p {
    text-wrap: wrap;
    font-size: 18px;
    width: 20vw;
}

footer {
    border-top: 3px solid rgb(255, 65, 65);
}

footer {
    position: relative;
    z-index: 1;
}

.social-links a {
    text-decoration: none;
}

.social-links a,
i:hover {
    color: #dd0016;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

footer .social-links a {
    transition: opacity 0.3s ease;
}

footer .social-links a:hover {
    opacity: 0.7;
}

footer ul li a {
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: #f3051c !important;
}

.footer-image img {
    width: 100px;
    height: 40px;
    object-fit: contain;
}

@media (max-width: 768px) {
    footer .row>div {
        text-align: center;
    }

    footer .social-links {
        justify-content: center;
        margin-bottom: 2rem;
    }

    .footer-image img {
        width: 184px;
        height: 55px;
    }
}

@media (max-width:576px) {
    .footer-image img {
        max-width: 200px;
        height: 55px;
        object-fit: contain;
    }

    .footer-image p {
        width: 50vh;
        font-size: 15px;

    }
}

@media (max-width:768px) {
    .footer-image p {
        width: 40vh;
        font-size: 15px;
        margin-left: 2vh;
    }
}

/* loader */