/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #222831;
    transition: background-color 0.3s, color 0.3s;
}

body.light-mode {
    background-color: #ffffff;
    color: #222831;
}

/* Navbar */
.sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #222831;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00ADB5;
}

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

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #00ADB5;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 2px 0;
    transition: all 0.3s;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    display: flex;
    align-items: center;
}

#dark-mode-switch {
    display: none;
}

#dark-mode-switch+label {
    width: 40px;
    height: 20px;
    background-color: #444;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s;
}

#dark-mode-switch+label::after {
    content: '';
    width: 16px;
    height: 16px;
    background-color: #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
}

#dark-mode-switch:checked+label {
    background-color: #00ADB5;
}

#dark-mode-switch:checked+label::after {
    transform: translateX(20px);
}

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #1a202c;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #00ADB5;
}

.hero-desc {
    font-size: 1rem;
    color: #dcdcdc;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.typing {
    font-size: 1.5rem;
    color: #F8B400;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    margin-top: 1rem;
    background-color: #00ADB5;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #F8B400;
}

/* Skills Section */
.skills {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skills h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #00ADB5;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.skill-card {
    background-color: #2d3748;
    padding: 1.5rem;
    text-align: center;
    border-radius: 8px;
    font-size: 1.2rem;
    transition: transform 0.3s, background-color 0.3s;
}

.skill-card:hover {
    transform: translateY(-5px);
    background-color: #00ADB5;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #00ffd5;
    animation: glow 1.5s ease-in-out infinite alternate;
}

/* --- Enhanced Hero Section Styling --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, #0f0c29, #302b63, #24243e);
    text-align: center;
    color: #ffffff;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight-name {
    color: #00ffd5;
    text-shadow: 0 0 8px #00fff2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #cfcfcf;
}

.hero-desc,
.hero-cta {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 1.2rem;
}

.hero-btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    border-radius: 25px;
    background-color: #00adb5;
    color: #fff;
    text-decoration: none;
    transition: 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 173, 181, 0.4);
}

.hero-btn:hover {
    background-color: #f8b400;
    box-shadow: 0 4px 25px rgba(248, 180, 0, 0.5);
}

/* --- Enhanced About Section --- */
.about-section {
    padding: 6rem 2rem;
    background: #121212;
}

.about-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
    max-width: 850px;
    margin: 0 auto;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.1);
    animation: fadeIn 1.2s ease-in;
}

.about-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #00ffd5;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px #00ffd5;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #dcdcdc;
}

.about-text .highlight {
    color: #f8b400;
    font-weight: bold;
}

