/* Team Photo Carousel */
.team-photo-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    height: 400px;
    width: 100%;
    padding: 2rem 0;
}

.team-photo-image {
    position: absolute;
    width: 600px;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: scale(0.8) translateX(100px);
    filter: blur(4px);
}

.team-photo-image.active {
    opacity: 1;
    transform: scale(1) translateX(0);
    filter: blur(0);
    z-index: 3;
}

.team-photo-image.prev {
    opacity: 0.5;
    transform: scale(0.75) translateX(-150px);
    filter: blur(2px);
    z-index: 1;
}

.team-photo-image.next {
    opacity: 0.5;
    transform: scale(0.75) translateX(150px);
    filter: blur(2px);
    z-index: 1;
}
/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    display: flex;
    align-items: center;
    position: relative;
    color: white;
    overflow: hidden;
    z-index: 1;
}

/* Video Background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
    min-height: 1.2em; /* Ensure consistent height during animation */
}

.title-highlight {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Typing cursor effect */
#typing-title::after {
    content: '|';
    color: #fff;
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Hide cursor after animation completes */
#typing-title.completed::after {
    display: none;
}

.hero-text h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    color: white;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 500px;
    line-height: 1.6;
}

.hero-achievements {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.achievement-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
}

.achievement-badge:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.achievement-badge i {
    color: #f39c12;
    font-size: 1rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.robot-showcase {
    position: relative;
    max-width: 500px;
    width: 100%;
}

.robot-frame {
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
    aspect-ratio: 1;
    width: 100%;
    max-width: 400px;
}

.robot-frame:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) scale(1.02);
}

.robot-glow {
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.1); opacity: 0.2; }
}

.floating-stats {
    position: absolute;
    top: 20px;
    right: -60px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 10;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    text-align: center;
    min-width: 100px;
    animation: floatStats 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.stat-item:nth-child(2) { animation-delay: 0.5s; }
.stat-item:nth-child(3) { animation-delay: 1s; }

.stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-5px);
}

.stat-number {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #f39c12;
    margin-bottom: 0.2rem;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes floatStats {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Hero Image Styles */
.hero-robot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-50%) translateY(-5px);
}

.scroll-indicator i {
    font-size: 1.5rem;
    opacity: 0.9;
    color: white;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Section Styles */
section {
    padding: 5rem 0;
    position: relative;
}

section:not(.hero) {
    z-index: 2;
}

/* About Section */
.about {
    background: #f8f9fa;
    position: relative;
    z-index: 2;
    padding: 5rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-card i {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 1.5rem;
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* Mission Statement */
.mission-statement {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.mission-statement h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #e74c3c;
}

.mission-statement p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/* Competition Achievements */
.competition-achievements {
    margin: 2rem 0;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.competition-achievements .section-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.competition-achievements .section-header h3 {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.competition-achievements .section-header p {
    color: #7f8c8d;
    font-size: 1rem;
}

.achievements-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.robot-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    height: 420px;
    width: 100%;
    padding: 2rem 0;
}

.robot-carousel-image {
    position: absolute;
    width: 380px;
    height: 380px;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: scale(0.8) translateX(100px);
    filter: blur(3px);
    background: white;
}

.robot-carousel-image.active {
    opacity: 1;
    transform: scale(1) translateX(0);
    filter: blur(0);
    z-index: 3;
}

.robot-carousel-image.prev {
    opacity: 0.4;
    transform: scale(0.7) translateX(-130px);
    filter: blur(2px);
    z-index: 1;
}

.robot-carousel-image.next {
    opacity: 0.4;
    transform: scale(0.7) translateX(130px);
    filter: blur(2px);
    z-index: 1;
}

.achievements-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

.achievement-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    object-fit: cover;
}

.achievement-image:nth-child(2) {
    height: 170px;
    object-position: bottom;
}

.achievement-image:hover {
    transform: scale(1.02);
}

.achievements-section h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.achievements-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.achievement-year {
    background: #f8f9fa;
    padding: 0.8rem;
    border-radius: 6px;
    border-left: 3px solid #ff6b35;
}

.achievement-year h4 {
    color: #ff6b35;
    font-size: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.achievement-year p {
    color: #555;
    font-size: 0.85rem;
    line-height: 1.3;
    margin: 0;
}

/* Robot Showcase Gallery */
.robot-showcase-gallery {
    margin: 3rem 0;
    padding: 3rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.robot-showcase-gallery .section-header {
    margin-bottom: 2rem;
    text-align: center;
}

.robot-showcase-gallery .section-header h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.robot-showcase-gallery .section-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

.robot-showcase-gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Competitions Section */
.competitions {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Competition Field Background */
.competition-with-field {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.8) 0%, rgba(52, 73, 94, 0.8) 100%), 
                url('/static/img/rmuc_field.png') center/cover no-repeat;
    background-attachment: fixed;
}

.competition-field-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.7) 0%, rgba(52, 73, 94, 0.7) 100%);
    z-index: 1;
}

.competition-with-field .container {
    position: relative;
    z-index: 2;
}

.competition-with-field .section-header h2 {
    color: white;
}

.competition-with-field .section-header p {
    color: white;
    opacity: 0.9;
}

.competition-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.competition-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #ecf0f1;
}

