/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style-type: none;
    padding: 0;
}

/* Hero Section Styles */
.hero {
    position: relative;
    overflow: hidden;
    height: 100vh; /* Full height */
}

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    width: 100vw;  
    height: 100vh;  
}

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

.hero-content {
    text-align: center;
    position: relative; /* Ensures child absolute elements are positioned inside */
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers everything horizontally */
    justify-content: center;
    height: 100%; /* Centers content vertically */
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem; /* Increased font size */
    font-weight: 700; /* Bold font weight */
    margin-bottom: 20px; /* Increased margin */
    animation: fadeIn 2s ease-in-out; /* Animated entry effect */
    color: white;
}


/* Fixed Typewriter Animation with Precise Cursor */
.typewriter {
    font-size: 1.8rem;
    font-weight: 300;
    color: white;
    overflow: hidden;
    white-space: nowrap;
    margin: 0 auto;
    position: relative;
    display: inline-block;
    width: auto; /* Let content determine width */
}

/* Create a wrapper for the text with a precise animation */
.typewriter::before {
    content: "Explore the Future of Drone Technology";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3.5s steps(40, end) forwards;
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Create a separate cursor that follows the typing exactly */
.typewriter::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0; /* Start at left */
    height: 100%;
    width: 3px;
    background-color: rgba(255, 255, 255, 0.75);
    animation: moveCursor 3.5s steps(40, end) forwards,
               blink 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes moveCursor {
    from { left: 0; }
    to { left: 100%; } /* Move to the right edge of the text */
}

@keyframes blink {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

/* Hide the original text */
.typewriter {
    color: transparent;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .typewriter {
        font-size: 1.4rem; /* Smaller font on mobile */
        max-width: 90vw; /* Limit width on mobile */
    }
    
    .hero-content {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .typewriter {
        font-size: 1.2rem; /* Even smaller font on very small screens */
    }
}

.cta-button {
    background-color: rgba(0, 191, 255, 0.8); /* Sky blue */
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    margin-top: 20px;
    animation: bounce 2s infinite;
    position: absolute; /* Position it within .hero-content */
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 3;
    opacity: 0.9;
}

.cta-button:hover {
    background-color: rgba(0, 150, 220, 0.9); /* Darker blue */
    transform: scale(1.05);
}


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

/* Keyframes for animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Content Styles */


/* Updated Club Info Section Styles */
.club-info {
    background-color: #00092c; /* Keep the dark blue background */
    padding: 50px 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Add a subtle tech pattern background */
.club-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(#00F3FF 1px, transparent 1px), 
                      radial-gradient(#00F3FF 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    opacity: 0.05;
    z-index: 1;
}

.club-info h2 {
    font-family: 'Orbitron', sans-serif;
    color: #00F3FF; /* Neon cyan color */
    font-size: 42px; /* Larger font size */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.5); /* Glow effect */
}



.club-info h2::after {
    content: '';
    display: block;
    width: 100px; /* Wider underline */
    height: 3px; /* Thicker line */
    background: linear-gradient(90deg, transparent, #00F3FF, transparent); /* Gradient underline */
    margin: 15px auto 0;
}

.club-info p {
    position: relative;
    z-index: 2;
    line-height: 1.8; /* Better line spacing */
    font-size: 1.05rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
}



/* Additional styling for the improved structure */
.info-section {
    margin-bottom: 80px;
}

.info-section h3 {
    font-family: 'Orbitron', sans-serif;
    color: #00F3FF;
    font-size: 28px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
    padding-left: 20px;
}


.info-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 20px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #00F3FF, transparent);
}

/* Enhanced Who We Are Section */
.identity-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}

.identity-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.identity-card {
    background: rgba(0, 15, 50, 0.4);
    border-radius: 12px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

.main-card {
    background: linear-gradient(135deg, rgba(0, 15, 50, 0.6), rgba(0, 15, 50, 0.3));
    margin-bottom: 10px;
}

.identity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 243, 255, 0.25);
}

.glow-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #00F3FF, transparent);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
}

.main-card .glow-accent {
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, #00F3FF, transparent);
}

.identity-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(#00F3FF 1px, transparent 1px),
        linear-gradient(45deg, transparent 49%, #00F3FF 49%, #00F3FF 51%, transparent 51%);
    background-size: 20px 20px, 15px 15px;
    background-position: 0 0, 30px 30px;
    opacity: 0.05;
    z-index: 0;
}

.card-content {
    position: relative;
    z-index: 2;
}

.tech-badge {
    display: inline-block;
    background: linear-gradient(135deg, #00F3FF, #0085FF);
    color: #000928;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
}

.identity-card h4 {
    margin: 0 0 15px 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    color: #00F3FF;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.identity-card p {
    margin: 0;
    padding: 0;
    font-size: 1rem;
    line-height: 1.7;
}

.highlight {
    color: #00F3FF;
    font-weight: 500;
    text-shadow: 0 0 5px rgba(0, 243, 255, 0.3);
}

/* Pulse animation for hover effect */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 5px rgba(0, 243, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 243, 255, 0.8);
    }
    100% {
        box-shadow: 0 0 5px rgba(0, 243, 255, 0.5);
    }
}

.identity-card:hover .glow-accent {
    animation: pulse-glow 1.5s infinite;
}

/* Improved Mission List Styling */
.mission-list,
.club-info ul {
    background-color: rgba(0, 15, 50, 0.3);
    border-radius: 12px;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.mission-list li,
.club-info ul li {
    margin: 0;
    padding: 15px 25px 15px 60px;
    position: relative;
    border-left: none;
    transition: all 0.3s ease;
    background-color: rgba(0, 15, 50, 0.4);
    border-radius: 0;
}

.mission-list li:first-child,
.club-info ul li:first-child {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.mission-list li:last-child,
.club-info ul li:last-child {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.mission-list li:hover,
.club-info ul li:hover {
    background-color: rgba(0, 243, 255, 0.1);
    transform: translateX(5px);
}

/* Replace emojis with modern checkmark */
.mission-list li::before,
.club-info ul li::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #00F3FF, #0085FF);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
    z-index: 1;
}

.mission-list li::after,
.club-info ul li::after {
    content: '';
    position: absolute;
    left: 31px;
    top: 50%;
    width: 6px;
    height: 10px;
    border-right: 2px solid #000928;
    border-bottom: 2px solid #000928;
    transform: translateY(-60%) rotate(45deg);
    z-index: 2;
}

/* Add a line connecting the items */
.mission-list::before,
.club-info ul::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 35px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(0, 243, 255, 0.3), transparent);
    z-index: 0;
}

/* Add hover animation for individual items */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 243, 255, 0.5);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 243, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 243, 255, 0);
    }
}

