/* Global Page Layout */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Inherits from global_ui.css */
    /* Local Overrides */
    --card-hover: rgba(50, 50, 60, 0.6);
}

body {
    background-color: var(--primary-bg);
    /* Gradient handled in global header css primarily, but ensuring fallback */
    background-image: radial-gradient(circle at 50% 0%, #202020, #050505);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    padding-top: 80px;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.page-wrapper {
    width: 90%;
    /* Increased from 85% for better use of space */
    max-width: 1440px;
    margin: 0 auto;
    padding: 2rem 0;
    display: flex;
    justify-content: center;

    /* Removed side padding here, letting width handle it, or keep minimal */
}

.content-container {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    /* Prevents main content blowout */
    gap: .7rem;
    align-items: start;
    width: 100%;
    /* Ensure it fills the centered wrapper */
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}




/* Media Query Updates */
@media (max-width: 600px) {
    .page-wrapper {
        padding: 1rem;
        max-width: 95%;
        justify-content: center !important;
    }

    /* Adjust sizes for smaller mobile screens but keep Layout */
    .profile-card {
        padding: 1.5rem;
        column-gap: 1rem;
    }

    .profile-image-container {
        width: 90px;
        height: 90px;
    }

    .profile-name {
        font-size: 1.3rem;
    }

    .profile-title {
        font-size: 0.85rem;
    }

    .social-btn {
        width: 32px;
        height: 32px;
    }

    .contact-me-btn {
        margin-top: 1rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Better mobile grid (allows 1 column on tiny screens) */
    .software-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
}

/* ============================
   Animations
   ============================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-entry {
    opacity: 0;
    /* Hidden by default, JS will add .visible */
    animation-fill-mode: forwards;
}

/* Class to be added by JS */
.animate-entry.visible {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* ============================
   Sidebar: Profile Card
   ============================ */
.profile-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    z-index: 10;
    align-self: start;
    height: fit-content;
}

.profile-card {
    background-color: rgba(20, 20, 20, 0.4);
    /* Slightly transparent */
    backdrop-filter: blur(25px) saturate(180%);
    /* Strong Glass */
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    /* Subtle border */
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.1s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.profile-image-container {
    width: 120px;
    height: 120px;
    position: relative;
    margin-bottom: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 50%;
    overflow: visible;
}

.profile-card:hover .profile-image-container {
    transform: scale(1.05);
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #222;
    transition: border-color 0.3s ease;
}

.profile-card:hover .profile-img {
    border-color: var(--accent-blue);
}

.status-indicator {
    width: 16px;
    height: 16px;
    background-color: #00ff88;
    border: 2px solid #121212;
    border-radius: 50%;
    position: absolute;
    bottom: 5px;
    right: 5px;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 255, 136, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
    }
}

.profile-name {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: #e0e0e0;
    background: linear-gradient(120deg, #e0e0e0, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profile-title {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 400;
}

.profile-socials {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.3s;
}

.social-btn:hover::before {
    opacity: 1;
}

.social-btn i {
    font-size: 1.2rem;
    z-index: 1;
    transition: transform 0.3s;
}

.social-btn:hover {
    background-color: #e0e0e0;
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(220, 220, 220, 0.2);
    border-color: #e0e0e0;
    border-style: dashed;
    border-width: 1px;
}

.social-btn:hover i {
    transform: scale(1.1);
}

/* Profile Actions Container */
.profile-actions {
    width: 100%;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-me-btn {
    width: 100%;
    padding: 1rem;
    background-color: #1a1a1a;
    color: #e0e0e0;
    text-decoration: none;
    border-radius: 0;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-me-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.contact-me-btn:hover::after {
    left: 100%;
}

.contact-me-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.15);
    background-color: #222;
    /* Consistent dark bg on hover */
    color: #fff;
    border-style: dashed;
    border-width: 1px;
}

/* ============================
   Main Content Area
   ============================ */
.main-info {
    display: flex;
    flex-direction: column;
    gap: .7rem;
    background-color: transparent;
    /* Removed bg to let cards float */
    border: none;
    padding: 0;
}

/* Card Common Style */
.info-card {
    background-color: var(--card-bg);
    /* Heavy Glass */
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-sm);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    border-color: #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-style: dashed;
    border-width: 1px;
}

.section-title {
    font-size: 1.5rem;
    color: #e0e0e0;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 800;
    position: relative;
    background: linear-gradient(135deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title::after {
    content: '';
    flex-grow: 1;
    height: 2px;
    background: linear-gradient(90deg, #31A8FF, transparent);
    border-radius: 2px;
    opacity: 0.7;
}

.section-text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

/* Hero Section */
.hero-card {
    background: var(--card-bg);
    /* Heavy Glass */
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 3rem 2rem;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    z-index: 1;
}


.hero-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('About me header.webp');
    background-size: cover;
    background-position: center;
    z-index: -2;
    transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.95) 100%);
    z-index: -1;
    transition: background 1s ease;
}

.hero-card:hover::before {
    transform: scale(1.15);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    display: block;
    color: #31A8FF;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(to right, #e0e0e0, #b0b0b0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero-tags {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.6rem 1.5rem;
    background-color: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(5px);
    border: 1px solid #333;
    border-radius: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: default;
    transition: all 0.3s;
}

.tag.active {
    background-color: #e0e0e0;
    color: #000;
    border-color: #e0e0e0;
    font-weight: 600;
    box-shadow: 0 0 15px rgba(220, 220, 220, 0.3);
}

.tag:hover:not(.active) {
    border-color: #666;
    color: #e0e0e0;
    border-style: dashed;
    border-width: 1px;
}

/* Timeline / Experience */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-item {
    position: relative;
    padding: 1.5rem;
    padding-left: 25px;
    border: 1px solid transparent;
    /* Prepare for hover border */
    border-left: 2px solid #222;
    /* maintain timeline line */
    border-radius: 0;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(5px);
    border-style: dashed;
    border-width: 1px;
}

.timeline-item::before {
    content: '';
    width: 12px;
    height: 12px;
    background-color: #1a1a1a;
    border: 2px solid #31A8FF;
    border-radius: 50%;
    position: absolute;
    left: -7px;
    top: 24px;
    /* Adjusted for new padding */
    transition: background-color 0.3s, transform 0.3s;
    z-index: 2;
}

.timeline-item:hover::before {
    background-color: #31A8FF;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(49, 168, 255, 0.6);
}

.submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(49, 168, 255, 0.4);
    background-color: rgba(33, 150, 243, 0.8);
    backdrop-filter: blur(5px);
    /* keep blue but add lift */
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-header .role {
    font-size: 1.2rem;
    color: #e0e0e0;
    font-weight: 600;
}

.timeline-header .date {
    font-size: 0.9rem;
    color: #FF9A00;
    font-weight: 500;
}

.timeline-item .description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

/* Software Grid */
.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}

