/* 
* Team GigaWatt BITS Goa - Main Stylesheet
* Author: Team GigaWatt Web Development Team
* Version: 1.0
*/

/* ===== GLOBAL STYLES ===== */
:root {
    --primary-color: #005DE9;
    --secondary-color: #00A3FF;
    --accent-color: #FFD700;
    --dark-color: #0D1B2A;
    --light-color: #F8F9FA;
    --gray-color: #6C757D;
    --light-gray: #E9ECEF;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --heading-font: 'Montserrat', Arial, sans-serif;
    --body-font: 'Inter', Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    background-color: var(--light-color);
    color: var(--dark-color);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    font-family: var(--body-font);
}

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

/* ===== BUTTONS ===== */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.9rem;
    
}



.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

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

/* ===== SECTION STYLES ===== */
section {
    padding: 80px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.underline {
    height: 5px;
    width: 80px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    position: relative;
    text-align: center;
}

.loader span {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

.progress-bar {
    width: 300px;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: var(--primary-color);
    animation: loading 2s ease-in-out forwards;
}

@keyframes loading {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgb(23, 28, 48);
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 15px 0;
    background-color: var(--dark-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 40px;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: white;
    font-weight: 600;
    position: relative;
    font-size: 1rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.slide .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 1;
    width: 90%;
}

.slide .content h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.slide .content h2 {
    font-size: 2rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: var(--accent-color);
    letter-spacing: 2px;
}

.navigation {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 2;
}

.navigation .btn {
    background: rgba(255, 255, 255, 0.5);
    width: 12px;
    height: 12px;
    margin: 0 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.navigation .btn.active {
    background: var(--accent-color);
}

/* ===== ABOUT SECTION ===== */
.about {
    background-color: white;
}

.about-content {
    
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--gray-color);
}

/* ===== FORMULA STUDENT SECTION ===== */
.formula-student {
    background-color: var(--light-gray);
    padding: 100px 0;
}

.fs-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.fs-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--gray-color);
}

/* ===== CARS SECTION ===== */
.cars {
    background-color: white;
}

.car-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.car-card {
    background-color: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.car-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.car-img {
    height: 250px;
    overflow: hidden;
}

.car-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.car-info {
    padding: 20px;
    text-align: center;
}

.car-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.car-info p {
    color: var(--gray-color);
    margin-bottom: 15px;
}

/* ===== SPONSORS SECTION ===== */
.sponsorsa {
    background-color: var(--light-gray);
}

.sponsors-grida {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.sponsor-logoa {
    background-color: white;
    height: 250px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.sponsor-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.sponsor-logo img {
    max-height: 80%;
    max-width: 80%;
    object-fit: contain;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background-color: white;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    text-align: center;
    display: none;
    padding: 30px;
}

.testimonial.active {
    display: block;
}

.testimonial p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 30px;
    color: var(--gray-color);
}

.testimonial-author h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.testimonial-author p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: var(--light-gray);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* ===== CONTACT SECTION ===== */
.contact-brief {
    background-color: var(--light-gray);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.contact-item {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-item p {
    color: var(--gray-color);
    margin-bottom: 0;
}

/* ==== GALLERY IMPROVED ==== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    padding: 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 75px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

/* Lightbox Styles */
#lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px #fff;
  cursor: pointer;
}

/* Tablet View */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 60px 20px;
    }
}

/* Mobile View */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 40px 15px;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .gallery-grid {
        padding: 30px 10px;
    }
}


/* ===== FOOTER ===== */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: var(--light-gray);
    font-size: 0.9rem;
}

.footer-links h3, .footer-social h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after, .footer-social h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.qlinks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.footer-links .qlinks-grid {
    margin-bottom: 15px;
}

.footer-links .qlinks-grid a {
    color: var(--light-gray);
    transition: var(--transition);
}

