/* start custome classes  */
.d-blue-color {
    color: #232B56;
}
.bg-d-blue-color {
    background-color: #232B56;
}

/* start Transparent header */
.navbar {
    background: transparent;
}
.hover-opacity:hover {
    opacity: 0.8;
    transition: opacity 0.3s;
}
/* start Hero Section with background image */
.hero {
    background-image: url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 50px;
}

/* Black overlay with transparency */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Ensures content is above the overlay */
.hero .container {
    position: relative;
    z-index: 2;
    color: white;
}
/* end Hero Section with background image */

/* start brithish insttutes  */
.custom-img {
    width: 150px;
    height: 150px; 
    object-fit: cover;
}
.overlay-letter {
    position: absolute;
    top: 25%;
    left: 60%;
    transform: translate(-50%, -50%) rotate(-30deg);
    font-size: 10rem; 
    color: rgba(255, 255, 255, 1);
    pointer-events: none;
}
/* end brithish insttute  */

/* start cta section  */
.cta {
    background-image: url('../img/cta.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 50px;
}
.cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}
.cta .container {
    position: relative;
    z-index: 2;
    color: white;
}
/* end cta section  */

/*Footer */
.partner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.partner p {
    font-size: 0.85rem;
    line-height: 1;
}

.partner .position-relative {
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .partner .position-relative {
        height: auto;
    }

    .partner p {
        font-size: 0.75rem;
    }
}






/* Scroll to Top Button Styling */
.scroll-to-top-btn {
    position: fixed;
    bottom: 60px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #232B56;
    color: white;
    border: none;
    font-size: 24px;
    display: none; 
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.scroll-to-top-btn:hover {
    background-color: #1a1f44; 
    color: #f0f0f0; 
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .scroll-to-top-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
        bottom: 80px;
        right: 15px;
    }
}

@media (max-width: 576px) {
    .scroll-to-top-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
        bottom: 10px;
        right: 10px;
    }
}
