/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #f5f5f5;
    --secondary-color: #00adb5;
    --accent-color: #00adb5;
    --text-color: #eeeeee;
    --light-text: #b3b3b3;
    --bg-color: #222831;
    --dark-bg: #1a1e24;
    --card-bg: #393e46;
    --white: #ffffff;
}

body {
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Background Circles */
/* .bg-circles {
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    left: 0;
    z-index: -1;
    overflow: hidden;
}

.bg-circles div {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.1;
}

.circle-1 {
    height: 600px;
    width: 600px;
    background-color: var(--secondary-color);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.circle-2 {
    height: 500px;
    width: 500px;
    background-color: var(--accent-color);
    bottom: -150px;
    left: -100px;
    animation: float 12s ease-in-out infinite;
}

.circle-3 {
    height: 300px;
    width: 300px;
    background-color: var(--primary-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 6s ease-in-out infinite;
}

.circle-4 {
    height: 400px;
    width: 400px;
    background-color: var(--accent-color);
    bottom: -50px;
    right: -100px;
    animation: float 10s ease-in-out infinite;
} */

/* Add these new styles */
.bg-dots {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-100px) translateX(50px);
    }
    100% {
        transform: translateY(0) translateX(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-50px) rotate(180deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.15;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.1;
    }
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(34, 40, 49, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.logo a:hover {
    color: var(--secondary-color);
}

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

.nav ul li {
    margin-left: 30px;
    position: relative;
}

.nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 16px;
}

.nav ul li a:hover {
    color: var(--secondary-color);
}

.nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

.nav ul li a:hover::after {
    width: 100%;
}

.nav ul li a.active {
    color: var(--secondary-color);
}

.nav ul li a.active::after {
    width: 100%;
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.hamburger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s;
}

/* Hero Section */
/* Hero Section Updates */

.hero-about h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 15px;
}

.tech-tag {
    background-color: rgba(0, 173, 181, 0.1);
    color: var(--secondary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid rgba(0, 173, 181, 0.3);
}

.superpowers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 20px;
}

.superpower {
    background-color: rgba(255, 215, 0, 0.1);
    color: gold;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.cta-fun {
    margin-top: 30px;
}

.btn.fun-btn {
    background-color: var(--accent-color);
    animation: pulse 2s infinite;
    margin-top: 10px;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.coding-bubbles {
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    font-size: 18px;
    color: var(--secondary-color);
    opacity: 0.7;
    animation: float-up 8s infinite linear;
}

.coding-bubbles span:nth-child(1) { animation-delay: 0s; }
.coding-bubbles span:nth-child(2) { animation-delay: 1s; }
.coding-bubbles span:nth-child(3) { animation-delay: 2s; }
.coding-bubbles span:nth-child(4) { animation-delay: 3s; }

@keyframes float-up {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    20% { opacity: 0.7; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-about h1 {
        font-size: 36px;
    }
    .tech-tag, .superpower {
        font-size: 13px;
    }
}
.hero {
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-about h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--primary-color);
}

.intro-text {
    font-size: 18px;
    margin-bottom: 25px;
    color: var(--light-text);
}

.highlight {
    color: var(--secondary-color);
    font-weight: 600;
}

.mission {
    font-style: italic;
    color: var(--light-text);
    margin-top: 30px;
}

.hero-image {
    display: flex;
    justify-content: center;
    position: relative;
}

/* .img-box {
    position: relative;
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 10px solid rgba(255, 255, 255, 0.05);
} */

/* Update img-box styles (replace existing .img-box styles around line 290) */
.img-box {
    position: relative;
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 10px solid rgba(255, 255, 255, 0.05);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    50% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

.profile-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.img-box:hover .profile-img {
    transform: scale(1.05);
}

/* Section Styles */
.section {
    padding: 100px 0;
}

.section h2 {
    font-size: 36px;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    color: var(--primary-color);
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Experience Section */
.experience-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.experience-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.experience-item ul.description {
    margin-top: 15px;
    padding-left: 20px;
}

.experience-item ul.description li {
    margin-bottom: 8px;
    color: var(--light-text);
}

.company {
    font-weight: 600;
    margin-bottom: 5px;
}

.duration {
    color: var(--light-text);
    margin-bottom: 15px;
    font-size: 14px;
}


/* === Coding Profiles (glassy cards) === */
.coding-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.coding-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 26px 22px;
  text-decoration: none;
  color: var(--white);
  border-radius: 16px;

  /* glassy card */
  background: rgba(57, 62, 70, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);

  /* subtle shadow + motion */
  box-shadow: 0 10px 20px rgba(0, 0, 0, .25);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.coding-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 173, 181, .25);
  border-color: rgba(0, 173, 181, .45);
}

.coding-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
}

.coding-card span {
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .2px;
  color: var(--white);
}

/* remove blue link styles everywhere just in case */
.coding-card:visited span,
.coding-card:link span {
  color: var(--white);
}

@media (max-width: 480px) {
  .coding-card img { width: 78px; height: 78px; }
  .coding-card { padding: 22px 18px; }
}


.coding-profiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    justify-items: center;
}

