* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: #000;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  overflow-x: hidden;
}
.header {
  background-color: #111;
  position: sticky;
  top: 0;
  z-index: 999;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
}
.logo img {
  width: 40px;
  margin-right: 0.5rem;
}
.nav-links {
  list-style: none;
  display: flex;
  
}
.nav-links li {
  margin-left: 1.5rem;
}
.nav-links li a {
  text-decoration: none;
  color: #fff;
  position: relative;
}
.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #08B74F, #006c8d);
  transition: width 0.3s ease;
}
.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
              url('../assets/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}
.hero-content h1 {
  font-size: clamp(1.5rem, calc(1.5rem + 4vw), 5rem);
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: clamp(.5rem, calc(0.5rem + 1vw), 1.2rem);
  margin-bottom: 2rem;
  color: #ccc;
}
.cta-button {
  display: inline-block;
  background: linear-gradient(90deg, #08B74F, #007da3);
  color: #fff;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.index-button{
        display: grid;
        gap: 1rem;
        justify-content: center;
        grid-template-columns: repeat(auto-fit, minmax(200px, 0.3fr));
}


.section {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
  text-align: center;
}
.feature-box {
  flex: 1 1 250px;
  max-width: 300px;
  background-color: #111;
  padding: 2rem;
}
.feature-box h3 {
  margin-bottom: 1rem;
}
.parallax {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer {
  background-color: #111;
  text-align: center;
  padding: 1rem;
}
.page-banner {
  height: 40vh;
  background-color: #000;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-banner-content h1 {
  font-size: 2.5rem;
  text-align: center;

}
.page-content {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 2rem;
}
.page-content h2 {
  margin-bottom: 1rem;
}
.event-card {
  background-color: #222;
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.contact-info p {
  margin-bottom: 1rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  max-width: 400px;
}
.contact-form input,
.contact-form textarea {
  background-color: #222;
  border: 1px solid #fff;
  color: #fff;
  margin-bottom: 1rem;
  padding: 0.8rem;
}
.contact-form button {
  background: linear-gradient(90deg, #08B74F, #00779b);
  color: #fff;
  padding: 0.8rem;
  border: none;
  cursor: pointer;
  font-weight: 700;
}
.scale-on-hover {
  transition: transform 0.3s ease;
}
.scale-on-hover:hover {
  transform: scale(1.05);
}
/* TEAM PAGE */
.team-container {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.team-section {
    margin-bottom: 4rem;
    padding: 2rem;
    background: linear-gradient(145deg, #111, #1a1a1a);
    border-radius: 20px;
    border: 1px solid rgba(0, 204, 102, 0.1);
}

.team-section.leadership {
    text-align: center;
    border-color: var(--accent-green);
}

.team-section.heads {
    border-color: var(--primary-green);
}

.team-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--dark-green);
    border-radius: 15px;
    max-width: 400px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;

}

.team-card.leader {
    max-width: 400px;
    margin: 0 auto;
    border: 2px solid var(--accent-green);
    transform: scale(1.05);
}

.leader-badge {
    background: var(--accent-green);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 1rem;
    display: inline-block;
}

.department-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 1;
}

.department-badge.technical { background: #00cc66; }
.department-badge.documentation { background: #ff9900; }
.department-badge.pr { background: #ff3366; }
.department-badge.media { background: #3366ff; }

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

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

.member-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
}

.member-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .member-image img {
    transform: scale(1.1);
}

.member-info {
    padding: 1.5rem;
    text-align: center;
}

.member-info h3 {
    color: var(--light-green);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--primary-green);
    font-size: 0.9rem;
    margin: 0.5rem 0;
    text-transform: uppercase;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    color: var(--light-green);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
}

.social-link:hover {
    color: var(--accent-green);
    transform: translateY(-3px);
    background: rgba(0, 204, 102, 0.1);
}

.section-title {
    color: var(--accent-green);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-green);
}

.department {
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .team-card.leader {
        transform: none;
    }
    
    .heads-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

.join-team-section {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)),
                url('../assets/join-team-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.join-team-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-green);
}

.join-team-section p {
    margin-bottom: 2rem;
    color: var(--light-green);
}

/* Project Cards Styling */
.projects-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
    place-items: center;
}

.project-card {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    max-width: 70%;
    min-width: 20rem;
    margin: 4rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

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

.project-card-preview {
    padding: 1rem;
}

.project-card-preview img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center; /*added by niral*/
}

.tech-tag {
    background: linear-gradient(90deg, #08B74F, #0084ac);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.project-card-expanded {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.project-card.expanded .project-card-expanded {
    max-height: 1000px;
    padding: 1rem;
}

.project-details {
    margin-bottom: 1rem;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: #888;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.project-links a {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.github-link {
    background: #333;
    color: #fff;
}

.demo-link {
    background: linear-gradient(90deg, #08B74F, #006f91);
    color: #fff;
}

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

.gallery-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    cursor: zoom-in;
}

/*DropDown menu */

#open-menu , #close-menu{
    background: none;
    border: none;
    display: none;

}


#overlay{
    position: fixed;
    background-color:rgba(0, 0, 0, 0.5);
    inset: 0;
    z-index: 9;
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-links li:first-child {
        align-self: flex-end;
    }

    #open-menu{
        display: inline-block;
    }

    #close-menu{
        display: inline;
        position: relative;
        right: 0%;
    }


    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    /*Mobile responsive with dropdown*/

    .navbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 2rem;
        flex-direction: rows;
    }

    .nav-links li {
        margin: 1rem 0 0 0 ;
        

    }

    .header {
        background-color: #111;
        position: sticky;
        top: 0px;
        z-index: 10;
    }

    nav {
        flex-wrap: wrap;
    }

    .nav-links {
        display: flex;
        flex-basis: 100%;
        flex-wrap: wrap;
        gap: 1rem;
        align-items: center;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 40vw;
        height: 100dvh;
        background-color: #111;
        font-size: larger;
        z-index: 10;
        transition: right 300ms ease-out;
    }

    nav ul.show{
        right: 0%;
    }  
}

