/* ===== Root Variables ===== */
:root {
    --primary-color: #6366f1;
    --secondary-color: #ec4899;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --transition: all 0.3s ease;
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Navigation Bar ===== */
.navbar {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
    -webkit-text-fill-color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background-color: rgba(99, 102, 241, 0.1);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    border-radius: 8px;
    top: 100%;
    left: 0;
    border-top: 3px solid var(--primary-color);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    display: block;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.dropdown-content a:hover {
    background-color: rgba(99, 102, 241, 0.1);
    border-left-color: var(--primary-color);
    padding-left: 2rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px 0;
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(-50px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(50px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(30px, -30px) scale(1.05); }
    66%       { transform: translate(-20px, 20px) scale(0.95); }
}
@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes rotateSlowReverse {
    from { transform: rotate(0deg); }
    to   { transform: rotate(-360deg); }
}
@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}
@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}
@keyframes scrollPulse {
    0%, 100% { height: 0; opacity: 1; }
    100%      { height: 40px; opacity: 0; }
}
@keyframes availPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.6); opacity: 0.4; }
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(15,23,42,0.82) 0%, rgba(30,27,75,0.75) 45%, rgba(49,46,129,0.70) 100%),
        url('../images/Cover%20photo.jpg') 70% center / cover no-repeat;
    padding: 100px 20px 60px;
}

/* Background blobs */
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
}
.blob-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #6366f1, transparent);
    top: -100px; left: -100px;
    animation: blobFloat 10s ease-in-out infinite;
}
.blob-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #ec4899, transparent);
    bottom: -80px; right: -80px;
    animation: blobFloat 13s ease-in-out infinite reverse;
}
.blob-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, #8b5cf6, transparent);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: blobFloat 8s ease-in-out infinite 2s;
}
.hero-grid-overlay {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Main container */
.hero-container {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
    max-width: 1100px;
    width: 100%;
}

/* LEFT side */
.hero-left {
    flex: 1;
    animation: fadeInLeft 0.9s ease both;
}

.hero-available {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16,185,129,0.12);
    border: 1px solid rgba(16,185,129,0.3);
    color: #34d399;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.3px;
}
.avail-dot {
    width: 8px; height: 8px;
    background: #34d399;
    border-radius: 50%;
    animation: availPulse 2s ease-in-out infinite;
}

.hero-title {
    margin-bottom: 1rem;
}
.hero-hi {
    display: block;
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}
.hero-name {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 0%, #c7d2fe 50%, #f0abfc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-role-wrap {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1.5rem;
    font-weight: 400;
}
.role-prefix { color: rgba(255,255,255,0.45); }
.hero-typed {
    color: #a5b4fc;
    font-weight: 700;
}
.hero-cursor {
    color: #6366f1;
    font-weight: 300;
    animation: cursorBlink 0.8s step-end infinite;
}

