* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    max-width:100%;
    
}
section {
    content-visibility: auto;
    
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    font-smooth: always;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    
  }

  
html{
    scroll-behavior:smooth;
    max-width:100%;
}
/* Navbar styling */


.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    padding: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 50;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.logo img {
    padding-left: 10px;
    width: 80px;
    height: auto;
    opacity: 0.96;
    transition: transform 0.3s ease-in-out;
}

.logo img:hover {
    transform: scale(1.07);
}

.nav-container {
    display: flex;
    align-items: center;

}
.nav-links {
    display: flex;
}

.nav-links a {
    color: #7f7f7f;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    padding: 8px 18px;
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.nav-links a:hover {
    color: rgb(46, 46, 46);
    transform: scale(1.05);
}

/* Responsive Navbar */

.menu-icon {
    display: none;
    font-size: 25px;
    color: rgb(127, 127, 127);
    cursor: pointer;
    padding-right:20px;
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.8);
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        height: auto;
        text-align: left;
        padding-top: 10px;
        
    }
    .nav-links a { display: block; padding: 15px; }
    .menu-icon { display: block; }
    .logo img{
        padding-left:10px;
        width: 70px;
        height:auto;
        opacity:0.8;

    }
    .navbar{
        background: rgba(255, 255, 255, 0.8);
        top:0px;

    }
}


/* Sections */
section {
    min-height: auto;
    padding: 80px 20px;
    scroll-margin-top: 60px;
}
#home { 

    min-height:fit-content;
    
}
#about {
    background: #ffffff; 
    }
#events { 
    background: #ffffff; 
}
#gallery { 
    background: #ffffff;
    min-height:fit-content; 

}
#contact { 
    background: #555;
    min-height: 50vh; 
}













/* Home Section */
#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('assets/Untitled-design.webp');
    background-size: cover;
    overflow:hidden;
    position: relative;
}

.home-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    padding: 0 10px;
}

/* Left Section: Quote and Content */
.home-content {
    flex: 1;
    max-width: 50%;
    text-align: left;
}

.home-content .quote {
    font-size: 48px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    animation:fadeInDown 1s ease-in-out;

}

.home-content .description {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: justify;
}

.home-content .cta-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.home-content .cta-btn:hover {
    background-color: #45a049;
}


/* Responsive Design */
@media screen and (max-width: 768px) {
    #home {
        background-image: url('assets/phone.webp');
        background-size: cover;

    }
    .home-container {
        flex-direction: column;
        text-align:justify;
    }

    .home-content {
        max-width: 100%;
        padding: 5px;
        
    }

    .home-image {
        display: none; /* Hide image on smaller screens */
    }

    .home-content .quote {
        font-size: 36px;
    }

    .home-content .description {
        font-size: 16px;
    }
    section{
        padding: 50px 20px;
    }
}
