.footer-links .qlinks-grid a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: var(--light-gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===== PAGE BANNER ===== */
.page-banner {
    height: 40vh;
    width: auto;
    min-height: 300px;
    background-image: url('../assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 90px;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.35);
}

.banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.breadcrumbs {
    font-size: 1rem;
}

.breadcrumbs a {
    color: var(--accent-color);
}

.breadcrumbs span {
    color: white;
}

/* ===== ABOUT PAGE SPECIFIC ===== */
.about-page {
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--gray-color);
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.mission-vision {
    background-color: var(--light-gray);
}

.mission-vision-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.mission, .vision {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.mission h3, .vision h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.team-structure {
    background-color: white;
}

.structure-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.subsystem {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.subsystem:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.subsystem-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.subsystem-icon i {
    font-size: 2rem;
}

.subsystem h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.subsystem p {
    color: var(--gray-color);
}

/* ===== CARS PAGE STYLES ===== */
.cars-evolution {
    background-color: white;
    padding-bottom: 40px;
}

.evolution-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto 40px;
    height: 80px;
    display: flex;
    align-items: center;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--light-gray);
    transform: translateY(-50%);
}

.timeline-markers {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.marker {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
}

.evolution-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--gray-color);
    font-size: 1.1rem;
}

.car-detail {
    padding: 100px 0;
}

.car-detail.alternate-bg {
    background-color: var(--light-gray);
}

.car-header {
    text-align: center;
    margin-bottom: 50px;
}

.car-subtitle {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.car-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
}

.car-showcase.reverse {
    direction: rtl;
}

.car-showcase.reverse > div {
    direction: ltr;
}

.car-showcase-images {
    display: flex;
    flex-direction: column;
}

.main-image {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--box-shadow);
}