/* Add these new styles */

:root {
    --primary-green: #08B74F;
    --secondary-green: #00aa55;
    --accent-green: #00ff88;
    --dark-green: #005533;
    --light-green: #ccffee;
}

/* Event Cards */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.event-card {
    background: linear-gradient(145deg, #111, #1a1a1a);
    border: 1px solid var(--dark-green);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 204, 102, 0.2);
}

.event-header {
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-green));
    padding: 1.5rem;
    color: #fff;
}

.event-type-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.event-preview {
    padding: 1.5rem;
}

.capacity-meter {
    background: #222;
    height: 6px;
    border-radius: 3px;
    margin-top: 1rem;
    position: relative;
}

.capacity-fill {
    background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.event-expanded {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.event-card.expanded .event-expanded {
    max-height: 500px;
    padding: 1.5rem;
}

.topics-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.topic-tag {
    background: var(--dark-green);
    color: var(--light-green);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.register-button {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-green));
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: transform 0.3s ease;
}

.register-button:hover {
    transform: scale(1.05);
}

/* Filter styles */
.filter-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    background: #222;
    border: 1px solid var(--dark-green);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: var(--primary-green);
    color: #000;
}

/* Search container */
.search-container {
    max-width: 500px;
    margin: 0 auto 2rem;
}

.search-container input {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--dark-green);
    border-radius: 25px;
    background: #222;
    color: #fff;
}

/* Update existing project cards with new color scheme */
.project-card {
    border: 1px solid var(--dark-green);
}

.tech-tag {
    background: var(--dark-green);
    color: var(--light-green);
}

.demo-link {
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-green));
}

/* Hero Section Enhancements */
.glitch-text {
    position: relative;
    font-size: 4rem;
    font-weight: bold;
    text-shadow: 0 0 10px var(--accent-green);
    margin-bottom: 10px;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    left: 2px;
    text-shadow: -2px 0 var(--primary-green);
    animation: glitch-1 2s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: 2px 0 var(--secondary-green);
    animation: glitch-2 3s infinite linear alternate-reverse;
}

.typewriter-text {
    font-size: 1.5rem;
    border-right: 2px solid var(--accent-green);
    white-space: nowrap;
    overflow: hidden;
    animation: typing 3.5s steps(40, end),
               blink-caret 0.75s step-end infinite;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-green);
}

.stat-label {
    font-size: 1rem;
    color: var(--light-green);
}

/* Featured Section */
.featured-section {
    padding: 4rem 2rem;
    background: linear-gradient(145deg, #111, #1a1a1a);
}

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

/* Timeline Section */
.timeline-section {
    padding: 4rem 2rem;
    position: relative;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 2rem auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--primary-green);
}

/* Tech Stack Cloud */
.tech-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
}

.tech-icon {
    font-size: 3rem;
    color: var(--light-green);
    transition: all 0.3s ease;
}

.tech-icon:hover {
    color: var(--accent-green);
    transform: scale(1.2);
}

/* Community Section */
.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
}

.community-card {
    background: linear-gradient(145deg, #111, #1a1a1a);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--dark-green);
    transition: all 0.3s ease;
}

.community-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 204, 102, 0.2);
}

.community-card i {
    font-size: 3rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
}

/* Animations */
@keyframes glitch-1 {
    0% { clip-path: inset(20% 0 30% 0); }
    100% { clip-path: inset(10% 0 85% 0); }
}

@keyframes glitch-2 {
    0% { clip-path: inset(80% 0 5% 0); }
    100% { clip-path: inset(40% 0 43% 0); }
}

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

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--accent-green) }
}

/* Featured Cards */
.feature-card {
    background: linear-gradient(145deg, #111, #1a1a1a);
    border: 1px solid var(--dark-green);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 204, 102, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--light-green);
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #ccc;
    margin-bottom: 1rem;
}

.learn-more {
    display: inline-block;
    color: var(--accent-green);
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.learn-more:hover {
    color: var(--primary-green);
    transform: translateX(5px);
}

/* Impact Section */
.impact-section {
    padding: 4rem 2rem;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)),
                url('../assets/impact-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.impact-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--accent-green);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    /* max-width: 1200px; */
    margin: 0 auto;
}

.impact-card {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--dark-green);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.impact-card i {
    font-size: 3rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
}

.impact-card h3 {
    color: var(--light-green);
    margin-bottom: 1rem;
}

.impact-card p {
    color: #ccc;
}

/* Team Section Styles */
.leader-section {
    text-align: center;
    margin-bottom: 4rem;
}

