/* Custom Architecture Variables & Reset */
:root {
    --bg-dark: #080c14;
    --primary-neon: #00f5d4;
    --secondary-blue: #0077ff;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--text-main);
}

body {
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background Glowing Accents */
.bg-glow {
    position: fixed;
    width: 40vw;
    height: 40vw;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
}
.glow-1 {
    top: -10%;
    right: -10%;
    background: var(--primary-neon);
}
.glow-2 {
    bottom: -10%;
    left: -10%;
    background: var(--secondary-blue);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 0;
}

/* Premium Sticky Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(8, 12, 20, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 15px 5%;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-main);
}

.logo-icon {
    font-size: 2rem;
    color: var(--primary-neon);
    margin-right: 12px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-subtitle {
    font-size: 0.65rem;
    color: var(--primary-neon);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-item {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    padding: 5px 0;
}

.nav-item:hover, .nav-item.active {
    color: var(--primary-neon);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-neon);
    transition: var(--transition-smooth);
}

.nav-item:hover::after, .nav-item.active::after {
    width: 100%;
}

/* Glassmorphism Panel Core Styles */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 40px;
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: rgba(0, 245, 212, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Hero Section */
.hero-section {
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    text-align: center;
}

.badge-container {
    margin-bottom: 25px;
}

.location-badge {
    background: rgba(0, 119, 255, 0.1);
    border: 1px solid rgba(0, 119, 255, 0.3);
    color: #38bdf8;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.accent-text {
    color: var(--primary-neon);
    font-family: monospace;
    font-weight: 700;
}

.hero-description {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Elegant Buttons */
.btn {
    display: inline-block;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
    margin: 0 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-neon), var(--secondary-blue));
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 245, 212, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #fff;
}

/* Section Title global design */
.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    background: linear-gradient(135deg, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Skills Grid Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.skill-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition-smooth);
    cursor: default;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-neon);
    background: rgba(0, 245, 212, 0.02);
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-neon), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skill-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Experience and Education Architecture Layout */
.exp-edu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.panel-title {
    font-size: 1.4rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-accent {
    color: var(--primary-neon);
}

.timeline-item {
    border-left: 2px solid rgba(0, 119, 255, 0.3);
    padding-left: 20px;
    position: relative;
    margin-bottom: 25px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--secondary-blue);
}

.timeline-item h4 {
    font-size: 1.1rem;
    color: #fff;
}

.timeline-company {
    color: var(--primary-neon);
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 2px;
}

.timeline-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 5px;
}

.edu-block {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.edu-badge {
    color: #fff;
    font-size: 1.05rem;
}

.edu-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cert-title {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cert-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cert-tag {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.cert-tag:hover {
    border-color: var(--primary-neon);
    background: rgba(0, 245, 212, 0.05);
}

/* Projects Showcase Styling with slide hover animations */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.tab-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 12px 28px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.tab-btn:hover, .tab-btn.active {
    background: linear-gradient(135deg, var(--primary-neon), var(--secondary-blue));
    color: #000;
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(0, 245, 212, 0.2);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    min-height: 400px;
}

.project-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

/* Clean Slide-In Hover Effect Overlay */
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 245, 212, 0.03), rgba(0, 119, 255, 0.03));
    transition: all 0.5s ease;
    z-index: 1;
}

.project-card:hover::before {
    left: 0;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 245, 212, 0.4);
}

.project-type-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-neon);
    font-weight: 700;
    margin-bottom: 10px;
}

.project-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fff;
    z-index: 2;
}

.project-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    z-index: 2;
}

.project-link {
    text-decoration: none;
    color: var(--secondary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition-smooth);
    z-index: 2;
}

.project-card:hover .project-link {
    color: var(--primary-neon);
    padding-left: 5px;
}

/* Contact & Action Section */
.contact-section {
    padding-bottom: 100px;
}

.contact-card {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 35px;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: var(--transition-smooth);
}

.whatsapp-btn {
    background: #25d366;
    color: #fff;
}

.whatsapp-btn:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.call-btn {
    background: transparent;
    color: #fff;
    border: 2px solid var(--secondary-blue);
}

.call-btn:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 119, 255, 0.3);
}

.emails-container {
    margin-bottom: 35px;
}

.emails-container p {
    font-size: 1rem;
    color: #fff;
    margin: 8px 0;
    font-family: monospace;
}

.emails-container i {
    color: var(--primary-neon);
    margin-right: 8px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    color: var(--primary-neon);
    transform: scale(1.15);
}

/* Centered Clean Footer */
.footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.6rem; }
    .exp-edu-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        cursor: pointer;
    }
    
    .menu-toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background-color: #fff;
    }

    #mobile-menu.is-active .bar:nth-child(2) { opacity: 0; }
    #mobile-menu.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    #mobile-menu.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .nav-links {
        position: absolute;
        top: 100%;
        left: -100%;
        flex-direction: column;
        background: rgba(8, 12, 20, 0.95);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.4s;
        padding: 30px 0;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.active { left: 0; }
    .hero-title { font-size: 2.5rem; }
    .filter-tabs { flex-direction: column; align-items: center; }
    .tab-btn { width: 80%; text-align: center; }
}