/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Fonts */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
}

/* Dark Theme Variables (Default) */
[data-theme="dark"] {
    --bg-primary: #0a1128;
    --bg-secondary: #0f1c3f;
    --bg-tertiary: #172a5a;
    --bg-card: #12224c;
    --bg-card-hover: #1a2f65;

    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;

    --primary: #3b82f6;
    --primary-hover: #60a5fa;
    --primary-rgb: 59, 130, 246;
    --secondary: #10b981;
    --secondary-hover: #34d399;

    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.4);
    --shadow-primary: 0 0 20px rgba(59, 130, 246, 0.3);

    --glass-bg: rgba(10, 17, 40, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
}

/* Light Theme Variables */
[data-theme="light"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-tertiary: #e2e8f0;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;

    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;

    --primary: #1d4ed8;
    --primary-hover: #2563eb;
    --primary-rgb: 29, 78, 216;
    --secondary: #059669;
    --secondary-hover: #10b981;

    --border-color: rgba(15, 23, 42, 0.08);
    --border-hover: rgba(15, 23, 42, 0.15);

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
    --shadow-primary: 0 0 20px rgba(29, 78, 216, 0.15);

    --glass-bg: rgba(248, 250, 252, 0.8);
    --glass-border: rgba(15, 23, 42, 0.05);
}

/* ==========================================================================
   RESET & GLOBAL STYLES
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    outline: none;
}

input,
textarea {
    font-family: inherit;
    outline: none;
}

/* Scroll Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 9999;
    transition: width 0.1s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 5px;
    border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Common Layout Components */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 6rem 0;
}

.section-bg {
    background-color: var(--bg-secondary);
}

/* ==========================================================================
   BUTTONS & ACCENTS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-normal);
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.4);
}

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

.btn-secondary:hover {
    background-color: var(--bg-secondary);
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

.btn-arrow {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-normal);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all var(--transition-normal);
}

.header.scrolled {
    height: 70px;
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.logo span {
    color: var(--primary);
}

.logo-dot {
    width: 8px;
    height: 8px;
    background-color: var(--secondary);
    border-radius: 50%;
}

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

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--text-primary);
    font-weight: 600;
}

.btn-contact-nav {
    padding: 0.5rem 1.2rem;
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 20px;
    background-color: rgba(var(--primary-rgb), 0.03);
}

.btn-contact-nav:hover {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

.btn-contact-nav::after {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Theme Switcher Button */
.theme-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.theme-btn:hover {
    background-color: var(--bg-tertiary);
    transform: scale(1.05);
}

.theme-btn svg {
    width: 20px;
    height: 20px;
    position: absolute;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}

[data-theme="dark"] .sun-icon {
    opacity: 1;
    transform: rotate(0deg);
}

[data-theme="dark"] .moon-icon {
    opacity: 0;
    transform: rotate(90deg);
}

[data-theme="light"] .sun-icon {
    opacity: 0;
    transform: rotate(-90deg);
}

[data-theme="light"] .moon-icon {
    opacity: 1;
    transform: rotate(0deg);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
}

.mobile-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 5rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    transition: opacity var(--transition-normal);
}

[data-theme="light"] .shape {
    opacity: 0.08;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background-color: var(--primary);
    top: -100px;
    right: -50px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background-color: var(--secondary);
    bottom: -50px;
    left: -50px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 0 4rem;
    align-items: center;
}

