@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url("https://fonts.cdnfonts.com/css/lean-foreword");
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
* {padding: 0;margin: 0;box-sizing: border-box;}
body {font-family: "Poppins", sans-serif;background: #d6eeff;}
.container {max-width: 100vw;margin: 0 auto;position: absolute;top: 60%;}
.svg_all_containers {position: relative;width: 100%;overflow: hidden;background-color: #d6eeff;}
.logo-container {position: absolute;top: 32%;left: 50%;transform: translate(-50%, -50%);z-index: 9999;display: flex;justify-content: center;align-items: center;pointer-events: none;}
.hero_khwaish {
    max-width: 300vw; 
    max-height: 100vh;
    object-fit: contain; 
    pointer-events: auto; 
}

@media (max-width: 768px) {
    .hero_khwaish {
        max-width: 140vw;
        max-height: 80vh;
    }

}

@media (max-width: 480px) {
    .hero_khwaish {
        max-width: 95vw;
        max-height: 60vh;
    }

}

.hero {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero button {
    font-family: "Poppins", sans-serif;
    background: linear-gradient(185deg, #640672ba, #8638ac, #6b0b9b);
    color: rgb(250, 211, 255);
    border: none;
    box-shadow: 1px 1px 4px 0 rgba(255, 242, 0, 0.863);
    border-radius: 5px;
    padding: 25px 45px;
    font-size: 2vh;
    cursor: pointer;
    transition: transform 0.3s ease;
    animation: scaleUpDown 1.5s infinite;
}

/* Animation */
@keyframes scaleUpDown {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.hero button:hover {
    background-color: rgb(58, 3, 88);
    color: rgb(255, 252, 76);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero button {
        font-size: 4vh;
        padding: 14px 35px;
    }
}

@media (max-width: 480px) {
    .hero button {
        font-size: 2.5vh;
        padding: 12px 25px;
    }
}

.waves {
    position: sticky;
    width: 100%;
    height: 4vh;
    margin-bottom: -8px;
    min-height: 30px;
    max-height: 100px;
    z-index: 9999;
}

.video-content {
    padding-top: 80px;
    display: flex;
    align-content: center;
    flex-direction: column;
    text-align: center;
    flex-wrap: wrap;
    background: linear-gradient(95deg, #E6F7FBFF, #F2FEFFFF, #FFFFFFFF);
    text-shadow: 2px #390051;
}

.video-title {
    background: linear-gradient(95deg, #042e41, #1c4ba1, #49159c);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 42px;
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.video-subtitle {
    margin-top: -10px;
    color: #806575a5;
    margin-bottom: 20px;
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}


iframe {
    height: 50vw;
    width: 91vw;
}

.three-dots {
    text-align: center;
}

.three-dots span {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: red;
    display: inline-block;
    margin: 30px 5px;
}

.content {
    padding: 20px 0 20px 0;
    background: #FFFFFFFF;
}

.inner-content {
    padding: 40px 0 10px 0;
    background: #FFFFFFFF;
}

.inner-content-text {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    padding-bottom: 40px;
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    justify-content: center;

}

.inter-content-subtitle {
    position: relative;
    display: inline-block;
    padding-left: 40px;
    font-family: "Poppins", sans-serif;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.10938rem;
    color: #000000FF;
}

.inter-content-subtitle::before {
    position: absolute;
    top: 5px;
    left: 0;
    display: block;
    width: 25px;
    height: 5px;
    content: "";
    background-color: red;
}

.inner-content-title {
    margin-top: 25px;
    margin-right: 60px;
    font-size: 2.125rem;
    font-weight: 700;
    color: rgb(88, 61, 103);
    text-shadow: 2px #09000EFF;
}


.inner-content-para {
    margin-top: 25px;
    margin-right: 60px;
    font-size: 1.125rem;
    line-height: 1.875rem;
    letter-spacing: 0.04375rem;
    font-style: normal;
    font-weight: 500;
    color: #470053FF
}

.inner-image-container {
    position: relative;
    padding-right: 0.78125rem;
    padding-left: 0.78125rem;
    flex: 0 0 100%;
    max-width: 100%;
    height: auto;
}

.inner-content-image {
    position: relative;
    height: 350px;
}

.section-images {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.Masonry_gallery {
    padding: 150px 38px 10px 38px;
    background: white;
    display: flex;
    flex-direction: column;
}

.Masonry_gallery-title {
    margin-bottom: 50px;
    font-size: 23px;
    color: black;
    align-self: center;
}

.Masonry_gallery-title>h2 {
    font-weight: 600;
}

.subscribe-container {
    padding-top: 80px;
    padding-bottom: 80px;
    background: white;
    display: flex;
    align-items: center;
    flex-direction: column;
}

#form {
    display: flex;
    flex-direction: row;
}

#email {
    width: 250px;
    height: 40px;
    border-radius: 5px 0 0 5px;
    outline: none;
    border: 1px solid red;
    text-decoration: none;
}

#submit {
    width: 100px;
    height: 40px;
    border: none;
    background: red;
    color: white;
    font-family: "Poppins", sans-serif;
    border-radius: 0 5px 5px 0;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
}

input[type="email"] {
    padding-left: 10px;
}

.hero-newsletter {
    margin-bottom: 20px;
}

@media only screen and (max-width: 984px) {
    .Masonry_gallery-button {
        padding: 0.75em 1.5em;
    }
}

/* Animation */

.parallax>use {
    animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.parallax>use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax>use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.parallax>use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.parallax>use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }

    100% {
        transform: translate3d(85px, 0, 0);
    }
}

@media screen and (min-width: 820px) {
    .container {
        max-width: 80vw;
    }

    a.highlight {
        font-size: 1em;
        text-decoration: none;
        color: #ffffff;
        padding: 0.5em 1em;
    }

    .highlight {
        border: 1px solid #ffffff;
        border-radius: 50px;
    }

    .highlight:hover,
    .special:hover {
        background: rgb(214, 214, 214);
        color: rgb(204, 192, 192);
        border-bottom: none;
    }


    iframe {
        height: 30vw;
        width: 55vw;
    }

    .content {
        padding: 50px 68px 50px 68px;
        background: white;
    }

    .container__ImageRight {
        order: 2;
        margin-left: 8.33333%;
    }

    .content__ImageRight {
        left: 0;
    }

    .container__ImageLeft {
        order: 1;
    }

    .content__ImageLeft {
        right: 0;
    }

    .content__TextLeft {
        order: 1;
    }

    .content__TextRight {
        margin-left: 8.33333%;
        order: 2;
    }

    .inner-content {
        max-width: 80vw;
        padding-top: 100px;
        margin-right: auto;
        margin-left: auto;
        display: flex;
        flex-flow: row wrap;
    }

    .inner-content-text {
        padding-right: 0.9375rem;
        padding-left: 0.9375rem;
        flex: 0 0 41.66667%;
        max-width: 41.66667%;
        display: flex;
        min-height: 550px;
        padding-top: 60px;
        padding-bottom: 60px;
        flex-direction: column;
        justify-content: center;
    }

    .inner-content-title {
        margin-top: 35px;
        margin-right: 60px;
        font-size: 2rem;
        font-weight: 700;
        color: rgba(105, 1, 137, 0.842);
    }

    .inner-content-para {
        margin-top: 25px;
        margin-right: 60px;
        font-size: 1.125rem;
        line-height: 1.875rem;
        letter-spacing: 0.04375rem;
        font-style: normal;
        font-weight: 400;
        color: #350047D0
    }

    .inner-image-container {
        position: relative;
        padding-right: 0.78125rem;
        padding-left: 0.78125rem;
        flex: 0 0 50%;
        max-width: 50%;
        height: auto;
    }

    .inner-content-image {
        position: absolute;
        top: 0;
        width: calc(100% - 12.5px);
        height: 100%;
    }

    .section-images {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
@media (max-width: 768px) {
    .waves {
        height: 40px;
        min-height: 40px;
    }


    a.highlight {
        font-size: 1em;
        text-decoration: none;
        color: #ffffff;
        padding: 0.5em 1em;
    }

    .highlight {
        border: 1px solid #ffffff;
        border-radius: 50px;
    }

    .highlight:hover,
    .special:hover {
        background: rgb(214, 214, 214);
        color: rgb(204, 192, 192);
        border-bottom: none;
    }
}

/* event card */
.khwaish-fest {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background-color: #F4F4F4FF;
}

.flip-card {
    background-color: transparent;
    width: 300px;
    height: 350px;
    perspective: 2000px;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 15px;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    color: #FFFFFFFF;
    
}

.flip-card-front {
    background: linear-gradient(135deg, #3a6073, #16222a);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;

}

.flip-card-front .card-image {
    width: 96%;
    height: 76%;
    margin-bottom: 50px;
    border-radius: 8px;
    border: 2px solid #FFFAD7FF;
}

.flip-card-front h2 {
    width: 97%;
    position: absolute;
    z-index: 200;
    background: linear-gradient(135deg, #4A5DAAFF, #9921e8);
    color: #FFFFFFFF;
    border-radius: 10px;
    padding: 10px;
    font-weight: 800;
    bottom:1%;
    border: 2px solid #FFFFFFE2;
}

.fine-arts {
    background: linear-gradient(135deg, #5f72be, #9921e8);
}

.performing-arts {
    background: linear-gradient(135deg, #5f72be, #9921e8);
}

.games-sports {
    background: linear-gradient(135deg, #5f72be, #9921e8);
}

.literature-arts {
    background: linear-gradient(135deg,#5f72be, #9921e8);
}

.media-events {
    background: linear-gradient(135deg, #5f72be, #9921e8);
}

.star-events {
    background: linear-gradient(135deg, #5f72be, #9921e8);
}

.flip-card-back {
    background: linear-gradient(135deg, #47589AFF, #8316CCFF);
    transform: rotateY(180deg);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}



p {
    font-size: 1rem;
    margin-top: 10px;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    margin-bottom: 25px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.social-icon.instagram {
    background-image: url("https://upload.wikimedia.org/wikipedia/commons/a/a5/Instagram_icon.png");
}

.social-icon.facebook {
    background-image: url("https://upload.wikimedia.org/wikipedia/commons/5/51/Facebook_f_logo_%282019%29.svg");
}

.social-icon.youtube {
    background-image: url("https://upload.wikimedia.org/wikipedia/commons/4/42/YouTube_icon_%282013-2017%29.png");
}

.social-icon:hover {
    transform: translateY(-5px);
}

/* General Gallery Styling */
.gallery {
    text-align: center;
    padding: 1em;
    background-color: #f3f8f8;
}

.gallery h2 {
    font-size: 2.8em;
    font-family: 'Roboto', sans-serif;
    color: #640672ba;
    font-weight: 700;
    margin-bottom: 1.5em;
    border-bottom: 5px solid rgba(119, 58, 167, 0.219);
}

.khwaish-fest h1 {
    font-size: 2.8em;
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: #42014cba;
    font-weight: 700;
    margin-bottom: 1.5em;
    border-bottom: 5px solid rgba(119, 58, 167, 0.219);
    text-align: center;
}

/* Grid Styling */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.5em;
    margin-top: 2em;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.07);
    filter: brightness(0.8);
}

/* Overlay Effect */
.gallery-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    border-radius: 12px;
}

.gallery-item:hover::before {
    opacity: 1;
}


/* Responsive Styling for Mobile - 2 Columns */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Magnific Popup Styling */
.mfp-bg {
    background: rgba(0, 0, 0, 0.8);
}


/* Ensure the section takes up full width */
.brand-section {
    top: 0;
    right: 1%;
    width: 100%;
    position: absolute;
    text-align: center;
    overflow: hidden;
    background-color: transparent;
    height: 2800px;
}

.brand-content {
    position: relative;
    z-index: 1;
    animation: rise- 3s ease-out forwards;
}

@keyframes rise- {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    100% {
        transform: translateY(28px);
        opacity: 1;
    }
}

.college-name {
    text-transform: uppercase;
    background-color: transparent;
}

.college-name,
.brand-name {
    font-family: 'Times New Roman';
    font-weight: bold;
    font-size: 1.4em;
    color: #510332;
    display: block;
    opacity: 0.7;
    background-color: transparent;
}

.brand-name {
    color: orangered;
    opacity: 0.9;
    font-family: "Great Vibes", cursive;
    font-weight: 400;
    font-style: normal;
}
/* 
@media (max-width: 768px) {}

.square-holder {
    padding: 30px;
    border: 1px solid #cecece;
    align-items: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background-color: #f1f1f1;
    min-height: 200px
}

.square-holder img {
    max-width: 100%;
    filter: grayscale(100%);
    transition: all 0.3s;
}

.square-holder:hover img {
    filter: none;
} */

/* Magnific Popup Styling */
.mfp-bg {
    background: rgba(0, 0, 0, 0.8);
}

#st_kh {
    color: rgba(127, 14, 188, 0.658);
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:none;
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: -fadeIn 0.5s ease;
}

/* Popup content container */
.popup-content {
    width: 100%;
    height: auto;
    position: relative;
    background: none;
    border-radius: 8px;
    align-items: center;
    animation: -zoomIn 0.5s ease;
    margin:18%;
}

/* Ad image style */
.popup-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    left: 50%;
    max-width: fit-content;
    border-radius: 5px;
}

/* Close button style */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #333;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

/* Fade-in animation */
@keyframes -fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Zoom-in animation */
@keyframes -zoomIn {
    from {
        transform: scale(0.8);
    }

    to {
        transform: scale(1);
    }
}
.ek_mela-png {
    position: absolute;
    object-fit: contain;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    background-color: #E9EEEF2D;
}

    /* Section Styling */
    .khwaish-stats-section {
    --primary-color-khwaish: #5C0D98;
    --secondary-color-khwaish: #707070; 
    --background-light: #FAFEFFFF;
    --font-main: 'Poppins', sans-serif;
      background: var(--background-light);
      padding: 50px 20px;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      font-family: var(--font-family);
    }

    /* Stats Container */
    .khwaish-stats-wrapper {
      display: flex;
      flex-wrap: wrap; /* Wrap on small screens */
      justify-content: center;
      gap: 60px; /* Space between columns */
      max-width: 1200px; /* Center alignment with max width */
      width: 100%;
    }

    /* Individual Stat Card */
    .khwaish-stat {
      text-align: center;
      background: #FFFFFFFF; /* White card for clean contrast */
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05); /* Subtle shadow for depth */
      padding: 30px 40px;
      border-radius: 12px;
      flex: 1 1 250px; /* Responsive sizing for cards */
      max-width: 300px; /* Prevent oversized cards */
      transition: transform 0.3s, box-shadow 0.3s; /* Smooth hover animations */
      border:2px solid rgba(0, 0, 0, 0.08);
    }

    .khwaish-stat:hover {
      transform: translateY(-15px); /* Lift on hover */
      box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
    }

    /* Stat Number */
    .stat-value {
      font-size: 3rem;
      font-weight: 700;
      color: var(--primary-color-khwaish);
      margin-bottom: 10px;
    }

    /* Stat Description */
    .stat-description {
      font-size: 1rem;
      font-weight: 400;
      color: var(--secondary-color-khwaish);
      margin: 0;
    }

    /* Media Queries for Responsiveness */
    @media (max-width: 768px) {
      .khwaish-stat {
        padding: 20px;
      }
      .stat-value {
        font-size: 2.5rem;
      }
      .stat-description {
        font-size: 0.9rem;
      }
    }

    @media (max-width: 480px) {
      .khwaish-stats-wrapper {
        gap: 30px;
      }
      .khwaish-stat {
        padding: 15px;
      }
      .stat-value {
        font-size: 2rem;
      }
      .stat-description {
        font-size: 0.85rem;
      }
    }