/* Featured Event Section OR Ongoing events section */
:root {
    --tone1: #5a7283;
    --tone2: #a080a4;
    --tone3: #c97c93;
    --tone4: #edc0a2;
    --tone5: #478797;
  }

  #event-showcase {
    padding: 60px 20px;
    overflow: hidden;
    position: relative;
    height:auto;
    background-color: rgba(201, 124, 147, 0.762);
  }

  #event-showcase h2 {
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: white;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 2;
    position: relative;
  }

  .slider-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    min-height: 400px;
  }

  .highlight-box {
    position: absolute;
    width: 100%;
    background: white;
    display: flex;
    align-items: center;
    gap: 50px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    padding: 30px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1;
  }

  .highlight-box.active { opacity: 1; transform: translateX(0); z-index: 10; }
  .highlight-box.previous { transform: translateX(-100%); }

  .image-zone {
    flex: 0 0 450px;
    height: 280px;
    perspective: 1000px;
    position: relative;
  }

  .image-zone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(89, 106, 132, 0.3);
    transform-style: preserve-3d;
  }

  .badge-status {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--tone3);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: glow 2s infinite;
  }

  @keyframes glow {
    0% { box-shadow: 0 0 10px var(--tone3); }
    50% { box-shadow: 0 0 25px var(--tone3); }
    100% { box-shadow: 0 0 10px var(--tone3); }
  }

  .info-segment h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--tone1);
  }

  .meta-line {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
    color: var(--tone2);
  }

  .meta-line i {
    color: var(--tone3);
    width: 20px;
    text-align: center;
  }

  .summary {
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
  }

  .cta-area {
    display: flex;
    gap: 15px;
  }

  .cta-button {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
  }

  .btn-primary {
    background: linear-gradient(45deg, var(--tone5), var(--tone1));
    color: white;
  }

  .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(70, 118, 135, 0.3);
  }

  .btn-outline {
    border: 2px solid var(--tone5);
    color: var(--tone5);
  }

  .btn-outline:hover {
    background-color: rgba(70, 118, 135, 0.1);
  }

  .dot-track {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
  }

  .dot-unit {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
  }

  .dot-unit.active {
    background-color: white;
    transform: scale(1.3);
  }

  .orbiting-particles {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
    z-index: 0;
  }

  .glow-particle {
    position: absolute;
    opacity: 0.15;
    border-radius: 50%;
    filter: blur(40px);
  }

  @media (max-width: 768px) {
    .highlight-box {
      flex-direction: column;
      height: auto;
      padding: 25px;
      gap: 30px;
    }
    .slider-wrapper {
        max-width: 1300px;
        margin: 0 auto;
        position: relative;
        height: 800px;
      }
    
    .image-zone { width: 100%; flex: 0 0 auto; }
    #event-showcase h2 { font-size: 2.2rem; margin-bottom: 40px; }
    .meta-line { flex-direction: column; gap: 10px; }
    .cta-area { flex-direction: column; }
  }

























/* //deepseek refined styling */

.events-section {
    text-align: center;
    padding: 120px 0;
    position: relative;
    z-index: 5;
    background: linear-gradient(to bottom, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.95) 100%);
}

.events-section h1 {
    font-size: 42px;
    margin-bottom: 50px;
    color: var(--color1);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.events-section h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--color3), var(--color5));
    border-radius: 3px;
}

.event-content-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    max-width: 1400px;
    padding: 0 60px;
}

.events-container {
    display: flex;
    overflow-x: scroll;
    scroll-behavior: smooth;
    gap: 30px;
    padding: 30px 10px;
    transition: transform 0.5s ease;
    scroll-snap-type: x mandatory;
}

.event-box {
    flex: 0 0 300px;
    min-width: 300px;
    height: 520px;
    background-color: var(--base);
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(89, 106, 132, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: none;
    scroll-snap-align: start;
}

.event-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(89, 106, 132, 0.2);
}

.event-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--color3), var(--color5));
}

.event-box .event-image {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, var(--color1), var(--color5));
    margin: 10px auto 0;
    border-radius: 15px 15px 0 0;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.event-box:hover .event-image {
    transform: scale(0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
    /* filter: brightness(1.05) contrast(1.1) sepia(0.3) hue-rotate(-10deg) saturate(1.2); */
}

.event-box:hover .event-image img {
    transform: scale(1.05);
}

.event-content {
    padding: 25px;
    padding-top: 15px;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-content h3 {
    font-size: 22px;
    margin-bottom: 7px;
    color: var(--color1);
    font-weight: 600;
    line-height: 1.3;
}
.eventdetailsineventsection {
    font-size: 15px;
    color: var(--color1);
    margin-bottom: 20px;
    text-align: left;
    opacity: 0.9;
    line-height: 1.6;

    max-height: 80px;      /* Set fixed height for scroll */
    overflow-y: auto;      /* Enables vertical scrolling */
    padding-right: 5px;    /* Prevent content from being hidden behind scrollbar */
    padding-bottom: 12px;
    scrollbar-width: thin; 
}

/* Scrollbar styling for Chrome, Edge, etc. */
.eventdetailsineventsection::-webkit-scrollbar {
    width: 3px;
}

.eventdetailsineventsection::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}

.event-box .date {
    font-size: 12px;
    color: var(--color3);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: inline-block;
    padding: 2.5px 8px;
    background: rgba(181, 125, 137, 0.1);
    border-radius: 15px;
}

.viewdetails-btn {
    margin: 10px 20px 20px;
    width: calc(100% - 40px);
    background: linear-gradient(to right, var(--color1), var(--color5));
    position: absolute;
    bottom: 0;
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(89, 106, 132, 0.3);
}

.viewdetails-btn:hover {
    background: linear-gradient(to right, var(--color5), var(--color1));
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(89, 106, 132, 0.4);
}

.register-btn {
    background: linear-gradient(to right, var(--color3), var(--color2));
}

.register-btn:hover {
    background: linear-gradient(to right, var(--color2), var(--color3));
}
.move-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border: none;
    background: none;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s ease;
}

