* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    padding-top: 80px;
}


/* Navbar styling start here */
.navbar {
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.1);
}
/* White navbar toggler icon (three white lines) */
.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.navbar-toggler {
    border: 2px solid purple;
    /* border: 2px solid whitesmoke; */

}
.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
    border: 1px solid white;
}


/* .navbar-brand span.news {
    color: white;
    font-weight: bold;
    font-size: 28px;
    letter-spacing: 2px;
} */

/* .navbar-brand span.pops {
    color: white;
    font-weight: bold;
    font-size: 28px;
    letter-spacing: 2px;
} */

.navbar-nav .nav-link {
    color: white !important;
    position: relative;
    font-weight: 500;
    margin: 0 12px;
    transition: color 0.3s ease;
}

/* Hover underline animation */
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: white;
    transition: width 0.4s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Active underline and bold */
.navbar-nav .nav-link.active {
    font-weight: 700;
}

.navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-brand .news {
    background-color: purple;
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    margin-right: 8px;
    font-weight: bold;
    font-size: 22px;
    display: inline-block;
    border: 2px soild white;
}

.navbar-brand .pops {
    background-color: white;
    color: purple;
    padding: 8px 16px;
    border-radius: 5px;
    margin-right: 8px;
    font-weight: bold;
    font-size: 22px;
    display: inline-block;
    border: 2px soild white;
}

/* Optional: Slight spacing between both boxes */
/* .navbar-brand .pops {
    background-color: white;
    color: purple;
} */

@media (max-width: 768px) {

    .navbar-brand .news,
    .navbar-brand .pops {
        padding: 6px 12px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .nav-link {
        position: relative;
        display: inline-block;
    }

    .nav-link::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0%;
        height: 2px;
        background-color: #fff;
        /* underline color */
        transition: width 0.3s ease-in-out;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 100%;
    }
}

/* Navbar styling end here */


/* Hero Section start here */
.hero-section {
    position: relative;
    overflow: hidden;
}

.carousel-item {
    transition: opacity 1s ease-in-out !important;
    /* height: 80vh */
}

.carousel-inner img {
    width: 100%;
    height: 90vh;
    object-fit: cover;
    filter: brightness(0.85);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    z-index: 1;
    pointer-events: none;
}

.carousel-caption {
    position: absolute;
    z-index: 2;
    bottom: 10%;
    left: 8%;
    right: auto;
    text-align: left;
    max-width: 90%;
}

.caption-box {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 25px 35px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    max-width: 90%;
    transition: all 0.3s ease;
}

.caption-box h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.caption-box p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #f1f1f1;
}

.custom-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    background-color: rgba(247, 212, 212, 0.144);
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 70% 70%;
    /* filter: invert(1); */
}

.custom-nav:hover {
    /* background-color: rgba(255, 255, 255, 0.8); */
    background-color: purple;
    color: white;
    transition: 0.3s ease;
}

