/* --- 1. GLOBAL RESET & VARIABLES --- */
:root {
    --bg-dark: #150622;
    --card-bg: #292a2a;
    --primary: #a855f7;
    --primary-hover: #9333ea;
    --text-main: #ffffff;
    --text-dim: #94a3b8;
    --border: #2d2d35;
    --container-width: 1200px;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- 2. NAVIGATION --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
}

/* Logo aur Website Name (Link) ka style */
.logo-text-link {
    text-decoration: none;
    color: white !important;
    font-size: 1.2rem; /* 2.5rem tha — resize karke navbar ke sath match kiya */
    font-weight: 700;
    transition: color 0.3s ease;
}

/* Jab mouse text par jaye (Hover state) */
.logo-text-link:hover {
    color: white !important; /* Hover par bhi white hi rahega */
    text-decoration: none; /* Hover par bhi underline nahi chahiye */
    /* Agar hover par underline chahiye toh niche wali line use karna: */
    /* text-decoration: underline; */
}

.logo img { height: 40px; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

/* --- 3. HERO SECTION --- */
.hero-section {
    text-align: center;
    padding: 120px 5% 100px;
    background: radial-gradient(circle at top, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid var(--primary);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.85rem;
    margin-bottom: 25px;
    font-weight: 500;
}

.hero-section h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
}

.hero-section h1 span {
    color: var(--primary);
}

.hero-section p {
    color: rgb(233, 222, 222);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.btn-primary, .btn-secondary {
    padding: 14px 35px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: 0.3s all ease;
}

.btn-primary { background: var(--primary); color: white; border: none; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(168, 85, 247, 0.3); }

.btn-secondary { border: 1px solid var(--border); color: white; }
.btn-secondary:hover { border-color: var(--primary); background: rgba(255,255,255,0.05); }

.hinglish-quote blockquote {
    color: var(--text-dim);
    font-size: 1.1rem;
    font-style: italic;
    border-left: 3px solid var(--primary);
    padding: 5px 20px;
    max-width: 500px;
    margin: 0 auto;
}

/* --- 4. PHILOSOPHY SECTION --- */
.philosophy-section {
    padding: 100px 8%;
    background-color: #0d0d10;
}

.container { max-width: var(--container-width); margin: 0 auto; padding: 80px 5% 40px; }

.philosophy-header { text-align: center; margin-bottom: 60px; }
.philosophy-header h2 { font-size: 2.5rem; margin-bottom: 20px; }
.highlight { color: var(--primary); }

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.phil-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 24px;
    transition: 0.4s ease;
}

.phil-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.card-icon { font-size: 3rem; margin-bottom: 20px; }
.phil-card h3 { margin-bottom: 15px; font-size: 1.4rem; }
.phil-card p { color: rgb(233, 222, 222); }

.personal-note {
    text-align: center;
    background: rgba(168, 85, 247, 0.05);
    padding: 30px;
    border-radius: 15px;
    border: 1px dashed var(--border);
}

/* --- 5. UNIVERSAL FOOTER (Pure Black Background) --- */
.main-footer {
    padding: 80px 8% 40px;
    border-top: 1px solid var(--border);
    
    /* Yahan humne specific Pure Black color daal diya hai */
    background: #000000; 
    
    transition: all 0.5s ease;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Owner name & Headings will still take the Page's Theme Color (Aqua or Purple) */
.footer-owner span, 
.footer-links h4, 
.footer-contact h4,
.email-link { 
    color: var(--primary); 
    font-weight: bold; 
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    margin-top: 50px;
    border-top: 1px solid #111; /* Subtle line for black background */
    color: var(--text-dim);
    font-size: 0.85rem;

}


/* --- ABOUT PAGE THEME (Deep Navy & Aqua Center) --- */

.about-page {
    --bg-dark: #011425; 
    --card-bg: #0d1520; 
    --primary: #6fd4b5; /* Aqua */
    --primary-hover: #70f9ff;
    --text-dim: #94a3b8;
    --border: #1e293b;
}

/* Page Wrapper */
.about-page .vision-container {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Sab kuch horizontal center karne ke liye */
}

/* Header Styling */
.about-page .vision-header {
    text-align: center;
    margin-bottom: 80px;
}

.about-page .vision-header h1 {
    font-size: 3.5rem;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
    margin-bottom: 15px;
}

.about-page .vision-header p {
    color: var(--text-dim);
    font-size: 1.2rem;
}

/* Vision Cards - Full Width inside Container */
.about-page .vision-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 50px;
    border-radius: 30px;
    margin-bottom: 40px;
    width: 100%; /* Card ko container ki full width dega */
    text-align: center; /* Card ke andar ka text center karne ke liye */
}

.about-page .vision-card h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    padding-bottom: 8px;
}

