
 @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html { scroll-behavior: smooth; }

/* ---------------- BODY ---------------- */
body {
    background: #0b1120;
    color: #e5e7eb;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

/* ---------------- HEADER & NAVBAR ---------------- */
header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(11,17,32,0.8);
    backdrop-filter: blur(14px);
    z-index: 1000;
    padding: 0 20px;
    box-sizing: border-box;
}

/* NAV CONTAINER */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    height: 70px;
}

/* LOGO */
.logo {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}
.logo span {
    color: #38bdf8;
}

/* NAV LINKS */
nav a {
    margin-left: 25px;
    color: #cbd5f5;
    text-decoration: none;
    position: relative;
    font-weight: 500;
    transition: color 0.3s;
}
nav a.active,
nav a:hover {
    color: #38bdf8;
}

/* ---------------- MOBILE MENU TOGGLE ---------------- */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #38bdf8;
}

/* ---------------- RESPONSIVE ---------------- */
@media screen and (max-width: 992px) {
    .nav {
        justify-content: space-between;
        flex-wrap: wrap;
    }
    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        background: rgba(11,17,32,0.95);
        backdrop-filter: blur(14px);
        margin-top: 10px;
        border-radius: 8px;
    }
    nav a {
        margin: 15px 0;
        text-align: center;
        font-size: 18px;
    }
    .menu-toggle {
        display: block;
    }
}

/* ---------------- NAV SHOW CLASS (JS toggles this) ---------------- */
nav.show {
    display: flex;
}

/* ---------------- OPTIONAL SMOOTH SCROLL ---------------- */
html {
    scroll-behavior: smooth;
}



.hero {
  min-height: 90vh;
  background: radial-gradient(circle at top, #0b1120, #111827);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  text-align: center;
  flex-direction: column;
  gap: 20px; /* Space between avatar, text, button */
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;  /* Center horizontally */
  gap: 16px;
  max-width: 600px; /* To keep text nicely contained */
}

.avatar-container {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255 255 255 / 0.1);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto; /* Make sure container is centered */
  box-shadow: 0 8px 32px rgba(56 189 248 / 0.35);
}

.avatar-container img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 5px rgba(56 189 248 / 0.6));
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  color: #e5e7eb;
}

.hero h1 span {
  color: #38bdf8;
}

.hero p {
  font-size: 18px;
  color: #9ca3af;
  line-height: 1.5;
}

.btn {
  background: #38bdf8;
  padding: 14px 36px;
  border-radius: 999px;
  color: #020617;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(56 189 248 / 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(56 189 248 / 0.6);
}

/* HERO HEADING */
.hero h2 {
    font-size: 52px;
    font-weight: 700;
    color: #e5e7eb;
    line-height: 1.2;
    margin: 0;
}
.hero span {
    color: #38bdf8; /* Accent color */
}

/* HERO PARAGRAPH */
.hero p {
    margin: 20px 0;
    color: #9ca3af;
    font-size: 18px;
    max-width: 600px; /* Limit width for readability */
}

/* HERO BUTTON */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-weight: 600;
    font-size: 16px;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    border-radius: 999px;
    color: #020617;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Hover effect */
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(56, 191, 248, 0.2);
}

/* ---------------- RESPONSIVE ---------------- */
@media screen and (max-width: 992px) {
    .hero h2 {
        font-size: 42px;
    }
    .hero p {
        font-size: 16px;
    }
    .btn {
        padding: 12px 30px;
        font-size: 15px;
    }
}