@media (max-width: 768px) {
    .carousel-inner img {
        height: 70vh;
        object-position: center center;
    }

    .carousel-caption {
        bottom: 6%;
        left: 5%;
        right: 5%;
    }

    .caption-box {
        padding: 15px 20px;
        max-width: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    }

    .caption-box h1 {
        font-size: 1.2rem;
        color: #adb5bd !important; 
        font-weight: 600;
    }

     .caption-box p {
        font-size: 0.8rem;
        line-height: 1.4;
        color: #6c757d !important;
    }

    .custom-nav {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px),
(max-width: 480px) {
    .caption-box h1 {
        font-size: 1.1rem;
    }

    .caption-box p {
        font-size: 0.8rem;
    }
}

/* Carousel Indicators Styling */
.carousel-indicators.custom-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.carousel-indicators.custom-indicators button {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: white;
    opacity: 0.6;
    border: none;
    transition: all 0.3s ease;
}

.carousel-indicators.custom-indicators button.active {
    background-color: purple; 
    opacity: 1;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .carousel-caption .caption-box {
        font-size: 14px;
        padding: 10px;
    }

    .carousel-caption h1 {
        font-size: 22px;
    }

    .carousel-caption p {
        font-size: 14px;
    }

    .carousel-indicators.custom-indicators {
        bottom: 20px;
        gap: 8px;
    }

    .carousel-indicators.custom-indicators button {
        width: 10px;
        height: 10px;
    }
}
/* Hero Section end here */


/* Content Section start here */
.custom-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.custom-card .card-img-top {
    height: 30vh;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

/* .custom-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #f8f9fa;
    border-radius: 10px;
} */

.photo span {
    color: brown;
}

.under:hover {
    text-decoration: underline;
}
/* Responsive image adjustment */
/* @media (max-width: 576px) {
    .custom-card img {
        height: 160px;
    }
}

.photo span {
    color: brown;
}

.under:hover {
    text-decoration: underline;
} */

.fbtn {
    background-color: brown !important;
    color: white !important;
    font-weight: 500;
}

.fbtn:hover {
    background-color: black !important;
    color: white !important;
}

/* .cele {
    background: rgba(146, 5, 5, 0.815);
    color: white;
    font-weight: 700;
    border: 3px solid black;
}

.breties {
    background: white;
    color: black;
    font-weight: 700;
    border: 3px solid black;
}

.fas {
    background: rgba(146, 5, 5, 0.815);
    color: white;
    font-weight: 700;
    border: 3px solid black;
}

.shion {
    background: white;
    color: black;
    font-weight: 700;
    border: 3px solid black;
}

.tra {
    background: rgba(146, 5, 5, 0.815);
    color: white;
    font-weight: 700;
    border: 3px solid black;
}

.vel {
    background: white;
    color: black;
    font-weight: 700;
    border: 3px solid black;
}

.tech {
    background: rgba(146, 5, 5, 0.815);
    color: white;
    font-weight: 700;
    border: 3px solid black;
}

.nology {
    background: white;
    color: black;
    font-weight: 700;
    border: 3px solid black;
} */
 /* Category label styles */
.cele, .breties, .fas, .shion, .tra, .vel, .tech, .nology {
    font-weight: 700;
    border: 3px solid black;
    padding: 5px 10px;
    display: inline-block;
    border-radius: 5px;
}

.cele, .fas, .tra, .tech {
    background: rgba(146, 5, 5, 0.815);
    color: white;
}

.breties, .shion, .vel, .nology {
    background: white;
    color: black;
}


/* #loadBtn {
    background-color: brown;
    color: white;
    font-size: 20px;
    font-weight: 500;
    padding: 10px 25px;
}
#backBtn {
    background-color: brown;
    color: white;
    font-size: 20px;
    font-weight: 500;
    padding: 10px 25px;
} */

/* Load and Back Button styles */
#loadBtn, #backBtn {
    background-color: brown;
    color: white;
    font-size: 20px;
    font-weight: 500;
    padding: 10px 25px;
    border-radius: 5px;
    border: none;
    transition: all 0.3s ease;
}
#loadBtn:hover, #backBtn:hover {
    background-color: white;
    color: brown;
    border: 1px solid brown;
}

/* #loadBtn:hover {
    background-color: white;
    color: brown;
    border: 1px solid brown;
}

#backBtn:hover {
    background-color: white;
    color: brown;
    border: 1px solid brown;
} */

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

.fade-out {
    animation: fadeOut 0.5s ease-out;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(20px);
    }
}
/* Content Section end here */


/* socialicon start here */
.social-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.icon {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon a {
    font-size: 1.5rem;
    color: white;
    background-color: #333;
    padding: 14px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.icon:hover a {
    transform: scale(1.2);
}

/* Tooltip */
.tooltip {
    position: absolute;
    bottom: 120%;
    background-color: #000;
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
}

/* Tooltip show on hover */
.icon:hover .tooltip {
    opacity: 1;
    transform: translateY(0);
}

/* Icon-specific backgrounds & tooltip colors */
.linkedin a {
    background-color: #0077b5;
}

.linkedin .tooltip {
    background-color: #0077b5;
}

.linkedin .tooltip::after {
    border-top-color: #0077b5;
}

.facebook a {
    background-color: #3b5998;
}

.facebook .tooltip {
    background-color: #3b5998;
}

.facebook .tooltip::after {
    border-top-color: #3b5998;
}

/* socialicon end here */

.zoom {
    width: 100%;
    overflow: hidden;
}

.zoom img {
    width: 100%;
    overflow: hidden;
    transition: 2s;
}

.zoom img:hover {
    transform: scale(1.1);
}

.form-control:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: gray !important;
}

.form-check-input {
    outline: none !important;
    box-shadow: none !important;
    border-color: gray !important;
}

.form-check-input:checked {
    background-color: brown;
    border-color: brown;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(165, 42, 42, 0.25);
    border-color: brown;
}


.fashion-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Apply brown color directly to span and i */
.fashion-link span,
.fashion-link i {
    color: brown !important;
}

/* Underline effect */
.fashion-link span {
    position: relative;
    display: inline-block;
}

.fashion-link span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: brown !important;
    transition: transform 0.3s ease;
    transform: scaleX(1);
    transform-origin: left;
}

.fashion-link:hover span::after {
    transform: scaleX(1.1);
}

.fashion-link:hover {
    transform: translateY(-2px);
}

.fashion-link i {
    transition: transform 0.3s ease;
}

.fashion-link:hover i {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .footer h5 {
        font-size: 1.1rem;
        text-align: center;
    }
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: brown;
    color: white;
    padding: 12px 15px;
    border-radius: 20%;
    font-size: 18px;
    z-index: 999;
    display: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 2px solid white;
}
