/* ========================================
   NISHADSL.COM - 2026 DESIGN SYSTEM
   Gradient Text Logo (Premium 2026 Style)
   ======================================== */

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --accent: #3b82f6;
    --accent-dark: #2563eb;
    --accent-light: #eff6ff;
    --success: #10b981;
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --radius: 12px;
    --radius-lg: 16px;
}

body.dark {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border: #334155;
    --accent: #60a5fa;
    --accent-dark: #3b82f6;
    --accent-light: #1e293b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, 'Segoe UI', 'Roboto', 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background 0.3s ease, color 0.3s ease;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ========================================
   GLOBAL CONTAINER
   ======================================== */

.container, 
.hero-content, 
.services-grid,
.company-grid,
.contact-container,
.resume-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 1600px) {
    .container, 
    .hero-content, 
    .services-grid,
    .company-grid,
    .contact-container,
    .resume-container {
        max-width: 1400px;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 2560px) {
    .container, 
    .hero-content, 
    .services-grid,
    .company-grid,
    .contact-container,
    .resume-container {
        max-width: 1600px;
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

/* ========================================
   NAVIGATION - GRADIENT TEXT LOGO
   ======================================== */

.navbar {
    position: sticky;
    top: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(var(--bg-primary-rgb, 255,255,255), 0.95);
}

body.dark .navbar {
    background: rgba(15, 23, 42, 0.95);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 2560px) {
    .nav-container {
        max-width: 1800px;
        padding: 1rem 3rem;
    }
}

/* Premium Gradient Logo - 2026 Style */
.logo {
    text-decoration: none;
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

/* Light mode gradient */
.logo {
    background: linear-gradient(135deg, #1e293b 0%, #3b82f6 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Dark mode gradient */
body.dark .logo {
    background: linear-gradient(135deg, #f1f5f9 0%, #60a5fa 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Hover effect - subtle scale */
.logo:hover {
    transform: scale(1.02);
}

/* SL span with its own gradient */
.logo span {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body.dark .logo span {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent);
}

.right-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ========================================
   DARK MODE TOGGLE BUTTON - GLASS MORPHISM
   ======================================== */

.theme-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #2563eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
}

.theme-toggle:hover {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.9);
    border-color: #3b82f6;
    color: #1d4ed8;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

body.dark .theme-toggle {
    background: #1e293b;
    border: 1px solid #334155;
    color: #94a3b8;
    backdrop-filter: none;
    box-shadow: none;
}

body.dark .theme-toggle:hover {
    transform: scale(1.08);
    background: #334155;
    border-color: #60a5fa;
    color: #60a5fa;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
    transition: color 0.3s ease;
    padding: 4px 8px;
}

body.dark .mobile-menu-btn {
    color: #ffffff;
}

body.dark .mobile-menu-btn:hover {
    color: var(--accent);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    padding: 5rem 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 2560px) {
    .hero-content {
        max-width: 1000px;
    }
}

.hero-badge {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent);
    padding: 0.25rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.highlight {
    color: var(--accent);
    font-weight: 600;
}

.hero-description {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--text-muted);
    font-size: clamp(0.9rem, 3vw, 1rem);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* ========================================
   STATS SECTION
   ======================================== */

.stats {
    max-width: 1000px;
    margin: -2rem auto 3rem;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 640px) {
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.stat-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5rem;
}

.services {
    padding: 4rem 1.5rem;
    background: var(--bg-secondary);
}

.services-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        gap: 1.5rem;
    }
}

@media (min-width: 1600px) {
    .services-grid {
        max-width: 1200px;
        gap: 2.5rem;
    }
}

.service-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.2s;
}

.service-card:hover {
    transform: translateY(-4px);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ========================================
   COMPANY SECTION
   ======================================== */

.experience-summary {
    padding: 4rem 1.5rem;
}

.company-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 1600px) {
    .company-grid {
        max-width: 1100px;
    }
}

.company-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.company-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.company-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.role-badge {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta {
    background: var(--accent-light);
    padding: 4rem 1.5rem;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 0.5rem;
}

.cta-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* ========================================
   RESUME PAGE
   ======================================== */

.resume-container {
    max-width: 900px;
    margin: 2rem auto;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

@media (min-width: 1600px) {
    .resume-container {
        max-width: 1000px;
        padding: 2.5rem;
    }
}

@media (max-width: 640px) {
    .resume-container {
        margin: 1rem;
        padding: 1.25rem;
    }
}

.resume-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

@media (max-width: 480px) {
    .resume-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .resume-actions .btn {
        width: auto;
        min-width: 130px;
    }
}

.resume-header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}

.resume-header h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 0.25rem;
}

.resume-title {
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.resume-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1rem;
    font-size: 0.85rem;
}

@media (max-width: 560px) {
    .resume-contact {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}

.resume-contact a, .resume-contact span {
    color: var(--text-secondary);
    text-decoration: none;
}

.resume-contact a:hover {
    color: var(--accent);
}

.resume-section {
    margin-bottom: 2rem;
}

.resume-section h2 {
    font-size: 1.3rem;
    color: var(--text-primary);
    border-left: 4px solid var(--accent);
    padding-left: 1rem;
    margin-bottom: 1rem;
}

.summary-text {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: var(--radius);
    line-height: 1.6;
}

.job {
    margin-bottom: 1.5rem;
}

.job-header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 0.25rem;
}

@media (max-width: 480px) {
    .job-header {
        flex-direction: column;
        gap: 0.25rem;
    }
}

.job-title {
    font-weight: 700;
    font-size: 1.05rem;
}

.job-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.job-company {
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.job ul {
    list-style: none;
    padding-left: 1.25rem;
}

.job ul li {
    margin-bottom: 0.5rem;
    position: relative;
}

.job ul li::before {
    content: "▹";
    position: absolute;
    left: -1.25rem;
    color: var(--accent);
}

.skills-list, .strengths-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skills-list span, .strengths-list span {
    background: var(--bg-tertiary);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
}

.education {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.edu-item {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: var(--radius);
}

@media (max-width: 560px) {
    .edu-item {
        flex-direction: column;
        gap: 0.25rem;
    }
}

.edu-degree {
    font-weight: 700;
    flex: 2;
}

.edu-year {
    color: var(--accent);
    font-weight: 500;
}

.edu-school {
    width: 100%;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ========================================
   CONTACT PAGE
   ======================================== */

.contact-page {
    padding: 3rem 1.5rem;
    flex: 1;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 0.5rem;
}

.contact-header p {
    color: var(--text-muted);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.contact-info-card, .contact-form-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

@media (max-width: 480px) {
    .contact-info-card, .contact-form-card {
        padding: 1.25rem;
    }
}

.contact-info-card h2, .contact-form-card h2 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

@media (max-width: 380px) {
    .contact-detail {
        flex-direction: column;
        gap: 0.25rem;
    }
}

.detail-icon {
    font-size: 1.5rem;
}

.contact-detail div {
    display: flex;
    flex-direction: column;
}

.contact-detail strong {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-detail a, .contact-detail span {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    margin-top: 0.15rem;
    word-break: break-word;
}

.contact-detail a:hover {
    color: var(--accent);
}

.availability {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: var(--radius);
    text-align: center;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.status-badge.available {
    background: #dcfce7;
    color: #166534;
}

body.dark .status-badge.available {
    background: #14532d;
    color: #86efac;
}

.availability p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-note {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 1rem;
}

.success-message {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: var(--radius-lg);
    border: 1px solid #bbf7d0;
    animation: fadeInUp 0.5s ease;
}

body.dark .success-message {
    background: linear-gradient(135deg, #14532d 0%, #166534 100%);
    border-color: #22c55e;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: #22c55e;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.success-message h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #166534;
}

body.dark .success-message h3 {
    color: #86efac;
}

.success-message p {
    color: #166534;
    margin-bottom: 0.25rem;
}

body.dark .success-message p {
    color: #bbf7d0;
}

.success-note {
    font-size: 0.85rem;
    margin-top: 0.75rem;
    opacity: 0.8;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 3rem 1.5rem 1.5rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

@media (min-width: 2560px) {
    .footer-content {
        max-width: 1600px;
    }
}

.footer-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.footer-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--accent);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

@media (max-width: 480px) {
    .footer-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-copyright p {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .right-buttons {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border);
        z-index: 100;
    }
    
    body.dark .nav-menu {
        background: var(--bg-primary);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero {
        padding: 3rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .section-title {
        margin-bottom: 1.5rem;
    }
    
    .services {
        padding: 2.5rem 1rem;
    }
    
    .service-card {
        padding: 1.25rem;
    }
    
    .company-card {
        padding: 1rem;
    }
}

@media (max-width: 360px) {
    .nav-container {
        padding: 0.75rem 1rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .contact-detail a, .contact-detail span {
        font-size: 0.85rem;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
        padding: 0;
        margin: 0;
    }
    
    .navbar, .theme-toggle, .mobile-menu-btn, .hero-buttons, .cta, .footer, .resume-actions, .right-buttons {
        display: none;
    }
    
    .resume-container {
        margin: 0;
        padding: 0;
        border: none;
        box-shadow: none;
    }
    
    .resume-contact a, .resume-contact span {
        color: black;
        text-decoration: none;
    }
}