*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html,body{
    height: 100%;
    width: 100%;
    font-family: 'Poppins', sans-serif;
}
body{
    background-color: black;
}
.navbar{
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 70px;
    background-color:transparent ;
    border-bottom: 4px solid rgba(255, 255, 255, 0.1);
}
.navbar ul {
    display: flex;
    gap: 100px;
}

.navbar li{
    list-style: none;
    display: inline-block;
    margin: 0 20px;
   
}

nav a{
    text-decoration: none;
     font-style: italic;
    font-weight: 700;
    gap: 20px;
    font-size: 20px;
    color:white ;
}
nav a:hover {
  color:  #AAAAAA;           
}

nav a.active {
  color: #8B0000;           
  font-weight: 500;
}
.navbar h2{
    color: white;
    font-style: oblique;
    font-size: 30px;
    
}
.navbar .span1{
    color: #8B0000;
}
.navbar button{
    display: inline-block;
    height:40px ;
    width: 120px;
    border-radius: 10px;
    background-color:rgb(161, 8, 8);
    color: #FFFFFF;
}
.navbar button:hover{
    background-color: #9b2b2f;
}
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 8%;
  flex-direction: row;
  background: #0D0D0D;
  gap: 200px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}
 .hero .hero-content{
    max-width: 500px;
   z-index: 1;
 
}

.accent {
  color: #8B0000;
}


#typewriter {
  font-size: 24px;
  font-weight: 400;
  color:white;
  margin-bottom: 20px;
  border-right: 2px solid #8B0000;  /* cursor */
  padding-right: 100px;
 display: inline-block;
  animation: blink 0.9s step-end infinite;
}

@keyframes blink {
  0%, 100% { border-color: #8B0000; }
  50%       { border-color: transparent; }
}

.hero-desc {
  font-size: 16px;
  color: #e8dede;
  max-width: 420px;
  line-height: 1.7;
  margin-bottom: 28px;
  font-size: 20px;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

.social-links a {
  color: #AAAAAA;
  text-decoration: none;
  font-size: 30px;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #8B0000;
}

/* Buttons */
.hero-btns {
  display: flex;
  gap: 16px;
}

.btn-primary {
  padding: 12px 32px;
  background: #8B0000;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #C41E3A;
}

.btn-outline {
  padding: 12px 32px;
  background: transparent;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 6px;
  border: 1px solid #8B0000;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #8B0000;
  color: #FFFFFF;
}
/* Image styling */
.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: 480px;
  height: 490px;
  object-fit: cover;
  border-radius: 50%;

  /* Multiple rings */
  border: 4px solid #8B0000;
  outline: 6px solid rgba(139, 0, 0, 0.4);
  outline-offset: 8px;

  box-shadow:
    0 0 0 18px rgba(139, 0, 0, 0.15),
    0 0 40px rgba(139, 0, 0, 0.5),
    0 0 80px rgba(139, 0, 0, 0.25);

  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 18px rgba(139, 0, 0, 0.15),
                     0 0 40px rgba(139, 0, 0, 0.4); }
  50%  { box-shadow: 0 0 0 22px rgba(139, 0, 0, 0.25),
                     0 0 70px rgba(139, 0, 0, 0.6); }
  100% { box-shadow: 0 0 0 18px rgba(139, 0, 0, 0.15),
                     0 0 40px rgba(139, 0, 0, 0.4); }
}
.cursor {
    width: 15px;
    height: 15px;
   border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    background: #f50414;
box-shadow: 0 0 8px #e71f1f,
            0 0 18px #da2323,
            0 0 30px rgba(67, 6, 6, 0.6);
}
.about {
  min-height: 100vh;
  background: #0D0D0D;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0 8%;
}
.about-title {
  font-size: 56px;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.about-desc {
  font-size: 16px;
  color: #888888;
  max-width: 500px;
  line-height: 1.8;
  margin-bottom: 32px;
  text-align: center;
}
.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
}
.about #btn{
    border-radius: 20px;
    height: 60px;
    width: 120px;
    background-color: #8B0000;
    color: white;
}