.mission-list li:hover::before,
.club-info ul li:hover::before {
    animation: pulse 1.5s infinite;
}



.activity-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    position: relative;
    z-index: 3; 
}

.activity-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 243, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    width: 200px;
    height: 200px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-left: 3px solid #00F3FF;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 3; /* Same high z-index */
    pointer-events: auto !important; /* Force pointer events */
}


.activity-card:hover {
    transform: translateY(-5px) !important; /* Use !important to override any conflicting styles */
    box-shadow: 0 6px 15px rgba(0, 243, 255, 0.3) !important; /* Slightly stronger glow */
}

.activity-icon {
    font-size: 6rem;
}

.activity-card h4 {
    font-size: 1.2rem;
    text-align: center;  /* Ensures text is centered */
    width: 100%;
}


/*our team*/
/* Members List Section Styling */
.members-list {
    background-color: #00092c; /* Same dark blue background */
    padding: 50px 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: white;
    position: relative;
    overflow: hidden;
}
/* Add the same subtle tech pattern background */
.members-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(#00F3FF 1px, transparent 1px),
                      radial-gradient(#00F3FF 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    opacity: 0.05;
    z-index: 1;
}
.members-list h2 {
    font-family: 'Orbitron', sans-serif;
    color: #00F3FF; /* Neon cyan color */
    font-size: 42px;
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.5); /* Glow effect */
}
.members-list h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00F3FF, transparent);
    margin: 15px auto 0;
}

