* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --secondary: #475569;
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-secondary: #f8fafc;
    --border: #e2e8f0;
    --shadow: rgba(79, 70, 229, 0.08);
    --shadow-lg: rgba(79, 70, 229, 0.12);
}

.text-gradient {
    background: linear-gradient(135deg, #4f46e5 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#hire-me {
    color: white;
}

/* Typing Animation */
.typing-text {
    color: var(--primary);
    font-weight: 800;
}

.cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--primary);
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    flex-direction: column;
}

.nav-brand h1 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}

.nav-brand span {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 100px 0 120px;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.timezone-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    color: var(--secondary);
    margin-bottom: 32px;
    box-shadow: 0 2px 8px var(--shadow);
    font-weight: 500;
}

.timezone-info svg {
    color: var(--primary);
    flex-shrink: 0;
}

.availability-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--text);
    font-weight: 500;
}

.availability-badge svg {
    color: var(--primary);
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .timezone-info {
        font-size: 13px;
        padding: 10px 16px;
    }

    .availability-badge {
        font-size: 14px;
    }
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text);
}

.hero-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #16a34a;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.profile-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 20px 60px var(--shadow-lg);
    border: 1px solid var(--border);
}

.profile-header {
    text-align: center;
    margin-bottom: 24px;
}

.profile-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile-header p {
    color: var(--text-light);
    font-size: 14px;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tag {
    padding: 6px 12px;
    background: var(--bg-secondary);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--secondary);
}

.profile-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.stat {
    text-align: center;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

.profile-status {
    text-align: center;
    padding: 12px;
    background: #dbeafe;
    color: var(--primary);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 12px;
    background: #dbeafe;
    color: var(--primary);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: var(--bg-secondary);
}

.services-carousel {
    position: relative;
    overflow: hidden;
}

.services-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    min-width: calc(33.333% - 16px);
    flex-shrink: 0;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 28px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-card ul {
    list-style: none;
    margin-bottom: 24px;
}

.service-card li {
    padding: 8px 0;
    color: var(--text-light);
    font-size: 15px;
    position: relative;
    padding-left: 24px;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px var(--shadow-lg);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 5px;
}

.services {
    background: radial-gradient(circle at top left, rgba(80, 112, 255, 0.06), transparent),
        radial-gradient(circle at bottom right, rgba(0, 204, 153, 0.06), transparent);
}

.service-card {
    position: relative;
    border-radius: 18px;
    padding: 22px 22px 20px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.16);
    border-color: rgba(59, 130, 246, 0.6);
}

.service-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #2563eb, #22c55e);
    color: #ffffff;
}

.service-tagline {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 10px;
}

.service-card ul {
    margin: 0;
    padding-left: 18px;
    font-size: 0.9rem;
    color: #475569;
}

.service-meta {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.service-pill {
    padding: 4px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    font-size: 0.75rem;
    color: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.5);
}


/* Tech Stack */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.tech-category {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow);
    border: 1px solid var(--border);
    border-top: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.tech-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px var(--shadow-lg);
}

.tech-category h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-pill {
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
    transition: all 0.3s ease;
    cursor: default;
}

.tech-pill:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Projects */
.project-image-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.projects {
    background: var(--bg-secondary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px var(--shadow-lg);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.project-content {
    padding: 32px;
}

.project-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.project-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.project-value {
    background: #dcfce7;
    color: #16a34a;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
    font-weight: 500;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.project-links {
    display: flex;
    gap: 12px;
}

.project-links a {
    flex: 1;
    text-align: center;
}

/* About */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 16px;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.highlight {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
    border: 1px solid var(--border);
}

.highlight-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.highlight h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.highlight p {
    font-size: 14px;
    color: var(--text-light);
}

/* Timeline */
.timeline {
    background: var(--bg-secondary);
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 150px;
    top: 40px;
    width: 1px;
    height: calc(100% + 40px);
    background: var(--border);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-date {
    text-align: right;
    padding-top: 8px;
}

.timeline-date span {
    display: inline-block;
    padding: 6px 12px;
    background: white;
    border-radius: 8px;
    font-weight: 600;
    color: var(--primary);
    font-size: 14px;
}

.timeline-content {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow);
    border: 1px solid var(--border);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 20px;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid white;
}

.timeline-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-content h4 {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 16px;
    font-weight: 500;
}

.timeline-content ul {
    list-style: none;
}

.timeline-content li {
    padding: 8px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 24px;
}

.timeline-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* Contact */
.contact-icons-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.contact-icons {
    display: flex;
    gap: 1.25rem;
}

/* ✅ Clean White Circles */
.contact-circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #0f172a;
    text-decoration: none;
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.contact-circle svg {
    width: 22px;
    height: 22px;
}

/* ✅ Soft premium hover */
.contact-circle:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    border-color: rgba(15, 23, 42, 0.25);
}

/* ✅ Click feedback */
.contact-circle:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.1);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(8px);
    box-shadow: 0 6px 25px var(--shadow-lg);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-details h4 {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-details a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.contact-cta {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow);
    border: 1px solid var(--border);
    text-align: center;
}

.contact-cta h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.contact-cta p {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.7;
    font-size: 16px;
}

.contact-cta .btn {
    /* Inherits default btn-primary styles */
    background: var(--primary);
    color: white;
    padding: 12px 32px;
}

.contact-cta .btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* Footer */
footer {
    background: var(--text);
    color: white;
    padding: 40px 0;
    text-align: center;
}

footer p {
    margin-bottom: 16px;
    opacity: 0.8;
}

footer a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 0.8;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 40px;
        box-shadow: -4px 0 20px var(--shadow);
        transition: right 0.3s ease;
        align-items: flex-start;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-width: 100%;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .timeline-date {
        text-align: left;
    }

    .timeline-item::before {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .contact-details a {
        display: block;
        margin-bottom: 4px;
    }

    .contact-details a:last-child {
        margin-bottom: 0;
    }
}