     * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }


.draw-border {
  box-shadow: inset 0 0 0 4px #58afd1;
  color: #58afd1;
  transition: color 0.25s 0.0833333s;
  position: relative;
}

.draw-border::before,
.draw-border::after {
  border: 0 solid transparent;
  box-sizing: border-box;
  content: '';
  pointer-events: none;
  position: absolute;
  width: 0;
  height: 0;
  bottom: 0;
  right: 0;
}

.draw-border::before {
  border-bottom-width: 4px;
  border-left-width: 4px;
}

.draw-border::after {
  border-top-width: 4px;
  border-right-width: 4px;
}

.draw-border:hover {
  color: #1565b9;
}

.draw-border:hover::before,
.draw-border:hover::after {
   border-color: #c4ab48; /*recrtangle color */
  transition: border-color 0s, width 0.25s, height 0.25s;
  width: 100%;
  height: 100%;
}

.draw-border:hover::before {
  transition-delay: 0s, 0s, 0.25s;
}

.draw-border:hover::after {
  transition-delay: 0s, 0.25s, 0s;
}

.btn {
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1.5;
  font: 700 1.2rem 'Roboto Slab', sans-serif;
  padding: 1em 2em;
  letter-spacing: 0.05rem;
  
  &:focus { outline: 2px dotted #55d7dc; }
}




        :root {
            --bg-primary: #0a0a0a;
            --bg-secondary: #1a1a1a;
            --bg-card: #252525;
            --text-primary: #ffffff;
            --text-secondary: #a0a0a0;
            --accent-1: #6366f1;
            --accent-2: #8b5cf6;
            --shadow: rgba(0, 0, 0, 0.5);
        }

        .light-mode {
            --bg-primary: #ffffff;
            --bg-secondary: #f5f5f5;
            --bg-card: #ffffff;
            --text-primary: #0a0a0a;
            --text-secondary: #666666;
            --accent-1: #6366f1;
            --accent-2: #8b5cf6;
            --shadow: rgba(0, 0, 0, 0.1);
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--text-primary);
            background: var(--bg-primary);
            transition: background 0.3s, color 0.3s;
        }

        header {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.842);
  backdrop-filter: blur(8px);
}

