* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #4361ee;
            --primary-light: #4895ef;
            --accent: #f72585;
            --dark: #1e293b;
            --light: #f8fafc;
            --gray: #64748b;
            --light-gray: #e2e8f0;
            --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            --body: #1e293b;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background:var(--body);
            color: var(--light);
            line-height: 1.6;
            overflow-x: hidden;
            position: relative;
        }

        body::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 10% 20%, rgba(67, 97, 238, 0.1) 0%, transparent 40%),
                        radial-gradient(circle at 90% 80%, rgba(247, 37, 133, 0.1) 0%, transparent 40%);
            z-index: -1;
        }

        #popup {
      position: fixed;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(0, 0, 0, 0.6);
      z-index: 1000;
    }

    .popup-box {
	color: white;
      background: #312450;;
      padding-top: 2rem;
      padding-bottom: 2rem;
      border-radius: 8px;
      text-align: center;
      max-width: 90%;
      width: 300px;
      animation: scaleIn 0.3s ease;
    }

    @keyframes scaleIn {
      from { transform: scale(0.9); opacity: 0; }
      to { transform: scale(1); opacity: 1; }
    }

    .popup-icon {
      color: #1DA1F2;
      font-size: 2rem;
      margin-bottom: 1rem;
    }

    .ok-btn{
        margin-top: 8px;
    }



        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header */
        .my-logo{
            width: 40px;
            aspect-ratio: 1 / 1;
            display: inline-block;
            vertical-align: middle;
            margin-right: 2px;
            margin-bottom: 6px;
        }
        header {
            padding: 20px 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 100;
            transition: var(--transition);
        }

        header.scrolled {
            background: rgba(15, 23, 42, 0.95);
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
            padding: 15px 0;
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.8rem;
            font-weight: 800;
            background: linear-gradient(45deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            letter-spacing: 1px;
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 30px;
        }

        nav a {
            text-decoration: none;
            color: var(--light);
            font-weight: 500;
            font-size: 1.05rem;
            position: relative;
            padding: 5px 0;
            transition: var(--transition);
        }

        nav a::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent);
            transition: width 0.3s ease;
        }

        nav a:hover::after, nav a.active::after {
            width: 100%;
        }

        nav a:hover, nav a.active {
            color: var(--accent);
        }

        .mobile-toggle {
            display: none;
            font-size: 1.5rem;
            cursor: pointer;
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding: 100px 0 50px;
            justify-content: center;
        }

        .hero .container{
            display: flex;
            gap: 3rem;
            align-items: center;
            justify-content: center;
        }

        .hero-img{
            animation: fadeRight 0.8s ease-out;
        }

        .hero-img img{
            width: 300px;
            display: block;
            transition: transform 0.5s ease;
            aspect-ratio: 1 / 1.2;
            object-fit: cover;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            border-radius: 24px;

            
        }

        .hero-img:hover img {
            transform: scale(1.05);
        }

        .hero-content {
            max-width: 650px;
            animation: fadeLeft 0.8s ease-out;
        }

        .hero-subtitle {
            color: var(--primary-light);
            font-size: 1.2rem;
            margin-bottom: 10px;
            display: block;
        }

        .hero-title {
            font-family: 'Montserrat', sans-serif;
            font-size: 4rem;
            line-height: 1.2;
            margin-bottom: 5px;
            background: linear-gradient(to right, var(--light), var(--primary-light));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-text {
            font-size: 1.2rem;
            color: var(--light-gray);
            margin-bottom: 40px;
            max-width: 600px;
        }

        .hero-buttons {
            display: flex;
            gap: 20px;
        }

        /* Button */
        .btn {
            display: inline-block;
            padding: 14px 36px;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            text-decoration: none;
            position: relative;
            overflow: hidden;
            border: none;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: white;
            box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
        }

        .btn-outline {
            background: transparent;
            border: 2px solid var(--primary);
            color: var(--primary);
        }

        .btn:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(67, 97, 238, 0.4);
        }

        .btn-outline:hover {
            background: var(--primary);
            color: white;
        }

        /* About Section */
        .section {
            padding: 80px 0;
        }

        .section-title {
            font-family: 'Montserrat', sans-serif;
            font-size: 2.5rem;
            margin-bottom: 42px;
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: "";
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 120px;
            height: 4px;
            background: var(--accent);
            border-radius: 2px;
        }
        .about-content {
            align-items: center;
        }

        .about-content ul{
            margin-left: 3rem;
        }

        .about-content .hero-subtitle{
            text-align: center;
            margin-top: 8px;
        }

        .about-text  li{
            color: var(--light-gray);
            font-size: 1.2rem;
        }

        .custom-list {
  list-style: none; /* remove default dots */
  padding: 0;
}

.custom-list li {
  position: relative;
  padding-left: 40px; /* space for image */
  margin-bottom: 3px;
}