.about-page .card-content p {
    margin-bottom: 20px;
    font-size: 1.15rem;
    color: #cbd5e1;
    line-height: 1.8;
}

/* Hinglish Note - Special Center Box */
.about-page .hinglish-note-box {
    background: rgba(0, 242, 255, 0.05);
    border-top: 1px solid var(--primary);
    border-bottom: 1px solid var(--primary);
    padding: 25px;
    margin-top: 40px;
    border-radius: 15px;
}

.about-page .hinglish-note-box p {
    font-style: italic;
    color: var(--primary);
    font-size: 1.2rem;
}

/* Cert List Alignment */
.about-page .cert-list {
    list-style: none;
    padding: 0;
    text-align: left; /* Sirf points ko left rakhenge taaki readable ho */
    max-width: 600px;
    margin: 0 auto; /* List ko card ke center mein lane ke liye */
}

.about-page .cert-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    transition: 0.3s;
}

.about-page .cert-list li:hover {
    transform: scale(1.02);
    border: 1px solid var(--primary);
}

.about-page .cert-list strong {
    color: var(--primary);
}

/* --- 6. ROADMAP PAGE THEME  --- */

.roadmap-page {
    --bg-dark: #050a08; 
    --card-bg: #0d1611; 
    --primary: #e5683b; /* light orange */
    --primary-hover: #e5683b;
    --text-dim: #94a3b8;
    --border: #1a2e24;
}

/* style.css mein add karo */
.roadmap-page .navbar {
    padding: 15px 8% !important; /* Global padding se match kar lo */
    height: 70px !important;
}

/* Roadmap Container */
.roadmap-page .roadmap-container {
    max-width: 900px;
    margin: 60px auto;
    padding: 100%;
    text-align: center;
}

.roadmap-page h1 span {
   font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

/* Tabs Styling - Roadmap Specific */
.roadmap-page .tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: nowrap; /* Isse button niche nahi jayega */
}

.roadmap-page .tab-btn {
    padding: 12px 30px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.05);
    color: var(--text-dim);
    cursor: pointer;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}