.navbar {
  max-width: 1200px;
  margin: auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
h3.navbar{
  color: #1565b9; 
  text-align: center;
  padding-left: 70px;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  color: #fff; 
}

/* Desktop Nav */
.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links li a {
  color: #6d5fef;
    font-weight: bold;
  font-size: 17px;
  text-decoration: none;
  transition: 0.3s;
}

.nav-links li a:hover {
  color: #03e9f4;
}

/* Theme Button */
.theme-toggle {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #fff;
  position: absolute;
  margin-left: 0%;
}

/* ===== Mobile ===== */
.menu-btn {
  width: 35px;
  height: 25px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.menu-btn span {
  width: 100%;
  height: 4px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile Menu Hidden */
.nav-links.mobile-hide {
  display: none;
}

/* Mobile Menu Style */
@media (max-width: 768px) {
  .menu-btn {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: rgba(0,0,0,0.85);
    flex-direction: column;
    text-align: center;
    padding: 20px 0;
    gap: 20px;
    display: none;
  }

  .nav-links.show {
    display: flex;
  }
}
        .theme-toggle {
            background: var(--bg-card);
            border: 2px solid var(--accent-1);
            color: var(--text-primary);
            padding: 0.5rem 1rem;
            border-radius: 50px;
            cursor: pointer;
            font-size: 1.2rem;
            transition: all 0.3s;
        }

        .theme-toggle:hover {
            transform: scale(1.1);
            box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
        }

/* HERO SECTION */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1b4e 100%);
  padding: 180px 2rem 120px;
  text-align: center;
  margin-top: 80px;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.light-mode .hero {
  background: linear-gradient(135deg, #f0f0f0 0%, #e0d5f5 100%);
}

/* FLOATING PARTICLES */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-bg span {
  position: absolute;
  display: block;
  width: 20px;
  height: 20px;
  background: rgba(99, 102, 241, 0.3);
  border-radius: 50%;
  animation: float 10s infinite ease-in-out;
}

/* Multiple particle variations */
.hero-bg span:nth-child(1) {
  top: 20%;
  left: 15%;
  animation-delay: 0s;
  width: 25px;
  height: 25px;
}

.hero-bg span:nth-child(2) {
  top: 60%;
  left: 25%;
  animation-delay: 2s;
}

.hero-bg span:nth-child(3) {
  top: 40%;
  left: 70%;
  animation-delay: 4s;
  width: 30px;
  height: 30px;
}

.hero-bg span:nth-child(4) {
  top: 80%;
  left: 50%;
  animation-delay: 6s;
}

.hero-bg span:nth-child(5) {
  top: 30%;
  left: 85%;
  animation-delay: 8s;
}

/* Particle floating animation */
@keyframes float {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-40px) scale(1.3);
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.8;
  }
}

/* HERO CONTENT */
.hero-content {
  position: relative;
  z-index: 1;
  color: #6366f1;
  animation: fadeInUp 1s ease forwards;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease 0.3s forwards;
}

.hero p {
  font-size: 1.5rem;
  color: #8e90e9,;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease 0.6s forwards;
}

.hero-buttons {
  margin-top: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease 0.9s forwards;
}

/* FADE IN UP */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


        /* Typing Animation Styles */
        .typed {
            background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 600;
        }

        .typed-cursor {
            display: inline-block;
            width: 2px;
            background: var(--accent-1);
            margin-left: 4px;
            animation: blink 1s infinite;
        }

        .typed-cursor--blink {
            animation: blink 0.7s infinite;
        }

        @keyframes blink {
            0%, 49% {
                opacity: 1;
            }
            50%, 100% {
                opacity: 0;
            }
        }

        .hero-buttons {
            margin-top: 2rem;
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
            animation: fadeInUp 1s ease 0.4s both;
        }

        .btn {
            padding: 1rem 2.5rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s;
            border: 2px solid var(--accent-1);
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
            color: white;
            border: none;
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(99, 102, 241, 0.5);
        }

        .btn-secondary {
            background: transparent;
            color: var(--accent-1);
        }

        .btn-secondary:hover {
            background: var(--accent-1);
            color: white;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        section {
            max-width: 1200px;
            margin: 6rem auto;
            padding: 0 2rem;
        }

        h2 {
            font-size: 3rem;
            margin-bottom: 3rem;
            text-align: center;
            background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .about {
            background: var(--bg-card);
            padding: 3rem;
            border-radius: 20px;
            box-shadow: 0 10px 40px var(--shadow);
            border: 1px solid rgba(99, 102, 241, 0.2);
            position: relative;
            overflow: hidden;
        }

        .about::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(99, 102, 241, 0.1), transparent 70%);
            animation: rotate 20s linear infinite;
        }

        @keyframes rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .about-content {
            position: relative;
            z-index: 1;
        }

        .about p {
            font-size: 1.2rem;
            margin-bottom: 1rem;
            color: var(--text-secondary);
        }

        .skills {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .skill-card {
            background: var(--bg-card);
            padding: 2.5rem;
            border-radius: 20px;
            box-shadow: 0 10px 40px var(--shadow);
            text-align: center;
            transition: all 0.3s;
            border: 1px solid rgba(99, 102, 241, 0.2);
            position: relative;
            overflow: hidden;
        }

        .skill-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.2), transparent);
            transition: left 0.5s;
        }

        .skill-card:hover::before {
            left: 100%;
        }

        .skill-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px var(--shadow);
            border-color: var(--accent-1);
        }

        .skill-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .skill-card h3 {
            color: var(--accent-1);
            margin-bottom: 1rem;
            font-size: 1.5rem;
        }

        .projects {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2.5rem;
        }

        .project-card {
            background: var(--bg-card);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 40px var(--shadow);
            transition: all 0.3s;
            border: 1px solid rgba(99, 102, 241, 0.2);
        }

        .project-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 60px var(--shadow);
            border-color: var(--accent-1);
        }

        .project-img {
             /* width: 100%;
            height: 250px; 
             background: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 100%); */
            display: flex;
            align-items: center;
            justify-content: center; 
            color: white;
            font-size: 4rem;
            position: relative;
            overflow: hidden;
        }

        .project-img::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.5s, height 0.5s;
        }

        .project-card:hover .project-img::after {
            width: 500px;
            height: 500px;
        }

        .project-content {
            padding: 2rem;
        }

        .project-content h3 {
            color: var(--accent-1);
            margin-bottom: 1rem;
            font-size: 1.5rem;
        }

        .project-content p {
            color: var(--text-secondary);
        }

        .contact {
            background: var(--bg-card);
            padding: 4rem;
            border-radius: 20px;
            box-shadow: 0 10px 40px var(--shadow);
            text-align: center;
            border: 1px solid rgba(99, 102, 241, 0.2);
        }
         .project-light-mode {
            --bg-primary: #ffffff;
            --bg-secondary: #f5f5f5;
            --bg-card: #ffffff;
            --text-primary: #0a0a0a;
            --text-secondary: #666666;
            --accent-1: #6366f1;
            --accent-2: #8b5cf6;
            --shadow: rgba(0, 0, 0, 0.1);
        }

        .contact-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-top: 2rem;
            flex-wrap: wrap;
        }

        .contact-btn {
            background: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 100%);
            color: white;
            padding: 1rem 2.5rem;
            border-radius: 50px;
            text-decoration: none;
            transition: all 0.3s;
            display: inline-block;
            font-weight: 600;
        }

        .contact-btn:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(99, 102, 241, 0.5);
        }

        footer {
            background: var(--bg-secondary);
            color: var(--text-secondary);
            text-align: center;
            padding: 2rem;
            margin-top: 6rem;
            border-top: 1px solid rgba(99, 102, 241, 0.2);
        }

        /* Chatbot Styles */
        .chatbot-container {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 2000;
        }

        .chatbot-toggle {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
            border: none;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
            box-shadow: 0 5px 25px rgba(99, 102, 241, 0.5);
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .chatbot-toggle:hover {
            transform: scale(1.1);
            box-shadow: 0 8px 35px rgba(99, 102, 241, 0.7);
        }

        .chatbot-window {
            position: absolute;
            bottom: 80px;
            right: 0;
            width: 350px;
            height: 500px;
            background: var(--bg-card);
            border-radius: 20px;
            box-shadow: 0 10px 50px var(--shadow);
            display: none;
            flex-direction: column;
            overflow: hidden;
            border: 1px solid rgba(99, 102, 241, 0.3);
        }

        .chatbot-window.active {
            display: flex;
            animation: slideUp 0.3s ease;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .chatbot-header {
            background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
            padding: 1.5rem;
            color: white;
            font-weight: 600;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .chatbot-close {
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            transition: transform 0.3s;
        }

        .chatbot-close:hover {
            transform: rotate(90deg);
        }

        .chatbot-messages {
            flex: 1;
            padding: 1.5rem;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .message {
            padding: 0.8rem 1.2rem;
            border-radius: 15px;
            max-width: 80%;
            animation: messageIn 0.3s ease;
        }

        @keyframes messageIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .message.bot {
            background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
            color: white;
            align-self: flex-start;
        }

        .message.user {
            background: var(--bg-secondary);
            color: var(--text-primary);
            align-self: flex-end;
        }

        .chatbot-input {
            display: flex;
            padding: 1rem;
            border-top: 1px solid rgba(99, 102, 241, 0.2);
            gap: 0.5rem;
        }

        .chatbot-input input {
            flex: 1;
            padding: 0.8rem;
            border: 1px solid rgba(99, 102, 241, 0.3);
            border-radius: 25px;
            background: var(--bg-secondary);
            color: var(--text-primary);
            outline: none;
            transition: border 0.3s;
        }

        .chatbot-input input:focus {
            border-color: var(--accent-1);
        }

        .chatbot-input button {
            padding: 0.8rem 1.5rem;
            border: none;
            border-radius: 25px;
            background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
            color: white;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s;
        }

        .chatbot-input button:hover {
            transform: scale(1.05);
            box-shadow: 0 5px 15px rgba(99, 102, 241, 0.5);
        }

        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.5rem;
            }

            .hero p {
                font-size: 1.2rem;
            }

            nav ul {
                gap: 1rem;
            }

            h2 {
                font-size: 2rem;
            }

            .chatbot-window {
                width: 90vw;
                right: 5vw;
            }

            .chatbot-toggle {
                width: 50px;
                height: 50px;
                font-size: 1.5rem;
            }
        }

        .chatbot-messages::-webkit-scrollbar {
            width: 6px;
        }

        .chatbot-messages::-webkit-scrollbar-track {
            background: var(--bg-secondary);
        }

        .chatbot-messages::-webkit-scrollbar-thumb {
            background: var(--accent-1);
            border-radius: 10px;
        }
.more-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.more-details.show {
    max-height: 2000px;
}
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@media (max-width: 992px) {
    .cs {
        flex-wrap: wrap;
        gap: 20px;
    }

    .cm {
        margin-right: 20px;
        padding: 20px 25px;
        font-size: 15px;
        letter-spacing: 3px;
    }
}

/* For mobile screens */
@media (max-width: 768px) {
    .cs {
        flex-direction: column;
        gap: 25px;
        align-items: center;
    }

    .cm {
        width: 80%;
        margin-right: 0;
        text-align: center;
        padding: 18px;
        font-size: 14px;
        letter-spacing: 2px;
    }
}

/* For very small phones */
@media (max-width: 480px) {
    .cm {
        width: 90%;
        padding: 15px;
        font-size: 13px;
    }
}
.cs{
    display: flex;
    justify-content: center;
    align-items: center;

    font-family: 'Raleway', sans-serif;
    font-weight: bold;
}
.cm{
    position: relative;
    display: inline-block;
    padding: 25px 30px;
    margin: 40px 0;
    color: #03e9f4;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.5s;
    letter-spacing: 4px;
    overflow: hidden;
    margin-right: 50px;
   
}
#rm a:hover{
    background: #03e9f4;
    color: #050801;
     box-shadow: 0 0 5px #03e9f4,
                0 0 25px #03e9f4,
                0 0 50px #03e9f4,
                0 0 200px #03e9f4;
     -webkit-box-reflect:below 1px linear-gradient(transparent, #0005); 
}
#rm a:nth-child(1){
    filter: hue-rotate(270deg);
}
#rm a:nth-child(2){
    filter: hue-rotate(110deg);
}
#rm a span{
    position: absolute;
    display: block;
}
#rm a span:nth-child(1){
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,transparent,#03e9f4);
    animation: animate1 1s linear infinite;
}
@keyframes animate1{
    0%{
        left: -100%;
    }
    50%,100%{
        left: 100%;
    }
}
#rm a span:nth-child(2){
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg,transparent,#03e9f4);
    animation: animate2 1s linear infinite;
    animation-delay: 0.25s;
}
@keyframes animate2{
    0%{
        top: -100%;
    }
    50%,100%{
        top: 100%;
    }
}
#rm a span:nth-child(3){
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg,transparent,#03e9f4);
    animation: animate3 1s linear infinite;
    animation-delay: 0.50s;
}
@keyframes animate3{
    0%{
        right: -100%;
    }
    50%,100%{
        right: 100%;
    }
}


