 
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      scroll-behavior: smooth;
      font-family: 'Poppins', sans-serif;
    }

    body {
      background: #0f0b0d;
      color: #f5f5f5;
      overflow-x: hidden;
    }

    :root {
      --primary: #7b1128;
      --secondary: #b6465f;
      --dark: #140d10;
      --light: #f8f2f4;
      --gray: #b9b9b9;
      --card: #1b1317;
    }

    header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      padding: 20px 8%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: rgba(15, 11, 13, 0.9);
      backdrop-filter: blur(10px);
      z-index: 1000;
      border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .logo {
      font-size: 28px;
      font-weight: 700;
      color: var(--light);
    }

    .logo span {
      color: var(--secondary);
    }

    nav a {
      text-decoration: none;
      color: var(--light);
      margin-left: 30px;
      font-size: 15px;
      transition: 0.3s ease;
    }

    nav a:hover {
      color: var(--secondary);
    }

    section {
      padding: 120px 8% 80px;
    }

    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 50px;
    }

    .hero-text {
      flex: 1;
    }

    .hero-text h3 {
      font-size: 22px;
      color: var(--secondary);
      margin-bottom: 10px;
    }
    .hero-text h4{
  color: #d66b83;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 20px;
   }
    .hero-text h1 {
      font-size: 65px;
      line-height: 1.1;
      margin-bottom: 20px;
    }

    .hero-text p {
      color: var(--gray);
      line-height: 1.8;
      margin-bottom: 35px;
      max-width: 600px;
    }

    .buttons {
      display: flex;
      gap: 15px;
    }

    .btn {
      padding: 14px 28px;
      border-radius: 12px;
      text-decoration: none;
      font-weight: 500;
      transition: 0.3s ease;
    }

    .primary-btn {
      background: var(--primary);
      color: white;
    }

    .primary-btn:hover {
      background: var(--secondary);
      transform: translateY(-3px);
    }

    .secondary-btn {
      border: 1px solid var(--secondary);
      color: var(--light);
    }

    .secondary-btn:hover {
      background: var(--secondary);
    }

    .hero-image {
      flex: 1;
      display: flex;
      justify-content: center;
    }

 .hero-card {
  width: 350px;
  height: 450px;
  border-radius: 30px;
  position: relative;
  overflow: hidden;

  /*  image as background */
  background: url("tara.jpg");
  background-size: cover;
  background-position: top center;

  box-shadow: 0 20px 60px rgba(123, 17, 40, 0.4);
}
.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    rgba(123, 17, 40, 0.35),
    rgba(182, 70, 95, 0.25),
    rgba(0, 0, 0, 0.4)
  );
  z-index: 1;
}


    .hero-card::after {
      content: '';
      position: absolute;
      width: 180px;
      height: 180px;
      background: rgba(255,255,255,0.05);
      border-radius: 50%;
      top: -40px;
      right: -40px;
      z-index: 2;
    }
    .hero-card img {
      width: 80%;
      z-index: 2;
    }

    .section-title {
      text-align: center;
      margin-bottom: 60px;
    }

    .section-title h2 {
      font-size: 42px;
      margin-bottom: 10px;
    }

    .section-title p {
      color: var(--gray);
    }

    .about {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 50px;
      align-items: center;
    }

    .about-card {
      background: var(--card);
      padding: 40px;
      border-radius: 24px;
      border: 1px solid rgba(255,255,255,0.05);
    }

    .about-card h3 {
      font-size: 30px;
      margin-bottom: 20px;
    }

    .about-card p {
      color: var(--gray);
      line-height: 1.8;
    }

    .skills {
      margin-top: 30px;
    }

    .skill {
      margin-bottom: 20px;
    }

    .skill-info {
      display: flex;
      justify-content: space-between;
      margin-bottom: 8px;
    }

    .skill-bar {
      height: 10px;
      background: #2a1d22;
      border-radius: 20px;
      overflow: hidden;
    }

    .skill-fill {
      height: 100%;
      background: linear-gradient(to right, var(--primary), var(--secondary));
      border-radius: 20px;
    }

    .services-grid,
    .portfolio-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 25px;
    }

    .service-card,
    .portfolio-card {
      background: var(--card);
      padding: 30px;
      border-radius: 22px;
      transition: 0.3s ease;
      border: 1px solid rgba(255,255,255,0.05);
    }

    .service-card:hover,
    .portfolio-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 40px rgba(123,17,40,0.3);
    }

    .service-icon {
      width: 60px;
      height: 60px;
      background: rgba(182,70,95,0.15);
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      margin-bottom: 20px;
    }

    .service-card h3,
    .portfolio-card h3 {
      margin-bottom: 15px;
      font-size: 24px;
    }

    .service-card p,
    .portfolio-card p {
      color: var(--gray);
      line-height: 1.7;
    }

    .portfolio-image {
      width: 100%;
      height: 220px;
      border-radius: 18px;
      margin-bottom: 20px;
      overflow: hidden;
    }

    .portfolio-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: 0.4s ease;
    }

    .portfolio-card:hover img {
      transform: scale(1.08);
    }
    .project-modal{
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.75);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      opacity: 0;
      visibility: hidden;
      transition: 0.3s ease;
      z-index: 9999;
    }

    .project-modal.active{
      opacity: 1;
      visibility: visible;
    }

    .modal-content{
      width: 100%;
      max-width: 500px;
      background: #1b1317;
      border-radius: 24px;
      padding: 22px;
      position: relative;
      text-align: left;
      border: 1px solid rgba(255,255,255,0.06);
      animation: popup 0.3s ease;
    }

    @keyframes popup{
      from{
        transform: scale(0.9);
        opacity: 0;
      }
      to{
        transform: scale(1);
        opacity: 1;
      }
    }

    .modal-content img{
      width: 100%;
      height: 240px;
      object-fit: cover;
      border-radius: 18px;
      margin-bottom: 18px;
    }

    .modal-content h2{
      font-size: 26px;
      margin-bottom: 12px;
      color: #fff;
    }

    .modal-content p{
      color: #b9b9b9;
      line-height: 1.7;
      font-size: 15px;
      margin-bottom: 22px;
    }

    .project-btn{
      display: inline-block;
      padding: 12px 24px;
      background: #7b1128;
      color: white;
      text-decoration: none;
      border-radius: 10px;
      transition: 0.3s ease;
      font-size: 14px;
    }

    .project-btn:hover{
      background: #b6465f;
    }

    .close-btn{
      position: absolute;
      top: 14px;
      right: 16px;
      width: 38px;
      height: 38px;
      background: rgba(255,255,255,0.08);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 22px;
      cursor: pointer;
      transition: 0.3s ease;
    }

    .close-btn:hover{
      background: #b6465f;
      transform: rotate(90deg);
    }
    .contact {
      text-align: center;
      background: linear-gradient(145deg, #1a1014, #2d0d16);
      border-radius: 30px;
      padding: 70px 30px;
    }

    .contact h2 {
      font-size: 42px;
      margin-bottom: 20px;
    }

    .contact p {
      color: var(--gray);
      max-width: 700px;
      margin: auto;
      line-height: 1.8;
      margin-bottom: 30px;
    }

    .contact-btn {
      display: inline-block;
      padding: 15px 35px;
      background: var(--primary);
      color: white;
      text-decoration: none;
      border-radius: 12px;
      transition: 0.3s ease;
    }

    .contact-btn:hover {
      background: var(--secondary);
    }
    .social-links {
      display: flex;
      justify-content: center;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: 25px;
    }

    .social-links a {
      text-decoration: none;
      color: var(--light);
      padding: 10px 16px;
      border-radius: 10px;
      font-size: 14px;
      border: 1px solid rgba(255,255,255,0.1);
      background: rgba(255,255,255,0.03);
      transition: 0.3s ease;
    }

    .social-links a:hover {
      background: var(--secondary);
      transform: translateY(-3px);
      box-shadow: 0 10px 25px rgba(182,70,95,0.3);
    }
    footer {
      text-align: center;
      padding: 30px;
      color: var(--gray);
      border-top: 1px solid rgba(255,255,255,0.05);
      margin-top: 60px;
    }

    .hidden {
      opacity: 0;
      transform: translateY(40px);
      transition: all 0.8s ease;
    }

    .show {
      opacity: 1;
      transform: translateY(0);
    }

    @media (max-width: 900px) {
      .hero {
        flex-direction: column;
        text-align: center;
      }

      .hero-text h1 {
        font-size: 48px;
      }

      .buttons {
        justify-content: center;
      }

      nav {
        display: none;
      }
    }

    @media (max-width: 600px) {
      .hero-text h1 {
        font-size: 38px;
      }

      .section-title h2,
      .contact h2 {
        font-size: 32px;
      }

      .hero-card {
        width: 100%;
        height: 380px;
      }
    }
  