.move-arrow::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    transition: all 0.3s ease;
}

.left-arrow::before {
    border-width: 20px 25px 20px 0;
    border-color: transparent var(--color5) transparent transparent;
}

.right-arrow::before {
    border-width: 20px 0 20px 25px;
    border-color: transparent transparent transparent var(--color5);
}

.move-arrow:hover::before {
    filter: brightness(0.9);
    transform: scale(1.1);
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

.events-container::-webkit-scrollbar {
    display: none;
}

/* Video Background Enhancements */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

#events-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    filter: blur(2px);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .event-content-box {
        padding: 0 40px;
    }
    
    .move-arrow {
        width: 50px;
        height: 50px;
    }
}

@media screen and (max-width: 768px) {
    .events-section {
        padding: 80px 0;
    }
    
    .events-section h1 {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .event-content-box {
        padding: 0 20px;
    }
    
    .event-box {
        flex: 0 0 280px;
        min-width: 280px;
        height: 500px;
    }
    
    .event-box .event-image {
        width: 260px;
        height: 260px;
    }
    
    .move-arrow {
        display: none !;
    }
    
    .events-container {
        gap: 20px;
        padding: 20px 10px;
    }
}

@media screen and (max-width: 480px) {
    .events-section h1 {
        font-size: 28px;
    }
    
    .event-box {
        flex: 0 0 260px;
        min-width: 260px;
        height: 480px;
    }
    
    .event-box .event-image {
        width: 240px;
        height: 240px;
    }
    
    .event-content {
        padding: 20px;
    }
    
    .event-content h3 {
        font-size: 22px;
    }
}




































#gallery {
    display: flex;
    justify-content: center;
    align-items: center;
   
    background-color: #fff;
    margin: 0;
    font-family: Arial, sans-serif;
}

.gallery-header {
    text-align: center;
    margin-bottom: 0px;
}
.honeycomb {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 columns */
    gap: 15px;
    padding: 60px;
}

.honeycomb-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.honeycomb-item {
    width: 120px;
    height: 180px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    border-radius: 10px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s;
}

/* Front and Back Faces */
.honeycomb-item .front,
.honeycomb-item .back {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    backface-visibility: hidden; /* Hide the back face when flipped */
    border-radius: 10px;
}

.honeycomb-item .front {
    background-color: #ccc;
}

.honeycomb-item .back {
    background-color: #000000;
    color: #fff;
    transform: rotateY(180deg); /* Initially hide the back face */
}

/* Flip Animation */
.honeycomb-item.flip {
    transform: rotateY(180deg);
}

/* Offset for Even Columns */
.column-2, .column-4 {
    padding-top: 100px !important;
}

/* Yellowish warm tone filter applied to all images in gallery */
.honeycomb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    filter: brightness(1.05) sepia(0.2) hue-rotate(-10deg) saturate(1.1);
}


.honeycomb-item {
    /* existing styles... */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* soft card-like look */
}


/* Responsive Design */
/* Responsive Layout for Smaller Screens */

