/* Reset basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #1a0e00 0%, #3d1f00 25%, #1f0f00 50%, #3d1f00 75%, #1a0e00 100%);
    background-attachment: fixed;
    color: white;
    overflow-x: hidden;
}

/* Navbar Styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    position: absolute;
    flex-wrap: wrap;
    gap: 15px;
    top: 0;
    width: 100%;
    z-index: 10;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-decoration: none;
    color: white;
}

.logo span {
    color: #ff8800; /* Xellore Orange */
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

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

.nav-links a {
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #ff8800;
}

.home-link {
    color: white;
    font-weight: bold;
    background: #ff8800;
    padding: 8px 15px;
    border-radius: 5px;
    display: inline-block;
    transition: all 0.3s ease;
}

.home-link:hover {
    background: #dd7000;
    box-shadow: 0 0 15px #ff8800;
}

/* Hero Section with TARDIS Background */
.hero {
    height: 100vh;
    width: 100%;
    /* Replace the URL below with your TARDIS image path */
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5)), 
                url('tardis-galaxy.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 5rem;
    letter-spacing: 5px;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-shadow: 0px 0px 20px rgba(255, 136, 0, 0.8);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cycling-text {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
    min-height: 2em;
    display: block;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.9;
        transform: scale(1);
    }
}

@keyframes glitch {
    0% {
        opacity: 0;
        transform: translate(-5px, -5px);
        text-shadow: 3px 3px 0 #ff8800;
    }
    50% {
        transform: translate(2px, 2px);
        text-shadow: -2px 2px 0 #ff6600;
    }
    100% {
        opacity: 0;
        transform: translate(-2px, -2px);
        text-shadow: 2px -2px 0 #ff8800;
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-5deg);
    }
    70% {
        transform: scale(1.1) rotate(2deg);
    }
    100% {
        opacity: 0.9;
        transform: scale(1) rotate(0deg);
    }
}

.glitch {
    animation: glitch 0.2s ease-in-out;
}

.pop-in {
    animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Testimonials Section */
.testimonials-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #1a0e00 0%, #2d1700 100%);
}

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

.testimonials-title {
    font-size: 3rem;
    letter-spacing: 3px;
    margin-bottom: 15px;
    color: #ff8800;
    text-shadow: 0 0 20px rgba(255, 136, 0, 0.5);
}

.testimonials-subtitle {
    font-size: 1.1rem;
    margin-bottom: 50px;
    opacity: 0.9;
    color: #ccc;
}

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

.testimonial-card {
    background: rgba(255, 136, 0, 0.05);
    border: 2px solid #ff8800;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.testimonial-card:hover {
    background: rgba(255, 136, 0, 0.1);
    box-shadow: 0 0 20px rgba(255, 136, 0, 0.3);
    transform: translateY(-5px);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.testimonial-header h3 {
    font-size: 1.3rem;
    margin: 0;
    color: #ff8800;
}

.verified-badge {
    background: #2d7a2d;
    color: #7fdf7f;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    border: 1px solid #7fdf7f;
}

.testimonial-text {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.6;
    color: #ddd;
    margin: 0;
}

/* Contributions Section */
.contributions-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #1a0e00 0%, #2d1700 100%);
    min-height: 100vh;
}

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

.contributions-title {
    font-size: 3rem;
    letter-spacing: 3px;
    margin-bottom: 15px;
    color: #ff8800;
    text-shadow: 0 0 30px rgba(255, 136, 0, 0.6);
}

.contributions-subtitle {
    font-size: 1.1rem;
    margin-bottom: 50px;
    opacity: 0.85;
    color: #ccc;
}

.contributions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    perspective: 1000px;
}

.contribution-card {
    position: relative;
    background: rgba(255, 136, 0, 0.03);
    border: 2px solid #ff8800;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.4s ease;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.contribution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 136, 0, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: 0;
}

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

.contribution-card:hover {
    background: rgba(255, 136, 0, 0.08);
    box-shadow: 0 0 30px rgba(255, 136, 0, 0.4), inset 0 0 20px rgba(255, 136, 0, 0.05);
    transform: translateY(-8px) rotateX(5deg);
    border-color: #ffaa33;
}