.leader-card {
    max-width: 400px;
    margin: 0 auto;
    background: linear-gradient(145deg, #111, #1a1a1a);
    border: 2px solid var(--accent-green);
    border-radius: 20px;
    overflow: hidden;
    transform: scale(1.1);
}

.heads-section {
    margin-bottom: 4rem;
}

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

.head-card {
    background: linear-gradient(145deg, #111, #1a1a1a);
    border: 1px solid var(--primary-green);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.head-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 204, 102, 0.2);
}

.department-section {
    margin-bottom: 4rem;
}

.department-section h2 {
    color: var(--accent-green);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.department-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-green);
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
}

.member-card {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 204, 102, 0.1);
}

/* Update existing member-image styles */
.member-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: #111;
}

.member-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.member-card:hover .member-image img {
    transform: scale(1.1);
}

/* Project Page Specific Styles */
.project-categories {
    padding: 2rem;
    background: linear-gradient(145deg, #111, #1a1a1a);
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-tab {
    background: transparent;
    border: 1px solid var(--primary-green);
    color: var(--light-green);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-tab.active,
.category-tab:hover {
    background: var(--primary-green);
    color: #000;
}

.project-showcase {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card.featured {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    background: linear-gradient(145deg, #111, #1a1a1a);
    border: 1px solid var(--accent-green);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.project-header {
    position: relative;
    overflow: hidden;
}

.project-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-header img {
    transform: scale(1.1);
}

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-green);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-weight: bold;
}

.project-content {
    padding: 2rem;
}

.project-meta {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
    color: var(--light-green);
    font-size: 0.9rem;
}

.project-meta i {
    margin-right: 0.5rem;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.github-link, .demo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.github-link {
    background: #333;
    color: #fff;
}

.demo-link {
    background: var(--primary-green);
    color: #000;
}

.github-link:hover, .demo-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 204, 102, 0.2);
}

.get-involved {
    padding: 4rem 2rem;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)),
                url('../assets/contribute-bg.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.involvement-steps {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--dark-green);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.step i {
    font-size: 2.5rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
}

.step h3 {
    color: var(--light-green);
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .project-card.featured {
        grid-template-columns: 1fr;
    }
    
    .project-header img {
        height: 300px;
    }
}

/* Project Page Styles */
.projects-container {
    padding: 2rem;
    max-width: 1400px;
    place-items: center;
    margin: 0 auto;
}

.project-card {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1rem;
    background: linear-gradient(145deg, #111, #1a1a1a);
    border: 1px solid var(--dark-green);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 204, 102, 0.2);
}

.project-card.featured {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    border: 2px solid var(--accent-green);
}

.project-header {
    position: relative;
    overflow: hidden;
}

.project-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-header img {
    transform: scale(1.1);
}

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-green);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-weight: bold;
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    color: var(--light-green);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tech-tag {
    background: var(--dark-green);
    color: var(--light-green);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.project-meta {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
    color: var(--light-green);
    font-size: 0.9rem;
}

.project-meta i {
    margin-right: 0.5rem;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.github-link, .demo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 1;
}

.github-link {
    background: #333;
    color: #fff;
}

.demo-link {
    background: var(--primary-green);
    color: #000;
}

.github-link:hover, .demo-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 204, 102, 0.2);
}


@media (max-width: 768px) {
    .project-card.featured {
        grid-template-columns: 1fr;
    }

    .project-card {
        grid-template-columns: 1fr;
    }
    
    .project-header img {
        height: 300px;
    }
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 0.5rem 0;
}

.skill-tag {
    background: rgba(0, 204, 102, 0.1);
    color: var(--light-green);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid var(--dark-green);
}