@media (max-width: 768px) {
    #gallery{
        padding:40px 0px;
    }
    .honeycomb {
        grid-template-columns: 1fr; /* 1 column for very small screens */
        max-width: 100%; /* Take full width */
        padding:50px 0px;
    }

    .honeycomb-item {
        width: 100%; /* Adjust width to fit */
        height: 150px; /* Adjust height */
        font-size: 12px; /* Smaller font size */
    }
    .honeycomb-column{
        display:flex;
        flex-direction:row;
        gap:10px;
        justify-content:center;
    }
    .column-2, .column-4 {
        padding-top: 0px;
    }
    .column-1, .column-3, .column-5 {
        height:50px;
    }
    .column-1 .honeycomb-item, .column-3 .honeycomb-item, .column-5 .honeycomb-item{
        height:120px;
    }
      
}

.gallery-header h1 {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
    color: var(--tone1);
    font-size: 2.5rem;
}

.gallery-header p {
    color: var(--color1);
    opacity: 0.9;
    font-size: 1.2rem;
}

.honeycomb-item {
    /* Visual styling only - no layout changes */
    background-color: var(--color4); /* Using your color4 */
    border: 2px solid rgba(89, 106, 132, 0.1); /* Subtle border using color1 */
    box-shadow: 0 5px 15px rgba(89, 106, 132, 0.15); /* Soft shadow using color1 */
}



/* Flip state - color only */
.honeycomb-item.flip {
    box-shadow: 0 8px 25px rgba(89, 106, 132, 0.3);
}

/* Images - add subtle overlay */
.honeycomb-item img {
    opacity: 0.95;
}

/* Responsive - only color adjustments */
@media (max-width: 600px) {
    .honeycomb-item {
        box-shadow: 0 3px 10px rgba(89, 106, 132, 0.1);
    }
}
























/* styling for contributors section */
/* ===== CONTRIBUTORS SECTION ===== */
#contributors {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(89, 106, 132, 0.1) 0%, rgba(227, 182, 154, 0.1) 100%);
    overflow: hidden;
    position: relative;
    text-align: center;
}

#contributors h1 {
    color: rgb(89, 106, 132); /* Dark blue-gray */
    margin-bottom: 40px;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

#contributors h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: rgb(181, 125, 137); /* Pinkish accent */
}

.slider {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.slider-track {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    transition: transform 0.5s ease-in-out;
}

.card {
    flex: 0 0 calc(50% - 15px); /* 2 cards with gap */
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(122, 108, 132, 0.1); /* Purple-gray shadow */
    transition: all 0.3s ease;
    border-bottom: 4px solid rgb(70, 118, 135); /* Pinkish accent */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(122, 108, 132, 0.15);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(89, 106, 132, 0.1); /* Subtle dark blue-gray border */
}

.card-content {
    padding: 20px;
    text-align: center;
}

.card h3 {
    margin: 0 0 8px 0;
    color: rgb(89, 106, 132); /* Dark blue-gray */
    font-size: 1.2rem;
}

.card p {
    margin: 6px 0;
    color: rgb(122, 108, 132); /* Purple-gray */
    font-size: 0.95rem;
}

.quote {
    font-style: italic;
    color: rgb(70, 118, 135); /* Teal */
    margin-top: 12px;
    font-size: 1rem;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
/* Large screens (4 cards) */
@media (min-width: 1200px) {
    .card {
        flex: 0 0 calc(25% - 23px); /* 4 cards */
    }
}

/* Medium screens (3 cards) */
@media (max-width: 1199px) and (min-width: 992px) {
    .card {
        flex: 0 0 calc(33.33% - 20px); /* 3 cards */
    }
}

/* Tablets (2 cards) - Modified to strictly show 2 cards */
@media (max-width: 991px) and (min-width: 768px) {
    .card {
        flex: 0 0 calc(50% - 15px); /* 2 cards */
        min-width: 300px; /* Ensure cards don't get too small */
    }
    .slider {
        width: 95%;
    }
}

/* Large mobiles (1 card) */
@media (max-width: 767px) {
    .card {
        flex: 0 0 90%; /* 1 card */
        margin: 0 auto;
    }
    .slider-track {
        justify-content: flex-start;
    }
}

/* Small mobiles */
@media (max-width: 480px) {
    .card {
        flex: 0 0 85%;
    }
    #contributors h1 {
        font-size: 2rem;
    }
}














/* testimonial section styling */

:root {
    --color1: rgba(89, 106, 132, 1);
    --color2: rgba(122, 108, 132, 1);
    --color3: rgba(181, 125, 137, 1);
    --color4: rgba(227, 182, 154, 1);
    --color5: rgba(70, 118, 135, 1);
    --base: white;
}

body {
    background-color: var(--base);
}

.testimonials-section {
    padding: 60px 20px;
    text-align: center;
    align-items: center;

    background: linear-gradient(135deg, rgba(89, 106, 132, 0.1) 0%, rgba(227, 182, 154, 0.1) 100%);
}

.testimonials-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--color1);
    position: relative;
    display: inline-block;
}

