/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Oxygen:wght@300;400;700&family=Dosis:wght@400;500;700&display=swap');

/* Give footer enough bottom space so the fixed copyright bar doesn't overlap */
.footer-css {
    padding-bottom: 50px;
}


:root {
    --dark-bg: #080808;
    --dark-card: #141414;
    --dark-card-hover: #1e1e1e;
    --dark-border: rgba(255, 255, 255, 0.08);
    --accent: aqua;
    --accent-dim: rgba(0, 255, 255, 0.15);
    --accent-glow: rgba(0, 255, 255, 0.3);
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --tab-active-bg: aqua;
    --tab-active-color: #080808;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-primary);
    font-family: 'Oxygen', sans-serif;
}

/* ── Header Section ── */
.header-section {
    text-align: center;
    padding: 130px 20px 50px;
    background: linear-gradient(180deg, #000 0%, #0a0a0a 60%, var(--dark-bg) 100%);
    color: var(--text-primary);
}

.header-section h1 {
    font-family: 'Dosis', sans-serif;
    font-size: 3.5rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
    color: var(--accent);
    text-shadow: 0 0 15px var(--accent-glow);
}

.techsandhya-logo-img {
    max-width: 820px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 0 18px var(--accent-glow));
}

.line-divider {
    width: 300px;
    height: 0px;
    background: var(--accent);
    margin: 0 auto 20px;
    border-radius: 0px;
    box-shadow: 0 0 8px var(--accent-glow);
}

.subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ── Tabs Navigation ── */
.tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.tabs {
    background: var(--dark-card);
    padding: 8px;
    border-radius: 50px;
    display: flex;
    gap: 10px;
    border: 1px solid var(--dark-border);
}

.tab-btn {
    padding: 12px 30px;
    border: none;
    background: transparent;
    border-radius: 40px;
    cursor: pointer;
    font-family: 'Oxygen', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
}

.tab-btn.active {
    background: var(--accent);
    color: var(--dark-bg);
    box-shadow: 0 4px 15px var(--accent-glow);
}

/* ── Tab Content Animation ── */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content {
    display: none;
    opacity: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

/* ── About Section ── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-family: 'Dosis', sans-serif;
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    text-shadow: 0 0 10px var(--accent-glow);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.icon-circle {
    width: 44px;
    height: 44px;
    background: var(--accent-dim);
    border: 1px solid var(--accent);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.icon-circle i {
    color: var(--accent);
    font-size: 1.1rem;
}

.feature-item h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin: 0 0 5px;
}

.feature-item p {
    font-size: 0.95rem;
    margin: 0;
    color: var(--text-secondary);
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px var(--accent-glow);
    border: 1px solid var(--dark-border);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

.cover-click-hint {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 255, 255, 0.15);
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 1px;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    pointer-events: none;
}

.about-image:hover .cover-click-hint {
    opacity: 1;
}

/* ── Buttons ── */
.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--accent);
    color: var(--dark-bg);
    padding: 15px 35px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Oxygen', sans-serif;
}

.btn-primary:hover {
    background: #00cccc;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    padding: 15px 35px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Oxygen', sans-serif;
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--dark-bg);
    box-shadow: 0 10px 25px var(--accent-glow);
}

/* ── Cards (Form / Guidelines) ── */
.card {
    background: var(--dark-card);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--dark-border);
}

.card-header {
    padding: 40px 40px 20px;
    text-align: center;
    border-bottom: 1px solid var(--dark-border);
}

.card-header h2 {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 10px;
    text-shadow: 0 0 10px var(--accent-glow);
}

.card-header p {
    color: var(--text-secondary);
}

.card-body {
    padding: 30px 40px 50px;
}

/* ── Form Styles ── */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