.thumbnail-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.thumbnail {
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.car-specifications h3 {
    margin-bottom: 30px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.car-specifications h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.specs-list {
    list-style: none;
}

.specs-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.specs-list li span {
    font-weight: 600;
    color: var(--dark-color);
}

.small-underline {
    width: 50px;
    height: 3px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.car-detail.alternate-bg .feature {
    background-color: var(--light-color);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.5rem;
}

.feature h4 {
    margin-bottom: 15px;
}

.feature p {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.car-development {
    margin-top: 80px;
}

.development-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.development-content p {
    margin-bottom: 20px;
    color: var(--gray-color);
}

/* ===== ACHIEVEMENTS PAGE STYLES ===== */
.achievement-highlights {
    background-color: white;
}

.highlight-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.highlight-card {
    background-color: var(--light-gray);
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.highlight-card h3 {
    font-size: 3rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.highlight-card p {
    color: var(--gray-color);
    font-size: 1.1rem;
}

.competition-timeline {
    background-color: var(--light-gray);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    margin-bottom: 60px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-year {
    flex: 0 0 150px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.timeline-content {
    flex: 1;
}

.timeline-event {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
}

.timeline-event:last-child {
    margin-bottom: 0;
}

.timeline-event h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.event-date {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.event-results ul {
    margin-bottom: 20px;
}

.event-results li {
    margin-bottom: 10px;
    display: flex;
}

.event-results li span {
    font-weight: 600;
    margin-right: 10px;
    min-width: 180px;
}

.special-recognition {
    background-color: rgba(0, 93, 233, 0.1);
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid var(--primary-color);
}

.special-recognition span {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.technical-achievements {
    background-color: white;
}

.tech-achievements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.tech-achievement {
    display: flex;
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.tech-achievement:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.tech-icon {
    flex: 0 0 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2rem;
    margin-right: 20px;
}

.tech-content h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.tech-content p {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.media-coverage {
    background-color: var(--light-gray);
}

.media-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.media-item {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.media-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.media-image {
    height: 200px;
    overflow: hidden;
}

.media-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-content {
    padding: 20px;
}

.media-content h3 {
    color: var(--dark-color);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.media-date {
    color: var(--gray-color);
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.media-title {
    font-weight: 600;
    margin-bottom: 20px;
}

/* Media queries for these new sections */
@media (max-width: 991.98px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .highlight-cards,
    .media-slider {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-achievements-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .car-showcase {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-year {
        margin-bottom: 20px;
    }
}

@media (max-width: 575.98px) {
    .features-grid,
    .highlight-cards,
    .media-slider {
        grid-template-columns: 1fr;
    }

    .tech-achievement {
        flex-direction: column;
    }

    .tech-icon {
        margin: 0 auto 20px;
    }

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

    .marker {
        width: 60px;
        height: 60px;
        font-size: 1rem;
    }
}

/* ===== TEAM PAGE STYLES ===== */
.team-quote {
    background-color: var(--primary-color);
    padding: 60px 0;
    color: white;
}

.quote-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quote-content i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.2);
}

.quote-content p {
    font-size: 1.8rem;
    font-style: italic;
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.5;
}

.quote-content span {
    font-size: 1.1rem;
    font-weight: 600;
}

.team-overview {
    background-color: white;
    padding-bottom: 60px;
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.overview-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.overview-text p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.team-leadership {
    background-color: var(--light-gray);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.leader-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.leader-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.leader-image {
    height: 300px;
    overflow: hidden;
}

.leader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.leader-info {
    padding: 20px;
    /* text-align: center; */
}

.leader-info h3 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.leader-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.leader-desc {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.leader-social {
    display: flex;
    justify-content: center;
}

.leader-social a {
    width: 40px;
    height: 40px;
    background-color: var(--light-gray);
    border-radius: 50%;
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    transition: var(--transition);
}

.leader-social a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.team-subsystems {
    background-color: white;
}

.subsystem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}
.subsystem-grid2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-content: center;
}

.subsystem-card {
    background-color: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}



.subsystem-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}


.subsystem-image {
    height: 250px;
    overflow: hidden;
}

.subsystem-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.subsystem-info {
    padding: 20px;
    text-align: center;
}

.subsystem-info h3 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.subsystem-title {
    color: var(--primary-color);
    font-weight: 600;
}

.faculty-advisors {
    background-color: var(--light-gray);
}

.advisors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.advisor-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.advisor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.advisor-image {
    height: 350px;
    overflow: hidden;
}

.advisor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.advisor-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.advisor-info h3 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.advisor-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.advisor-desc {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-top: auto;
}

.join-team {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/images/join-team-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.join-content {
    max-width: 800px;
    margin: 0 auto;
}

.join-content h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 3rem;
}

.join-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* ===== SPONSORS PAGE STYLES ===== */
.sponsors-intro {
    background-color: white;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content p {
    color: var(--gray-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.title-sponsors {
    background-color: var(--light-gray);
}

.title-sponsors-grid {
    display: grid;
    gap: 30px;
}

.title-sponsor-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.title-sponsor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.sponsor-logo {
    width: 250px;
    height: 150px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

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

.sponsor-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.sponsor-content p {
    color: var(--gray-color);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.sponsor-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.sponsor-link i {
    margin-left: 5px;
    font-size: 0.8rem;
}

.sponsor-link:hover {
    text-decoration: underline;
}

.sponsor-tier {
    padding: 80px 0;
}

.sponsor-tier:nth-child(odd) {
    background-color: white;
}

.sponsor-tier:nth-child(even) {
    background-color: var(--light-gray);
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.sponsors-grid.small-grid {
    grid-template-columns: repeat(6, 1fr);
}

.sponsor-item {
    background-color: white;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.sponsors-grid.small-grid .sponsor-item {
    height: 180px;
    padding: 20px 15px;
}

.sponsor-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.sponsor-item img {
    max-width: 80%;
    max-height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.sponsors-grid.small-grid .sponsor-item img {
    max-height: 80px;
    margin-bottom: 15px;
}

.sponsor-item h3 {
    color: var(--dark-color);
    font-size: 1.2rem;
}

.sponsors-grid.small-grid .sponsor-item h3 {
    font-size: 1rem;
}

.become-sponsor {
    background-color: white;
    padding-bottom: 100px;
}

.sponsor-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.benefits-content h3, 
.sponsor-tiers h3 {
    margin-bottom: 30px;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.benefits-list li {
    display: flex;
    margin-bottom: 30px;
}

.benefits-list li i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-right: 20px;
}

.benefits-list li h4 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.benefits-list li p {
    color: var(--gray-color);
    font-size: 0.95rem;
}

.tier-cardi {
    display: grid;
    grid-template-columns: 1fr; /* default mobile view */
    gap: 20px;
    align-items: stretch;
}

/* Make only the first card (Title) span full width */
.tier-cardi .tier-card:first-child {
    grid-column: 1 / -1;
    max-width: 500px;
    justify-self: center;
}

/* Desktop layout — 3 columns after Title */
@media (min-width: 768px) {
    .tier-cardi {
        grid-template-columns: repeat(3, 1fr);
    }

    .tier-cardi .tier-card:first-child {
        grid-column: 1 / -1;
        max-width: 600px;
        justify-self: center;
    }
}



.tier-card {
    display: flex;
    flex-direction: column;
    min-height: 100%; /* Ensures cards stretch to match tallest */
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.tier-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    text-align: center;
}

.tier-header h4 {
    margin-bottom: 5px;
}

.tier-header span {
    font-weight: 600;
}

.tier-header.title-tier {
    background-color: #000;
}

.tier-header.platinum-tier {
    background-color: #7a7a7a;
}

.tier-header.gold-tier {
    background-color: #d4af37;
}

.tier-header.silver-tier {
    background-color: #C0C0C0;
}

.tier-header.bronze-tier {
    background-color: #CD7F32;
}

.tier-benefits {
    padding: 20px;
}

.tier-benefits p {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.tier-benefits p::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ===== CONTACT PAGE STYLES ===== */
.contact-info-section {
    background-color: white;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.contact-card {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.contact-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.contact-card p {
    color: var(--gray-color);
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.contact-form-section {
    background-color: var(--light-gray);
    padding-bottom: 100px;
}

.contact-form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--box-shadow);
}

.form-heading {
    margin-bottom: 30px;
}

.form-heading h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.form-heading p {
    color: var(--gray-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 93, 233, 0.2);
}

.form-group button {
    cursor: pointer;
}

.contact-map {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-container {
    width: 100%;
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-instructions {
    padding: 20px;
    border-top: 1px solid var(--light-gray);
}

.map-instructions h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.map-instructions p {
    color: var(--gray-color);
    font-size: 0.95rem;
}

.donation-section {
    background-color: white;
}

.donation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.donation-text p {
    color: var(--gray-color);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.donation-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.donation-feature {
    text-align: center;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin: 0 auto 15px;
}

.donation-feature p {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.donation-options {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--box-shadow);
}

.donation-options h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.donation-amounts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.donation-amount {
    background-color: white;
    border: 2px solid var(--light-gray);
    border-radius: 5px;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    cursor: pointer;
    transition: var(--transition);
}

.donation-amount:hover,
.donation-amount.active {
    border-color: var(--primary-color);
    background-color: rgba(0, 93, 233, 0.1);
    color: var(--primary-color);
}

.donation-amount.custom {
    color: var(--primary-color);
    border-style: dashed;
}

.donation-buttons {
    text-align: center;
    margin-bottom: 20px;
}

.btn-donate {
    display: inline-block;
    background-color: #e91e63;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 50px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.btn-donate:hover {
    background-color: #c2185b;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(233, 30, 99, 0.3);
}

.btn-donate i {
    margin-right: 10px;
}

.payment-options {
    margin-top: 20px;
}

.payment-options span {
    display: block;
    margin-bottom: 10px;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.payment-icons i {
    font-size: 2rem;
    color: var(--gray-color);
}

.donation-note {
    margin-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.social-media-section {
    background-color: var(--light-gray);
}

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

.social-platform {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.social-platform:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.platform-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.social-platform.instagram .platform-icon {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: white;
}

.social-platform.linkedin .platform-icon {
    background-color: #0077B5;
    color: white;
}

.social-platform.facebook .platform-icon {
    background-color: #4267B2;
    color: white;
}

.social-platform.youtube .platform-icon {
    background-color: #FF0000;
    color: white;
}

.platform-info h3 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.platform-info p {
    color: var(--gray-color);
}

.follow-cta {
    text-align: center;
    margin-top: 40px;
    color: var(--gray-color);
    font-size: 1.1rem;
}

/* Media queries for contact page */
@media (max-width: 991.98px) {
    .contact-details,
    .social-platforms {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-form-container,
    .donation-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 767.98px) {
    .donation-features {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 575.98px) {
    .contact-details,
    .social-platforms {
        grid-template-columns: 1fr;
    }
    
    .donation-amounts {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .donation-options {
        padding: 30px 20px;
    }
}

