/* Variables */
:root {
    --primary-purple: #da54db; /* Purple from logo */
    --primary-blue: #34a9e0;   /* Light blue from logo */
    --dark-purple: #b239c2;    /* Darker shade of purple */
    --light-purple: #e0b0e8;   /* Lighter shade of purple */
    --dark-blue: #4ba9d9;      /* Darker shade of blue */
    --light-blue: #b5e2fa;     /* Lighter shade of blue */
    --white: #eff3f6;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #333333;
    --black: #000000;
    --font-primary: 'Poppins', sans-serif;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

        /* Container */
/* header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-purple);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--dark-gray);
    font-weight: 500;
    position: relative;
}

nav ul li a:hover {
    color: var(--primary-purple);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-purple);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-purple);
} */

/* Hero Section - Updated to match navbar styling */
.hero {
    background: linear-gradient(to right, var(--primary-purple), var(--primary-blue));

    color: var(--white);
    padding: 100px 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    background: var(--white);
    color: var(--primary-purple);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s, transform 0.3s;
}

.btn:hover {
    background: var(--light-gray);
    transform: translateY(-3px);
}

.btn-blue {
    background: var(--dark-blue);
    color: var(--white);
}

.btn-blue:hover {
    background: var(--primary-blue);
}

/* About Section */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark-purple);

    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 50%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-purple), var(--primary-blue));
    margin: 10px auto 0;
    border-radius: 2px;
}


  
/* Competition Structure */
.phases {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.phase-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    flex: 1 1 400px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.phase-image {
    width: 300px;  /* Set the width */
    height: 200px; /* Set the height */
    object-fit: cover; /* Ensures the image maintains aspect ratio and fills the space */
    border-radius: 8px; /* Optional: Adds rounded corners */
}


.phase-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.phase-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-purple);
    border-bottom: 2px solid var(--light-purple);
    padding-bottom: 10px;
}

.phase-card h4 {
    font-size: 1.2rem;
    margin: 15px 0 10px;
    color: var(--dark-blue);
}

.phase-card ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

/* Final Evaluation - New Styling */
.evaluation-section {
    background: linear-gradient(135deg, var(--light-purple) 0%, var(--light-blue) 100%);
    padding: 60px 0;
    border-radius: 10px;
}

.evaluation-content {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.evaluation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.evaluation-box {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--primary-purple);
}

.evaluation-box h4 {
    color: var(--primary-purple);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.evaluation-box ul {
    margin-left: 20px;
}

.evaluation-box li {
    margin-bottom: 8px;
}

/* Awards Section */
.awards {
    background: linear-gradient(135deg, var(--light-purple) 0%, var(--light-blue) 100%);
    padding: 80px 0;
    color: var(--dark-gray);
}

.award-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.award-card {
    background: var(--white);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    flex: 1 1 300px;
    max-width: 350px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.award-card:hover {
    transform: scale(1.05);
}

.award-card i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-purple);
}

.award-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-purple);
}

/* Timeline Section */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* .timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background: linear-gradient(to bottom, var(--primary-purple), var(--primary-blue));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
} */

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

/* .timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--white);
    border: 4px solid var(--primary-purple);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
} */

.timeline-left {
    left: 0;
}

.timeline-right {
    left: 50%;
}

.timeline-left::after {
    right: -12px;
}

.timeline-right::after {
    left: -12px;
}

.timeline-content {
    padding: 20px;
    background-color: var(--white);
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

/* Eligibility Section - New Styling */
.eligibility-section {
    background-color: var(--white);
}

.eligibility-wrapper {
    border: 2px solid var(--light-purple);
    border-radius: 10px;
    padding: 20px;
    position: relative;
}

.eligibility-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.eligibility-tab {
    padding: 15px 25px;
    background: var(--light-gray);
    border-radius: 30px;
    font-weight: 600;
    color: var(--dark-gray);
    border: 2px solid transparent;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.eligibility-tab.active {
    background: var(--primary-purple);
    color: var(--white);
    border-color: var(--primary-purple);
}

.eligibility-content {
    background: var(--light-gray);
    border-radius: 10px;
    padding: 30px;
}

.eligibility-list {
    padding-left: 20px;
}

.eligibility-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}

.eligibility-list li::before {
    content: "\f058";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-purple);
}

.eligibility-item {
    margin-bottom: 30px;
}