.tabs {
    position: relative;
    z-index: 100; /* Isse buttons layers ke upar aa jayenge */
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.tab-btn {
    cursor: pointer !important; /* Agar cursor hand nahi ban raha toh ye force karega */
}

.roadmap-page .tab-btn.active { 
    background: var(--primary); 
    color: white; 
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

#digital-marketing { 
    display: none; /* By default isse hide rakhein */
}

/* Grid & Cards - Roadmap Specific */
.roadmap-page .roadmap-grid {
    display: none; /* JS handle karega display: grid */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.roadmap-page .roadmap-grid.active { 
    display: grid; 
}

.roadmap-page .card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 40px 30px;
    border-radius: 25px;
    transition: 0.4s;
    text-align: center;
}

.roadmap-page .card:hover { 
    transform: translateY(-10px); 
    border-color: var(--primary); 
}

.roadmap-page .card h3 {
    margin-bottom: 20px;
    font-size: 1.4rem;
}

/* Roadmap Buttons */
.roadmap-page .btn-view {
    display: block;
    width: 100%;
    padding: 12px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
}

.roadmap-page .btn-view:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

/* --- 7. PATH PAGE THEME (Deep Navy & Cyan Blue) --- */

.path-page {
    --bg-dark: #020617; /* Very Deep Navy */
    --card-bg: #0f172a; 
    --primary: #aaedba; /* Bright Cyan */
    --primary-hover: aaedba;
    --text-dim: #94a3b8;
    --border: #1e293b;
}

/* Page Header */
.path-page .path-container {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 5%;
}

.logo {
    display: flex;
    align-items: left;
    gap: 12px;
    font-weight: 700;
    font-size: 1.4rem;
}

.logo img { height: 40px; }

.path-page .btn-back {
    display: inline-block;
    margin-bottom: 30px;
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.path-page .btn-back:hover { color: var(--primary); }

.path-page h1 {
    font-size: 2.8rem;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
    margin-bottom: 10px;
    text-align: center;
}

/* Vertical Timeline Logic */
.path-page .timeline {
    position: relative;
    border-left: 3px solid var(--border);
    padding-left: 40px;
    margin: 50px 0 50px 20px;
}

.path-page .step {
    position: relative;
    margin-bottom: 60px;
}

/* Timeline Dots */
.path-page .step::before {
    content: '';
    position: absolute;
    left: -53.5px; /* Adjusting to line up with border-left */
    top: 0;
    width: 24px;
    height: 24px;
    background: var(--bg-dark);
    border: 4px solid var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary);
    z-index: 2;
}

.path-page .step h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #f8fafc;
}

