/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #0b0f19;
    color: #94a3b8;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Typography & Gradients */
.section-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #00d2ff;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}

.gradient-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(90deg, #00d2ff 0%, #3a7bd5 50%, #9b51e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.gradient-title-sm {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(90deg, #00d2ff 0%, #3a7bd5 50%, #9b51e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

/* Header */
header {
    padding: 20px 0;
    background-color: #0b0f19;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.logo-ar {
    color: #ffffff;
}

.logo-ar-blue {
    color: #00d2ff;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #94a3b8;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: #00d2ff;
}

.btn-hire {
    text-decoration: none;
    color: #00d2ff;
    border: 1px solid #00d2ff;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-hire:hover {
    background-color: rgba(0, 210, 255, 0.1);
}

/* Hero Section */
.hero-section {
    padding: 80px 0 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-primary {
    display: inline-block;
    background-color: #00d2ff;
    color: #0b0f19;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.hero-image-wrapper {
    display: flex;
    justify-content: center;
}

.profile-img {
    width: 100%;
    max-width: 420px;
    height: 480px;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid rgba(0, 210, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.15);
}

/* Tech Stack */
.tech-stack-section {
    padding: 40px 0 80px;
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.pill {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 0.9rem;
}

/* Cards & Grid Shared */
.card {
    background-color: #111827;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
}

.glow-border {
    position: relative;
}

.glow-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #00d2ff, #9b51e0);
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.badge-year, .year-text {
    font-size: 0.85rem;
    color: #64748b;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 4px 10px;
    border-radius: 6px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.mini-tag {
    background-color: rgba(0, 210, 255, 0.06);
    color: #00d2ff;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 4px;
    border: 1px solid rgba(0, 210, 255, 0.15);
}

/* About & Education & Skills */
.about-section {
    padding: 60px 0;
}

.about-desc {
    font-size: 1.05rem;
    color: #94a3b8;
    margin-bottom: 20px;
    max-width: 900px;
}

.education-block, .skills-section, .leadership-section {
    margin-top: 50px;
}

.education-block h3, .skills-section h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 20px;
}

.institution {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-top: 4px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.skill-category {
    color: #00d2ff;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.role-tag {
    color: #00d2ff;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}

.card-text {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* Projects Section */
.projects-section {
    padding: 80px 0;
}

.projects-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 10px;
}

.all-projects-link {
    color: #00d2ff;
    text-decoration: none;
    font-size: 0.95rem;
}

.projects-desc {
    margin-bottom: 30px;
    max-width: 700px;
}

.filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
}

.tab-btn {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn:hover, .tab-btn.active {
    background-color: rgba(0, 210, 255, 0.1);
    color: #00d2ff;
    border-color: rgba(0, 210, 255, 0.3);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.badge-status {
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
}

.badge-status.completed {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-status.in-progress {
    background-color: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

/* Contact Section */
.contact-section {
    padding: 90px 0;
}

.contact-desc {
    max-width: 750px;
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.contact-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 40px;
}

.meta-item {
    color: #00d2ff;
    text-decoration: none;
    font-size: 0.95rem;
    background-color: rgba(0, 210, 255, 0.05);
    border: 1px solid rgba(0, 210, 255, 0.15);
    padding: 8px 16px;
    border-radius: 8px;
}

.contact-form {
    background-color: #111827;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 40px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.form-group input, .form-group textarea {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 14px;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #00d2ff;
}

.submit-btn {
    margin-top: 10px;
}

/* Footer */
footer {
    background-color: #07090f;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-name {
    color: #ffffff;
    font-size: 1.1rem;
}

.footer-sub {
    font-size: 0.85rem;
    color: #64748b;
}

.footer-nav {
    display: flex;
    gap: 25px;
}

.footer-nav a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 25px;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .nav-links {
        display: none;
    }
    .gradient-title {
        font-size: 2.8rem;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}