/* Software / Badge Styles */
.badge {
    display: flex;
    align-items: center;
    background-color: rgba(30, 29, 29, 0.4);
    /* Glass badge */
    color: var(--text-secondary);
    padding: 7px 20px;

    border-radius: 0;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-weight: 500;
    cursor: default;
    transition: all 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.15);
    background-color: #4444440a;
    border-style: dashed;
    border-width: 1px;
}

.badge-icon {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0;
    overflow: hidden;
    margin-right: 15px;
    padding: 2px;
}

.badge-icon img {
    border-radius: 2%;
    width: 100%;
    height: 100%;
    object-fit: contain;
}



/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem;
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.skill-name {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #111;
    border-radius: 0;
    overflow: hidden;
    position: relative;
}

.progress-bar .fill {
    height: 100%;
    border-radius: 0;
    width: 0;
    /* JS will animate this to target width */
    transition: width 2s cubic-bezier(0.22, 1, 0.36, 1);
    background: linear-gradient(90deg, #0a0a0a, #000);
    box-shadow: 0 0 10px rgba(49, 168, 255, 0.3);
}

/* Awards */
.awards-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.award-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 0;
    transition: background-color 0.3s;
}

.award-item:hover {
    background-color: #222;
}

.award-content h4 {
    color: #e0e0e0;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.award-date {
    display: inline-block;
    font-size: 0.8rem;
    color: #e0e0e0;
    background-color: #31A8FF;
    padding: 2px 8px;
    border-radius: 0;
    margin-bottom: 0.5rem;
}