.eligibility-item h3 {
    font-size: 1.4rem;
    color: var(--primary-purple);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.eligibility-item h3 i {
    margin-right: 10px;
    background: var(--primary-purple);
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ethics Section */
.ethics {
    background: var(--dark-gray);
    color: var(--white);
    padding: 80px 0;
}

.ethics-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.ethics-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.ethics-point {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    flex: 1 1 200px;
    max-width: 250px;
}

.ethics-point i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

/* Call to Action */
.cta {
    background: linear-gradient(to right, var(--primary-purple), var(--primary-blue));
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-white {
    background: var(--white);
    color: var(--primary-purple);
}

.btn-white:hover {
    background: var(--light-gray);
}

/* Footer */
footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1 1 250px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-purple);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--medium-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    transition: background 0.3s, transform 0.3s;
}

.social-links a:hover {
    background: var(--primary-purple);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }


    .hero h1 {
        font-size: 2.5rem;
    }

    .about-content {
        flex-direction: column-reverse;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-right {
        left: 0;
    }

    .timeline-left::after, 
    .timeline-right::after {
        left: 15px;
    }
}
/* Responsive Design */
.main-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-title {
    text-align: center;
    font-size: 2rem;
    color: var(--dark-text);
    margin-bottom: 40px;
    position: relative;
}

.page-title::after {
    content: '';
    display: block;
    width: 150px;
    height: 4px;
    background-color: var(--primary-purple);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.tab-navigation {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.tab-button {
    background-color: transparent;
    border: 2px solid var(--primary-purple);
    padding: 10px 20px;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 25px;
    color: var(--dark-text);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-button.active {
    background-color: var(--primary-purple);
    color: var(--white);
    font-weight: bold;
}

.tab-content {
    display: none;
    background-color: var(--white);
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    animation: fadeIn 0.5s ease;
    width: 100%;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tab-content.active {
    display: block;
}

.team-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--light-bg);
    padding-bottom: 15px;
    flex-wrap: wrap;
}

.team-icon {
    background-color: var(--primary-purple);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    flex-shrink: 0;
}

.team-title {
    font-size: 1.5rem;
    color: var(--primary-purple);
    font-weight: bold;
    margin: 0;
}

.requirement-list {
    list-style-type: none;
    padding-left: 0;
}

.requirement-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding-left: 10px;
    border-left: 3px solid transparent;
    transition: border-color 0.3s ease;
}

.requirement-list li:hover {
    border-left-color: var(--primary-purple);
}

.check-icon {
    color: var(--primary-purple);
    font-size: 16px;
    background-color: rgba(219, 86, 229, 0.1);
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.mandatory-tag {
    background-color: var(--primary-purple);
    color: var(--white);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    font-weight: bold;
}

        /* Responsive styles */
@media (max-width: 768px) {
    .logo {
        font-size: 28px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .tab-button {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .tab-content {
        padding: 20px 15px;
    }
    
    .team-title {
        font-size: 1.3rem;
    }
}
        
@media (max-width: 576px) {
    .logo {
        font-size: 24px;
    }
    
    .page-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .page-title::after {
        width: 100px;
    }
    
    .tab-navigation {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 280px;
        margin: 0 auto 25px;
    }
    
    .tab-button {
        width: 100%;
        text-align: center;
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .team-info {
        justify-content: center;
        text-align: center;
        padding-bottom: 10px;
    }
    
    .team-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .team-title {
        font-size: 1.2rem;
        width: 100%;
    }
    
    .requirement-list li {
        padding-left: 5px;
        margin-bottom: 15px;
    }
    
    .check-icon {
        width: 22px;
        height: 22px;
        font-size: 14px;
    }
}
/* Additional Responsive Enhancements */

/* Ensure all images are responsive */
img {
    max-width: 100%;
    height: auto;
}


/* Additional media query for tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .container, .main-content {
        padding: 0 20px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Additional media query for small mobile */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .phase-card, .award-card {
        padding: 20px 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .timeline-content {
        padding: 15px;
    }
    
    .footer-content {
        gap: 25px;
    }
}

/* Fix for phase image responsiveness */
.phase-image {
    max-width: 100%;
    height: auto;
}
/* Enhanced Mobile Responsiveness */

/* Base mobile adjustments */
@media (max-width: 767px) {
    /* Fix container width */
    .container {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden;
    }
    
    
    /* Fix hero section for mobile */
    .hero {
        padding: 80px 15px;
        padding-top: 45%;
        /* margin-top: 60px; Adjust based on your header height */
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    /* Fix timeline specifically for iPhone SE and similar small devices */
    .timeline {
        width: 100%;
        padding: 0 10px;
    }
    
    .timeline::after {
        left: 20px; /* Move timeline line to the left */
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 10px;
    }
    
    .timeline-right {
        left: 0;
    }
    
    .timeline-left::after, 
    .timeline-right::after {
        left: 12px;
    }
    
    .timeline-content {
        padding: 15px;
    }
}

/* Extra small devices (phones less than 375px) */
@media (max-width: 374px) {
    .logo h1 {
        font-size: 16px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .section-title h2 {
        font-size: 1.4rem;
    }
    
    /* Further adjust timeline for very small screens */
    .timeline::after {
        left: 15px;
    }
    
    .timeline-item {
        padding-left: 40px;
    }
    
    .timeline-left::after, 
    .timeline-right::after {
        left: 7px;
        width: 16px;
        height: 16px;
    }
}

/* Fix potential overflow issues */
body, html {
    overflow-x: hidden;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

/* Ensure all elements respect their containers */
* {
    max-width: 100%;
    box-sizing: border-box;
}

/* Force images to be responsive */
img, svg {
    max-width: 100%;
    height: auto;
}

/* Ensure form elements don't overflow */
input, select, textarea, button {
    max-width: 100%;
}