@media screen and (max-width: 576px) {
    .hero h2 {
        font-size: 32px;
    }
    .hero p {
        font-size: 14px;
    }
    .btn {
        padding: 10px 25px;
        font-size: 14px;
    }
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

avatar-body {
  height: 100vh;
  background: linear-gradient(135deg, #0b1120, #1a1f2c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
}

.avatar-container {
  width: 130px;
  height: 130px;
  border-radius: 50%; /* Circle */
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 8px 32px 0 rgba(56, 189, 248, 0.35),
    inset 0 0 30px rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  /* Combined animation: float up/down + slow rotation + subtle pulse */
  animation: floatRotatePulse 6s ease-in-out infinite;
  transition: box-shadow 0.6s ease;
}

/* Hover effect: intensify glow */
.avatar-container:hover {
  box-shadow:
    0 12px 48px 0 rgba(56, 189, 248, 0.7),
    inset 0 0 40px rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* Avatar Image */
.avatar-container img {
  width: 120px;
  height: 120px;
  border-radius: 50%; /* Circle avatar inside */
  object-fit: cover;
  filter: drop-shadow(0 0 3px rgba(56, 189, 248, 0.5));
}


/* Responsive */
@media (max-width: 600px) {
  .avatar-container {
    width: 140px;
    height: 140px;
  }
  .avatar-container img {
    width: 90px;
    height: 90px;
  }
}




h2 {
    position: relative;
    text-align: center;
    font-size: 42px;
    color: #38bdf8;
    margin-bottom: 50px;
    padding-bottom: 14px;
}

/* CENTER LINE */
h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(
        90deg,
        #38bdf8,
        rgba(56, 189, 248, 0.4)
    );
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

/* SECTIONS */
.section {
    scroll-margin-top: 90px; /* height of navbar */
    padding: 90px 20px;
}

.section-title {
    text-align: center;
    font-size: 34px;
    margin-bottom: 25px;
}

.section-text {
    text-align: center;
    max-width: 700px;
    margin: auto;
    color: #9ca3af;
}

.dark { background: #020617; }

/* CARDS */
.cards, .projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 30px;
    margin-top: 40px;
}

.card, .project {
    padding: 40px;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
    transition: 0.4s;
}

.card:hover, .project:hover {
    transform: translateY(-10px);
    border: 1px solid rgba(56,189,248,0.3);
}

/* CONTACT */
.contact-form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    margin-bottom: 15px;
    margin-top: 15px;
    padding: 14px;
    border-radius: 10px;
    border: none;
}

/* FOOTER */
footer {
    padding: 25px;
    text-align: center;
    color: #9ca3af;
}

/* REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* MOBILE */
@media (max-width: 768px) {
    .menu-toggle { display: block; }

    nav {
        position: absolute;
        top: 70px;
        right: 0;
        background: #020617;
        display: none;
        flex-direction: column;
        width: 200px;
        padding: 20px;
    }

    nav.show { display: flex; }

    nav a { margin: 10px 0; }
}

.container {
    max-width: 1100px;
    margin: auto;
}


/* ABOUT SECTION */
.about-section {
  padding: 80px 20px;
  background: #0b1120;
  color: #e5e7eb;
}

.section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 25px;
  color: #38bdf8;
}

.about-text {
  max-width: 800px;
  margin: 15px auto;
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
  color: #cbd5f5;
}

/* SKILLS */
.skills-title {
  text-align: center;
  font-size: 23px;
  margin: 80px 0 30px;
  color: #ffffff;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.skill {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 500;
  color: #f8f8f8;
  font-size: 16px;
  transition: 0.3s ease;
  cursor: default;
}

/* Skill hover effect */
.skill:hover {
  transform: translateY(-5px) scale(1.05);
  background: rgba(56, 189, 248, 0.2);
  box-shadow: 0 8px 15px rgba(56, 189, 248, 0.3);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .skills {
    gap: 10px;
  }
  
  .skill {
    padding: 8px 15px;
    font-size: 14px;
  }
}




body {
    font-family: 'Inter', 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: 0.2px;
}
/* GLASS CARD */
.glass {
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.08),
        rgba(255,255,255,0.02)
    );
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 28px;
    padding: 40px 50px;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow:
        0 40px 90px rgba(0,0,0,0.6),
        inset 0 1px 1px rgba(255,255,255,0.08);
    max-width: 1000px;
    margin: auto;
}

/* GRID */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
}

/* ITEM */
.item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 32px;
}

/* ICON BOX */
.icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    font-size: 18px;
    box-shadow: inset 0 0 10px rgba(255,255,255,0.05);
}