.card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 136, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}

.card-title {
    font-size: 1.6rem;
    color: #ff8800;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    font-weight: bold;
    letter-spacing: 1px;
}

.card-link {
    font-size: 0.9rem;
    color: #888;
    word-break: break-all;
    margin-bottom: 15px;
    opacity: 0.8;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.contribution-card:hover .card-link {
    color: #ff8800;
}

.card-date {
    font-size: 0.95rem;
    color: #ff8800;
    font-style: italic;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Button Styling */
.btn {
    padding: 12px 30px;
    font-size: 1rem;
    background: transparent;
    color: white;
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.4s ease;
    display: inline-block;
    text-decoration: none;
}

.btn:hover {
    background: white;
    color: black;
    box-shadow: 0 0 20px white;
}

/* Portfolio styles */
.portfolio-hero .hero-sub {
    max-width: 900px;
    margin: 12px auto 24px;
    color: #f1e9dd;
    opacity: 0.95;
    font-size: 1.05rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(160px, 1fr));
    gap: 16px;
    max-width: 900px;
    margin: 0 auto 18px;
}

.stat {
    background: rgba(255, 136, 0, 0.08);
    border: 1px solid rgba(255, 136, 0, 0.2);
    border-radius: 12px;
    padding: 12px 14px;
    backdrop-filter: blur(6px);
}

.stat-value {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffb347;
    letter-spacing: 1px;
}

.stat-label {
    font-size: 0.9rem;
    color: #e9d9c2;
}

.portfolio-showcase {
    padding: 70px 24px 90px;
    background: radial-gradient(circle at top, rgba(255,136,0,0.1), transparent 55%),
                linear-gradient(135deg, #1a0e00 0%, #2d1700 100%);
}

.showcase-head {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
}

.showcase-title {
    font-size: 2.6rem;
    color: #ff8800;
    text-shadow: 0 0 25px rgba(255,136,0,0.4);
    letter-spacing: 3px;
}

.showcase-sub {
    color: #d9c9b3;
    margin-top: 10px;
}

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

.project-card {
    background: rgba(20, 14, 10, 0.7);
    border: 1px solid rgba(255, 136, 0, 0.16);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(255,136,0,0.2);
}

.project-card.featured {
    border: 2px solid rgba(255, 179, 71, 0.6);
    box-shadow: 0 20px 50px rgba(255,136,0,0.22);
}

.project-media {
    height: 170px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255,136,0,0.2), rgba(0,0,0,0.6));
}

.project-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-body {
    padding: 18px 18px 22px;
}

.project-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.project-top h3 { margin: 0; font-size: 1.15rem; color: #ffd7a6; }

.project-pill {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255,179,71,0.15);
    color: #ffb347;
    font-size: 0.75rem;
    border: 1px solid rgba(255,179,71,0.5);
}


.project-card p { color: #dac9b1; margin: 10px 0 16px; line-height: 1.4; }

.project-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.project-tags span {
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(255,136,0,0.08);
    color: #ffb347;
    font-size: 0.75rem;
    border: 1px solid rgba(255,136,0,0.2);
}

.project-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(255,136,0,0.25), rgba(255,179,71,0.35));
    color: #ffd7a6;
    text-decoration: none;
    border: 1px solid rgba(255,179,71,0.4);
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.project-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255,136,0,0.25);
    background: linear-gradient(90deg, rgba(255,136,0,0.4), rgba(255,179,71,0.5));
}

@media (max-width: 820px) {
    .hero-stats { grid-template-columns: 1fr; }
    .showcase-title { font-size: 2rem; }
}

/* Payments styling (match contributions look) */
.payments-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #1a0e00 0%, #2d1700 100%);
}

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

.payments-title {
    font-size: 2.6rem;
    color: #ff8800;
    text-shadow: 0 0 20px rgba(255,136,0,0.4);
    margin-bottom: 8px;
}