/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(25px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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


.stats-section {
    display: flex;
    justify-content: space-around;
    padding: 2rem;
    background: linear-gradient(to right, #1e1e2f, #13131f);
    flex-wrap: wrap;
    gap: 1.5rem;
}

.stat-card {
    background: #121212;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    color: #00adb5;
    flex: 1;
    min-width: 200px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px #00fff2;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #f8b400;
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px #00ffd5, 0 0 10px #00ffd5, 0 0 20px #00ffd5;
    }

    to {
        text-shadow: 0 0 10px #00ffc3, 0 0 20px #00ffc3, 0 0 30px #00ffc3;
    }
}

@media (max-width: 768px) {
    .about-card {
        padding: 1rem;
    }

    .stats-section {
        flex-direction: column;
        align-items: center;
    }
}

/* Projects Section */
.projects-header {
    text-align: center;
    padding: 4rem 2rem 2rem;
}

.projects-header .section-title {
    font-size: 2.8rem;
    color: #00ffd5;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #ccc;
    margin-top: 0.5rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem;
    max-width: 1000px;
    margin: auto;
}

.project-card {
    background: #1a1a1a;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
}

.project-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.project-info {
    padding: 1.5rem;
    flex: 1;
}

.project-title {
    font-size: 1.5rem;
    color: #f8b400;
    margin-bottom: 0.5rem;
}

.project-description {
    color: #ddd;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-tags {
    margin-bottom: 1rem;
}

.tag {
    display: inline-block;
    background: #00adb5;
    color: #fff;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    margin: 0 0.3rem 0.3rem 0;
}

.project-links .btn {
    display: inline-block;
    background: #00adb5;
    color: white;
    padding: 0.5rem 1rem;
    margin-right: 0.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.project-links .btn:hover {
    background: #f8b400;
}

.project-card.invisible {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Resume Page ===== */
.resume-section {
    padding: 4rem 2rem;
    background-color: #111827;
    color: #f3f4f6;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    color: #00ffff;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Layout */
.resume-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.resume-left,
.resume-right {
    flex: 1 1 450px;
    max-width: 500px;
}

.resume-block {
    background-color: #1f2937;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resume-block:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 255, 255, 0.2);
}

.resume-block h3 {
    font-size: 1.4rem;
    color: #00fff7;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.resume-block ul {
    list-style: none;
    padding-left: 0;
}

.resume-block li {
    margin-bottom: 1.2rem;
    line-height: 1.6;
    font-size: 1rem;
    color: #d1d5db;
}

.resume-block li span {
    font-size: 0.9rem;
    color: #9ca3af;
}

.year {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Skills Pills */
.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-list li {
    background-color: #06b6d4;
    color: #000;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Download Button */
.download-resume {
    text-align: center;
    margin-top: 3rem;
}

.download-resume .btn {
    background: linear-gradient(to right, #00ffd5, #00bfff);
    color: #000;
    font-weight: 600;
    padding: 0.9rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1rem;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    transition: background 0.3s ease, transform 0.3s ease;
}

.download-resume .btn:hover {
    transform: scale(1.05);
    background: linear-gradient(to right, #00e5ff, #0099ff);
}




/* Contact Form */
.contact-section {
  padding: 5rem 2rem;
  background: #f9fafb;
  color: #111;
}

.contact-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-heading h1 {
  font-size: 2.5rem;
  color: #0ea5e9;
  margin-bottom: 0.5rem;
}

.contact-heading p {
  font-size: 1.1rem;
  color: #333;
}
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
  max-width: 1200px;
  margin: auto;
}
.contact-info {
  flex: 1 1 300px;
  background: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.contact-info h2 {
  font-size: 1.5rem;
  margin-top: 1rem;
  color: #0ea5e9;
}

.contact-info p {
  margin-bottom: 1.5rem;
  color: #444;
}

.contact-avatar {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #0ea5e9;
  box-shadow: 0 0 10px rgba(0, 174, 255, 0.3);
}

.contact-details {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.contact-details li {
  margin: 0.5rem 0;
  font-size: 0.95rem;
}

.contact-details i {
  color: #0ea5e9;
  margin-right: 8px;
}
.social-buttons {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

.btn-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #e5e7eb;
  color: #000;
  font-size: 1.2rem;
  padding: 0.5rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  transition: all 0.3s ease;
}

.btn-social:hover {
  transform: scale(1.15);
  color: #fff;
}

.linkedin { background-color: #0077b5; }
.github   { background-color: #24292e; }
.twitter  { background-color: #1da1f2; }
.instagram { background-color: #e1306c; }
.email    { background-color: #ea4335; }
.contact-form {
  flex: 1 1 400px;
  background-color: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-form h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #0ea5e9;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0ea5e9;
  outline: none;
}

.contact-form .btn {
  background-color: #0ea5e9;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form .btn:hover {
  background-color: #0284c7;
}
.contact-form .btn:disabled {
  background-color: #94a3b8;
  cursor: not-allowed;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background-color: #1a202c;
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        text-align: center;
        background-color: #222831;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .typing {
        font-size: 1.2rem;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

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

    .resume-left,
    .resume-right {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .resume-block {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
      .contact-container {
    flex-direction: column;
    align-items: center;
  }

  .contact-info,
  .contact-form {
    width: 100%;
  }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .typing {
        font-size: 1rem;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}