/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #121212;
    color: #f1f1f1;
    line-height: 1.6;
}

.brand-intro {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, #2d2d2d 0%, #121212 60%);
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}

.brand-intro.show {
    opacity: 1;
    visibility: visible;
}

.intro-content {
    text-align: center;
    animation: introRise 0.9s ease forwards;
}

.intro-line {
    color: #f4f4f4;
    font-size: 1.4rem;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(8px);
    animation: lineFade 0.5s ease forwards;
}

.intro-line:nth-child(2) { animation-delay: 0.35s; }
.intro-line:nth-child(3) { animation-delay: 0.7s; }
.intro-line:nth-child(4) { animation-delay: 1.05s; }

.intro-highlight {
    color: #ff7f68;
    font-weight: 700;
}

.skip-intro {
    position: absolute;
    top: 20px;
    right: 20px;
    border: 1px solid #4a4a4a;
    background: #1c1c1c;
    color: #fff;
    border-radius: 999px;
    padding: 6px 14px;
    cursor: pointer;
}

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

@keyframes introRise {
    from { transform: translateY(12px); }
    to { transform: translateY(0); }
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

header .navbar {
    display: flex;
    align-items: center;
}

.recruiter-toggle {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 999px;
    padding: 7px 12px;
    font-weight: 600;
    cursor: pointer;
}

.recruiter-toggle.active {
    background: #ff6347;
    border-color: #ff6347;
}

header .navbar ul {
    display: flex;
    gap: 25px;
}

header .navbar ul li a {
    padding: 8px 12px;
    color: #fff;
    font-size: 1rem;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    letter-spacing: 1px;
    position: relative;
}

header .navbar ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

header .navbar ul li a.active {
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

/* Hamburger menu */
header .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

header .hamburger span {
    height: 3px;
    width: 30px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

header .hamburger:hover span {
    background: #e5533d;
}

/* Media Queries */
@media (max-width: 768px) {
    header .navbar ul {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 200px;
        height: calc(100vh - 60px);
        background: #1e1e1e;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s;
    }

    header .navbar ul.active {
        right: 0;
    }

    header .hamburger {
        display: flex;
    }

    .recruiter-toggle {
        font-size: 0.78rem;
        padding: 6px 10px;
    }
}

/* Hero Section */
section.home {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: #121212;
  text-align: center;
  padding: 20px;
}

.profile-wrapper {
  position: relative;
  width: 350px;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
    margin: 0 auto 20px;
}

.profile-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 50%;
  position: relative;
  z-index: 2;
}

.profile-image img {
  width: 100%;
  height: auto;
  display: block;
}

.pulse-border {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 0 30px rgba(179, 67, 37, 0.6);
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(179, 67, 37, 0.4);
  }
  50% {
    box-shadow: 0 0 40px 20px rgba(179, 67, 37, 0.1);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(179, 67, 37, 0.4);
  }
}


#pulse-canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
}
.text-content {
    margin-top: 10px;
}

.container {
    width: 100%;
}

.row {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.box1 {
    text-align: center;
    padding: 20px;
    border: 1px solid #333;
    border-radius: 8px;
    max-width: 400px;
    margin: 0 auto;
    background-color: #1e1e1e;
}

.box1 a {
    color: #fff;
    margin: 5px 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.box1 a:hover {
    color: #ff6347;
    transform: translateX(5px);
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    margin: 0 10px;
    text-decoration: none;
}

.social-icons img {
    width: 32px;
    height: 32px;
}

section.home .content {
    max-width: 800px;
    text-align: center;
}

section.home h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #fff;
}

section.home h2 span {
    color: #ff6347;
}

section.home p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #ccc;
}

section.home a.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #ff6347;
    color: #fff;
    border-radius: 5px;
    transition: background 0.3s ease;
}

section.home a.btn:hover {
    background: #e5533d;
}