.payments-sub { color: #ccc; margin-bottom: 30px; }

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

.payment-card {
    position: relative;
    background: rgba(255,136,0,0.03);
    border: 2px solid rgba(255,136,0,0.12);
    border-radius: 12px;
    padding: 26px;
    transition: all 0.35s ease;
    overflow: hidden;
    text-align: center;
}

.payment-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 34px rgba(255,136,0,0.14);
    border-color: #ffb347;
}

.payment-icon { width: 72px; height: 72px; object-fit: contain; margin-bottom: 12px; filter: drop-shadow(0 6px 12px rgba(0,0,0,0.6)); }
.card-desc { color: #dcdcdc; margin: 12px 0 18px; }

.status-badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.6px;
}
.status-badge.inactive { background: rgba(200,200,200,0.08); color: #bbb; border: 1px solid rgba(200,200,200,0.06); }
.status-badge.semi-active { background: linear-gradient(90deg,#ffb347,#ff8800); color: #2b1200; box-shadow: 0 6px 18px rgba(255,136,0,0.18); }
.status-badge.active { background: linear-gradient(90deg,#6ee7b7,#2dbd6a); color:#04260d; box-shadow: 0 6px 18px rgba(45,189,106,0.18); }

@media (max-width:700px){ .payment-icon{width:56px;height:56px} .payments-title{font-size:1.8rem} }

/* Payment card action link */
.card-action-link {
    display: inline-block;
    margin-top: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(79,147,255,0.06);
    color: #cfefff;
    text-decoration: none;
    border: 1px solid rgba(79,147,255,0.06);
    transition: background 0.18s ease, transform 0.12s ease;
}
.card-action-link:hover { background: rgba(79,147,255,0.12); transform: translateY(-3px); }

/* Terms / Policy styles */
.terms-hero .hero-content h1 {
    color: #cfefff;
    text-shadow: 0 0 30px rgba(207,239,255,0.15), 0 6px 30px rgba(0,0,0,0.6);
}

.terms-hero .hero-sub {
    color: #dfeefe;
    max-width: 900px;
    margin: 14px auto 0;
    font-size: 1.05rem;
    opacity: 0.95;
}

.terms-main {
    padding: 40px 20px 80px;
    display: flex;
    justify-content: center;
}

.policy-wrap {
    max-width: 1000px;
    width: 100%;
}

.policy-card {
    background: linear-gradient(180deg, rgba(12,22,32,0.85), rgba(8,14,20,0.75));
    border-radius: 14px;
    padding: 36px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6), 0 0 30px rgba(79, 147, 255, 0.06) inset;
    border: 1px solid rgba(100,180,255,0.08);
    backdrop-filter: blur(6px);
}

.policy-title {
    font-size: 1.8rem;
    color: #bfe8ff;
    text-align: center;
    margin: 0 0 10px;
    letter-spacing: 1px;
    text-shadow: 0 6px 18px rgba(79,147,255,0.12);
}

.policy-divider {
    height: 3px;
    width: 160px;
    margin: 8px auto 20px;
    background: linear-gradient(90deg, rgba(79,147,255,0.9), rgba(79,147,255,0.2));
    border-radius: 2px;
    box-shadow: 0 6px 18px rgba(79,147,255,0.08);
}

.policy-text {
    color: #dfeefe;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 14px;
}

.policy-small {
    margin-top: 10px;
    color: #b8dff6;
    text-align: right;
    font-size: 0.9rem;
    opacity: 0.9;
}

@media (max-width: 700px) {
    .hero-content h1 { font-size: 2rem; }
    .policy-card { padding: 22px; }
    .policy-title { font-size: 1.3rem; }
}

/* Scroll indicator */
.scroll-indicator {
    margin: 26px auto 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    color: #cfefff;
    background: rgba(79,147,255,0.06);
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(79,147,255,0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.scroll-indicator:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.4); }

.scroll-indicator .arrow {
    font-size: 1.2rem;
    display: inline-block;
    animation: arrow-bounce 1.2s infinite;
    transform-origin: center top;
}

.scroll-indicator .scroll-text { font-size: 0.95rem; opacity: 0.95; }

@keyframes arrow-bounce {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(6px); opacity: 0.85; }
    100% { transform: translateY(0); opacity: 1; }
}

