@import './resposive.css';

:root {
    --primary-colors: #B22323;
    --white: #fff;
    --black: #333;
}

@font-face {
    font-family: 'Poppins';
    src: url("https://fonts.googleapis.com/css2?family=Alegreya:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
}

body {
    font-family: "Poppins";
    font-size: 16px;
    line-height: 1.42857143;
    color: var(--black);
    background: var(--white);
}

a {
    color: var(--black);
    text-decoration: none;
}

a:hover {
    color: var(--black);
    text-decoration: none;
}

p {
    line-height: 30px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins";
}

.header-section {
    border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    /* box-shadow: 0 4px 6px #bd1b1b !important; */
}

.section-padding {
    padding: 5% 0 !important;
}

.hero-section {
    left: 8%;
    top: 27%;
    text-align: left;
}

.hero-section h2 {
    line-height: 165% !important;
}

.common-color {
    color: var(--primary-colors);
}

.common-btn {
    background-color: var(--primary-colors) !important;
    color: var(--white) !important;
}

.image-wrapper {
    position: relative;
    overflow: hidden;
}

.image-wrapper img {
    display: block;
    width: 100% !important;
    height: 230px;
    transition: transform 0.4s ease-in-out;
}


.image-wrapper:hover img {
    transform: scale(1.1);
}

.card-img-top{
    width: 100px;
}

.image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: background 0.4s ease-in-out;
    z-index: 1;
}

.d-none {
  display: block !important;
}


.image-wrapper:hover::after {
    background: rgba(0, 0, 0, 0.4);
}


.owl-carousel .item {
    position: relative;
    min-height: 250px;
}

.owl-carousel .item img {
    transition: transform 0.3s ease;
}

.owl-carousel .item:hover img {
    transform: scale(1.05);
}

.footer-text {
    color: #ffffff !important;
}

.enroll-img {
    height: 50% !important;
}

.banner-text {
    left: 8%;
    top: 60%;
    text-align: left;
}

.faq {
    left: 8%;
    top: 40% !important;
    text-align: left;
}

.makeup-section ul li {
    margin-bottom: 8px;
}

  .developer-link {
        color: #FFFFFF !important;
        /*text-decoration: underline;*/
        transition: color 0.3s ease;
    }
    .developer-link:hover {
        color: #B12222 !important; 
    }
    
.makeup-section p {
    line-height: 30px;
}

.makeup-btn {
    background-color: #F7E9E9;
    color: #B22323;
    border: 0px;
    border-radius: 5px;
}

.staff-card {
    position: relative;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transition: transform 0.3s ease;
}

.staff-card:hover {
    transform: translateY(-5px);
}


.staff-img {
    border-radius: 15px;
    height: auto;
}

.staff-info {
    background-color: rgba(255, 255, 255, 0.9);
    margin-top: -40px;
    padding: 10px 8px;
    border-radius: 15px;
    position: absolute;
    top: 97%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    width: 84%;
}

.staff-name {
    font-weight: 700;
    margin-bottom: 0;
}

.staff-role {
    margin: 0;
    font-size: 0.85rem;
    color: #777;
}

.about-section p {
    line-height: 30px;
}


.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure the image covers the container */
}

.gallery-item .overlay-text {
    position: absolute;
    bottom: 0;
    color: #fff;
    width: 100%;
    text-align: center;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.4);
    /* Semi-transparent black background for readability */
    opacity: 0;
    /* Initially hidden */
    transition: opacity 0.4s ease;
    /* Smooth transition for opacity */
    z-index: 2;
    /* Make sure the text is above the blur */
}

.gallery-item:hover .overlay-text {
    opacity: 1;
    /* Show text on hover */
}

/* Pseudo-element for the blur effect */
.gallery-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    /* Inherit the background of the image */
    filter: blur(0);
    /* Start with no blur */
    transition: filter 0.4s ease;
    /* Smooth transition for the blur effect */
    z-index: 1;
    /* Keep the blur behind the text */
}

/* Apply the blur effect only to the area behind the text on hover */
.gallery-item:hover::after {
    filter: blur(5px);
    /* Apply the blur effect when hovering */
}