/* Department specific tag colors */
.technical .skill-tag { border-color: #00cc66; }
.documentation .skill-tag { border-color: #ff9900; }
.pr .skill-tag { border-color: #ff3366; }
.media .skill-tag { border-color: #3366ff; }

/* Update team member cards to be smaller than heads */
.team-card.member {
    transform: scale(0.9);
    min-width: 18rem;
    background: rgba(26, 26, 26, 0.6);
}

.team-card.member .member-image {
    padding-top: 80%; /* Make image slightly smaller */
}

.team-card.member .member-info {
    padding: 1rem;
}

.team-card.member h3 {
    font-size: 1.1rem;
}

.team-card.member .member-role {
    font-size: 0.8rem;
}
  
/* Adjust grid for members */
.team-grid.members {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

/* Make member cards less prominent on hover */
.team-card.member:hover {
    transform: translateY(-5px) scale(0.9);
    box-shadow: 0 5px 15px rgba(0, 204, 102, 0.1);
}

/* Events Page Styles */
.events-container {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.events-section {
    margin-bottom: 4rem;
}

.section-title {
    color: var(--accent-green);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-green);
}

.event-card {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(145deg, #111, #1a1a1a);
    border-radius: 15px;
    border: 1px solid var(--dark-green);
    overflow: hidden;
}

.event-card.completed {
    opacity: 0.8;
    background: linear-gradient(145deg, #0a0a0a, #151515);
}

.event-date {
    min-width: 100px;
    padding: 1.5rem;
    background: var(--primary-green);
    color: #000;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-date.past {
    background: #444;
    color: #ccc;
}

.event-date .date {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

.event-date .month {
    font-size: 1rem;
    text-transform: uppercase;
}

.event-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.event-tag {
    display: inline-block;
    background: var(--accent-green);
    color: #000;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.event-meta {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
    color: var(--light-green);
    font-size: 0.9rem;
}

.event-meta i {
    margin-right: 0.5rem;
}

.event-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.register-btn,
.resources-btn,
.recording-btn,
.add-calendar-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.register-btn {
    background: var(--accent-green);
    color: #000;
}

.resources-btn {
    background: var(--primary-green);
    color: #000;
}

.recording-btn {
    background: #444;
    color: #fff;
}

.add-calendar-btn {
    background: transparent;
    border: 1px solid var(--primary-green);
    color: var(--light-green);
}

@media (max-width: 768px) {

    .event-card {
        flex-direction: column;
    }
    
    .event-date {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        padding: 1rem;
        align-items: center;
    }
    
    .event-actions {
        flex-direction: column;
    }
}

/* Latest Events Section */
.latest-events {
    padding: 4rem 2rem;
    background: linear-gradient(145deg, #111, #1a1a1a);
}

.events-preview {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.event-preview-card {
    display: flex;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--dark-green);
    border-radius: 15px;
    padding: 1.5rem;
    max-width: 400px;
    transition: transform 0.3s ease;
}

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

.event-link {
    display: inline-block;
    color: var(--accent-green);
    text-decoration: none;
    margin-top: 1rem;
    font-weight: bold;
}

/* Achievements Section */
.achievements {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)),
                url('../assets/achievements-bg.jpg');
    padding: 4rem 2rem;
}

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

.achievement-card {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--primary-green);
}

.achievement-icon {
    font-size: 2.5rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 2rem;
    background: linear-gradient(145deg, #111, #1a1a1a);
}

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

.testimonial-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--dark-green);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Newsletter Section */
.newsletter {
    padding: 4rem 2rem;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)),
                url('../assets/newsletter-bg.jpg');
    text-align: center;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 2rem auto 0;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .events-preview {
        flex-direction: column;
    }
    
    .achievement-card {
        padding: 1.5rem;
    }
}

/* About Page Specific Styles */
.mission-section {
    padding: 4rem 2rem;
    background: linear-gradient(145deg, #111, #1a1a1a);
    text-align: center; /* Centers all text inside the section */
}

.mission-heading {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-green);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.mission-heading::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-green);
    margin: 0.5rem auto 1rem;
    border-radius: 2px;
}

.mission-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.mission-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ddd;
    max-width: 800px;
}

.mission-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.mission-stats .stat {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 204, 102, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.mission-stats .stat:hover {
    transform: scale(1.1);
}

.mission-stats .stat i {
    font-size: 2rem;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
}

.mission-stats .stat span {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--light-green);
}

.mission-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 204, 102, 0.2);
    margin-top: 2rem;
}

/* Ensure Section is Visible */
.values-section {
    padding: 4rem 2rem;
    text-align: center;
}

/* Title Styling */
.section-title {
    font-size: 2rem;
    color: #00ff99;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

/* Grid Layout */
.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
}

/* Value Card */
.value-card {
    background: #111;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #00ff99;
    text-align: center;
    width: 250px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s ease-in-out; /* Smooth effect */
}

/* Ensure text stays centered */
.value-card p {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.6;
}

/* Smoother Glow & Scale Effect */
.value-card:hover {
    transform: scale(1.07);
    box-shadow: 0 8px 30px rgba(0, 255, 150, 0.5);
}

/* Pulsating Glow Animation */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 10px rgba(0, 255, 150, 0.4); }
    50% { box-shadow: 0 0 20px rgba(0, 255, 150, 0.6); }
    100% { box-shadow: 0 0 10px rgba(0, 255, 150, 0.4); }
}

/* Optional: Add pulse animation on hover */
.value-card:hover {
    animation: pulseGlow 1.5s infinite alternate ease-in-out;
}

/* Icon Styling */
.value-card i {
    font-size: 2rem;
    color: #00ff99;
    margin-bottom: 10px;
    transition: transform 0.4s ease, color 0.4s ease;
}

.value-card:hover i {
    transform: scale(1.2);
    color: #00ffaa;
}

/* Heading & Paragraph */
.value-card h3 {
    margin-bottom: 10px; /* Ensures equal spacing for all headings */
  }
  
.value-card p {
  max-width: 90%; /* Ensures better text distribution */
  margin: 0 auto; /* Centers text */
}
.section-title {
    text-align: center;
    width: 100%;
    display: block;
    margin-bottom: 2rem;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: auto;
    padding: 20px 0;
}

/* Vertical Timeline Line */
.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--primary-green);
    transform: translateX(-50%);
}

/* Ensure the line stops at the last item */
.timeline-item:last-child::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 4px;
    height: 0; /* Prevents extra line extension */
    background: transparent;
    transform: translateX(-50%);
}

/* Timeline Item Alignment */
.timeline-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin-bottom: 30px; /* Reduced gap between items */
    position: relative;
}

/* Alternate left-right positioning */
.timeline-item:nth-child(even) {
    justify-content: flex-end;
}

/* Timeline Card Styling */
.timeline-content {
    background: linear-gradient(145deg, #111, #1a1a1a);
    padding: 1.2rem; /* Slightly reduced padding */
    border-radius: 15px;
    border: 1px solid var(--dark-green);
    width: 42%; /* Adjusted width */
    word-wrap: break-word;
    line-height: 1.5; /* Reduced line height */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

/* Hover Effect */
.timeline-content:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 255, 150, 0.6);
}

/* Timeline Year */
.timeline-year {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--primary-green);
    margin-bottom: 6px; /* Reduced space */
}

/* Timeline Title */
.timeline-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

/* Circle Indicator */
.timeline-item::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px; /* Smaller circle */
    height: 16px;
    background: var(--primary-green);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/* Responsive Fix */
