@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --main-color: #fa56b8;
    --black: #223;
    --white: #fff;
    --light-black: #777;
    --light-white: #fff9;
    --dark-bg: rgba(0, 0, 0, .7);
    --light-bg: #eee;
    --border: .1rem solid var(--black);
    --box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .4);
    --text-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .1);
}

* {
    font-family: 'Poppins','Raleway', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
  	text-transform: none !important;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

html::-webkit-scrollbar {
    width: 1rem;
}

html::-webkit-scrollbar-track {
    background-color: var(--white);
}

html::-webkit-scrollbar-thumb {
    background-color: var(--main-color);
}

section {
    padding: 5rem 10%;
}

h1, h2, h3 {
        font-family: 'Raleway', 'Poppins';
        font-size: 3rem;
        font-weight: 600;
    }

P{
	font-family:'Poppins' !important;
}
    
.heading {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat;
    padding-top: 8rem;
    padding-bottom: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.heading h1 {
    font-size: 6rem;
    color: var(--white);
    text-shadow: var(--text-shadow);
}

.btn {
    display: inline-block;
    background: var(--black);
    margin-top: 1rem;
    color: var(--white);
    font-size: 1.7rem;
    padding: 1rem 3rem;
    cursor: pointer;
    border-radius: 5px;
}

.btn:hover {
    background: var(--main-color);
}

.heading-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 4rem;
    color: var(--black);
}

.header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--white);
    display: flex;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    box-shadow: var(--box-shadow);
    align-items: center;
    justify-content: space-between;
}

.header .logo {
    position: relative;
    display: inline-block;
  
}

.header .logo img {
    position: absolute;
    background: none;
    top: 50%;
    left: 50%;
    width: 80px;  /* Adjust the width as needed */
    height: 80px; /* Adjust the height as needed */
    border-radius: 50%;
    transform: translate(-50%, -50%); /* Center the image */
    object-fit: contain; /* This keeps the image aspect ratio */
    z-index: -1; /* Ensure it doesn't cover other elements */
}

.header .navbar a {
    font-size: 2rem;
    margin-left: 2rem;
    color: var(--black);
}

.header .navbar a {
    color: var(--light-black);
}

.header .navbar a:hover {
    color: var(--main-color);
}

#menu-btn {
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--black);
    display: none;
}

/* home section */
.home {
    padding: 0;
}

.home .slide {
    text-align: center;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover !important;
    background-position: center !important;
    min-height: 50rem;
}

.home .slide .content {
    width: 85rem;
}

.home .slide .content span {
    display: block;
    font-size: 2.2rem;
    color: var(--light-white);
    padding-bottom: 1rem;
}

.home .slide .content h1 {
    font-size: 4vw;
    color: var(--white);
    line-height: 1;
    text-shadow: var(--text-shadow);
}

.home .slide .content h1 .h1-color {
    font-size: 4vw;
    color:#fa56b8;
    line-height: 1;
    text-shadow: var(--text-shadow);
}

.home .swiper-button-next,
.home .swiper-button-prev {
    top: inherit;
    left: inherit;
    bottom: 0;
    right: 0;
    height: 7rem;
    width: 7rem;
    background: var(--white);
    color: var(--black);
}

.home .swiper-button-next:hover,
.home .swiper-button-prev:hover {
    background: var(--main-color);
    color: var(--white);
}

.home .swiper-button-next::after,
.home .swiper-button-prev::after {
    font-size: 2rem;
}

.home .swiper-button-prev {
    right: 7rem;
}

/* Home About */
.home-about {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.home-about .image {
    flex: 1 1 41rem;
    height: 450px;
    border-radius:10px;
    over-flow:hidden;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .4);
}

.home-about .image img {
    width: 100%;
    height: 450px;
    border-radius:10px;
}

.home-about .content {
    flex: 1 1 41rem;
    padding: 3rem;
    background: var(--light-bg);
}

.home-about .content h3 {
    font-size: 3rem;
    color: var(--black);
}

.home-about .content p {
    font-size: 1.5rem;
    padding: 1rem 0;
    line-height: 2;
    color: var(--black);
}

/* Home Work & Events */

.home-work {
    background: var(--light-bg);
}

.home-work .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 2rem;
}

.home-work .box-container .box {
    box-shadow: var(--box-shadow);
    background: var(--white);
    display: flex;
    flex-direction: column;
    height: 450px; /* Set a fixed height */
    overflow: hidden;
}

.home-work .box-container .image {
    height: 60%;
    overflow: hidden;
}

.home-work .box-container .box .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: 0.2s linear;
}

.box-container .box:hover .image img {
    transform: scale(1.1);
}