.award-content p {
    color: #999;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Contact Section */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background-color: rgba(37, 37, 37, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #c8c8c8;
    text-decoration: none;
    /* border-radius: 12px; */
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px dashed rgba(127, 127, 127, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form textarea:focus-visible,
.contact-form input:hover,
.contact-form textarea:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: #2196f3;
    background-color: #050505;
    border-style: dashed;
    border-width: 1px;
}

.submit-btn {
    background-color: #e0e0e0;
    color: #000;
    border: none;
    padding: 1.2rem;
    border-radius: 0;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(49, 168, 255, 0.4);
    background-color: #2196F3;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 350px;
    background-color: #151515;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
}

.map-placeholder a {
    width: 100%;
    height: 100%;
    display: block;
}

.map-placeholder .map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) contrast(1.1);
    transition: transform 0.5s ease, filter 0.3s ease;
}

.map-placeholder:hover .map-image {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(1.2);
}







/* Responsive */
/* Responsive */
@media (max-width: 1200px) {
    .content-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .profile-sidebar {
        position: relative;
        top: 0;
        width: 100%;
        margin-bottom: 1rem;
    }

    /* Sketch-inspired Grid Layout for Tablet & Mobile */
    .profile-card {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        /* Prevents overflow */
        grid-template-rows: auto auto auto auto;
        column-gap: 1.5rem;
        row-gap: 0.5rem;
        padding: 2rem;
        text-align: left;
        align-items: center;
        justify-items: start;
        overflow-wrap: break-word;
        /* Ensures long text breaks */
        word-wrap: break-word;
    }

    .profile-image-container {
        grid-column: 1;
        grid-row: 1 / 4;
        /* Spans Name, Title, Socials */
        width: 110px;
        height: 110px;
        margin-bottom: 0;
        align-self: start;
        /* Aligns with top of Name */
    }

    .profile-name {
        grid-column: 2;
        grid-row: 1;
        margin: 0;
        font-size: 1.6rem;
        align-self: end;
        line-height: 1.2;
    }

    .profile-title {
        grid-column: 2;
        grid-row: 2;
        margin: 0;
        font-size: 0.95rem;
        align-self: start;
        color: #aaa;
    }

    .profile-socials {
        grid-column: 2;
        grid-row: 3;
        margin: 0;
        gap: 0.8rem;
        margin-top: 0.5rem;
        /* Little spacing from title */
        justify-content: flex-start;
    }

    /* Ensure socials don't wrap weirdly */
    .social-btn {
        width: 35px;
        height: 35px;
    }

    .profile-actions {
        grid-column: 1 / -1;
        grid-row: 4;
        margin-top: 1.5rem;
        flex-direction: row;
        /* Tablet: Side by side */
    }

    .contact-me-btn,
    .download-cv-btn {
        flex: 1;
        /* Equal width */
    }

    .contact-section {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .page-wrapper {
        padding: 1rem;
        max-width: 95%;
        justify-content: center;
    }

    /* Adjust sizes for smaller mobile screens but keep Layout */
    .profile-card {
        padding: 1.5rem;
        column-gap: 1rem;
    }

    .profile-image-container {
        width: 90px;
        height: 90px;
    }

    .profile-name {
        font-size: 1.3rem;
    }

    .profile-title {
        font-size: 0.85rem;
    }

    .social-btn {
        width: 32px;
        height: 32px;
    }

    .profile-actions {
        flex-direction: column;
        /* Mobile: Stacked */
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Allow software grid to wrap nicely on small screens */
    .software-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

/* ============================
   OTP Modal Styles
   ============================ */
.otp-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.otp-overlay.show {
    opacity: 1;
}

.otp-modal {
    background: #1f1e1e;
    border: 1px solid #333;
    padding: 2rem;
    border-radius: 0;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.otp-overlay.show .otp-modal {
    transform: scale(1);
}

.otp-modal h3 {
    color: #e0e0e0;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.otp-modal p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.otp-input-group {
    margin-bottom: 1.5rem;
}

.otp-input {
    width: 100%;
    padding: 1rem;
    background: #151515;
    border: 1px solid #333;
    border-radius: 0;
    color: #fff;
    font-size: 1.2rem;
    letter-spacing: 5px;
    text-align: center;
    outline: none;
    transition: border-color 0.3s;
}

.otp-input:focus {
    border-color: #31A8FF;
}

.otp-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.otp-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 0;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
    border: none;
}

.otp-btn.verify {
    background: #31A8FF;
    color: white;
}

.otp-btn.verify:hover {
    background: #2196F3;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(49, 168, 255, 0.4);
}

.otp-btn.cancel {
    background: transparent;
    border: 1px solid #333;
    color: var(--text-secondary);
}

.otp-btn.cancel:hover {
    border-color: #555;
    color: #e0e0e0;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    background-color: #222;
    border-style: dashed;
    border-width: 1px;
}

/* ============================
   Achievements Grid & Cards
   ============================ */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.achievement-card {
    position: relative;
    background: rgb(30 29 29);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.2rem 1.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
    z-index: 1;
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at center, var(--glow-color, rgba(255, 255, 255, 0.05)) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease;
    z-index: -1;
    pointer-events: none;
    opacity: 0.2;
}

.achievement-card:hover .card-glow {
    transform: translate(-50%, -50%) scale(1);
}

.achievement-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    transition: transform 0.6s ease;
    background-color: #0e0e0e;
}

/* Award Status Colors */
.achievement-card.gold {
    --glow-color: rgba(255, 215, 0, 0.3);
    --accent: #FFD700;
    --accent-rgb: 255, 215, 0;
}

.achievement-card.silver {
    --glow-color: rgba(192, 192, 192, 0.3);
    --accent: #C0C0C0;
    --accent-rgb: 192, 192, 192;
}

.achievement-card.bronze {
    --glow-color: rgba(205, 127, 50, 0.3);
    --accent: #CD7F32;
    --accent-rgb: 205, 127, 50;
}

.achievement-card.jury {
    --glow-color: rgba(0, 188, 212, 0.3);
    --accent: #00bcd4;
    --accent-rgb: 0, 188, 212;
}

.award-icon {
    font-size: 1.5rem;
    color: var(--accent);
    filter: drop-shadow(0 0 10px var(--glow-color));
    margin-bottom: 0.5rem;
    transition: transform 0.4s ease;
}

.achievement-card:hover .award-icon {
    transform: scale(1.1) rotate(5deg);
}

.award-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.1);
    padding: 4px 10px;
    width: fit-content;
    margin-bottom: 5px;
}