@media screen and (max-width: 768px) {
    .timeline-item {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px; /* Reduced space for mobile */
    }

    .timeline-item:nth-child(even) {
        justify-content: center;
    }

    .timeline-content {
        width: 85%; /* Wider on smaller screens */
        text-align: center;
    }

    .timeline-item::before {
        left: 50%;
    }
}

.tech-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    padding: 2rem;
}

.tech-item {
    text-align: center;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-10px);
}

.tech-item i {
    font-size: 3rem;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
}

.tech-item span {
    display: block;
    color: var(--light-green);
}

.community-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

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

.benefit-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(145deg, #111, #1a1a1a);
    border-radius: 15px;
    border: 1px solid var(--dark-green);
}

.benefit-item i {
    font-size: 2rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centers items */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.partner-card {
    background: linear-gradient(145deg, #111, #1a1a1a);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--dark-green);
    transition: all 0.3s ease;
}
.partner-card a h4 {
    color: white !important; /* Forces white text */
}
a {
    text-decoration: none !important;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 204, 102, 0.2);
}

.partner-card img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .mission-content,
    .community-content {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 0;
    }
    
    .timeline-item {
        width: 100%;
        transform: none;
        margin-left: 2rem;
    }
    
    .timeline-item:nth-child(even) {
        transform: none;
        margin-left: 2rem;
    }
}
.about-title::after {
    width: 14%; 
}
.event-card {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
  border-radius: 8px;
  transition: transform 0.3s ease-in-out;
}