/* Section Title Styling */
.section-title {
    font-family: 'Orbitron', sans-serif;
    color: #00F3FF;
    font-size: 28px;
    text-align: center;
    margin: 30px 0;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
}
.section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00F3FF, transparent);
    margin: 10px auto 0;
}

/* Members Section Styling */
.members-section {
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto 50px;
    margin-bottom: 80px;
}

/* FIXED: Consistent Members Grid Layout for ALL sections */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Center single member cards */
.members-grid:has(.member:only-child) {
    justify-content: center;
    grid-template-columns: minmax(300px, 400px);
    justify-items: center;
}

/* REMOVED faculty-specific grid styling to ensure consistency */

/* Individual Member Card Styling */
.member {
    background-color: rgba(0, 15, 50, 0.3);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-left: 3px solid #00F3FF;
    width: 100%; /* FIXED: Ensure all cards take full available width */
    max-width: 350px; /* FIXED: Limit maximum width to keep cards consistent */
    box-sizing: border-box; /* FIXED: Include padding in width calculation */
    margin: 0 auto; /* FIXED: Center cards within their grid cell */
}
.member:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 243, 255, 0.2);
    background-color: rgba(0, 243, 255, 0.1);
}
.member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #00F3FF;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
    margin-bottom: 20px;
}
.member-info {
    width: 100%;
}
.member-info strong {
    color: #00F3FF;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 5px;
}
.member-info .role {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 15px;
    color: white;
    font-style: italic;
}
.linkedin-button {
    display: inline-block;
    background: linear-gradient(135deg, #00F3FF, #0085FF);
    color: #000928;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}
.linkedin-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.7);
}

/* Faculty Section Specific Styling */
.members-section.faculty-section .member {
    border-left-color: #FFD700; /* Gold border for faculty */
}
.members-section.faculty-section .member img {
    border-color: #FFD700; /* Gold border for faculty images */
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}
.members-section.faculty-section .member:hover {
    box-shadow: 0 12px 25px rgba(255, 215, 0, 0.2);
}
.members-section.faculty-section .section-title {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}
.members-section.faculty-section .section-title::after {
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
}
.members-section.faculty-section .member-info strong {
    color: #FFD700;
}

/* Golden LinkedIn buttons for faculty */
.members-section.faculty-section .linkedin-button {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}
.members-section.faculty-section .linkedin-button:hover {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

/* Alumni Section Specific Styling */
.members-section.alumni-section .member {
    border-left-color: #9D4EDD; /* Purple border for alumni */
}
.members-section.alumni-section .member img {
    border-color: #9D4EDD; /* Purple border for alumni images */
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.4);
}
.members-section.alumni-section .member:hover {
    box-shadow: 0 12px 25px rgba(157, 78, 221, 0.2);
    background-color: rgba(157, 78, 221, 0.1);
}
.members-section.alumni-section .section-title {
    color: #9D4EDD;
    text-shadow: 0 0 10px rgba(157, 78, 221, 0.4);
}
.members-section.alumni-section .section-title::after {
    background: linear-gradient(90deg, transparent, #9D4EDD, transparent);
}
.members-section.alumni-section .member-info strong {
    color: #9D4EDD;
}

/* Purple LinkedIn buttons for alumni */
.members-section.alumni-section .linkedin-button {
    background: linear-gradient(135deg, #9D4EDD, #7209B7);
    color: white;
    box-shadow: 0 0 10px rgba(157, 78, 221, 0.5);
}
.members-section.alumni-section .linkedin-button:hover {
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.7);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .members-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media screen and (max-width: 650px) {
    .members-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .members-grid {
        grid-template-columns: 1fr;
    }
   
    .member {
        max-width: 100%;
    }
}
