


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(45deg, #faf5f5 0%, #e2c3c3 100%);
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding: 50px 0;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.3rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, 
        #FF0000 0%, 
        #f64f4f 25%, 
        #FF0841 50%, 
        #6A5ACD 75%, 
        #0000FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: text-gradient 5s ease-in-out infinite alternate;
    text-shadow: 0 2px 4px rgba(79, 70, 229, 0.2);
    padding: 15px 0;
}

.hero-content h1 span {
    color: #db3434;
}

.hero-content p {
    font-size: 1.1rem;
    color: #5e3434;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: #e54646;
    color: white;
    border: 2px solid #ffffff;
}

.btn-primary:hover {
    background-color: #b92929;
    border-color: #ffffff;
    border: 2px solid #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(185, 41, 41, 0.3);
}

.btn-secondary {
    background-color: white;
    color: #db3434;
    border: 2px solid #db3434;
}

.btn-secondary:hover {
    background-color: rgba(219, 52, 52, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(185, 41, 41, 0.2);
}

.slider-container {
    flex: 1;
    min-width: 350px;
    height: 425px;
    position: relative;
    perspective: 1000px;
    margin: 50px 0;
    margin-left: 100px;
}

.slider {
    width: 90%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    transition: transform 1s;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 1s;
}

.slide img {
    width:100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

.slide-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.slide-content p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background-color: white;
    transform: scale(1.2);
}

/* Animation for the hero content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 50px 5%;
        text-align: center;
        justify-content: center;
    }

    .hero-content {
        padding: 20px 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .slider-container {
        height: 400px;
        margin: 30px 0;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .slider-container {
        height: 300px;
    }
}






/* ===== STANDALONE TEAM SECTION CSS ===== */
/* Reset and Base Styles for Isolation */
.team-section * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.team-section {
    --primary-color: #db3434;
    --secondary-color: #914a4a;
    --dark-color: #502c2c;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #777;
    
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    padding: 80px 20px;
    background-color: var(--light-color);
}

/* Container for proper centering */
.team-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Title Styles */
.team-header {
    text-align: center;
    margin-bottom: 50px;
}

.team-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.team-header p.subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.team-header .divider {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Team Grid Layout */
.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Individual Team Card */
.team-member-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}

.team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Profile Image Container */
.profile-image {
    width: 220px;
    height: 220px;
    margin: 30px auto 25px;
    border-radius: 50%;
    border: 5px solid var(--primary-color);
    overflow: hidden;
    position: relative;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member-card:hover .profile-image img {
    transform: scale(1.1);
}

/* Team Member Info */
.member-info {
    padding: 0 25px 30px;
}

.member-info h3 {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 5px;
}

.member-info p.role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.member-info p.institution {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    color: var(--text-light);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: white;
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .team-members {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .team-section {
        padding: 60px 15px;
    }
    
    .team-header h2 {
        font-size: 2rem;
    }
    
    .profile-image {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 576px) {
    .team-header h2 {
        font-size: 1.8rem;
    }
    
    .team-members {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .profile-image {
        width: 180px;
        height: 180px;
    }
}

  
/* Bottom Section Styles */
.bottom-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, 
    #edbaba,  /* Bright red */
    #c34a4a,  /* Crimson */
    #914a4a,  /* Crimson *//* Slate blue */
    #502c2c   /* Pure blue */
    
);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    padding: 80px 0;
    display: flex;
    align-items: center;
}

.bottom-container {
    max-width: 1050px;
    min-height: fit-content;
    margin: 0 auto;
    padding: 10px 30px;
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 2;
}

.bottom-content {
    flex: 1;
    padding-right: 40px;
    position: relative;
}

.bottom-content::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -5%;
    right: -5%;
    bottom: -20%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    z-index: -1;
    border-radius: 16px;
}

.bottom-content h1 {
    font-size: 3.3rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #FF0000 0%, #f64f4f 25%, #FF0841 50%, #6A5ACD 75%, #0000FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: text-gradient 5s ease-in-out infinite alternate;
    text-shadow: 0 2px 4px rgba(79, 70, 229, 0.2);
    padding: 15px 0;
}

.bottom-text {
    font-size: 1rem;
    color: #2d3748;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 500px;
    font-weight: 500;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* Slider Styles */
.bottom-slider-container {
    flex: 1;
    max-width: 500px;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.bottom-slider {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.15);
}

.bottom-slides {
    display: flex;
    transition: transform 0.5s ease;
    height: 360px;
}

.bottom-slide {
    min-width: 100%;
    transition: all 0.5s ease;
}

.bottom-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bottom-slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    z-index: 10;
}

.bottom-slider-controls button {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-slider-controls button:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.bottom-navigation-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: rgba(255,255,255,1);
    transform: scale(1.2);
}

/* Animations */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes text-gradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .bottom-container {
        flex-direction: column;
        padding: 0 24px;
        gap: 40px;
    }
    
    .bottom-content {
        padding-right: 0;
        text-align: center;
    }
    
    .bottom-content h1 {
        font-size: 2.8rem;
        padding: 0 15px;
    }
    
    .bottom-text {
        font-size: 1.1rem;
        padding: 0 20px;
        margin: 0 auto 2rem;
    }
    
    .bottom-slides {
        height: 300px;
    }
    
    .bottom-content::before {
        top: -10%;
        left: -3%;
        right: -3%;
        bottom: -10%;
    }
}

@media (max-width: 480px) {
    .bottom-content h1 {
        font-size: 2.2rem;
    }
    
    .bottom-text {
        font-size: 1rem;
    }
    
    .bottom-slides {
        height: 240px;
    }
}
  

/* ===== upcomming events section===== */


.event-section {
    padding: 60px 20px;
    background: #fff; /* Adjust background color */
  }
  
  .event-container {
    display: flex;
    align-items: center;
    gap: 50px; /* Space between poster and text */
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Poster Image Styling (Larger Size) */
  .poster-container {
    flex: 0.5; /* 30% more space than text */
    min-width: 500px; /* Ensures minimum size for visibility */
  }
  
  .event-poster {
    width: 100%;
    height: auto;
    border-radius: 15px; /* Soft edges */
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); /* Depth effect */
  }
  
  /* Text Content Styling */
  .event-details {
    flex: 0.8;
    padding: 20px;
  }
  
  .event-details h1 {
    font-size: 2.5em;
    color: #2a2a2a; /* Dark text */
    margin-bottom: 20px;
  }
  
  .event-details .description {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
  }
  
  .event-details h2 {
    font-size: 1.8em;
    color: #e74c3c; /* Accent color for headings */
    margin: 25px 0 15px 0;
  }
  
  .event-details .rewards {
    font-size: 1em;
    line-height: 1.5;
    color: #444;
  }
  
  /* Mobile Responsiveness */
  @media (max-width: 768px) {
    .event-container {
      flex-direction: column; /* Stack vertically on mobile */
      gap: 30px;
    }
  
    .poster-container {
      min-width: 100%; /* Full width on mobile */
    }
  
    .event-details {
      text-align: center; /* Center-align text on mobile */
      padding: 0;
    }
  
    .event-details h1 {
      font-size: 2em;
    }
  }

/* Footer Styles */
.site-footer {
    background: linear-gradient(135deg, #502c2c, #914a4a);
    color: #fff;
    padding: 60px 0 20px;
    font-family: 'Segoe UI', sans-serif;
  }
  
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 20px;
  }
  
  .footer-col {
    margin-bottom: 30px;
  }
  
  .footer-logo {
    height: 70px;
    margin-bottom: 20px;
  }
  
  .footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
  }
  
  .footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #db3434;
  }
  
  .footer-text {
    margin-bottom: 20px;
    line-height: 1.6;
    opacity: 0.8;
  }
  
  .footer-links li {
    margin-bottom: 12px;
    list-style: none;
  }
  
  .footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.8;
  }
  
  .footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
    color: #db3434;
  }
  
  .contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    opacity: 0.8;
  }
  
  .contact-info i {
    margin-right: 10px;
    color: #db3434;
  }
  
  .footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
  }
  
  .social-link {
    color: #fff;
    background: rgba(255,255,255,0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  
  .social-link:hover {
    background: #db3434;
    transform: translateY(-3px);
  }
  
  /* Updated Newsletter Form with Rounded Button */
  .newsletter-form {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
  }
  
  .newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 30px 0 0 30px;
    outline: none;
    font-size: 14px;
  }
  
  .newsletter-form button {
    padding: 12px 25px;
    background: #db3434;
    color: white;
    border: none;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
  }
  
  .newsletter-form button:hover {
    background: #b92929;
    transform: scale(1.05);
  }
  
  .footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  
  .copyright {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 10px;
  }
  
  .goodbye-text {
    font-style: italic;
    opacity: 0.8;
    color: #db3434;
  }
  
  /* Font Awesome Icons */
  @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .footer-container {
      grid-template-columns: 1fr 1fr;
    }
    
    .newsletter-form {
      flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
      border-radius: 30px;
      width: 100%;
    }
    
    .newsletter-form input {
      margin-bottom: 10px;
    }
  }
  
  @media (max-width: 480px) {
    .footer-container {
      grid-template-columns: 1fr;
    }
    
    .footer-col {
      text-align: center;
    }
    
    .footer-title::after {
      left: 50%;
      transform: translateX(-50%);
    }
    
    .footer-social {
      justify-content: center;
    }
    
    .contact-info p {
      justify-content: center;
    }
  }