.event-card:hover {
  transform: translateY(-5px); 
}
.section-title {
  font-size: 2rem; 
  margin-bottom: 20px;
  color: #ffffff; 
}
button, .register-btn, .resources-btn, .recording-btn {
  transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

button:hover, .register-btn:hover, .resources-btn:hover, .recording-btn:hover {
  background-color: #0088cc; 
  color: #fff;
  transform: scale(1.05); 
}
@media screen and (max-width: 768px) {
    /* Adjust the padding for sections */
    .mission-section, .values-section {
        padding: 2rem 1rem;
    }

    /* Make headings more readable on mobile */
    .mission-heading, .section-title {
        font-size: 2rem;
    }

    /* Stack mission stats vertically */
    .mission-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    /* Ensure images fit properly */
    .mission-image img {
        max-width: 90%;
    }

    /* Adjust values grid */
    .values-grid {
        display: grid;
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 15px;
        padding: 1rem; /* Adds padding on both sides */
    }

    /* Reduce padding and font sizes in value cards */
    .value-card {
        width: 100%;
        padding: 1.5rem;
    }

    .value-card h3 {
        font-size: 1.2rem;
    }

    /* Timeline Mobile Optimization */
    .timeline {
        padding: 20px 10px;
    }

    .timeline::before {
        left: 10px; /* Align the vertical line to the left */
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 20px;
    }

    .timeline-item::before {
        left: 10px;
    }

    .timeline-content {
        width: 90%;
        text-align: left;
        padding: 1rem;
    }

    /* Reduce glow effects on mobile to improve performance */
    .value-card:hover {
        transform: scale(1.02);
        box-shadow: none;
    }

     /* Add padding so cards don't touch screen edges */
     .partners-grid, .benefits-container {
        padding: 1rem;
    }

    /* Adjust partner and benefit cards */
    .partner-card, .benefit-item {
        max-width: 85%; /* Prevents full width stretching */
        margin: 0 auto; /* Centers cards */
        padding: 1rem; /* Adjust padding for better spacing */
        
    }

    /* Adjust icon alignment */
    .benefit-item i {
        display: inline-block;
        vertical-align: middle;
        margin-right: 0.5rem;
    }
    .partners-grid {
        display: flex;
        justify-content: center;
        gap: 10px; /* Reduces space between cards */
        flex-wrap: wrap; /* Ensures responsiveness */
    }
    
    /* Adjust partner card size and alignment */
    .partner-card {
        width: 120px; /* Slightly larger width */
        height: 140px; /* Slightly increased height */
        padding: 0.8rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-radius: 10px;
    }
    
    /* Ensure social media names fit properly */
    .partner-card a {
        color: white !important;
        text-decoration: none;
        font-size: 0.9rem;
        text-align: center;
        display: block;
    }
    /* Ensure images scale properly within the cards */
    .partner-card img {
        width: 80%;
        height: auto;
        display: block;
        margin: 0 auto 8px; /* Centers the icon and adds spacing below */    
    }
}

/* Contact Page Styles */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.contact-info {
  background: linear-gradient(145deg, #111, #1a1a1a);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(0, 204, 102, 0.1);
}

.contact-info h2 {
  margin-bottom: 2rem;
  color: #00cc66;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(0, 204, 102, 0.2);
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(0, 204, 102, 0.1);
  transform: translateX(10px);
}

.social-link i {
  font-size: 1.5rem;
  color: #00cc66;
}

.contact-details {
  margin-top: 2rem;
}

.contact-details p {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-details i {
  color: #00cc66;
}

.contact-form {
  background: linear-gradient(145deg, #111, #1a1a1a);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(0, 204, 102, 0.1);
}

.contact-form h2 {
  margin-bottom: 2rem;
  color: #00cc66;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(0, 204, 102, 0.2);
  border-radius: 10px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00cc66;
  box-shadow: 0 0 0 2px rgba(0, 204, 102, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1rem;
  }

  .contact-info,
  .contact-form {
    padding: 1.5rem;
  }

  .social-link {
    padding: 0.8rem;
  }

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

  .form-group input,
  .form-group textarea {
    padding: 0.8rem;
  }
}
/* Technical Team Grid */
.team-grid.members {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 cards per row */
    gap: 20px;
    width: 100%;
    margin: 0 auto;
    padding: 5px;
    box-sizing: border-box;
}

/* Individual Card Style - Wider & Shorter */
.team-grid.members .team-card {
    width: 100%;
    max-width: 320px; /* Increased width */
    height: 500px; /* Reduced height */
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    background-color: #1a1a1a;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Hover effect */
.team-grid.members .team-card:hover {
    transform: translateY(-8px);
}

/* Member Name - At the top */
.team-grid.members .member-info {
    order: -1; /* Moves the name to the top */
    width: 100%;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Member Name Styling */
.team-grid.members .member-info h3 {
    color: #c4e3cb;
    font-size: 22px;
    font-weight: bold;
    margin: 0;
}

/* Image - Now takes up full available space */
.team-grid.members .member-image {
    flex-grow: 1;
    width: 100%;
}
.team-grid.members .member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* Responsive for tablets */
@media (max-width: 1024px) {
    .team-grid.members {
        grid-template-columns: repeat(2, 1fr);
    }
    .team-grid.members .team-card {
        max-width: 300px;
        height: 450px; /* Slightly smaller on tablets */
    }
}

/* Responsive for mobile devices */
@media (max-width: 768px) {
    .team-grid.members {
        grid-template-columns: 1fr;
    }
    .team-grid.members .team-card {
        max-width: 100%;
        height: 500px; /* Keep it compact */
    }
}
/*Add about section in home page, Add nav bar on footer*/
.about-us{
    /* outline: solid 2px; */
    background-color:#2e90fa ;
    padding: 2rem;
    display: flex;
}

.about-us h2{
    text-align: center;

}

.about-us p {
    margin-top: 1rem;
    font-size: 18px;
}

.about-us button{
    border: 0;

}

.hero {
    background-image: url("../assets/bg.png");
    /* filter: blur(8px); */
    height: 100dvh;
    width: 100dvw;
    background-attachment: scroll;
}
 
footer p{
    margin-bottom: 1rem;
}

.nav-links-footer{
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 2rem;
}

.nav-links-footer li a {
    text-decoration: none;
    color: aliceblue;
    position: relative;
}

.nav-links-footer li a.active::after {
    width: 100%;
}
.nav-links-footer li a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #08B74F, #006f91);
    transition: width 0.3s ease;
}

@media (max-width: 768px) {
    .nav-links-footer{
        flex-direction: column;
    }
}

.achievements-content h2,.impact-section h2,.featured-section h2 {
    color: #ffffff;
    text-align: center;
}

/* New Home Page Styles */
.about-section {
  padding: 5rem 2rem;
  background-color: #111;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 204, 102, 0.2);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.5s ease;
}

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

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-heading {
  font-size: 2.5rem;
  color: var(--accent-green);
  font-weight: 700;
  position: relative;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
  border-radius: 2px;
  margin-bottom: 1rem;
}

.section-heading.light,
.section-divider.light {
  color: #fff;
}

.about-content p {
  line-height: 1.8;
  color: #ddd;
  font-size: 1.1rem;
}

.about-features {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature i {
  color: var(--accent-green);
  font-size: 1.2rem;
}

.learn-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-green);
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  transition: gap 0.3s ease;
}

.learn-more-link:hover {
  gap: 0.8rem;
}

/* Projects Showcase Redesign */
.projects-showcase {
  padding: 5rem 2rem;
  background-color: #0a0a0a;
}

.showcase-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-description {
  color: #ddd;
  font-size: 1.2rem;
  margin-top: 1rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.showcase-item {
  background: linear-gradient(145deg, #111, #1a1a1a);
  border-radius: 10px;
  overflow: hidden;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border: 1px solid rgba(0, 204, 102, 0.1);
  height: 100%;
}

.showcase-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 204, 102, 0.2);
}

.showcase-icon {
  font-size: 3rem;
  color: var(--accent-green);
  margin-bottom: 1rem;
  text-align: center;
}

.showcase-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.showcase-content h3 {
  font-size: 1.8rem;
  color: var(--light-green);
}

.showcase-content p {
  color: #ddd;
  line-height: 1.6;
  flex: 1;
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.tech-pills span {
  background: rgba(0, 204, 102, 0.1);
  color: var(--accent-green);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.showcase-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-green);
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  transition: gap 0.3s ease;
}

.showcase-link:hover {
  gap: 0.8rem;
}

.showcase-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Impact Section Redesign */
.impact-section {
  padding: 5rem 2rem;
  background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)),
              url('../assets/impact-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.impact-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.impact-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.impact-block {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  padding: 2.5rem 2rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 204, 102, 0.2);
  transition: transform 0.3s ease;
}

.impact-block:hover {
  transform: translateY(-10px);
}

.impact-icon {
  font-size: 3rem;
  color: var(--accent-green);
  margin-bottom: 1.5rem;
}

.impact-block h3 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.impact-block p {
  color: #ddd;
  line-height: 1.6;
}

/* Achievements Timeline Redesign */
.achievements-section {
  padding: 5rem 2rem;
  background-color: #111;
}

.achievements-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 4rem auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-green);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  width: 100%;
  display: flex;
  justify-content: center;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--accent-green);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-content {
  width: 45%;
  background: #1a1a1a;
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 204, 102, 0.2);
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: auto;
  margin-left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: auto;
  margin-right: 0;
  text-align: left;
}