.hero-quick-links {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.quick-link {
    border: 1px solid #3a3a3a;
    color: #f2f2f2;
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 0.85rem;
    background: #1d1d1d;
}

.quick-link:hover {
    border-color: #ff6347;
    color: #ff9a89;
}

section.recruiter-cv {
    padding: 36px 20px 14px;
    background: #121212;
}

.recruiter-cv-card {
    max-width: 740px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1f1f1f 0%, #242424 100%);
    border: 1px solid #323232;
    border-radius: 16px;
    text-align: center;
    padding: 24px 18px;
}

.recruiter-cv-card h2 {
    color: #fff;
    margin-bottom: 8px;
}

.recruiter-cv-card p {
    color: #d1d1d1;
    margin-bottom: 14px;
}

.recruiter-cv-card .btn {
    display: inline-block;
    background: #e5533d;
    color: #fff;
    border-radius: 999px;
    padding: 9px 16px;
    font-weight: 600;
}

section.home .socials ul {
    display: flex;
    gap: 10px;
    justify-content: center;
}

section.home .socials ul li a {
    font-size: 1.5rem;
    color: #fff;
    transition: color 0.3s ease;
}

section.home .socials ul li a:hover {
    color: #ff6347;
}

/* About Section */
section.about {
    padding: 50px 20px;
    background: #1a1a1a;
}

section.about .heading {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

section.about .heading span {
    color: #ff6347;
}

section.about .row {
    display: flex;
    align-items: center;
    gap: 20px;
}

section.about .image img {
    max-width: 100%;
    border-radius: 10px;
}

section.about .content {
    max-width: 600px;
}

section.about h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #fff;
}

section.about .tag {
    display: inline-block;
    background: #ff6347;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

section.about p {
    font-size: 14pt;
    margin-bottom: 20px;
    color: #ccc;
}

section.about .box-container {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

section.about .box {
    background: #2a2a2a;
    padding: 20px;
    border-radius: 10px;
}

section.about .box span {
    font-weight: bold;
    color: #fff;
}

section.about .resumebtn a.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #ff6347;
    color: #fff;
    border-radius: 5px;
    transition: background 0.3s ease;
}

section.about .resumebtn a.btn:hover {
    background: #e5533d;
}

/* Skills Section */
.skills {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 50px 20px;
    min-height: 100vh;
    background: #121212;
}

.skills .heading {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

.skills .heading .orange-text {
    color: #ff6347;
}

.skills .container {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
}

.skills-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    width: 100%;
}

.skill-category {
    background: #1e1e1e;
    border: 1px solid #343434;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.skill-category:hover {
    transform: translateY(-4px);
    border-color: #ff6347;
}

.skill-category h3 {
    color: #ff6347;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.skill-category ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-category li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #f1f1f1;
    font-size: 0.96rem;
    border-left: 3px solid #ff6347;
    padding-left: 10px;
}

.skill-category li i {
    width: 20px;
    text-align: center;
    color: #ff8a75;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.skill-category li img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.skill-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: calc(50% - 20px);
    padding: 10px;
    background-color: #1e1e1e;
    color: #fff;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

.skill-item:hover {
    transform: scale(1.05);
}

.skill-item::before,
.skill-item::after {
    content: '';
    position: absolute;
    top: 0;
    width: 0;
    height: 100%;
    background-color: #ff6347;
    transition: width 0.4s ease-in-out;
    z-index: 0;
    border-radius: 5px;
}

.skill-item::before {
    left: 0;
}

.skill-item::after {
    right: 0;
}

.skill-item:hover::before,
.skill-item:hover::after {
    width: 51%;
}

.skill-item .content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
}

.skill-item img {
    margin-right: 10px;
    width: 30px;
    height: auto;
}

/* Education Section */
section.education {
    padding: 50px 20px;
    background: #121212;
}

section.education .heading {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

section.education .heading span {
    color: #ff6347;
}

section.education .quote {
    text-align: center;
    font-style: italic;
    margin-bottom: 20px;
}

section.education .box-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

section.education .box {
    flex: 1 1 calc(50% - 20px);
    background: #2a2a2a;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

section.education .box .image img {
    max-width: 100%;
    border-radius: 10px;
}

section.education .box .content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

section.education .box .content p {
    font-size: 1rem;
    margin-bottom: 10px;
}

section.education .box .content h4 {
    font-size: 1rem;
    color: #ff6347;
}

/* Certifications Section */
section.certifications {
    padding: 60px 30px;
    background: #1a1a1a;
}

section.certifications .heading {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #fff;
}

section.certifications .heading span {
    color: #ff6347;
}

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

.cert-card {
    background: #2a2a2a;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #3a3a3a;
}

.cert-card h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.cert-card p {
    color: #d7d7d7;
    margin-bottom: 8px;
}

.cert-card a {
    display: inline-block;
    margin-top: 8px;
    color: #ff6347;
    font-weight: 600;
}

.cert-card a:hover {
    color: #ff8d7a;
}

section.github-signals {
    padding: 60px 30px;
    background: #121212;
}

section.github-signals .heading {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

section.github-signals .heading span {
    color: #ff6347;
}

.github-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.github-card {
    background: #1f1f1f;
    border: 1px solid #343434;
    border-radius: 14px;
    padding: 18px;
}

.github-card h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.signal-list li {
    margin-bottom: 8px;
    color: #d8d8d8;
    font-size: 0.92rem;
}

.signal-list a {
    color: #ff876f;
}

.language-breakdown .language-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.language-breakdown .language-name {
    width: 95px;
    font-size: 0.88rem;
    color: #f1f1f1;
}

.language-breakdown .language-bar {
    flex: 1;
    height: 8px;
    border-radius: 999px;
    background: #353535;
    overflow: hidden;
}

.language-breakdown .language-fill {
    height: 100%;
    background: #ff6347;
}

.language-breakdown .language-value {
    width: 38px;
    text-align: right;
    font-size: 0.8rem;
    color: #d7d7d7;
}
/* Projects Section */
section.projects {
    padding: 60px 30px;
    background: #1a1a1a;
}

section.projects .heading {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: rgb(255, 255, 255);
}

section.projects .heading span {
    color: #e5533d; /* Orange for the second word */
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.project-card {
    background: linear-gradient(160deg, #242424 0%, #1a1a1a 100%);
    border: 1px solid #363636;
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
    text-align: center;
    padding: 14px 14px 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card img {
    width: 110px;
    height: 180px;
    object-fit: cover;
    border: 1px solid #3b3b3b;
    border-radius: 14px;
    margin: 2px auto 14px;
    display: block;
}

.project-card h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin: 15px 0;
}

.project-summary {
    color: #d7d7d7;
    font-size: 0.92rem;
    line-height: 1.5;
    padding: 0 10px 2px;
}

.project-actions {
    align-items: center;
    flex-wrap: wrap;
}

.case-study-btn {
    font-size: 0.78rem;
    padding: 5px 9px;
    border-radius: 999px;
    border: 1px solid #e5533d;
    color: #fff;
    background: #e5533d;
    line-height: 1;
}

.case-study-btn:hover {
    background: #d9432a;
    color: #fff;
}

.project-card .links {
    display: flex;
    justify-content: center;
    gap: 9px;
    padding: 8px 0 2px;
}

.project-card .links a {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    border-radius: 50%;
    border: 1px solid #414141;
    background: #1f1f1f;
    color: #e5533d;
    transition: color 0.3s ease, transform 0.3s ease;
}

.project-card .links a.case-study-btn {
    width: auto;
    height: auto;
    border-radius: 999px;
    border-color: #e5533d;
    background: #e5533d;
    color: #fff;
    padding: 5px 9px;
    font-size: 0.78rem;
}

.project-card .links a:hover {
    color: #d9432a;
    transform: scale(1.07);
}

.project-card .links a.case-study-btn:hover {
    color: #fff;
    background: #d9432a;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
    border-color: #ff6347;
}


/* Work Section */
section.work {
    padding: 50px 20px;
    background: #121212;
}

section.work .heading {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

section.work .heading span {
    color: #ff6347;
}

section.work .box-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

section.work .box {
    flex: 1 1 calc(33.333% - 20px);
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: background 0.3s ease;
}

section.work .box:hover {
    background: #ff6347;
    color: #fff;
}

section.work .box img {
    max-width: 100%;
    border-radius: 10px;
}

section.work .box .content {
    margin-top: 10px;
}

section.work .box .content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

section.work .box .content p {
    font-size: 1rem;
    margin-bottom: 10px;
}

section.work .viewall a.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #ff6347;
    color: #fff;
    border-radius: 5px;
    transition: background 0.3s ease;
    margin: 20px auto;
    display: block;
    text-align: center;
}

section.work .viewall a.btn:hover {
    background: #e5533d;
}

/* Experience Section */
section.experience {
    padding: 60px 30px;
    background: #1a1a1a;
}

section.experience .heading {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #ffffff; /* First word black */
}

section.experience .heading .orange-text {
    color: #e5533d; /* Orange color for the second word */
}

section.experience .timeline {
    position: relative;
    margin-top: 20px;
}

section.experience .timeline .container {
    padding: 25px;
    background: #2a2a2a;
    border-radius: 10px;
    position: relative;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

section.experience .timeline .container .content {
    text-align: center;
}

section.experience .timeline .container .content .tag {
    display: inline-block;
    background: #e5533d;
    color: #fff;
    padding: 7px 15px;
    border-radius: 5px;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

section.experience .timeline .container .content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #f9f7f7;
    font-weight: bold;
}

section.experience .timeline .container .content p {
    font-size: 1rem;
    color: #ff6347;
    margin-bottom: 10px;
}

section.experience .morebtn a.btn {
    display: inline-block;
    padding: 12px 25px;
    background: #e5533d;
    color: #fff;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin: 30px auto;
    display: block;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

section.experience .morebtn a.btn:hover {
    background: #d9432a;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* Contact Section */
section.contact {
    padding: 50px 20px;
    background: #121212;
}

section.contact .heading {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

section.contact .heading span {
    color: #ff6347;
}

section.contact .container {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

section.contact .container .content {
    flex: 1 1 50%;
}

section.contact .container .content .image-box img {
    max-width: 100%;
    border-radius: 10px;
}

section.contact .container .content form {
    flex: 1 1 50%;
    background: #2a2a2a;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

section.contact .container .content form .form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

section.contact .container .content form .form-group .field {
    flex: 1 1 calc(50% - 20px);
    position: relative;
}

section.contact .container .content form .form-group .field input,
section.contact .container .content form .form-group .message textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
}

section.contact .container .content form .form-group .field i,
section.contact .container .content form .form-group .message i {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: #ccc;
}

section.contact .container .content form .button-area {
    text-align: center;
}

section.contact .container .content form .button-area button {
    padding: 10px 20px;
    background: #ff6347;
    color: #fff;
    border: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

section.contact .container .content form .button-area button:hover {
    background: #e5533d;
}

.contact-cta {
    background: #1f1f1f;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 18px;
}

.contact-cta h3 {
    color: #ff6347;
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.contact-cta p {
    color: #ddd;
    margin-bottom: 8px;
}

.contact-cta .response-time {
    font-weight: 600;
}

.intent-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 12px 0 6px;
}

.intent-btn {
    border: 1px solid #4a4a4a;
    background: #282828;
    color: #f2f2f2;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.82rem;
    cursor: pointer;
}

.intent-btn.active,
.intent-btn:hover {
    border-color: #ff6347;
    background: #ff6347;
    color: #fff;
}

section.contact .container .content form .form-group .message {
    flex: 1 1 100%;
}

section.contact .container .content form .form-group .message textarea {
    resize: vertical;
    min-height: 110px;
    padding: 12px;
}

.direct-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.direct-btn {
    display: inline-block;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 600;
}

.linkedin-btn {
    background: #0a66c2;
    color: #fff;
}

.email-btn {
    background: #e5533d;
    color: #fff;
}

.linkedin-btn:hover {
    background: #084f98;
}

.email-btn:hover {
    background: #c6442b;
}

/* Footer */
section.footer {
    padding: 50px 20px;
    background: #333;
    color: #fff;
}

section.footer .box-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

section.footer .box {
    flex: 1 1 calc(33.333% - 20px);
}

section.footer .box h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

section.footer .box p {
    font-size: 1rem;
    margin-bottom: 10px;
}

section.footer .box a {
    display: block;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

section.footer .box a:hover {
    color: #ff6347;
}

section.footer .box .share a {
    display: inline-block;
    font-size: 1.5rem;
    color: #fff;
    margin-right: 10px;
    transition: color 0.3s ease;
}

section.footer .box .share a:hover {
    color: #ff6347;
}

section.footer .credit {
    text-align: center;
    font-size: 1rem;
    margin-top: 20px;
}

section.footer .credit a {
    color: #ff6347;
    transition: color 0.3s ease;
}

section.footer .credit a:hover {
    color: #e5533d;
}

/* Scroll Top Button */
#scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ff6347;
    color: #fff;
    padding: 10px;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: background 0.3s ease;
    display: none;
}

#scroll-top:hover {
    background: #e5533d;
}

/* Switch Toggle Styling */
.theme-switch {
  position: absolute;
  top: 120px; /* or try 80px */
  right: 1rem;
  display: inline-block;
  width: 50px;
  height: 28px;
  z-index: 10; /* ensures it stays above most content */
}

.theme-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #656565;
  border-radius: 34px;
  transition: background-color 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.4s;
}

input:checked + .slider {
  background-color: #3de545;
}

input:checked + .slider:before {
  transform: translateX(22px);
}



body.light-mode {
   background: #f5f5f5;
    color: #121212;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body.light-mode * {
    color: #121212 !important;
}

body.light-mode header {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode header .logo,
body.light-mode header .navbar ul li a {
    color: #121212;
}

body.light-mode header .navbar ul li a:hover {
    background: rgba(0, 0, 0, 0.1);
}

body.light-mode header .navbar ul li a.active {
    background: rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(0, 0, 0, 0.2);
}

body.light-mode header .hamburger span {
    background: #000;
}

body.light-mode .brand-intro {
    background: radial-gradient(circle at 20% 20%, #f1f1f1 0%, #dadada 65%);
}

body.light-mode .intro-line {
    color: #1b1b1b;
}

body.light-mode .skip-intro {
    background: #fff;
    color: #121212;
    border: 1px solid #cfcfcf;
}

body.light-mode .recruiter-toggle {
    background: #f7f7f7;
    color: #121212;
    border: 1px solid #d4d4d4;
}

body.light-mode .recruiter-toggle.active {
    color: #fff;
    background: #e5533d;
    border-color: #e5533d;
}

body.light-mode section,
body.light-mode section.home,
body.light-mode section.about,
body.light-mode section.education,
body.light-mode section.projects,
body.light-mode section.experience,
body.light-mode .skills {
    background: #ffffff;
    color: #121212;
}

body.light-mode .box1,
body.light-mode .skill-item,
body.light-mode .skill-category,
body.light-mode .about .box,
body.light-mode .education .box,
body.light-mode .cert-card,
body.light-mode .project-card {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    color: #121212;
}

body.light-mode .skill-category li {
    color: #121212 !important;
}

body.light-mode .skill-category li i {
    color: #d9432a !important;
}

body.light-mode .contact-cta {
    background: #f0f0f0;
    border: 1px solid #ddd;
}

body.light-mode .intent-btn {
    background: #fff;
    border: 1px solid #d5d5d5;
    color: #222;
}

body.light-mode .intent-btn.active,
body.light-mode .intent-btn:hover {
    background: #e5533d;
    border-color: #e5533d;
    color: #fff !important;
}

body.light-mode .project-summary {
    color: #333 !important;
}

body.light-mode .project-card {
    background: #f7f7f7 !important;
    border: 1px solid #ddd;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

body.light-mode .project-card img {
    border: 1px solid #d7d7d7;
}

body.light-mode .project-card .links a {
    background: #ffffff;
    border: 1px solid #d6d6d6;
    color: #d9432a !important;
}

body.light-mode .project-card .links a.case-study-btn {
    background: #e5533d;
    border-color: #e5533d;
    color: #fff !important;
}

body.light-mode .quick-link {
    background: #fff;
    border-color: #d6d6d6;
    color: #333;
}

body.light-mode .recruiter-cv-card {
    background: #f7f7f7;
    border: 1px solid #ddd;
}

body.light-mode .github-card {
    background: #f7f7f7;
    border: 1px solid #ddd;
}

body.light-mode .signal-list li,
body.light-mode .language-breakdown .language-name,
body.light-mode .language-breakdown .language-value,
body.light-mode .github-card h3 {
    color: #222 !important;
}

body.light-mode .language-breakdown .language-bar {
    background: #ddd;
}

body.recruiter-mode section:not([data-recruiter-priority="true"]) {
    display: none;
}

body.recruiter-mode .navbar ul li a[href="#about"],
body.recruiter-mode .navbar ul li a[href="#education"],
body.recruiter-mode .navbar ul li a[href="#certifications"],
body.recruiter-mode .navbar ul li a[href="#experience"],
body.recruiter-mode .navbar ul li a[href="#github-signals"],
body.recruiter-mode .navbar ul li a[href="#home"] {
    display: none;
}

/* Responsive Layout */
@media (max-width: 1200px) {
    header {
        padding: 12px 18px;
    }

    header .logo {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    header .navbar ul {
        gap: 12px;
    }

    section.projects,
    section.experience,
    section.certifications,
    section.github-signals {
        padding: 48px 20px;
    }
}

@media (max-width: 992px) {
    section.home {
        min-height: 100vh;
        height: auto;
        padding-top: 90px;
        padding-bottom: 40px;
    }

    .profile-wrapper {
        width: 280px;
        height: 280px;
    }

    .pulse-border {
        width: 305px;
        height: 305px;
        top: -12px;
        left: -12px;
    }

    section.home h2 {
        font-size: 2rem;
    }

    section.about .row {
        flex-direction: column;
        align-items: flex-start;
    }

    .skills-categories,
    .certifications-grid,
    .github-grid,
    .projects-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    section.contact .container .content,
    section.contact .container .content form {
        flex: 1 1 100%;
    }

    section.education .box {
        flex: 1 1 100%;
    }

    section.footer .box-container {
        flex-direction: column;
    }

    .box1 {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    body {
        line-height: 1.5;
    }

    header {
        gap: 8px;
        flex-wrap: wrap;
    }

    header .logo {
        font-size: 1rem;
    }

    header .navbar {
        order: 3;
        width: 100%;
    }

    header .navbar ul {
        top: 95px;
        width: 240px;
        height: calc(100vh - 95px);
    }

    .recruiter-toggle {
        margin-left: auto;
    }

    .theme-switch {
        top: 95px;
        right: 0.6rem;
    }

    section.home h2 {
        font-size: 1.6rem;
        line-height: 1.35;
    }

    section.home p {
        font-size: 1rem;
    }

    .hero-quick-links {
        gap: 8px;
    }

    .quick-link {
        font-size: 0.78rem;
        padding: 6px 10px;
    }

    .skills .heading,
    section.education .heading,
    section.projects .heading,
    section.experience .heading,
    section.certifications .heading,
    section.github-signals .heading,
    section.contact .heading {
        font-size: 1.7rem;
    }

    .skills-categories,
    .certifications-grid,
    .github-grid,
    .projects-container {
        grid-template-columns: 1fr;
    }

    .skill-category,
    .cert-card,
    .github-card,
    .project-card,
    .recruiter-cv-card,
    .contact-cta,
    section.contact .container .content form {
        border-radius: 12px;
        padding: 16px;
    }

    .project-card img {
        width: 92px;
        height: 150px;
    }

    .project-card h3 {
        font-size: 1.05rem;
        margin: 10px 0;
    }

    .project-summary {
        font-size: 0.88rem;
    }

    .project-card .links {
        gap: 8px;
    }

    .project-card .links a {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .project-card .links a.case-study-btn {
        font-size: 0.72rem;
        padding: 5px 8px;
    }

    section.contact .container .content form .form-group {
        gap: 10px;
    }

    section.contact .container .content form .form-group .field {
        flex: 1 1 100%;
    }

    .direct-buttons,
    .intent-buttons {
        gap: 8px;
    }

    .direct-btn,
    .intent-btn {
        font-size: 0.8rem;
        padding: 7px 10px;
    }

    .intro-line {
        font-size: 1.05rem;
    }

    .skip-intro {
        font-size: 0.82rem;
        padding: 6px 11px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px 12px;
    }

    header .logo {
        font-size: 0.9rem;
    }

    .recruiter-toggle {
        font-size: 0.72rem;
        padding: 6px 9px;
    }

    section.home {
        padding: 88px 12px 28px;
    }

    .profile-wrapper {
        width: 215px;
        height: 215px;
    }

    .pulse-border {
        width: 235px;
        height: 235px;
        top: -10px;
        left: -10px;
    }

    .skills,
    section.about,
    section.education,
    section.projects,
    section.experience,
    section.certifications,
    section.github-signals,
    section.contact,
    section.footer {
        padding-left: 12px;
        padding-right: 12px;
    }

    .skills .heading,
    section.education .heading,
    section.projects .heading,
    section.experience .heading,
    section.certifications .heading,
    section.github-signals .heading,
    section.contact .heading {
        font-size: 1.5rem;
    }

    .skill-category h3,
    .github-card h3,
    .cert-card h3 {
        font-size: 1rem;
    }

    .skill-category li,
    .signal-list li,
    .cert-card p,
    .project-summary,
    .contact-cta p {
        font-size: 0.84rem;
    }

    .project-card img {
        width: 84px;
        height: 136px;
    }

    .brand-intro {
        padding: 18px;
    }

    .intro-line {
        font-size: 0.95rem;
    }
}

body.light-mode .case-study-btn {
    color: #fff !important;
}

body.light-mode .direct-btn,
body.light-mode .direct-btn * {
    color: #fff !important;
}

body.light-mode section.experience .timeline .container {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
}

body.light-mode section.experience .timeline .container .content p {
    color: #121212 !important;
}

body.light-mode section.contact .container .content form {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
}

body.light-mode section.contact .container .content form .form-group .field input,
body.light-mode section.contact .container .content form .form-group .message textarea {
    background: #ffffff;
    color: #121212;
    border: 1px solid #ccc;
}

body.light-mode section.home h2,
body.light-mode section.home h2 span,
body.light-mode section.about h3,
body.light-mode section.about .tag,
body.light-mode section.projects .heading span,
body.light-mode section.certifications .heading span,
body.light-mode .skills .heading .orange-text,
body.light-mode section.education .box .content h4 {
    color: #e5533d;
}

body.light-mode section.home a.btn,
body.light-mode .about .resumebtn a.btn {
    background: #e5533d;
    color: #fff;
}

body.light-mode section.home a.btn:hover,
body.light-mode .about .resumebtn a.btn:hover {
    background: #c6442b;
}

body.light-mode .social-icons a {
    color: #121212;
}