.hero-title-area {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-details {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 1.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-subtitle strong {
    color: var(--text-primary);
}

.hero-ctas {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.quick-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.contact-item:hover {
    color: var(--primary);
}

.contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

/* Hero Image Card Styling */
.hero-image-wrapper {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: flex;
    justify-content: center;
    position: relative;
}


.image-card {
    position: relative;
    width: 340px;
    height: 430px;
    border-radius: 24px;
    z-index: 1;
}

.image-inner {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    background-color: var(--bg-secondary);
    position: relative;
    z-index: 2;
    transition: border-color var(--transition-normal);
}

.image-card:hover .image-inner {
    border-color: var(--primary);
}

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

.image-card:hover .profile-img {
    transform: scale(1.04) rotate(1.5deg);
}

.glow-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    filter: blur(20px);
    opacity: 0.3;
    z-index: 0;
    border-radius: 24px;
    transition: opacity var(--transition-normal);
}

.image-card:hover .glow-bg {
    opacity: 0.5;
}



/* ==========================================================================
   ABOUT & STATISTICS
   ========================================================================== */
.section-header {
    margin-bottom: 4rem;
}

.section-tagline {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--primary);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    margin-top: 0.5rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.summary-paragraph {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-info-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    font-size: 1rem;
}

.info-label {
    font-family: var(--font-heading);
    font-weight: 700;
    min-width: 90px;
    color: var(--text-primary);
}

.info-value {
    color: var(--text-secondary);
}

/* Stats Cards Grid */
.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: var(--shadow-md);
}

.stat-icon-wrapper {
    width: 48px;
    height: 48px;
    background-color: rgba(var(--primary-rgb), 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.stat-icon {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   TECHNICAL SKILLS
   ========================================================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.skill-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.25rem;
    position: relative;
    transition: all var(--transition-normal);
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: var(--shadow-md);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.skill-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-icon svg {
    width: 24px;
    height: 24px;
}

.skill-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
}

.skill-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
    min-height: 65px;
}

.skill-progress-bar {
    width: 100%;
    height: 6px;
    background-color: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.skill-progress {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0%;
    /* Will animate via script or transition */
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-percentage {
    position: absolute;
    bottom: 2.25rem;
    right: 2.25rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* Custom Skill Icon Background Colors */
.java-color {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.selenium-color {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.sql-color {
    background-color: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.jira-color {
    background-color: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.manual-color {
    background-color: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.functional-color {
    background-color: rgba(236, 72, 153, 0.1);
    color: #ec4899;
}

/* ==========================================================================
   WORK EXPERIENCE TIMELINE
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 2.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -2.5rem;
    top: 6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--bg-primary);
    border: 3px solid var(--primary);
    z-index: 2;
    transition: background-color var(--transition-normal);
}

.timeline-item:hover .timeline-dot {
    background-color: var(--primary);
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
}

.timeline-date {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.timeline-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all var(--transition-normal);
}

.timeline-item:hover .timeline-content {
    border-color: rgba(var(--primary-rgb), 0.2);
    box-shadow: var(--shadow-md);
}

.timeline-brand {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.company-logo {
    height: 30px;
    width: auto;
    display: block;
    transition: transform var(--transition-normal);
}

.company-logo .st2 {
    fill: var(--text-primary);
    transition: fill var(--transition-normal);
}

.timeline-item:hover .company-logo {
    transform: scale(1.05);
}

.timeline-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.25rem;
}

.timeline-title-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.role-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
}

.company-badge {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
}

.location-badge {
    font-size: 0.85rem;
    color: var(--text-muted);
    background-color: var(--bg-secondary);
    padding: 0.35rem 0.75rem;
    border-radius: 12px;
}

.experience-lead {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.achievement-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.achievement-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.achievement-icon {
    width: 20px;
    height: 20px;
    color: var(--secondary);
    flex-shrink: 0;
    margin-top: 2px;
}

.achievement-list li span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================================
   HIGHLIGHTS & EDUCATION
   ========================================================================== */
.highlights-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.highlight-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(var(--primary-rgb), 0.05) 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.highlight-badge-wrapper {
    margin-bottom: 1.5rem;
}

.highlight-badge {
    background-color: var(--primary);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.35rem 0.85rem;
    border-radius: 12px;
}

.highlight-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.highlight-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.highlight-impact {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

[data-theme="light"] .highlight-impact {
    background-color: rgba(0, 0, 0, 0.01);
}

.impact-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.impact-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background-color: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
}

.highlight-summary-footer {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-style: italic;
    margin-top: auto;
}

/* Professional Development Card */
.development-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
}

.card-subtitle-custom {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.dev-intro {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.dev-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dev-item {
    display: flex;
    gap: 1rem;
}

.dev-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--secondary);
    margin-top: 6px;
    flex-shrink: 0;
}

.dev-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.dev-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Education Banner Component */
.education-banner {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2.5rem;
}

.edu-icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: rgba(var(--primary-rgb), 0.08);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.edu-icon {
    width: 30px;
    height: 30px;
    color: var(--primary);
}

.edu-details {
    display: flex;
    flex-direction: column;
}

.edu-tag {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.edu-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.edu-college {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.edu-date {
    color: var(--text-muted);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-info-panel {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
}

.panel-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-align: center;
}

.panel-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.contact-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-card-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    border-radius: 16px;
    transition: all var(--transition-normal);
}

a.contact-card-item:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    transform: translateY(-3px);
    background-color: var(--bg-tertiary);
    box-shadow: var(--shadow-sm);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: rgba(var(--primary-rgb), 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-card-icon svg {
    width: 22px;
    height: 22px;
}

.contact-card-text {
    display: flex;
    flex-direction: column;
}

.contact-card-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.contact-card-value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    word-break: break-all;
    color: var(--text-primary);
}


/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-tag {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
}

.footer-menu {
    display: flex;
    gap: 2rem;
}

.footer-menu a {
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
}

.footer-menu a:hover {
    color: var(--primary);
}

.footer-bottom {
    grid-column: 1 / -1;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================================================
   SCROLL TO TOP BUTTON
   ========================================================================== */
.scroll-to-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    z-index: 99;
}

.scroll-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
}

.scroll-to-top-btn svg {
    width: 22px;
    height: 22px;
}

/* ==========================================================================
   SUCCESS MODAL DIALOG
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 17, 40, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 3rem;
    max-width: 440px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform var(--transition-normal);
}

.modal-overlay.open .modal-content {
    transform: scale(1);
}

.modal-checkmark-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.checkmark-svg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: var(--secondary);
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px var(--secondary);
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: var(--secondary);
    fill: none;
    animation: stroke .6s cubic-bezier(0.650, 0.000, 0.450, 1.000) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke .3s cubic-bezier(0.650, 0.000, 0.450, 1.000) .8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 40px rgba(16, 185, 129, 0.1);
    }
}

.modal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.modal-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.modal-content button {
    width: 100%;
}

/* ==========================================================================
   SCROLL INTERSECTION ANIMATIONS
   ========================================================================== */
.scroll-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.scroll-anim.animated {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
    :root {
        --header-height: 70px;
    }

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

    .hero-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .hero-title-area {
        grid-column: auto;
        grid-row: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-details {
        grid-column: auto;
        grid-row: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 0;
    }

    .hero-image-wrapper {
        grid-column: auto;
        grid-row: auto;
        display: flex;
        justify-content: center;
        margin: 1.5rem 0;
    }

    .hero-image-wrapper .image-card {
        width: 260px;
        height: 320px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-ctas {
        justify-content: center;
    }

    .quick-contact {
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

}

@media (max-width: 768px) {

    /* Mobile Menu Drawer */
    .mobile-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--bg-card);
        border-left: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
        padding: 6rem 2rem 2rem;
        transition: right var(--transition-normal);
        backdrop-filter: blur(12px);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.75rem;
    }

    .nav-link {
        font-size: 1.15rem;
    }

    /* Hamburger Menu Animation when Open */
    .mobile-toggle.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

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

    .hero-image-wrapper .image-card {
        width: 220px;
        height: 280px;
        border-radius: 20px;
    }

    .hero-image-wrapper .image-inner,
    .hero-image-wrapper .glow-bg {
        border-radius: 20px;
    }

    .section-padding {
        padding: 4.5rem 0;
    }

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

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .education-banner {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-dot {
        left: -1.5rem;
        top: 8px;
        width: 14px;
        height: 14px;
    }

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

    .timeline-content {
        padding: 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-tag {
        margin: 0 auto;
    }

    .footer-links {
        justify-content: center;
    }
}

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

    .hero-image-wrapper .image-card {
        width: 200px;
        height: 250px;
        border-radius: 16px;
    }

    .hero-image-wrapper .image-inner,
    .hero-image-wrapper .glow-bg {
        border-radius: 16px;
    }



    .stat-number {
        font-size: 1.85rem;
    }

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