.timeline-date {
  color: var(--accent-green);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  color: #fff;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.timeline-content p {
  color: #ddd;
  font-size: 1rem;
  line-height: 1.6;
}

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

.metric {
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 204, 102, 0.2);
  transition: transform 0.3s ease;
}

.metric:hover {
  transform: translateY(-10px);
}

.metric-icon {
  font-size: 2.5rem;
  color: var(--accent-green);
  margin-bottom: 1rem;
}

.metric-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.metric-label {
  color: #ddd;
  font-size: 1.1rem;
}

/* Newsletter Section Redesign */
.newsletter-section {
  padding: 5rem 2rem;
  background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)),
              url('../assets/newsletter-bg.jpg');
  background-size: cover;
  background-position: center;
}

.newsletter-container {
  max-width: 800px;
  margin: 0 auto;
}

.newsletter-content {
  text-align: center;
}

.newsletter-content p {
  color: #ddd;
  font-size: 1.2rem;
  margin: 1rem 0 2rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  margin: 2.5rem auto;
  max-width: 600px;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border-radius: 30px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1rem;
}

.submit-btn {
  padding: 1rem 2rem;
  border-radius: 30px;
  border: none;
  background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
  color: #000;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-3px);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.5rem;
}

.social-links a {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-green);
  color: #000;
  transform: translateY(-5px);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .about-container {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    height: 400px;
    order: -1;
  }
  
  .timeline-item {
    flex-direction: column;
    align-items: center;
  }
  
  .timeline::before {
    left: 0;
  }
  
  .timeline-marker {
    left: 0;
  }
  
  .timeline-content {
    width: 100%;
    margin: 0 0 0 30px !important;
    text-align: left !important;
  }
}

@media (max-width: 768px) {
  .about-features {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .impact-blocks,
  .achievements-metrics {
    grid-template-columns: 1fr;
  }
  
  .section-heading {
    font-size: 2rem;
  }
  
  .about-image {
    height: 300px;
  }
}

/* Terminal Section Styles */
.terminal-section {
  padding: 5rem 2rem;
  background: #0a0a0a;
}

.terminal-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.terminal-code {
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.terminal-header {
  background: #333;
  padding: 0.8rem;
  display: flex;
  align-items: center;
  position: relative;
}

.terminal-button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f56;
  margin-right: 6px;
}

.terminal-button:nth-child(2) {
  background: #ffbd2e;
}

.terminal-button:nth-child(3) {
  background: #27c93f;
}

.terminal-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #ddd;
  font-size: 0.9rem;
}

.terminal-body {
  padding: 1.5rem;
  font-family: monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #ddd;
  max-height: 350px;
  overflow-y: auto;
}

.code-line {
  margin-bottom: 0.5rem;
  white-space: nowrap;
}

.prompt {
  color: var(--accent-green);
  margin-right: 0.5rem;
}

.command {
  color: #ff9900;
  font-weight: bold;
}

.result {
  color: #bbb;
}

.success {
  color: var(--accent-green);
}

.blink .cursor {
  animation: blink 1s infinite;
}

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

.terminal-content {
  color: #fff;
}

.terminal-content h2 {
  margin-bottom: 1rem;
}

.terminal-content p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: #ddd;
}

.terminal-features {
  list-style: none;
  margin-bottom: 2rem;
}

.terminal-features li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.terminal-features i {
  color: var(--accent-green);
  margin-right: 1rem;
  font-size: 1.2rem;
}

.terminal-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-green);
  color: #000;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.terminal-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 204, 102, 0.2);
}

/* Featured Projects Alternating Layout */
.featured-projects {
  padding: 5rem 2rem;
  background: #111;
}

.featured-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.project-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto 5rem;
  align-items: center;
}

.project-item.reverse {
  direction: rtl;
}

.project-item.reverse .project-details {
  direction: ltr;
}

.project-image {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height: 400px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.project-badge {
  display: inline-block;
  background: var(--accent-green);
  color: #000;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.project-details h3 {
  font-size: 2rem;
  color: var(--light-green);
  margin-bottom: 1rem;
}

.project-details p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: #ddd;
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-pills span {
  background: rgba(0, 204, 102, 0.1);
  color: var(--accent-green);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-green);
  text-decoration: none;
  font-weight: 600;
  transition: gap 0.3s ease;
}

.project-link:hover {
  gap: 0.8rem;
}

.projects-cta {
  text-align: center;
  margin-top: 2rem;
}

/* Text-Heavy Achievements Section */
.achievements-text-section {
  padding: 5rem 2rem;
  background: linear-gradient(145deg, #111, #181818);
}

.achievements-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.achievements-wrapper h2 {
  text-align: center;
}

.achievements-highlights {
  margin-top: 3rem;
}

.highlight-group {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight-group:last-child {
  border-bottom: none;
}

.highlight-title {
  color: var(--accent-green);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.highlight-title i {
  font-size: 1.8rem;
}

.highlight-content {
  padding-left: 3rem;
  color: #ddd;
}

.highlight-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
  font-size: 1.1rem;
}

.highlight-content strong {
  color: var(--light-green);
}

.highlight-content em {
  font-style: italic;
  color: var(--accent-green);
}

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

.stat-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 204, 102, 0.2);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 204, 102, 0.1);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-green);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #ddd;
  font-size: 1.1rem;
}