.hero-bio {
    font-size: 1rem;
    color: rgba(255,255,255,0.55);
    max-width: 480px;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-social {
    display: flex;
    gap: 0.85rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}
.hero-social-icon {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}
.hero-social-icon.linkedin  { background: #0077b5; }
.hero-social-icon.instagram { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.hero-social-icon.twitter   { background: #1da1f2; }
.hero-social-icon.pinterest { background: #e60023; }
.hero-social-icon:hover     { transform: translateY(-5px) scale(1.1); box-shadow: 0 8px 25px rgba(0,0,0,0.3); }

/* RIGHT side */
.hero-right {
    flex-shrink: 0;
    animation: fadeInRight 0.9s ease 0.2s both;
}

.hero-visual {
    position: relative;
    width: 340px; height: 340px;
    display: flex; align-items: center; justify-content: center;
}
.hero-corner-widget .hero-visual {
    width: 140px; height: 140px;
}

/* Rotating rings */
.ring {
    position: absolute;
    border-radius: 50%;
    border: 2px dashed rgba(99,102,241,0.4);
}
.ring-1 {
    width: 100%; height: 100%;
    animation: rotateSlow 12s linear infinite;
}
.ring-2 {
    width: 78%; height: 78%;
    border-color: rgba(236,72,153,0.3);
    animation: rotateSlowReverse 8s linear infinite;
}

/* Avatar */
.hero-avatar {
    width: 200px; height: 200px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 100px;
    color: rgba(255,255,255,0.9);
    box-shadow:
        0 0 0 8px rgba(99,102,241,0.15),
        0 0 0 16px rgba(99,102,241,0.08),
        0 25px 60px rgba(99,102,241,0.4);
    z-index: 2;
}

/* Floating cards */
.hero-float-card {
    position: absolute;
    display: flex; align-items: center; gap: 0.5rem;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 0.5rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    z-index: 3;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.hero-float-card i { font-size: 0.85rem; color: #a5b4fc; }
.fc-1 { top: 145px; left: 20px;  animation: floatCard 3s ease-in-out infinite; }
.fc-2 { top: 145px; left: 26%;  animation: floatCard 3.5s ease-in-out infinite 0.5s; }
.fc-3 { top: 145px; left: 52%;  animation: floatCard 4s ease-in-out infinite 1s; }
.fc-4 { top: 145px; right: 20px; animation: floatCard 3.2s ease-in-out infinite 1.5s; }

/* Scroll hint */
/* Corner widget — rings + stats */
.hero-corner-widget {
    position: absolute;
    top: 80px;
    right: 40px;
    z-index: 10;
}
.hero-corner-widget .hero-visual {
    width: 140px;
    height: 140px;
}
.hcs-item {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 4px 8px;
    font-size: 0.65rem;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    z-index: 3;
}
.hcs-item i { font-size: 0.62rem; color: #a5b4fc; }
.hcs-top    { top: -18px;  left: 50%; transform: translateX(-50%); animation: floatCard 3s ease-in-out infinite; }
.hcs-right  { top: 50%;   right: -75px; transform: translateY(-50%); animation: floatCard 3.5s ease-in-out infinite 0.5s; }
.hcs-bottom { bottom: -18px; left: 50%; transform: translateX(-50%); animation: floatCard 4s ease-in-out infinite 1s; }
.hcs-left   { top: 50%;   left: -80px; transform: translateY(-50%); animation: floatCard 3.2s ease-in-out infinite 1.5s; }

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.3);
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 10;
}
.scroll-line {
    width: 1px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* Buttons override for dark hero */
.btn-primary {
    background: linear-gradient(135deg, #6366f1, #ec4899);
    color: white;
    box-shadow: 0 10px 30px rgba(99,102,241,0.35);
    border-radius: 50px;
    padding: 0.8rem 2rem;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99,102,241,0.5);
}
.btn-resume {
    background: rgba(255,255,255,0.08);
    color: white;
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: 50px;
    padding: 0.8rem 2rem;
    backdrop-filter: blur(8px);
}
.btn-resume:hover {
    background: white;
    color: #1e1b4b;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.15);
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(99, 102, 241, 0.1);
    transform: translateY(-3px);
}

.btn-resume {
    background-color: white;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.btn-resume:hover {
    background-color: var(--text-dark);
    color: white;
    border-color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* ===== Sections ===== */
.section {
    padding: 60px 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* ===== Personal Info Section ===== */
.personal-info {
    background-color: var(--light-bg);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    animation: scaleIn 0.6s ease;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.info-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.info-card p,
.info-card a {
    color: var(--text-light);
    text-decoration: none;
}

.info-card a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ===== Activity Stats Section ===== */
.activity-stats {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transition: var(--transition);
}

.stat-card:hover::before {
    transform: translate(50%, 50%);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
}

.stat-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}

/* ===== Work Experience Section ===== */
.work-experience {
    background-color: var(--light-bg);
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.timeline-item {
    margin-bottom: 3rem;
    width: calc(50% - 50px);
    animation: fadeInUp 0.6s ease;
}

.timeline-item:nth-child(odd) {
    margin-left: 0;
    text-align: right;
    padding-right: 50px;
}

.timeline-item:nth-child(even) {
    margin-left: auto;
    padding-left: 50px;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    top: 20px;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
    transform: translateY(-5px);
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

/* ===== Education Section ===== */
.education {
    background-color: white;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.education-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.education-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
}

.education-level {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.education-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.education-card .institution {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.education-card .period {
    color: var(--primary-color);
    font-weight: 600;
}

/* ===== Skills Section ===== */
.skills {
    background: linear-gradient(135deg, var(--light-bg) 0%, #f0e7ff 100%);
}

.skills-container {
    display: grid;
    gap: 3rem;
}

.skill-category {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.skill-category:hover {
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
}

.skill-category h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.skill-category i {
    color: var(--primary-color);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    border: 1px solid rgba(99, 102, 241, 0.3);
    transition: var(--transition);
}

.skill-tag:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: translateY(-3px);
}

.skills-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.tools-icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 1.2rem;
}

.tool-icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: default;
    transition: var(--transition);
}

.tool-icon-card:hover {
    transform: translateY(-5px);
}

.tool-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.tool-icon-wrap i {
    color: #000000 !important;
}

.tool-icon-card:hover .tool-icon-wrap {
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transform: scale(1.08);
}

.tool-icon-card span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    text-align: center;
    line-height: 1.3;
}

.tool-group {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.tool-group h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.tool-group p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== Certifications Section ===== */
.certifications {
    background-color: var(--light-bg);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.cert-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
}

.cert-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cert-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.cert-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Certificate image card */
.cert-card-img {
    padding: 0;
}
.cert-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center top;
    border-radius: 12px 12px 0 0;
    display: block;
}
.cert-card-img h3,
.cert-card-img p {
    padding: 0 1.5rem;
}
.cert-card-img h3 { padding-top: 1rem; }
.cert-card-img p  { padding-bottom: 1.5rem; }

/* ===== Blog Section ===== */
.blog {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

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

.blog-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
}

.blog-cover {
    width: 100%;
    height: 240px;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

.blog-card:hover .book-cover-img {
    transform: scale(1.05);
}

.blog-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.blog-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.blog-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.blog-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.blog-link:hover {
    gap: 1rem;
    color: var(--secondary-color);
}

/* ===== Projects Section ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
}

.project-cover {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 280px;
    margin: 0 auto 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
    padding: 1rem;
}

.project-cover-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.project-cover-icon {
    font-size: 5rem;
    opacity: 0.95;
}

.project-cover-numluck {
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
}

.project-cover-worktrax {
    background: linear-gradient(135deg, #0ea5e9 0%, #8b5cf6 100%);
}

.project-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.project-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.project-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.project-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.project-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

/* ===== Gallery Section ===== */
.gallery {
    background: linear-gradient(135deg, #f8fafc 0%, #ede9fe 100%);
}

.gallery-filter {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.filter-btn {
    padding: 0.5rem 1.4rem;
    border-radius: 50px;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.gallery-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: var(--transition);
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(99,102,241,0.15);
}

.gallery-card.hidden { display: none; }

.gallery-thumb {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.worktrax-thumb  { background: linear-gradient(135deg, #0d1117 0%, #00c896 100%); }
.numluck-thumb   { background: linear-gradient(135deg, #1e1b4b 0%, #7c3aed 100%); }
.innovixus-thumb { background: linear-gradient(135deg, #0f172a 0%, #0ea5e9 100%); }
.iam-thumb       { background: linear-gradient(135deg, #1a1a2e 0%, #e94560 100%); }
.ms-thumb        { background: linear-gradient(135deg, #0078d4 0%, #50e6ff 100%); }
.li-thumb        { background: linear-gradient(135deg, #0a66c2 0%, #00a0dc 100%); }

.thumb-inner {
    text-align: center;
    color: white;
}

.thumb-header {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.thumb-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.thumb-tags span {
    background: rgba(255,255,255,0.2);
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.gallery-card-info {
    padding: 1.4rem 1.5rem;
}

.gallery-card-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.gallery-card-info p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.gallery-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: var(--transition);
}

.gallery-link:hover { gap: 0.7rem; }

.gallery-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.active-badge { background: #dcfce7; color: #16a34a; }
.past-badge   { background: #f1f5f9; color: var(--text-light); }
.cert-badge   { background: #ede9fe; color: var(--primary-color); }

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, var(--text-dark) 100%);
    color: white;
    padding: 2rem 20px;
    text-align: center;
}

.footer .container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .nav-menu.active {
        display: flex;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        text-align: left;
    }

    .timeline-item:nth-child(odd) {
        text-align: left;
        padding-right: 0;
        padding-left: 50px;
    }

    .timeline-item:nth-child(even) {
        padding-left: 50px;
        margin-left: 0;
    }

    .timeline-marker {
        left: 0;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== Contact Page Styles ===== */
.contact-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 20px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-hero p {
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
    opacity: 0.95;
}

.contact-section {
    background-color: white;
}

.contact-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-form-wrapper,
.contact-info-wrapper {
    animation: fadeInUp 0.6s ease;
}

.contact-form-wrapper h2,
.contact-info-wrapper h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 1rem;
}

.contact-form-wrapper h2::after,
.contact-info-wrapper h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.contact-submit {
    margin-top: 1rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    border: none;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
}

.contact-info-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-content h3 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-info-content p,
.contact-info-content a {
    color: var(--text-light);
    text-decoration: none;
}

.contact-info-content a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.social-links-contact {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 12px;
    color: white;
    text-align: center;
}

.social-links-contact h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

/* ===== FAQ Section ===== */
.contact-faq {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.15);
}

.faq-item h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.faq-item h3 i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-form-wrapper h2,
    .contact-info-wrapper h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section {
        padding: 40px 15px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .info-grid,
    .stats-grid,
    .education-grid,
    .blog-grid,
    .certifications-grid {
        grid-template-columns: 1fr;
    }

    .logo {
        font-size: 1.3rem;
    }

    .nav-menu {
        gap: 0.5rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .contact-hero h1 {
        font-size: 1.5rem;
    }
}