.profile-card {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--secondary-color);
}

.profile-card img {
    width: 50px;
    height: auto;
}

.profile-card span {
    font-weight: 500;
    font-size: 16px;
}

/* Projects Section
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s;
}

.project-item:hover {
    transform: translateY(-5px);
}

.project-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--secondary-color);
} */

/*Vertical Projects Layout */
.projects-vertical {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.project-item ul.description {
    margin-top: 15px;
    padding-left: 20px;
}

.project-item ul.description li {
    margin-bottom: 8px;
    color: var(--light-text);
}

.project-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.project-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

.project-link:hover {
    color: var(--accent-color);
}

.project-link:hover::after {
    width: 100%;
}
/* Skills section */
.skills-category {
    margin-bottom: 50px;
}

.skills-category h3 {
    font-size: 22px;
    margin-bottom: 25px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.skill-card {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--secondary-color);
}

.skill-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.skill-card span {
    font-weight: 500;
    font-size: 16px;
}

.skill-progress {
    width: 100%;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-top: 10px;
}

.progress-bar {
    height: 100%;
    border-radius: 3px;
    background-color: var(--secondary-color);
    transition: width 1s ease-in-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

@media (max-width: 480px) {
    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 15px;
    }
    
    .skill-card {
        padding: 15px;
    }
    
    .skill-card i {
        font-size: 2rem;
    }
}
/* Skill Card Adjustments for Longer Text */
.skill-card {
    min-height: 120px;
    justify-content: center;
}

.skill-card span {
    word-break: break-word;
    text-align: center;
    line-height: 1.3;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .skill-card {
        padding: 15px 10px;
    }
    
    .skill-card i {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 12px;
    }
    
    .skill-card {
        min-height: 100px;
        padding: 12px 8px;
    }
    
    .skill-card span {
        font-size: 14px;
    }
}

/* Resume Section */
.resume-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    margin-top: 20px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn:hover::before {
    left: 100%;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info p {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 15px;
    color: var(--secondary-color);
    font-size: 20px;
    width: 30px;
}

.social-links {
    margin-top: 30px;
}

.social-links a {
    display: inline-block;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 24px;
    transition: all 0.3s;
}

.social-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    font-size: 16px;
    background-color: var(--card-bg);
    color: var(--primary-color);
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(0, 173, 181, 0.3);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero-about {
        order: 2;
    }
    .hero-image {
        order: 1;
        margin-bottom: 50px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--dark-bg);
        transition: all 0.5s ease;
        z-index: 999;
    }
    .nav.active {
        left: 0;
    }
    .nav ul {
        flex-direction: column;
        padding: 20px;
    }
    .nav ul li {
        margin: 15px 0;
    }
    .hamburger-btn {
        display: flex;
    }
    .hamburger-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .hamburger-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    .hero-about h1 {
        font-size: 36px;
    }
    .section {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .hero-about h1 {
        font-size: 32px;
    }
    .section h2 {
        font-size: 28px;
    }
}