#btn:hover{
    background-color: #9b2b2f;
}
.shape {
  position: absolute;
  width: 210px;
  z-index: 1;
  
}

/* Left side */
.s1 { top: 10%;    left: 5%; }
.s2 { bottom: 10%; left: 8%; }

/* Right side */
.s3 { top: 10%;    right: 5%; }
.s4 { bottom: 10%; right: 8%; }
.s1 { animation: float 3s ease-in-out infinite; }
.s2 { animation: float 3s ease-in-out infinite 0.5s; }
.s3 { animation: float 3s ease-in-out infinite 1s; }
.s4 { animation: float 3s ease-in-out infinite 1.5s; }

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

/* ===== SKILLS SECTION ===== */
.skills {
  width: 100%;
  max-width: 1800px;
  padding: 80px 8%;
  background: #0D0D0D;
  min-height: 100vh;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.section-label span {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #C41E3A;
  font-weight: 500;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

.section-title {
  font-size: 52px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 60px;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 70px;
}

.skill-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 28px 20px;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

.skill-card::after {
  content: '';
  position: absolute;
  bottom: -40px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 80px;
  background: #8B0000;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0;
  transition: opacity 0.4s ease, bottom 0.4s ease;
}

.skill-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139,0,0,0.5);
  box-shadow: 0 20px 50px rgba(139,0,0,0.15);
}
.skill-card:hover::after {
  opacity: 0.8;
  bottom: -10px;
}

.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(139,0,0,0.15);
  border: 1px solid rgba(139,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
  transition: background 0.3s ease;
}
.skill-card:hover .card-icon {
  background: rgba(139,0,0,0.3);
}

.card-title {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
}
.card-sub {
  font-size: 12px;
  color: #888888;
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 50px;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.08);
}
.divider span {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #888888;
}

/* Progress Bars */
.bars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 60px;
}

.bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.bar-name {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
}
.bar-pct {
  font-size: 13px;
  font-weight: 500;
  color: #C41E3A;
}
.bar-track {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 100px;
  width: 0;
  background: linear-gradient(90deg, #8B0000, #C41E3A);
  box-shadow: 0 0 12px rgba(139,0,0,0.4);
  transition: width 1.4s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
}
.bar-fill::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 30px; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35));
}
.bar-dot {
  position: absolute;
  right: -3px; top: 50%;
  transform: translateY(-50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #C41E3A;
  box-shadow: 0 0 8px #C41E3A, 0 0 20px rgba(139,0,0,0.4);
}
.projects-header {
      text-align: center;
      padding: 80px 8% 40px;
    }
 
    .projects-label {
      font-size: 12px;
      letter-spacing: 4px;
      text-transform: uppercase;
      color: #C41E3A;
      font-weight: 500;
      display: block;
      margin-bottom: 14px;
    }
 
    .projects-title {
      font-size: clamp(40px, 6vw, 64px);
      font-weight: 700;
      color: #FFFFFF;
      text-transform: uppercase;
      line-height: 1.1;
    }
    .projects-title .accent { color: #8B0000; }
 
    .scroll-hint {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-top: 20px;
      color: #555;
      font-size: 13px;
    }
    .scroll-hint i { font-size: 16px; animation: nudge 1.5s ease-in-out infinite; }
    @keyframes nudge {
      0%, 100% { transform: translateX(0); }
      50%       { transform: translateX(6px); }
    }
 
    /* ===== HORIZONTAL SCROLL WRAPPER ===== */
    .projects-pin {
      overflow: hidden;
      position: relative;
    }
 
    .projects-track {
      display: flex;
      gap: 32px;
      padding: 40px 8% 80px;
      width: max-content;
      will-change: transform;
    }
 
    /* ===== SKEUOMORPHISM CARD ===== */
    .proj-card {
      width: 360px;
      flex-shrink: 0;
      border-radius: 24px;
      overflow: hidden;
      position: relative;
      cursor: pointer;
 
      /* Skeuomorphism - layered shadows + border */
      background: linear-gradient(145deg, #1e1010, #160808);
      border: 1px solid rgba(139,0,0,0.25);
      box-shadow:
        0 2px 0 rgba(255,255,255,0.05) inset,      /* top highlight */
        0 -1px 0 rgba(0,0,0,0.8) inset,            /* bottom shadow */
        6px 6px 20px rgba(0,0,0,0.7),              /* outer shadow */
        -2px -2px 8px rgba(255,255,255,0.03),      /* soft outer highlight */
        0 0 0 1px rgba(0,0,0,0.5);                 /* outer rim */
 
      transition: transform 0.4s ease, box-shadow 0.4s ease;
    }
 
    .proj-card:hover {
      transform: translateY(-10px) scale(1.02);
      box-shadow:
        0 2px 0 rgba(255,255,255,0.07) inset,
        0 -1px 0 rgba(0,0,0,0.8) inset,
        6px 20px 40px rgba(0,0,0,0.8),
        -2px -2px 8px rgba(255,255,255,0.04),
        0 0 0 1px rgba(139,0,0,0.4),
        0 0 40px rgba(139,0,0,0.15);
    }
 
    /* Card image area */
    .card-img {
      width: 100%;
      height: 210px;
      position: relative;
      overflow: hidden;
    }
 
    .card-img-inner {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }
    .proj-card:hover .card-img-inner { transform: scale(1.05); }
 
    /* Fake browser bar on image — skeuomorphism detail */
    .browser-bar {
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 32px;
      background: linear-gradient(180deg, #1a0a0a, #120808);
      border-bottom: 1px solid rgba(139,0,0,0.2);
      display: flex;
      align-items: center;
      padding: 0 12px;
      gap: 7px;
      z-index: 2;
    }
    .dot { width: 10px; height: 10px; border-radius: 50%; }
    .dot.r { background: #8B0000; box-shadow: 0 0 6px rgba(139,0,0,0.6); }
    .dot.y { background: #5a4000; }
    .dot.g { background: #1a3a1a; }
 
    /* Image overlay gradient */
    .card-img::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 60px;
      background: linear-gradient(to bottom, transparent, #160808);
      z-index: 1;
    }
 
    /* Placeholder image bg */
    .img-placeholder {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 48px;
      margin-top: 32px;
    }
 
    /* Card body */
    .card-body {
      padding: 20px 24px 24px;
      position: relative;
    }
 
    /* Skeuomorphism inner border line */
    .card-body::before {
      content: '';
      position: absolute;
      top: 0; left: 24px; right: 24px;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(139,0,0,0.3), transparent);
    }
 
    .card-tags {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-bottom: 12px;
    }
    .tag {
      font-size: 10px;
      padding: 3px 10px;
      border-radius: 100px;
      background: rgba(139,0,0,0.15);
      border: 1px solid rgba(139,0,0,0.3);
      color: #C41E3A;
      font-weight: 500;
      letter-spacing: 0.5px;
 
      /* skeuomorphism tag */
      box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 2px 4px rgba(0,0,0,0.4);
    }
 
    .card-title {
      font-size: 20px;
      font-weight: 700;
      color: #FFFFFF;
      margin-bottom: 8px;
    }
 
    .card-desc {
      font-size: 13px;
      color: #777;
      line-height: 1.7;
      margin-bottom: 20px;
    }
 
    .card-links {
      display: flex;
      gap: 12px;
    }
 
    .card-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 9px 18px;
      border-radius: 8px;
      font-size: 13px;
      font-weight: 500;
      text-decoration: none;
      transition: all 0.3s ease;
 
      /* Skeuomorphism button */
      background: linear-gradient(180deg, #a00000, #6b0000);
      color: #fff;
      border: 1px solid rgba(255,255,255,0.1);
      box-shadow:
        0 1px 0 rgba(255,255,255,0.15) inset,
        0 -1px 0 rgba(0,0,0,0.5) inset,
        0 4px 10px rgba(0,0,0,0.5);
    }
    .card-btn:hover {
      background: linear-gradient(180deg, #c41e3a, #8b0000);
      box-shadow:
        0 1px 0 rgba(255,255,255,0.2) inset,
        0 -1px 0 rgba(0,0,0,0.5) inset,
        0 6px 16px rgba(139,0,0,0.4);
      transform: translateY(-1px);
    }
 
    .card-btn-ghost {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 9px 18px;
      border-radius: 8px;
      font-size: 13px;
      font-weight: 500;
      text-decoration: none;
      color: #aaa;
      background: linear-gradient(180deg, #1e1010, #140808);
      border: 1px solid rgba(139,0,0,0.2);
      box-shadow:
        0 1px 0 rgba(255,255,255,0.05) inset,
        0 4px 8px rgba(0,0,0,0.4);
      transition: all 0.3s ease;
    }
    .card-btn-ghost:hover {
      color: #fff;
      border-color: rgba(139,0,0,0.5);
      transform: translateY(-1px);
    }
 
    /* Card number badge */
    .card-number {
      position: absolute;
      top: -14px;
      right: 24px;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: linear-gradient(145deg, #a00000, #5a0000);
      border: 2px solid #0D0D0D;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      font-weight: 700;
      color: #fff;
      box-shadow: 0 0 12px rgba(139,0,0,0.5);
      z-index: 3;
    }
 
    /* ===== PROGRESS DOTS ===== */
    .progress-dots {
      display: flex;
      justify-content: center;
      gap: 8px;
      padding-bottom: 60px;
    }
    .pdot {
      width: 6px; height: 6px;
      border-radius: 50%;
      background: #333;
      transition: all 0.3s ease;
      cursor: pointer;
    }
    .pdot.active {
      background: #8B0000;
      width: 24px;
      border-radius: 100px;
      box-shadow: 0 0 8px rgba(139,0,0,0.6);
    }
    .marquee-section {
  width: 100%;
  padding: 28px 0;
  background: #0D0D0D;
  border-top: 1px solid rgba(139,0,0,0.2);
  border-bottom: 1px solid rgba(139,0,0,0.2);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  will-change: transform;
}

.marquee-content span {
  font-size: 22px;
  font-weight: 600;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 2px;
  flex-shrink: 0;
}

.dot-sep {
  color: #8B0000 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
}
/* ===== CONTACT SECTION ===== */
.contact {
  min-height: 100vh;
  background: #0D0D0D;
  padding: 100px 8%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-container {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

/* LEFT SIDE */
.contact-info h2 {
  font-size: 52px;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.contact-info p {
  color: #888;
  line-height: 1.7;
  margin-bottom: 30px;
}

.contact-details {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: #ccc;
}

.contact-item i {
  color: #8B0000;
  font-size: 20px;
}

.contact-socials {
  display: flex;
  gap: 20px;
}

.contact-socials a {
  font-size: 22px;
  color: #aaa;
  transition: 0.3s;
}

.contact-socials a:hover {
  color: #8B0000;
}

/* RIGHT SIDE FORM */
.contact-form {
  background: rgba(255,255,255,0.04);
  padding: 30px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 12px 14px;
  border-radius: 8px;
  color: #fff;
  outline: none;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #8B0000;
  box-shadow: 0 0 10px rgba(139,0,0,0.3);
}

.contact-form button {
  padding: 12px;
  background: linear-gradient(90deg, #8B0000, #C41E3A);
  border: none;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(139,0,0,0.3);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