.award-title {
    font-size: 1rem;
    font-weight: 700;
    color: #8e8d8d;
    line-height: 1.2;
}

.award-meta {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
    opacity: 0;
    max-height: 0;
    transform: translateY(20px);
    transition: all 0.9s cubic-bezier(0.25, 1, 0.5, 1);
    transition-delay: 0.05s;
    overflow: hidden;
}

.award-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    flex-grow: 1;
    opacity: 0;
    max-height: 0;
    transform: translateY(20px);
    transition: all 0.9s cubic-bezier(0.25, 1, 0.5, 1);
    transition-delay: 0.1s;
    overflow: hidden;
}

.award-link {
    font-size: 0.9rem;
    font-weight: 650;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    opacity: 0;
    max-height: 0;
    transform: translateY(20px);
    transition: all 0.9s cubic-bezier(0.25, 1, 0.5, 1);
    transition-delay: 0.15s;
    overflow: hidden;
}

.achievement-card:hover .award-meta,
.achievement-card.row-hover .award-meta,
.achievement-card:hover .award-desc,
.achievement-card.row-hover .award-desc,
.achievement-card:hover .award-link,
.achievement-card.row-hover .award-link {
    opacity: 1;
    max-height: 350px;
    transform: translateY(0);
    margin-top: 0.8rem;
}

.award-link:hover {
    gap: 12px;
    color: var(--accent);
}

@media (max-width: 768px) {
    .achievements-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================
   Pro Suggestions: CV & Placements
   ============================ */

/* Download CV Button */
.download-cv-btn {
    width: 100%;
    padding: 1rem;
    background-color: #252525;
    color: #c8c8c8;
    text-decoration: none;
    /* border-radius: 12px; */
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px dashed #7f7f7f;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.download-cv-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: #2196f3;
    background-color: #050505;
    border-style: dashed;
    border-width: 1px;
}

.download-cv-btn i {
    font-size: 1.1rem;
}

/* Student Placements */
.placement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.placement-item {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 0;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    /* Fixed height for consistency */
}

.placement-item img {
    max-width: 80%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.4s ease;
}

.placement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.15);
    background: #202020;
    border-style: dashed;
    border-width: 1px;
}

.placement-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

/* FAQ Styles */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.faq-item {
    background: rgba(40, 40, 45, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(49, 168, 255, 0.05);
    border-color: var(--accent-blue);
    transform: translateX(10px);
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-question::before {
    content: 'Q.';
    color: var(--accent-blue);
    font-weight: 900;
}

.faq-answer {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding-left: 28px;
}