#rm a span:nth-child(4){
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg,transparent,#03e9f4);
    animation: animate4 1s linear infinite;
    animation-delay: 0.75s;
}
@keyframes animate4{
    0%{
        bottom: -100%;
    }
    50%,100%{
        bottom: 100%;
    }
}
  .gallery-item video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s;
        border-radius: 10px;
    }

    .gallery-item:hover video {
        transform: scale(1.1);
    }
.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;  /* increased from 20px → more space */
    padding: 25px; /* slightly more breathing room */
}


    .project-card {
        
        background: #111;
        color: white;
        border-radius: 12px;
        overflow: hidden;
        cursor: pointer;
        transition: 0.3s;
    }

    .project-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    }

   .project-img {
    height: 220px;
    overflow: hidden;
    margin-bottom: 10px; /* new spacing under video */
}

    .project-content {
          padding: 20px;
    }

    /* ---- VIDEO MODAL ---- */
    #videoModal {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.8);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 9999;
    }

    #videoModal.active {
        display: flex;
    }

    #modalVideo {
        max-width: 90%;
        max-height: 90%;
        border-radius: 10px;
    }

    .close-btn {
        position: absolute;
        top: 20px;
        right: 30px;
        font-size: 32px;
        color: white;
        cursor: pointer;
        font-weight: bold;
    }




.container {
  width: 100%;
  padding: 20px;
}

img {
  width: 100%;
  height: auto;
}
@media (max-width: 600px) {
  .box {
    flex-direction: column;
    text-align: center;
  }
}
.container {
  display: flex;
  flex-wrap: wrap;
}
.box {
  flex: 1 1 100%; /* full width on mobile */
}