.home-work .box-container .box .content {
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.home-work .box-container .box .content h3 {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.home-work .box-container .box .content p {
    font-size: 1.5rem;
    color: var(--light-black);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* Limit to 4 lines */
    margin-bottom: auto;
    text-align: justify;
}

.box-container .box .content a {
    color: var(--light-black);
    font-size: 1.5rem;
    align-self: flex-start;
    text-transform: uppercase;
}

.box-container .box .content a:hover {
    color: var(--main-color);
}

.home-work .load-more {
    text-align: center;
    margin-top: 2rem;
}

/* Home Blog */

.home-work.blog {
    padding: 20px;
    background-color: #f9f9f9;
}


/* Home Patners */
.home-partners {
    text-align: center;
    color:#fa56b8;
}

.home-partners .content {
    max-width: 60rem;
    margin: 0 auto;
}

.home-partners .content h3 {
    font-size: 3rem;
    counter-reset: var(--black);
}

.home-partners .content p {
    font-size: 2rem;
    counter-reset: var(--light-black);
    line-height: 2;
}

.home-partners .content h3,
.home-partners .content p {
    text-align: center;
}

/* About Section Css */

.about {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 0;
}

.about .image {
    flex: 1 1 41rem;
}

.about .image img {
    width: 100%;
}

.about .content {
    flex: 1 1 41rem;
}

.about .content h2 {
    font-family: 'Raleway', 'Poppins';
    font-size: 3rem;
    font-weight: 600;
}

.about .content p {
    font-size: 1.5rem;
    color: var(--light-black);
    line-height: 2;
    padding: 1rem 0;
}

/* Events */

.events .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 2rem;
}

.events .box-container .box {
    box-shadow: var(--box-shadow);
    background: var(--white);
    display: flex;
    flex-direction: column;
    height: 450px; /* Set a fixed height */
    overflow: hidden;
}

.events .box-container .box:hover .image img {
    transform: scale(1.1);
}

.events .box-container .box .image {
    height: 60%;
    overflow: hidden;
}

.events .box-container .box .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: .2s linear;
}

.events .box-container .box .content {
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.events .box-container .box .content h3 {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.events .box-container .box .content p {
    font-size: 1.5rem;
    color: var(--light-black);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* Limit to 4 lines */
    margin-bottom: auto;
    text-align: justify;
}

.events .box-container .box .content a {
    color: var(--light-black);
    font-size: 1.5rem;
    margin-top: 1rem;
    align-self: flex-start;
    text-transform: uppercase;
}

.box-container .box .content a:hover {
    color: var(--main-color);
}

.events .load-more {
    text-align: center;
    margin-top: 1rem;
}

/* Back to Top */

#back-to-top {
    display: none;
    /* Hidden by default */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--light-bg);
    color: var(--main-color);
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
    font-size: 18px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

#back-to-top:hover {
    opacity: 1;
}

/* footer */
.footer {
    background: #121a29 !important;
    color: #FAFBFC;
}

.footer .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
}

.footer .box-container .box h3 {
    color: #FAFBFC;
    font-size: 2.5rem;
    padding: 2rem;
}
.footer .box-container .box p {
font-size: 1.2rem;
}

.footer .box-container .box a {
    color: #FAFBFC;
    font-size: 1.5rem;
    padding-bottom: 1.5rem;
    display: block;
}

.footer .box-container .box a:hover {
    color: var(--main-color) !important;
}

.footer .box-container .box a i {
    padding-right: .5rem;
    transition: .2s linear;
}

.footer .box-container .box a:hover i {
    padding-right: 2rem;
    color: var(--main-color) !important;
}

.footer .credit {
    text-align: center;
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: .1rem solid var(--light-white);
    font-size: 2rem;
    color: var(--white);
}

.footer .credit span.developer a {
    color: var(--main-color);
}

.footer .credit span.developer {
    color: var(--main-color);
    font-size: 2rem;
    cursor: pointer;
    text-decoration: none;
}

/* media queries */
@media (max-width:1200px) {
    section {
        padding: 3rem 5%;
    }
}

@media (max-width:991px) {
    html {
        font-size: 55%;
    }

    section {
        padding: 3rem 2rem;
    }

    .home .slide .content h3 {
        font-size: 10vm;
    }

    .header .logo {
        width: 60px; /* Adjust for smaller screens */
        height: auto; /* Adjust for smaller screens */
    }
}

@media (max-width:768px) {
    .heading {
        position: relative;
    }

    .heading h1 {
        position: absolute;
        bottom: 0;
        left: 0;
        margin: 0;
        font-size: 4rem;
    }

    .home-about .image {
        display: none !important;
    }

    #menu-btn {
        display: inline-block;
        transition: .2s linear;
    }

    #menu-btn.fa-times {
        transform: rotate(180deg);
    }

    .header .navbar {
        position: absolute;
        top: 99%;
        left: 0;
        right: 0;
        background-color: var(--white);
        border-top: var(--border);
        padding: 2rem;
        transition: .2s linear;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }

    .header .navbar.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .header .navbar a {
        display: block;
        margin: 2rem;
        text-align: center;
    }

    .header .logo {
        width: 60px; /* Adjust for smaller screens */
        height: auto; /* Adjust for smaller screens */
    }
}

@media (max-width:450px) {
    html {
        font-size: 50%;
    }
    
    .home .slide .content h1,
    .home .slide .content h1 span {
        font-size: 5rem !important;
    }
  .footer .box-container .box p {
  	font-size: 1.5rem;
  }
}

/* Hide the slide on screens larger than 450px */
@media (min-width: 451px) {
    .hide-on-large {
        display: none !important;
    }
}

/* Show the slide on screens 450px and smaller */
@media (max-width: 450px) {
    .hide-on-large {
        display: block !important;
    }
}