.custom-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;  /* adjust image size */
  height: 24px;
  transform: translateY(-50%);
  background-size: contain;
  background-repeat: no-repeat;
}

.li1::before {
  background-image: url('/static/img/li/1.png');
}

.li2::before {
  background-image: url('/static/img/li/2.png');
}

.li3::before {
  background-image: url('/static/img/li/3.png');
}

.li4::before {
  background-image: url('/static/img/li/4.png');
}


.li5::before {
  background-image: url('/static/img/li/5.png');
}


        .about-stats {
            display: flex;
            gap: 2rem;
            align-items: center;
            margin-top: 5rem;
            flex-wrap: wrap;
            justify-content: center;
        }

        

        .stat-box {
            background: rgba(30, 41, 59, 0.7);
            border-radius: 10px;
            padding: 25px;
            text-align: center;
            transition: transform 0.4s ease, box-shadow 0.4s ease;
            width: 210px;
            height: 142px;
            flex: 0 0 auto;
        }

        .stat-box:hover {
            transform: translateY(-10px);
            background: rgba(67, 97, 238, 0.1);
        }

        .stat-value {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 5px;
            color: var(--primary-light);
        }

        .stat-name {
            color: var(--light-gray);
            font-size: 1rem;
        }

        /* Skills Section */
        .skills-container {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
        }

        .skills-category {
            background: rgba(30, 41, 59, 0.7);
            border-radius: 20px;
            padding: 30px;
            transition: var(--transition);
        }

        .skills-category:hover {
            transform: translateY(-10px);
            background: rgba(67, 97, 238, 0.1);
        }

        .skills-category h3 {
            font-size: 1.5rem;
            margin-bottom: 25px;
            color: var(--primary-light);
        }

        .skill {
            margin-bottom: 25px;
        }

        .skill-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
        }

        .skill-name {
            font-weight: 500;
        }

        .skill-percent {
            color: var(--primary-light);
        }

        .skill-bar {
            height: 10px;
            background: rgba(100, 116, 139, 0.2);
            border-radius: 5px;
            overflow: hidden;
        }

        .skill-progress {
            height: 100%;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            border-radius: 5px;
            position: relative;
        }

        .skill-progress::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            animation: progressShine 2s infinite;
        }

        /* Projects Section */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .project-card {
            background: rgba(30, 41, 59, 0.7);
            border-radius: 20px;
            overflow: hidden;
            transition: var(--transition);
            position: relative;
        }

        .project-card:hover {
            transform: translateY(-15px);
            background: rgba(67, 97, 238, 0.1);
        }

        .project-image {
            height: 250px;
            overflow: hidden;
        }

        .project-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .project-card:hover .project-image img {
            transform: scale(1.1);
        }

        .project-content {
            padding: 25px;
        }

        .project-links{
            position: absolute;
            bottom: 22px;
        }
        .project-features{
            color: var(--light-gray);
            margin-bottom: 42px;
            font-size: 0.95rem;
            min-height: 90px;
            margin-left: 1rem;
        }

        .project-features ul li{
            font-size: 1rem;
            color: var(--light-gray);
        }
        .project-tags {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
            flex-wrap: wrap;
        }

        .project-tag {
            background: rgba(67, 97, 238, 0.2);
            color: var(--primary-light);
            padding: 5px 15px;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 500;
        }

        .project-title {
            font-size: 1.5rem;
            margin-bottom: 12px;
            font-weight: 700;
        }

        .project-description {
            color: var(--light-gray);
            margin-bottom: 20px;
            font-size: 1.1rem;
            min-height: 90px;
        }

        .project-links {
            display: flex;
            gap: 15px;
        }

        .project-link {
            color: var(--primary-light);
            text-decoration: none;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 5px;
            transition: var(--transition);
        }

        .project-link:hover {
            color: var(--accent);
        }

        /* Contact Section */
        .contact-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
        }

        .contact-info {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }

        .contact-item {
            display: flex;
            gap: 15px;
            align-items: flex-start;
        }

        .contact-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
        }

        .contact-icon i {
            color: var(--primary-light);
        }

        .phone::-webkit-outer-spin-button,
        .phone::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }


        .phone {
            -moz-appearance: textfield;
        }

        .contact-details h3 {
            font-size: 1.3rem;
            margin-bottom: 5px;
        }

        .contact-details p {
            color: var(--light-gray);
        }
        .contact-details a{
            color: white;
            text-decoration: none;
        }

        .contact-details a:hover {
            color: var(--accent);
        }

        .social-links {
            display: flex;
            gap: 15px;
        }

        .social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: rgba(30, 41, 59, 0.7);
            color: var(--light);
            font-size: 1.2rem;
            transition: var(--transition);
            text-decoration: none;
        }

        .social-link:hover {
            background: transparent;
            transform: translateY(-5px);
        }

        .contact-form .form-group {
            margin-bottom: 25px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
        }


        

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 15px;
            background: rgba(30, 41, 59, 0.7);
            border: none;
            border-radius: 10px;
            color: var(--light);
            font-family: 'Poppins', sans-serif;
            font-size: 1rem;
            transition: var(--transition);
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            box-shadow: 0 0 0 2px var(--primary);
        }

        .form-group textarea {
            resize: vertical;
            min-height: 150px;
        }

        

        /* Footer */
        footer {
            background: rgba(15, 23, 42, 0.9);
            padding: 40px 0;
            text-align: center;
        }

        .footer-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
        }

        .footer-logo {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.8rem;
            font-weight: 800;
            background: linear-gradient(45deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            letter-spacing: 1px;
        }

        .footer-text {
            color: var(--light-gray);
            max-width: 600px;
            margin: 0 auto;
        }

        .copyright {
            margin-top: 30px;
            color: var(--gray);
            padding-top: 20px;
            border-top: 1px solid rgba(100, 116, 139, 0.2);
        }

        /* Animations */
        @keyframes fadeLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes fadeRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes progressShine {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

        .animate-on-scroll {
            opacity: 0;
            transform: translateY(50px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .animate-on-scroll.animated {
            opacity: 1;
            transform: translateY(0);
        }

        /* Responsive */
        @media (max-width: 992px) {
            .about-content{
                grid-template-columns: 1fr;
            }
            
            .hero-title {
                font-size: 3rem;
            }
            
            .about-image {
                max-width: 500px;
                margin: 0 auto;
            }
        }

        @media screen and (max-width: 800px) {
            #home{
                min-height: 94vh ;
            }
            .section{
                padding: 60px 0;
            }
            .hero .container{
                flex-direction: column-reverse;
                gap: 2rem;
            }
            .hero-img img {
                margin-top: 1rem;
                width: 180px;
                border-radius: 50%;
                aspect-ratio: 1 / 1;
            }
            .hero-content{
                text-align: center;
            }
            .hero-title{
                margin-bottom: 0;
            }
            .hero-subtitle{
                margin-bottom: 0;
            }
            .btn {
                padding: 14px 28px;
                font-size: 1rem;
            }
            .hero-buttons{
                justify-content: center;
            }

            
        }

        @media screen and (max-width: 850px) {
            .projects-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 768px) {
            .mobile-toggle {
                display: block;
            }
            
            nav {
                position: fixed;
                top: 0;
                right: -100%;
                height: 100vh;
                width: 280px;
                background: rgba(15, 23, 42, 0.95);
                backdrop-filter: blur(10px);
                padding: 80px 30px;
                transition: right 0.4s ease;
                z-index: 99;
            }
            
            nav.active {
                right: 0;
            }
            
            nav ul {
                flex-direction: column;
                gap: 20px;
            }
            
            .hero-buttons {
                /*flex-direction: column;*/
                align-items: flex-start;
            }
            
            .hero-title {
                font-size: 2.5rem;
            }
        }

        @media screen and (max-width: 614px) {
            .projects-grid {
                grid-template-columns: 1fr;
            }
            .project-description{
                min-height: 44px;
            }

            .about-text li{
                font-size: 1rem;
            }
            
        }

        @media screen and (max-width: 400px) {
            .section-title{
               font-size:  1.8rem;
            }

            .contact-details h3 {
                font-size: 1rem;
                }

            .skills-category h3{
                font-size: 1.3rem;
            }

            .btn{
                font-size: .8rem;
            }

            .hero-text{
                font-size: 1rem;
            }
            
        }

         @media screen and (max-width: 795px) {
            .project-title {
                    font-weight: 700;
            }
        }

        @media screen and (max-width: 680px) {

            .skills-container{
                grid-template-columns: 1fr;
            }
            .contact-container {
                grid-template-columns: 1fr;
            }
            
        }

        @media (max-width: 480px) {
            .stat-box {
                padding: 20px;
            }
            
            .projects-grid {
                grid-template-columns: 1fr;
            }
            
            .hero-title {
                font-size: 2.2rem;
            }
            .project-card{
                display:block
            }
            .project-image{
                height: 250px;
            }
        }

        @media screen and (max-width: 510px) {
            .about-stats {
                display: flex;
                gap: 2rem;
                align-items: center;
                margin-top: 5rem;
                flex-wrap: wrap;
                justify-content: center;
            }

            .section-title{
                font-size: 2rem;
            }

            .stat-box {
                background: rgba(30, 41, 59, 0.7);
                border-radius: 10px;
                padding: 25px;
                text-align: center;
                transition: transform 0.4s ease, box-shadow 0.4s ease;
                width: 180px;
                height: 170px;
                flex: 1 1;
            }
        }

@media screen and (max-width: 580px) {
    .about-content ul {
  margin-left: 1rem;
  margin-right: 1rem;
}
}


@media screen and (max-width: 532px) {
    .about-stats {
  margin-left: 1rem;
  margin-right: 1rem;
}
}