input,
select,
textarea {
    padding: 14px 16px;
    border: 1px solid var(--dark-border);
    border-radius: 10px;
    font-family: 'Oxygen', sans-serif;
    font-size: 1rem;
    background: #1a1a1a;
    color: var(--text-primary);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input::placeholder,
textarea::placeholder {
    color: #555;
}

select option {
    background: #1a1a1a;
    color: var(--text-primary);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.full-width {
    width: 100%;
}

/* ── Guidelines Styles ── */
.guideline-section {
    margin-bottom: 40px;
}

.guideline-section h3 {
    color: var(--accent);
    font-size: 1.4rem;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--dark-border);
    padding-bottom: 10px;
}

.guideline-section ul {
    list-style: none;
    padding: 0;
}

.guideline-section li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* ── Downloads Grid ── */
.downloads-section {
    max-width: 900px;
    margin: 60px auto 0;
}

.downloads-section h2 {
    text-align: center;
    color: var(--accent);
    margin-bottom: 40px;
    text-shadow: 0 0 10px var(--accent-glow);
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.download-card {
    background: var(--dark-card);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border: 1px solid var(--dark-border);
    transition: all 0.3s ease;
}

.download-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px var(--accent-glow);
    border-color: var(--accent);
    transform: translateY(-3px);
    background: var(--dark-card-hover);
}

.download-info {
    flex-grow: 1;
}

.download-info h4 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1rem;
}

.download-info p {
    margin: 4px 0 0;
    font-size: 0.85rem;
    color: #666;
}

.btn-small {
    font-size: 0.85rem;
    padding: 8px 15px;
    background: var(--accent-dim);
    color: var(--accent);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid var(--accent);
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-small:hover {
    background: var(--accent);
    color: var(--dark-bg);
    box-shadow: 0 4px 15px var(--accent-glow);
}

/* ── Horizontal Archive Cards ── */
.archives-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.archives-section h2 {
    text-align: center;
    color: var(--accent);
    font-family: 'Dosis', sans-serif;
    font-size: 2rem;
    margin-bottom: 40px;
    text-shadow: 0 0 10px var(--accent-glow);
}

.magazine-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.magazine-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.magazine-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 18px var(--accent-glow);
}

.magazine-card img {
    width: 120px;
    height: 160px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

.magazine-overlay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 20px 28px;
    flex: 1;
}

.edition-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--accent);
    padding: 3px 12px;
    border-radius: 20px;
    width: fit-content;
}

.magazine-overlay h3 {
    font-family: 'Dosis', sans-serif;
    font-size: 1.4rem;
    color: var(--text-primary);
    margin: 0;
}

.magazine-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--dark-bg);
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    width: fit-content;
    transition: all 0.2s ease;
}

.magazine-btn:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 4px 15px var(--accent-glow);
}

@media (max-width: 600px) {
    .magazine-card {
        flex-direction: column;
    }

    .magazine-card img {
        width: 100%;
        height: 200px;
    }

    .magazine-overlay {
        padding: 16px;
    }
}

/* ── Responsive ── */
@media (max-width: 768px) {

    /* Header */
    .header-section {
        padding: 100px 16px 30px;
    }

    .header-section h1 {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }

    .subtitle {
        font-size: 1rem;
    }

    /* Tabs — allow wrapping on small screens */
    .tabs-container {
        padding: 0 12px;
        margin-bottom: 30px;
    }

    .tabs {
        flex-wrap: wrap;
        justify-content: center;
        border-radius: 16px;
        gap: 6px;
    }

    .tab-btn {
        padding: 9px 16px;
        font-size: 0.85rem;
    }

    /* About / Form grids */
    .about-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    /* Cards */
    .card-body,
    .card-header {
        padding: 16px;
    }

    .action-buttons {
        flex-direction: column;
    }

    /* Footer — stack vertically */
    .footer-css {
        flex-direction: column !important;
        align-items: center;
        text-align: center;
        gap: 10px;
        padding: 20px 16px 50px;
    }

    .icons,
    .footer-info {
        height: auto !important;
        margin-bottom: 0 !important;
    }

    .icons {
        display: flex;
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }

    .icons i {
        margin: 0 12px 8px !important;
        font-size: 1.2rem;
    }

    .footer-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .address,
    .phone-no,
    .gmail,
    .issue {
        margin: 6px 0 !important;
    }
}

@media (max-width: 480px) {
    .header-section h1 {
        font-size: 1.8rem;
    }

    .techsandhya-logo-img {
        max-width: 260px;
    }

    .tab-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}