.path-page .step p {
    color: var(--text-dim);
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Tags for Skills */
.path-page .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.path-page .tag {
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid var(--primary);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}



/* --- Skills Page Specific CSS --- */

.root {
    --primary-blue: #38bdf8;
    --accent-indigo: #818cf8;
    --dark-bg: #e2e6ed;
    --card-bg: #1e293b;
    --text-slate: #94a3b8;
}

.skills-page {
    background-color: var(--dark-bg);
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.content-wrapper {
    max-width: 1000px;
    width: 100%;
    text-align: center;
}

.main-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
    letter-spacing: -1px;
}

.tagline {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 50px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Skills Tags Styling */
.skills-flex {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 80px;
}

.skill-tag {
    background: rgba(56, 189, 248, 0.05);
    color: #e2e8f0;
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

.skill-tag:hover {
    background: var(--primary-blue);
    color: var(--dark-bg);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.2);
    border-color: var(--primary-blue);
}

/* Certification Grid Styling */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.cert-box {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.cert-box:hover {
    transform: scale(1.05);
    border-color: var(--accent-indigo);
    box-shadow: 0 20px 40px rgba(251, 249, 249, 0.515);
}

/* Logo handling inside boxes */
.logo-container {
    background: rgba(222, 239, 231, 0.918);
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
}

.logo-container img {
    max-width: 50px;
    max-height: 50px;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.cert-box:hover .logo-container img {
    filter: grayscale(0%);
}

.cert-box h3 {
    color: #f8fafc;
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.cert-box p {
    color: var(--text-slate);
    font-size: 1rem;
}

/* Responsive tweak */
@media (max-width: 600px) {
    .skills-flex {
        gap: 8px;
    }
    .skill-tag {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

.footer-owner {
    font-size: 0.85rem; /* "Curated with ❤️" waali line */
}

.nav-links, .footer-links ul {
    list-style: none !important; /* Isse wo dots/bullets gayab ho jayenge */
    padding: 0;
    margin: 0;
}

/* --- Dedicated Tools Page CSS --- */

/* 1. Page Layout */
.tools-page {
    background-color: #0f172a; /* Deep Navy Dark */
    padding: 100px 5% 60px;
    text-align: center;
    min-height: 80vh;
}

.tools-page .main-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: -1px;
}


/* Hover karne par bhi blue hi rahe (agar pink ho raha ho toh) */

.tools-page .tagline {
    color: #38bdf8;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 60px;
    font-weight: 300;
    opacity: 0.9;
}


/* 2. Tool Categories Section */
.tools-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.tool-category {
    text-align: left;
}

.cat-title {
    font-size: 1.4rem;
    color: #f1f5f9;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(56, 189, 248, 0.2);
    display: inline-block;
    position: relative;
}

.cat-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #38bdf8; /* Highlight underline */
}

/* 3. Tool Item Cards */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.tool-item {
    background: #1e293b;
    color: #e2e8f0;
    padding: 25px 15px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-weight: 500;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.tool-item:hover {
    transform: translateY(-5px);
    background: rgba(56, 189, 248, 0.08);
    border-color: #38bdf8;
    color: #38bdf8;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* 4. Compact Footer (Reduced Text Size) */
/* --- Tools Page Specific Footer Styling --- */

/* 1. Sirf Tools page par "Paridhi Kushwaha" ka color Blue karne ke liye */
.tools-page ~ .main-footer .footer-owner span {
    color: #38bdf8 !important; /* Sky Blue */
}

/* 2. Sirf Tools page par headings (Explore, Get in Touch) ka color Blue karne ke liye */
.tools-page ~ .main-footer h4 {
    color: #38bdf8 !important; /* Purple ki jagah Blue */
}

/* 3. Footer ke text size ko Home page jitna (Normal) rakhne ke liye */
.tools-page ~ .main-footer .footer-brand p, 
.tools-page ~ .main-footer .footer-links ul li a, 
.tools-page ~ .main-footer .footer-contact p, 
.tools-page ~ .main-footer .email-link,
.tools-page ~ .main-footer .footer-owner {
    font-size: 1rem !important; /* Home page jaisa standard size */
    line-height: 1.6;
}
.tools-page ~ .main-footer .email-link {
    color: rgba(125, 208, 244, 0.922); /*!important;*/
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}
/* 4. Footer bottom copyright size */
.tools-page ~ .main-footer .footer-bottom p {
    font-size: 0.9rem !important;
}


/* --- Connect/Contact Page Specific CSS --- */

.contact-page {
    background-color: #0f172a;
    padding: 100px 5%;
    min-height: 80vh;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.contact-page .main-title {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.contact-page .tagline {
    color: #2dd4bf; /* Teal/Greenish touch for Connect */
    margin-bottom: 60px;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 60px;
    font-weight: 300;
    opacity: 0.9;
}


/* Contact Wrapper (Split Layout) */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    text-align: left;
    background: #1e293b;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(45, 212, 191, 0.2);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #f8fafc;
}

.description {
    color: #dee6e5;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Social & Email Items */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.social-item {
    color: #2dd4bf;
    font-weight: 500;
    transition: 0.3s;
}

.social-item:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.email-box p {
    color: #f8fafc;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Form Styling */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    color: #f8fafc;
    font-size: 0.9rem;
}

.form-group input, 
.form-group textarea {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    border-radius: 8px;
    color: #ffffff;
    font-family: inherit;
    transition: 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #2dd4bf;
    box-shadow: 0 0 10px rgba(45, 212, 191, 0.2);
}

.submit-btn {
    background: #2dd4bf;
    color: #0f172a;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #ffffff;
    transform: translateY(-2px);
}


/* Responsive */
@media (max-width: 850px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* --- FIXED MOBILE OPTIMIZATION (Replace your last @media block with this) --- */
@media (max-width: 768px) {
    
    /* 1. Navbar & Logo Alignment */
    .navbar {
        flex-direction: column !important; /* Logo upar, links niche */
        padding: 15px 5% !important;
        height: auto !important;
        gap: 15px;
        position: relative !important;
    }

    .nav-links {
        display: flex !important;
        flex-wrap: wrap !important; /* Links ko niche wali line mein laane ke liye */
        justify-content: center !important;
        gap: 15px !important;
        padding: 0;
        width: 100%;
    }

    .nav-links li {
        margin: 0; /* Extra spacing hatane ke liye */
    }

    .nav-links a {
        font-size: 0.85rem !important;
        white-space: nowrap;
    }

    /* 2. Hero Section Fix */
    .hero-section {
        padding: 80px 5% 60px !important;
    }

    .hero-section h1 {
        font-size: 2rem !important; /* Desktop par clamp hai, mobile par fix 2rem */
        line-height: 1.2;
        width: 100%;
    }

    .hero-section p {
        font-size: 1rem !important;
        padding: 0 10px;
        width: 100%;
    }

    /* 3. Buttons Fix */
    .cta-buttons {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 100% !important; /* Buttons full width ho jayenge mobile par */
        max-width: 300px;
        text-align: center;
    }

    /* 4. Global Overflow Fix (The Dark Space Killer) */
    html, body {
        overflow-x: hidden !important;
        position: relative;
        width: 100%;
    }

    /* Footer Grid Fix for Mobile */
    .footer-container {
        grid-template-columns: 1fr !important; /* 3 columns se 1 column */
        gap: 30px !important;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .footer-links ul {
        display: flex;
        flex-direction: column; /* Links ko ek ke niche ek lane ke liye */
        align-items: center;
        gap: 15px;
    }

    .footer-links li {
        list-style-type: none !important; /* Double safety for dots */
    }
}


/* Section Styling */
.who-i-am-section {
    padding: 60px 20px;
    background-color: #150622;
    text-align: center; /* Heading aur card dono ko center lane ke liye */
}

/* Heading ka style (Struggle wali heading ke jaisa) */
.who-i-am-section h2 {
    color: white;
    font-size: 2.5rem; /* Heading size */
    margin-bottom: 30px;
}

/* Card ka layout center karne ke liye */
.who-i-am-card {
    background: #333;
    padding: 30px;
    border-radius: 15px;
    border: 2px solid transparent;
    max-width: 800px; /* Card ki width control */
    margin: 0 auto;  /* Section ke middle mein lane ke liye */ 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 

}

/* Hover par Glow effect */
.who-i-am-card:hover {
    box-shadow: 0 10px 30px #94a3b8; 
    border-color: #9333ea; 
    transform: translateY(-10px); 
}

/* Text styling */
.who-i-am-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgb(233, 222, 222);
    text-align: center; /* Text bhi center mein */

}

/* Cluster Section: Dark Background */
.cluster-section {
    padding: 60px 20px;
    background-color: #000000; /* Yahan Black set kar diya */
    text-align: center;
}

.section-title {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

/* Grid Layout */
.cluster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Card Styling */
.cluster-card {
    background: #333;
    padding: 30px;
    border-radius: 15px;
    border: 2px solid transparent;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Hover Glow Effect */
.cluster-card:hover {
    box-shadow: 0 10px 30px #94a3b8;
    border-color: #9333ea;
    transform: translateY(-10px);
}

.cluster-card h3 { color: white; margin: 15px 0; }
.cluster-card p { color: #ccc; font-size: 0.95rem; }
.card-icon { font-size: 2rem; }


/* Purana .card-action hata kar ye daalo */
.card-action {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 20px;
    background-color: #9333ea;
    color: white !important; /* Link ke default color ko override karne ke liye */
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
}

/* Card ke andar ka link default blue na ho isliye ye add karo */
.cluster-card {
    text-decoration: none !important;
    color: white !important;
}


.cluster-card {
    height: 100%; /* Dono cards ko equal height dega */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Button hamesha niche rahega */
}

.final-cta {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #150622, #2d1b4e); /* Purple gradient theme */
    border-radius: 20px;
    margin: 40px auto;
    max-width: 900px;
}

.final-cta h3 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.final-cta p {
    color: #cbd5e1;
    margin-bottom: 25px;
}

.contact-btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: #9333ea;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.contact-btn:hover {
    transform: scale(1.05); /* Hover par thoda bada hoga */
    background-color: #7e22ce;
}


.faq-section {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
}

.faq-item {
    background: #251238; /* Dark purple shade */
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid #9333ea;
    color: white;
}

.faq-item summary {
    font-weight: 600;
    list-style: none; /* Default arrow hide karne ke liye */
    font-size: 1.1rem;
}

.faq-item summary::after {
    content: "▼"; /* Click karne ka sign */
    float: right;
    font-size: 0.8rem;
}

.faq-item[open] summary::after {
    content: "▲"; /* Khulne par arrow change */
}

.faq-item p {
    margin-top: 15px;
    color: #cbd5e1;
    border-top: 1px solid #475569;
    padding-top: 15px;
}

/* ============================================
   SKILLS PAGE - DEDICATED CSS
   Site Theme: Dark Purple (#150622) + Violet (#a855f7)
   File: skills-page.css
   Link karo: <link rel="stylesheet" href="skills-page.css">
   (style.css ke BAAD link karo)
   ============================================ */

/* -----------------------------------------------
   SECTION 1: Skills Detail Section (Top wala bada section)
   .skills-detail-section → .container → .skill-category-block
   ----------------------------------------------- */

.skills-detail-section {
    padding: 80px 0;
    background-color: #150622; /* Site ka main dark purple */
}

.skills-detail-section .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 5% 40px;
}

/* Page ka main heading */
.main-skill-heading {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #ffffff;
    margin-bottom: 25px;
    font-weight: 800;
    line-height: 1.2;
}

/* Intro paragraph */
.intro-summary {
    color: #94a3b8;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 820px;
    margin: 0 auto;
}

/* Header block center align */
.skills-header-block {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

/* Divider line */
.section-divider {
    border: none;
    border-top: 1px solid #2d2d35;
    margin: 40px 0;
}

/* -----------------------------------------------
   SECTION 2: Category Block (sabse bada card)
   ----------------------------------------------- */

.skill-category-block {
    background: #1a0b2e; /* Thoda aur gahra purple */
    border: 1px solid #2d2d35;
    border-radius: 20px;
    padding: 50px 40px;
    margin-bottom: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.category-title {
    color: #a855f7; /* Site ka primary violet */
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 700;
    text-align: left;
    border-bottom: 2px solid rgba(168, 85, 247, 0.2);
    padding-bottom: 15px;
    line-height: 1.3;
}

/* -----------------------------------------------
   SECTION 3: Individual Language Cards
   (h3 wale skill blocks — DSA, Python, Java etc.)
   ----------------------------------------------- */

/* Har ek skill (h3 se shuru hone wala div) ek card ban jaata hai */
.skill-category-block > div {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(168, 85, 247, 0.12);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    transition: border-color 0.3s ease;
}

.skill-category-block > div:last-child {
    margin-bottom: 0;
}

.skill-category-block > div:hover {
    border-color: rgba(168, 85, 247, 0.4);
}

/* content-placeholder div ko card mat banao */
.content-placeholder {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 0 20px 0 !important;
    margin-bottom: 0 !important;
}

.content-placeholder p {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* h3 = skill naam (DSA, Python, Java etc.) */
.skill-category-block h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 600;
}

/* Core Strength block — heading + text ek hi line mein, no gap */
.core-strength {
    margin-top: 16px;
    padding: 10px 16px;
    background: rgba(168, 85, 247, 0.06);
    border-left: 3px solid #a855f7;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.core-strength h4 {
    color: #a855f7;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    white-space: nowrap;
}

.core-strength p {
    color: #cbd5e1;
    font-size: 0.97rem;
    line-height: 1.6;
    margin: 0;
}

/* Paragraph text inside skill divs */
.skill-category-block > div > span > p {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* -----------------------------------------------
   SECTION 4: Roles Container (inside each skill)
   ----------------------------------------------- */

.roles-container {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed rgba(168, 85, 247, 0.25);
}

.roles-container > strong {
    color: #a855f7;
    display: block;
    margin-bottom: 12px;
    font-size: 0.95rem;
    font-weight: 600;
}

/* Roles list — grid layout */
.roles-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.roles-list li {
    color: #94a3b8;
    font-size: 0.95rem;
    position: relative;
    padding-left: 22px;
    line-height: 1.5;
}

.roles-list li::before {
    content: "▹";
    color: #a855f7;
    position: absolute;
    left: 0;
    top: 0;
}

/* Ordered list (webstack ke liye) */
ol.roles-list {
    counter-reset: none;
}

ol.roles-list li {
    list-style: decimal;
    padding-left: 5px;
    margin-left: 20px;
}

ol.roles-list li::before {
    display: none; /* numbered list ke liye arrow nahi chahiye */
}

/* -----------------------------------------------
   SECTION 5: Digital Marketing Projects Section
   (skills-detail-section ke baad wala <section>)
   ----------------------------------------------- */

section:has(.roles-container) {
    background: #1a0b2e;
    padding: 50px 5%;
    border-top: 1px solid #2d2d35;
}

/* Fallback agar :has() kaam na kare */
.skills-detail-section + section {
    background: #1a0b2e;
    padding: 50px 5%;
    border-top: 1px solid #2d2d35;
}

.skills-detail-section + section .roles-container {
    max-width: 1100px;
    margin: 0 auto;
    border-top: none;
    padding-top: 0;
}

.skills-detail-section + section h3 {
    color: #f7f5fa;
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 700;
}

/* -----------------------------------------------
   SECTION 6: "My Tech Expertise" — .skills-page
   (Yeh wala section light background se DARK banana hai)
   ----------------------------------------------- */

.skills-page {
    background-color: #150622 !important; /* Light grey tha, ab dark purple */
    padding: 80px 5%;
    display: flex;
    justify-content: center;
    min-height: auto;
}

.skills-page .content-wrapper {
    max-width: 1000px;
    width: 100%;
    text-align: center;
}

/* "My Tech Expertise" heading */
.skills-page .main-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
    letter-spacing: -1px;
}

/* "Tier-3 College se..." tagline */
.skills-page .tagline {
    font-size: 1.1rem;
    color: #a855f7; /* Blue tha, ab purple — site se match */
    margin-bottom: 50px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Technical Expertise heading */
.skills-page h2 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-top: 60px;
    margin-bottom: 10px;
}

.skills-page > .content-wrapper > p {
    color: #94a3b8;
    font-size: 1.05rem;
    margin-bottom: 10px;
}

/* -----------------------------------------------
   SECTION 7: Skill Tags
   ----------------------------------------------- */

.skills-flex {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 60px;
}

.skill-tag {
    background: rgba(168, 85, 247, 0.08); /* Blue tha, ab purple */
    color: #e2e8f0;
    border: 1px solid rgba(168, 85, 247, 0.3);
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

.skill-tag:hover {
    background: #a855f7;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(168, 85, 247, 0.3);
    border-color: #a855f7;
}

/* -----------------------------------------------
   SECTION 8: Certification Cards Grid
   ----------------------------------------------- */

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.cert-box {
    background: #1e1132; /* Dark purple card */
    padding: 40px 30px;
    border-radius: 24px;
    border: 1px solid rgba(168, 85, 247, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cert-box:hover {
    transform: scale(1.05);
    border-color: #a855f7;
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.2);
}

/* Logo box inside cert card */
.logo-container {
    background: rgba(255, 255, 255, 0.95);
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
}

.logo-container img {
    max-width: 50px;
    max-height: 50px;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.cert-box:hover .logo-container img {
    filter: grayscale(0%);
}

.cert-box h3 {
    color: #f8fafc;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.cert-box p {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* -----------------------------------------------
   SECTION 9: Hinglish Quote
   ----------------------------------------------- */

.hinglish-quote {
    margin-top: 60px;
    padding: 0 20px;
}

.hinglish-quote blockquote {
    color: white;
    font-size: 1.05rem;
    font-style: italic;
    border-left: 3px solid #a855f7;
    padding: 15px 25px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    background: rgba(168, 85, 247, 0.05);
    border-radius: 0 12px 12px 0;
}

/* -----------------------------------------------
   SECTION 10: Responsive — Mobile Fix
   ----------------------------------------------- */

@media (max-width: 768px) {
    .skill-category-block {
        padding: 30px 20px;
    }

    .category-title {
        font-size: 1.6rem;
    }

    .skill-category-block > div {
        padding: 22px 18px;
    }

    .roles-list {
        grid-template-columns: 1fr; /* Mobile par single column */
    }

    .skills-page {
        padding: 60px 5%;
    }

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

    .skill-tag {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

.py-editor-wrap{margin-top:20px;background:#1a0b2e;border:1px solid rgba(168,85,247,0.3);border-radius:15px;padding:24px}
.py-editor-wrap h4{color:#a855f7;font-size:1rem;font-weight:600;margin-bottom:12px}
#py-code{width:100%;height:140px;background:#0d0014;color:#e2e8f0;border:1px solid rgba(168,85,247,0.2);border-radius:10px;padding:14px;font-family:monospace;font-size:0.92rem;resize:vertical;outline:none;line-height:1.6;box-sizing:border-box}
#py-code:focus{border-color:rgba(168,85,247,0.6)}
.py-run-btn{margin-top:12px;background:#a855f7;color:#fff;border:none;padding:10px 28px;border-radius:10px;font-size:0.95rem;font-weight:600;cursor:pointer;transition:0.2s}
.py-run-btn:hover{background:#9333ea}
#py-output{margin-top:14px;background:#0d0014;border:1px solid rgba(168,85,247,0.15);border-radius:10px;padding:14px;font-family:monospace;font-size:0.9rem;color:#a3e635;min-height:50px;white-space:pre-wrap;display:none}
.py-status{font-size:0.8rem;color:#94a3b8;margin-top:8px}

.faq-section {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
}

.faq-item {
    background: #251238; /* Dark purple shade */
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid #9333ea;
    color: white;
}

.faq-item summary {
    font-weight: 600;
    list-style: none; /* Default arrow hide karne ke liye */
    font-size: 1.1rem;
    }

.faq-item summary::after {
    content: "▼"; /* Click karne ka sign */
    float: right;
    font-size: 0.8rem;
}

.faq-item[open] summary::after {
    content: "▲"; /* Khulne par arrow change */
}

.faq-item p {
    margin-top: 15px;
    color: #cbd5e1;
    border-top: 1px solid #475569;
    padding-top: 15px;
}


#roadmapContent {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Container check: make sure no other class is forcing extra widths */
.logo-container {
    display: flex;
    align-items: center; /* Vertically symmetric center */
    gap: 12px;
}

/* Image (Logo) with fixes for Oval shape and Symmetry */
.circle-logo {
    /* 1. Size balance: Circle ko decent rakha hai */
    width: 40px;  
    height: 40px; 
    
    border-radius: 50%;
    background-color: white;
    
    /* 2. Padding Fix: Space kam kiya taaki andar ka logo bada dikhe */
    padding: 1.5px; 

    /* 3. Softness Fix: Sharpness hatane ke liye contrast properties ko default kiya */
    image-rendering: auto; 
    
    /* 4. Layout */
    object-fit: var(--container-width);
    display: inline-block;
    vertical-align: middle;
    
    transition: transform 0.3s ease;
}

/* Hover par bina pixelate hue smooth effect */
.circle-logo:hover {
    transform: scale(1.05);
}


/* Text styles (kept unchanged for symmetry check) */
.brand-name {
    color: white;
    font-size: 20px;
    font-weight: bold;
}