.competition-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Robot Types Grid */
.robot-types {
    margin: 2.5rem 0;
}

.robot-types h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #ecf0f1;
}

.robot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.robot-type {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.robot-type:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.robot-type i {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    color: #e74c3c;
}

.robot-type h5 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ecf0f1;
}

.robot-type p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.competition-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.feature i {
    color: #e74c3c;
    font-size: 1.2rem;
}

.competition-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.stat h4 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

/* Team Section */
.team {
    background: #f8f9fa;
}

/* Team Overview and Stats */
.team-overview {
    margin-bottom: 3rem;
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.team-stat {
    text-align: center;
    padding: 1rem;
}

.team-stat h4 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

.team-stat p {
    font-size: 1rem;
    color: #7f8c8d;
    font-weight: 500;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.team-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(231, 76, 60, 0.1), transparent);
    transition: left 0.5s;
}

.team-card:hover::before {
    left: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.team-card i {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 1.5rem;
}

.team-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.team-card p {
    margin-bottom: 1.5rem;
}

.team-responsibilities {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.team-responsibilities li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
    color: #555;
}

.team-responsibilities li::before {
    content: "•";
    color: #e74c3c;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Member Resources */
.member-resources {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #eee;
    text-align: center;
}

.resources-grid {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.resource-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 300px;
    transition: transform 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
}

.resource-card i {
    font-size: 2.5rem;
    color: #ff6b35;
    margin-bottom: 1rem;
}

.resource-card h4 {
    margin-bottom: 1rem;
    color: #2c3e50;
    font-size: 1.3rem;
}

.resource-card p {
    margin-bottom: 1.5rem;
    color: #7f8c8d;
    line-height: 1.6;
}

/* Team Photo Section */
.team-photo-section {
    margin: 3rem 0;
    padding: 3rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.team-photo-section .section-header {
    margin-bottom: 2rem;
    text-align: center;
}

.team-photo-section .section-header h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.team-photo-section .section-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

.team-photo-container {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.team-photo-image {
    max-width: 60%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.team-photo-image:hover {
    transform: scale(1.02);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Specific positioning for Dart image */
.gallery-image[alt*="Dart"] {
    object-position: center 30%;
}

/* Specific positioning for Infantry image */
.gallery-image[alt*="Infantry"] {
    object-position: center 30%;
    transform: scale(0.8);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Timeline Section */
.timeline {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Timeline with Trophy Background */
.timeline-with-trophy {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%), 
                url('/static/img/trophy.jpg') center/cover no-repeat;
    background-attachment: fixed;
}

.timeline-trophy-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.7) 100%);
    z-index: 1;
}

.timeline-with-trophy .container {
    position: relative;
    z-index: 2;
}

.timeline-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.season-timeline h3,
.recruitment-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.timeline-grid {
    display: grid;
    gap: 1.5rem;
}

.timeline-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #e74c3c;
}

.timeline-date {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 0.5rem;
}

.timeline-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.timeline-item p {
    opacity: 0.9;
    font-size: 0.95rem;
}

.recruitment-grid {
    display: grid;
    gap: 2rem;
}

.recruit-category {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.recruit-category i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.recruit-category h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.recruit-category ul {
    list-style: none;
    padding: 0;
}

.recruit-category li {
    padding: 0.3rem 0;
    opacity: 0.9;
}

/* Join Section - White Background */
.join {
    background: white;
    color: #2c3e50;
}

.join-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.join-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.join-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #34495e;
}

.join-benefits,
.member-benefits {
    margin-bottom: 2.5rem;
}

.member-benefits h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #2c3e50;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 107, 53, 0.05);
    padding: 1rem;
    border-radius: 8px;
    transition: background 0.3s ease;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.benefit:hover {
    background: rgba(255, 107, 53, 0.1);
}

.benefit i {
    color: #ff6b35;
    font-size: 1.2rem;
    width: 20px;
}

.benefit span {
    color: #2c3e50;
}

.join-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.join-stat h4 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 0.5rem;
}

.join-stat p {
    font-size: 0.95rem;
    color: #34495e;
}

.application-steps {
    margin-bottom: 2rem;
}

.step {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.step-number {
    background: #ff6b35;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.step-content p {
    color: #34495e;
    font-size: 0.95rem;
}

.recruitment-calendar {
    margin-top: 2rem;
}

.recruitment-periods {
    display: grid;
    gap: 1rem;
}

.recruitment-period {
    display: flex;
    gap: 1rem;
    align-items: center;
    background: rgba(255, 107, 53, 0.05);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.recruitment-period i {
    font-size: 1.5rem;
    color: #ff6b35;
}

.recruitment-period strong {
    display: block;
    margin-bottom: 0.2rem;
    color: #2c3e50;
}

.recruitment-period p {
    color: #34495e;
}

.recruitment-calendar h4 {
    color: #2c3e50;
}

.join-requirements {
    background: rgba(255, 107, 53, 0.05);
    padding: 2.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.join-requirements h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.join-requirements ul {
    list-style: none;
    margin-bottom: 2rem;
}

.join-requirements li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: #34495e;
}

.join-requirements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.recruitment-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.recruitment-info h4 {
    margin-bottom: 1rem;
    color: #f39c12;
}

/* Sponsors Section */
.sponsors {
    background: #f8f9fa;
    padding: 5rem 0;
}

.sponsors-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.sponsor-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.sponsor-logo {
    width: 200px;
    height: 80px;
    object-fit: contain;
    object-position: center;
}

.sponsor-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 12px;
    color: white;
}

.sponsor-cta h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.sponsor-cta p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    background: #2c3e50;
    color: white;
}

.contact .section-header h2 {
    color: white;
}

.contact .section-header p {
    color: white;
    opacity: 0.9;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #e74c3c;
    margin-top: 0.2rem;
    width: 30px;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ecf0f1;
}

.social-links {
    margin-top: 3rem;
}

.social-links h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #ecf0f1;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-link:hover {
    background: rgba(255, 107, 53, 0.2);
    transform: translateY(-2px);
    color: #ff6b35;
}

.social-link i {
    font-size: 1.2rem;
    color: #ff6b35;
}

/* Footer Logo Icon */
.footer-logo-icon {
    width: 32px;
    height: 32px;
    margin-right: 0.5rem;
    object-fit: contain;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 2rem 20px;
    }
    
    .hero-achievements {
        justify-content: center;
    }
    
    .achievement-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .floating-stats {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-top: 1rem;
        gap: 0.5rem;
    }
    
    .stat-item {
        min-width: 60px;
        padding: 0.5rem;
    }
    
    .stat-number {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .robot-frame {
        transform: none;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .robot-frame:hover {
        transform: scale(1.02);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .competition-content,
    .join-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .robot-showcase {
        width: 200px;
        height: 200px;
    }

    .robot-showcase i {
        font-size: 5rem;
    }

    .competition-features {
        grid-template-columns: 1fr;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }

    .achievements-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .achievement-image {
        max-width: 90%;
        margin: 0 auto;
    }

    section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .about-card,
    .team-card {
        padding: 2rem;
    }

    .join-requirements {
        padding: 2rem;
    }
}