/* LABEL */
.label {
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    color: #9ca3af;
    margin-bottom: 6px;
}

/* TEXT */
.item p {
    font-size: 18px;
    font-weight: 500;
    color: #f9fafb;
}

/* HOVER EFFECT */
.item:hover .icon {
    background: #38bdf8;
    color: #020617;
    transition: 0.3s ease;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .glass {
        padding: 30px;
    }
}


/* SERVICES WRAPPER */
.services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 80px auto;
}

/* SERVICE CARD */
.service-card {
    padding: 40px 35px;
    text-align: left;
    transition: 0.4s ease;
}

/* ICON */
.service-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #38bdf8;
    margin-bottom: 25px;
    box-shadow: inset 0 0 10px rgba(209, 201, 201, 0.05);
}

/* TITLE */
.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 14px;
}

/* DESCRIPTION */
.service-card p {
    font-size: 16px;
    line-height: 1.7;
    color: #cbd5f5;
}

/* HOVER EFFECT */
.service-card:hover {
    transform: translateY(-8px);
}

.service-card:hover .service-icon {
    background: #38bdf8;
    color: #161717;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .services {
        grid-template-columns: 1fr;
    }
}




/* NAVBAR FILTER */
.portfolio-filter {
    text-align: center;
    margin-bottom: 50px;
}

.portfolio-filter .filter-btn {
    background: rgba(56,189,248,0.1);
    border: 1px solid rgba(56,189,248,0.4);
    color: #38bdf8;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-filter .filter-btn.active,
.portfolio-filter .filter-btn:hover {
    background: #38bdf8;
    color: #fff;
}

/* PORTFOLIOS GRID */
.portfolios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Bigger cards */
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

/* PORTFOLIO CARD */
.portfolio {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    animation: float 6s ease-in-out infinite;
    padding: 15px; 
    box-sizing: border-box;
}

/* GLASS EFFECT */
.portfolio.glass {
    background: rgba(14, 4, 4, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* IMAGE */
.portfolio img {
    width: 100%;
    height:160px; /* Slightly smaller */
    object-fit: cover;
    display: block;
    border-radius: 15px; /* slightly smaller than card radius */
    transition: transform 0.5s ease, filter 0.5s ease;
}

/* HOVER EFFECT */
.portfolio:hover img {
    transform: scale(1.08) rotate(-1deg);
    filter: brightness(1.1);
}


/* OVERLAY */
.portfolio .overlay {
    position: absolute;
    top: 0; /* Start from top */
    left: 0;
    width: 100%;
    height: 100%; /* Full card */
    background: rgba(56,189,248,0.85); /* Your blue theme */
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center; /* vertical center */
    align-items: center; /* horizontal center */
    text-align: center;
    padding: 20px;
    opacity: 0;
    transform: scale(0.95); /* subtle shrink effect */
    transition: transform 0.4s ease, opacity 0.4s ease;
    border-radius: 20px; /* match card */
}

.portfolio:hover .overlay {
    opacity: 1;
    transform: scale(1); /* scale up smoothly */
}

.portfolio .overlay h3 {
    margin-bottom: 12px;
    font-size: 22px;
    line-height: 1.2;
}

.portfolio .overlay p {
    font-size: 15px;
    line-height: 1.5;
    max-width: 260px; /* prevents long lines */
}


/* FLOATING ANIMATION */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .portfolios {
        grid-template-columns: 2fr;
    }
}



.social-icons {
    display: flex;
    justify-content: center; 
    gap: 15px; 
    margin-top: 30px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(56,189,248,0.1); 
    color: #38bdf8;
    font-size: 24px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background: #38bdf8;
    color: #fff;
    transform: scale(1.2);
    box-shadow: 0 0px 25px rgba(56,189,248,0.5);
}



.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


.portfolio img {
    width: 100%;
    display: block;
}

.overlay {
    position: absolute;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    width: 100%;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio:hover .overlay {
    opacity: 1;
}

.portfolio.hidden {
    display: none;
}

#seeMoreBtn {
    margin-top: 20px;
    padding: 10px 20px;
    cursor: pointer;
}