/* Tech Stack Showcase with Orbital Animation */
.tech-stack-showcase {
  padding: 6rem 2rem;
  background: #0a0a0a;
  overflow: hidden;
}

.tech-showcase-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.tech-orbital {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 4rem auto;
}

.tech-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  background: linear-gradient(145deg, var(--primary-green), var(--accent-green));
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.core-label {
  color: #000;
  font-weight: 700;
  font-size: 1.2rem;
}

.tech-orbit {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px dashed rgba(0, 204, 102, 0.3);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.tech-planet {
  position: absolute;
  width: 50px;
  height: 50px;
  background: #1a1a1a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.tech-planet i {
  font-size: 1.8rem;
  color: var(--accent-green);
}

.tech-planet:nth-child(1) {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.tech-planet:nth-child(2) {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.tech-planet:nth-child(3) {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.tech-planet:nth-child(4) {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.tech-planet:nth-child(5) {
  top: 25%;
  left: 25%;
  transform: translate(-50%, -50%);
}

.tech-planet:nth-child(6) {
  top: 25%;
  right: 25%;
  transform: translate(50%, -50%);
}

.tech-planet:nth-child(7) {
  bottom: 25%;
  right: 25%;
  transform: translate(50%, 50%);
}

.tech-planet:nth-child(8) {
  bottom: 25%;
  left: 25%;
  transform: translate(-50%, 50%);
}

.tech-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.tech-category h3 {
  color: var(--light-green);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.tech-items {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.tech-items span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 204, 102, 0.1);
  color: #ddd;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.tech-items span:hover {
  background: rgba(0, 204, 102, 0.2);
  transform: translateY(-3px);
}

.tech-items span i {
  color: var(--accent-green);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .terminal-container,
  .project-item {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .project-item.reverse {
    direction: ltr;
  }
  
  .project-image {
    height: 300px;
  }
  
  .tech-orbital {
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 768px) {
  .highlight-content {
    padding-left: 1rem;
  }
  
  .highlight-title {
    font-size: 1.3rem;
  }
  
  .tech-categories {
    grid-template-columns: 1fr;
  }
  
  .tech-orbital {
    width: 200px;
    height: 200px;
  }
  
  .tech-planet {
    width: 40px;
    height: 40px;
  }
  
  .tech-planet i {
    font-size: 1.4rem;
  }
  
  .tech-core {
    width: 60px;
    height: 60px;
  }
}
/* Newsletter Section Redesign */
.newsletter-section {
  padding: 5rem 2rem;
  background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)),
              url('../assets/newsletter-bg.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.newsletter-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.newsletter-content p {
  color: #ddd;
  font-size: 1.2rem;
  margin: 1rem 0 2rem;
  animation: fadeIn 1s ease-in-out;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  margin: 2.5rem auto;
  max-width: 600px;
  animation: fadeInUp 1s ease-in-out;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border-radius: 30px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.newsletter-form input::placeholder {
  color: #ccc;
}

.newsletter-form input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.2);
}

.submit-btn {
  padding: 1rem 2rem;
  border-radius: 30px;
  border: none;
  background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
  color: #000;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  animation: fadeInUp 1.2s ease-in-out;
}

.social-links a {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-links a:hover {
  background: var(--primary-green);
  color: #000;
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* Floating background elements */
.newsletter-section::before, .newsletter-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 0;
  animation: float 6s ease-in-out infinite;
}

.newsletter-section::before {
  top: -200px;
  left: -200px;
}

.newsletter-section::after {
  bottom: -200px;
  right: -200px;
}

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

/* Section divider styling */
.section-divider {
  width: 60px;
  height: 4px;
  background: var(--primary-green);
  margin: 1rem auto;
  border-radius: 2px;
  animation: fadeIn 0.8s ease-in-out;
}


.section-heading {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 1rem;
  animation: fadeInDown 0.8s ease-in-out;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  
  
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
.social-links {
  display: flex;
  justify-content: center; /* Center horizontally */
  gap: 1rem; /* Space between icons */
  margin-top: 1.5rem; /* Space from top */
  flex-direction: row; /* Make sure it's horizontal */
}

.social-links a {
  font-size: 1.5rem; /* Size of the icons */
  color: #fff; /* Icon color */
  text-decoration: none; /* No underline */
  transition: transform 0.3s ease-in-out;
}

.social-links a:hover {
  transform: scale(1.2); /* Hover animation */
}

.social-links {
  margin-top: 1.5rem;
  display: flex; /* Ensures icons are side by side */
  justify-content: center;
  gap: 1rem; /* Adds space between icons */
  flex-wrap: nowrap; /* Prevents wrapping */
}
.parent-container {
  display: flex;
  justify-content: center;
}
.subscribe {
  margin-top: 20px;
  text-align: center;
}

.subscribe-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #08B74F; /* FOSS Green */
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

/* Footer */

.logo-section {
  display: flex;
  align-items: center;
  gap: 10px;
}
.secondary-menu {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 10px 0;
  flex-wrap: wrap;
  padding: 1rem;
}
.menu-link {
  text-decoration: none;
  color: #5b5b5b;
  font-size: 1.2em;
  font-weight: bold;
}
.menu-link:hover {
  color: #555;
}

/* Footer */

.subscribe-btn:hover {
  background-color: #0056b3;
}