.testimonials-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--color3);
    border-radius: 2px;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    height: 400px;
    overflow: hidden;
}

.testimonial-card {
    position: absolute;
    width: 80%;
    max-width: 700px;
    padding: 30px;
    background-color: var(--base);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.8s ease;
    opacity: 0;
    transform: translateX(100%);
    border-top: 5px solid var(--color3);
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 10;
}

.testimonial-card.prev {
    transform: translateX(-100%);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--color4);
}

.author-info h4 {
    margin: 0;
    color: var(--color1);
    font-size: 1.2rem;
}

.author-info p {
    margin: 5px 0 0;
    color: var(--color2);
    font-size: 0.9rem;
}

.testimonial-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color5);
    opacity: 0.3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    opacity: 1;
    transform: scale(1.2);
    background-color: var(--color3);
}

.quote-icon {
    color: var(--color4);
    font-size: 2rem;
    margin-bottom: 15px;
    display: inline-block;
}




.testimonials-section {
background: linear-gradient(-45deg, 
rgba(89, 106, 132, 0.05), 
rgba(227, 182, 154, 0.05), 
rgba(181, 125, 137, 0.05), 
rgba(70, 118, 135, 0.05));
background-size: 400% 400%;
animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
@media (max-width: 768px) {
    .testimonial-card {
        width: 90%;
        padding: 20px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
}

.testimonials-container {
max-width: 1200px;
margin: 0 auto;
height: 400px;

/* MODIFIED: Use flexbox for centering */
display: flex;
justify-content: center;
align-items: center;
position: relative;
overflow: hidden;
}

.testimonial-card {
/* MODIFIED: Removed position:absolute, added flex-shrink */
width: 80%;
max-width: 700px;
padding: 30px;
background-color: var(--base);
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
transition: all 0.8s ease;
opacity: 0;
transform: translateX(100%);
border-top: 5px solid var(--color3);
flex-shrink: 0; /* Prevent shrinking inside flex container */
position: absolute; /* Still needed for animation */
}



































/* Contact Section Styling */
#contact {
    background: #333;
    min-height: auto;
    padding: 50px 20px;
    color: white;
}

.contact-content {
    display: flex;
    gap: 20px;
    flex-direction:row;
    justify-content:space-evenly;
    margin-top: 30px;
}

.contact-details, .map {
    width: 60%;
    min-width:300px;
    padding: 20px;
    border-radius: 10px;
}

.contact-details h3, .map h3 {
    margin-bottom: 20px;
    font-size: 24px;
}

.contact-details p {
    margin-bottom: 10px;
    font-size: 16px;
    
}

.contact-details .icons {
    display: flex;
    justify-content: left;
    gap: 15px;
    flex-direction:row;
    flex-wrap:wrap;
}

.contact-details img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
    border-radius:100%;
}

.icons img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
    border-radius:100%;
}

.icons img:hover {
    transform: scale(1.2);
}
.contact-details img:hover {
    transform: scale(1.2);
}

.map {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.map iframe {
    border-radius: 10px;
    display:block;
}

@media screen and (max-width: 768px) {
    .contact-content {
        flex-direction: column;
        gap: 40px;
        
    }
    .contact-details p{
        text-align: left;
    }
    .contact-details, .map{
        flex: 1;
        width:100%;

        padding: 10px;
        border-radius: 10px;
    }
    .map iframe{
        width:100%;
        height:300px;
    }
}

.contact-details a {
    text-decoration:none;
    color: #ffffff;
    font-weight: normal;
    transition: color 0.3s ease-in-out;
}

.contact-details a:hover {
    color: #aaaaaa; /* Darker blue on hover */
    
}

.contact-details a:active {
    color: #003d80; /* Even darker blue when clicked */
}


























/* Style for  Members section */
/* Style for the big div box */
.big-box {
    width: 100%;
    max-width: 1200px;
    min-height:fit-content;
    margin: 30px auto;
    padding:5px 30px;
    background-color: #ffffffe6;
    border-radius: 20px;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  }
  
  .big-box:hover {
    transform: translate3d(5);
    box-shadow: 0 8px 16px #0000004d;
  }
  
  /* Left Section (Team Members and Auditions) */
  .left-section {
    width: 66.66%; /* 2/3 of the box */
    padding-right: 20px;
  }
  
  .left-section h2 {
    font-size: 32px;
    margin-top:20px;
    margin-bottom: 20px;
    color: #333;

  }
  
  .justified-text {
    text-align: justify;
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
  }
  
  /* Style for the button */
  .cta-button {
    display: inline-block;
    height:50px;
    padding: 12px 30px;
    font-size: 18px;
    color: #fff;
    background-color: #347889;
    border-radius: 15px;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
    margin-bottom: 25px;
    
  }
  
  .cta-button:hover {
    background-color: #3c9fb7;
    transform: translateY(-3px);
  }
  
  /* Auditions Section */
  .auditions-section {
    background-color: #e5f3f6;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    margin-bottom:20px;
  }
  
  .auditions-section h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
  }
  
  .auditions-message {
    font-size: 18px;
    color: #e70000cd;
    font-weight: bold;
    margin: 0;
  }
  
  /* Right Section (Social Media Boxes) */

.right-section {
    width: 100%; /* Full width on smaller screens */
    max-width: 300px; /* Limit width on larger screens */
    display: flex;
    flex-direction: column; /* Arrange in a column */
    gap: 15px;
    margin-top: 20px; /* Add some spacing on smaller screens */
  }
  
  .social-box {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background-color: var(--color); /* Use the pastel color */
    border-radius: 15px;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
  }
  
  .social-box:hover {
    transform: translateX(10px); /* Move slightly to the right on hover */
    background-color: #fff; /* Change to white on hover */
  }
  
  .social-box a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff; /* Default text color */
    font-size: 16px; /* Smaller font size for mobile */
    font-weight: bold;
    transition: color 0.3s ease-in-out;
  }
  
  .social-box:hover a {
    color: var(--color); 
  }
  
  .social-box i {
    font-size: 20px;
    margin-right: 10px;
    
    transition: transform 0.3s ease-in-out;
  }
  
  .social-box:hover i {
    transform: scale(1.2);
  }
  
  .right-section h4{
    padding-left:6px;
  }


  /* Responsive Adjustments */

  @media (max-width: 768px) {

    .big-box {
      flex-direction: column; 
    }
    .social-box a {
      font-size: 18px; 
    }
    .left-section{
        width:100%;
        padding:0;
    }
    .right-section {
      max-width: 100%; 
    }
    .social-box i {
      font-size: 24px; 
      
    }
    .cta-button{
        padding: 12px 30px;
    }
  }

































  /* members page formatting */

.boxes-group {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping to the next line */
    gap: 20px;
    justify-content: center;
    flex-direction:row;
    padding: 20px;
    margin:20px;
}

.team-box {
    background:   #eae2b7d4;
    border-radius: 15px;
    padding: 20px 0px;

    width: 100%;
    max-width: 500px;
    margin: 20px auto;
    padding:30px;
    flex: 1 1 calc(50% - 40px); /* Two boxes per row on desktop */
    box-sizing: border-box;

}

/* Mobile View: One box per row */
@media (max-width: 768px) {
    .team-box {
        flex: 1 1 100%; /* One box per row on mobile */
        padding:20px 5px;
    }
    .boxes-group{
        margin:10px;
        padding:0px;
        gap:20px;
    }
    .team-members{
        gap:0px;
    }
}

.team-box h2 {
    text-align: center;
    color: #333;
    margin-bottom:20px;
}

.section-title {
    font-size: 1.1em;
    color: #555;
    margin: 20px 0 10px;
    text-align: center;
}

.team-members {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    justify-content: center;
}




/* Member Card Styles */
.member-card {

    border-radius: 10px;
    width:100%;
    
    max-width: 160px;
    min-height: 280px;
    perspective: 1000px; /* For 3D effect */
    position: relative;
    text-align: center;
    box-shadow: 0 2px 4px #0000001a;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
}

/* Front and Back of the Card */
.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; /* Hide the back side when not rotated */
    border-radius: 10px;
    padding: 15px;
    box-sizing: border-box;
}
.leader .card-front, .card-back{
    background: #eac486;
    color: white;
    width:300px;

}


.card-front {
    background: #7c9885da ;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card-back {
    background: #4f6469d3;
    color: white;
    transform: rotateY(180deg); /* Initially hidden */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.faculty{
    display:flex;
    justify-content:space-evenly;
    flex-direction: row;
    flex-wrap:nowrap;
    gap:20px;
    margin:40px;
}


/* Member Photo */
.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: 10px;
    margin-bottom:10px;
}

/* Member Name and Post */
.member-name {
    font-size: 1.2em;
    color: #333;
    margin: 5px 0;
}

.card-back .member-name {
    color: white;
}



.member-post {
    font-size: 0.9em;
    color: #e5f0d7;
    margin: 5px 0;
}

.card-back .member-info {
    font-size: 0.9em;
    color: white;
    margin: 10px 0;
    text-align:center;
}

/* Social Links */


.social-icon {
    text-decoration: none;
    color: #555;
    margin: 0 5px;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

/* Social Media Icons */

.social-icon {
    color: #000000;
    font-size: 20px;
    transition: color 0.3s ease;
  
}

.card-back .social-links .social-icon {
    color: white;
}


#memberheading{
    text-align:center;
    margin:10px;
    font-size:36px;
    color:#4f4f4f;
}

.membersubheading{
    text-align:center;
    margin:0px;
    font-size:24px;
    color:#7b6060;
}













/* updated home section */

:root {
    --color1: rgba(89, 106, 132, 1);
    --color2: rgba(122, 108, 132, 1);
    --color3: rgba(181, 125, 137, 1);
    --color4: rgba(227, 182, 154, 1);
    --color5: rgba(70, 118, 135, 1);
    --base: white;
}

/* Home Section */
#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('assets/Untitled-design.webp');
    background-size: cover;
    overflow: hidden;
    position: relative;
}

.home-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    padding: 0 10px;
}

/* Left Section: Quote and Content */
.home-content {
    flex: 1;
    max-width: 50%;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.85); /* Light background for contrast */
    padding: 30px;
    border-radius: 10px;
}

.home-content .quote {
    font-size: 48px;
    font-weight: bold;
    color: var(--color1);
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-in-out;
}

.home-content .description {
    font-size: 18px;
    color: var(--color2);
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: justify;
}

.home-content .cta-btn {
    background-color: var(--color5);
    color: var(--base);
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.home-content .cta-btn:hover {
    background-color: var(--color3);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    #home {
        background-image: url('assets/phone.webp');
        background-size: cover;
    }

    .home-container {
        flex-direction: column;
        text-align: justify;
    }

    .home-content {
        max-width: 100%;
        padding: 20px;
        background-color: rgba(255, 255, 255, 0.9);
    }

    .home-image {
        display: none; /* Hide image on smaller screens */
    }

    .home-content .quote {
        font-size: 36px;
    }

    .home-content .description {
        font-size: 16px;
    }

    section {
        padding: 50px 20px;
    }
}
