
  @media (max-width: 576px) {
  html, body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
}

 /* body {
    padding-left: 25px !important;
    padding-right:25px !important;
    margin-right: 10px !important;
    margin-left: 10px !important;
  }
  
/* Desktop max-width for main sections */
/*@media (min-width: 577px) {
  .hero,
  .about,
  .skills,
  .work,
  .contact,
  .footer-content {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 32px;
    padding-right: 32px;
  }
}
}*/




  /*@media (max-width: 576px) {
  body {
    padding-left: 30px;
    padding-right: 30px;
  }
  .hero,
  .about,
  .skills,
  .work,
  .contact,
  .footer-content {
    padding-left: 50px !important;
    padding-right: 30px !important;
  }
    
}
  */



@media (max-width: 576px) {
  .profile-img {
    width: 3px;
    height: auto;
}
 
}
  
@media (max-width: 576px) {
  .about-container {
    flex-direction: column;
    gap: 20px;
    padding: 0 10px;
  }
}
  .about-content {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
  }
  .about-image {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px auto;
  }
  .about-details {
    grid-template-columns: 1fr;
    padding: 20px 0;
    gap: 10px;
}
 @media (max-width: 576px) {
  .about-details {
    grid-template-columns: 2fr;
    gap: 6px;
    padding: 10px 10px;
    position: static;
    max-width: 100%;
    right: 0;
    margin: 0 auto;
  }
}
  .social-links {
    gap: 20px;
    justify-content: center;
    padding-right: 10px;
    margin-bottom: 20px;
  }
  .social-link {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }
  .skills {
    padding: 30px 5px;
  }
  .skills-container {
    gap: 15px;
  }
  .work {
    padding: 30px 5px;
  }
  .work-container {
    
    gap: 15px;
    grid-template-columns: 1fr;
   
  }
  .contact {
    padding: 30px 5px;
  }
  .contact-container {
    gap: 15px;
    flex-direction: column;
    padding: 0 5px;
  }
  .footer-content {
    padding: 0 5px;
  }

/* Base Styles */
:root {
    --primary-color: #6c63ff;
    --secondary-color: #4d44db;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #f9f9ff;
    --card-bg: #fff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

.hamburger {
  position: relative;
  top: -5px; /* Move up */
  /*right: 1000px; /* Move right */
}
.hamburger{
    position: relative;
    right: 320px;
}

.Name-content{
    position: relative;
    padding-left: 4px;
}
.about-details-address{
    padding-left: 400px;
}

.who-am-i{
    position: relative;

}

[data-theme="dark"] {
    --primary-color: #7d73ff;
    --secondary-color: #5a50e5;
    --text-color: #f0f0f0;
    --text-light: #bbb;
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Mobile-first base styles */
.header, .menu { 
  width: 100%; 
  padding: 10px;
}

/* Adjust for larger screens */
@media (min-width: 768px) {
  .menu {
    width: 100%;
    float: left;
  }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: var(--transition);
    margin: 0;
   
}
body{
    font-size: 16px;
}
@media(min-width: 768px) {
    body {
        font-size: 18px;
    }

    @media(min-width: 1024px) {
        body {
            font-size: 20px;
        }
    }

    img {
  max-width: 100%;
  height: auto;
}
}
.engineer-intro{
    max-width: 800px;
    margin: 40px auto;
    background-color:linear-gradient(135deg, #0f172a, #1e293b);
    color: #f1f5f9;
    font-family: 'segeo UI', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 20px ;
    line-height: 1.8;
    border-radius: 16px;
    box-shadow: 0 12 30px rgb(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease;
    text-align: center;
    font-weight: 1px;
    width: 100vw;
    border-bottom: #4d44db;
}

@media (max-width: 576px) {
  .engineer-intro {
    max-width: 88vw;
    margin: 10px auto; /* Reduced margin */
    padding: 10px 8px;
    font-size: 16px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.10);
    /* Softer gradient for less intense color */
    background: linear-gradient(135deg, #232946 60%, #6c63ff 100%);
    color: #f1f5f9;
    text-align: center;
    display: block;
    position: relative;
    right: 0;
    border-style: initial;
    border-radius: 16px;
    position: relative;
    right: 25px
  }
}

.engineer-intro:hover{
    transform: scale(1.08);
    
}

a {
    text-decoration: none;
    color: inherit;
}

.who-am-i{
    text-align: center;
    padding-right: 60px;
}


.location-intro{
    padding-right: 30px;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

@media (max-width: 576px) {
    .btn-primary, .btn-secondary {
        margin-left: 20px;
        margin-right: 20px;
        font-size: 14px;
    }

    .btn-primary, .btn-secondary:hover{
        background-color: rgba(30, 99, 25, 0.9);
    }
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
}

.section-title span {
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.container {
    width: 100px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
}
.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.highlight {
    color: var(--primary-color);
}

/* Cursor */
.cursor {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(108, 99, 255, 0.5);
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}

.cursor-follower {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-color);
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
}

/* Header */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

nav {
    display: flex;
    justify-content: space-between;
    width: 100vw;
    overflow: hidden;
    box-sizing: border-box;
    align-items: center;
    padding: 0 0;
}

.logo {
    position : relative;
    left: 130px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    position: relative;
    right: 50px;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.theme-toggle {
    position: relative;
    left: 100px;
    margin-top: -20px;
    width: 60px;
    height: 30px;
    background-color: var(--card-bg);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.theme-toggle i {
    font-size: 14px;
    color: var(--text-color);
}

.toggle-ball {
    position: absolute;
    width: 22px;
    height: 22px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 4px;
    left: 4px;
    transition: transform 0.3s ease;
}

[data-theme="dark"] .toggle-ball {
    transform: translateX(30px);
}

.theme-toggle:hover{
    box-shadow: 10px 10px 10px black;
}

.theme-toggle:active{
    background-color:var(--primary-color);
    color:var(--card-bg);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 40px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
}

.profile-img {
    width: 1000%;
    height: 100%;
    object-fit: cover;
    border-radius: 200px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow);
    border-bottom: #121212;
    border-bottom-left-radius: 200px;
}
@media (max-width: 576px) {
   .profile-img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 200px;
    position: relative;
    left: 50px;
    box-shadow: var(--shadow);
    border-bottom: #121212;
    display: block;
}
}
.glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background-color: var(--primary-color);
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.3;
    filter: blur(30px);
    animation: pulse 4s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.05);
        opacity: 0.5;
    }
}

.animated-text {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

.animated-subtext {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-light);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

@media (max-width: 576px) {
  .hero-description {
    background: linear-gradient(135deg, #6c63ff 10%, #232946 100%);
    color: #fff;
    padding: 7px 20px;
    border-radius: 200px;
    box-shadow: 0 4px 18px rgba(76, 99, 255, 0.15);
    font-size: 0.7rem;
    margin: 50px 10px;
    text-align: center;
    letter-spacing: 0.01em;
    line-height: 1.5;
    border: 1.5px solid #1f14c0;
    transition: background 0.3s, color 0.3s;
  }
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.6s forwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.9s forwards;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-light);
    opacity: 0;
    animation: fadeIn 1s ease 1.5s forwards;
}

.scroll-down i {
    margin-top: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* About Section */
.about {
    padding: 100px 0;
}

.about-container {
    display: flex;
    gap: 50px;
    align-items: center;
}



.about-content {
    flex: 1;
    padding-left: 50px;
};

.about-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 5px solid var(--primary-color);
    padding: 5px;
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.3);
}



.about-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 30px;
    color: var(--text-light);
}

.about-details {
    display: grid;
    grid-template-columns: repeat(2, 2fr);
    gap: 20px;
    text-align: center;
    padding: 100px;
    position: relative;
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    gap: 1px;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 50px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin: 0 10px;

}



.detail-item span {
    font-weight: 600;
    color: var(--primary-color);
}

.social-links {
    position : relative;
    left: 200px;
    display: flex;
    width: auto;
    height: auto;
    gap: 15px;
    margin-bottom: 30px;
    align-items: center;
    text-align: center;
    padding-left: 0;
}

@media (max-width: 576px) {
    .social-links {
        position: relative;
        left: 0;
        padding-right: 10px;
        margin-bottom: 20px;
        justify-content: center;
    }
}

.social-link {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    font-size: 2rem;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: rgb(255, 255, 255);
    transform: translateY(-5px);
}

.last-socials{
    gap: 30px;
    width: max-content;
}

/* Skills Section */
.skills {
    padding: 70px 50px;
    background-color: var(--card-bg);
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.skill-category {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.skill-category:hover {
    transform: translateY(-10px);
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/*.skill-other{
    position: relative;
    left: 200px;
}*/


.skill-item {
    margin-bottom: 20px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background-color: var(--bg-color);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease;
}

/* Work Section */
.work {
    padding: 100px 50px;
}

.work-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 30px;
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.work-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.work-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 250px;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 99, 25, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    color: white;
}

/*.work-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/*.work-overlay p {
    margin-bottom: 20px;
}*/

/*.overlay-work-broker {
    position: relative;
    left: 200px;
}*/

.work-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.work-link:hover {
    transform: rotate(45deg);
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-item:hover img {
    transform: scale(1.1);
}

.companies {
    text-align: center;
    margin-top: 80px;
}

.companies h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.company-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.company-logos img {
    height: 125px;
    opacity: 1;
    /*transition: var(--transition);*/
    border-radius: 50px;
}

/*.company-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
}*/

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--card-bg);
}

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
    padding: 40px;
    background-color: var(--bg-color);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(108, 99, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form {
    flex: 1;
    padding: 40px;
    background-color: var(--bg-color);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid var(--text-light);
    background-color: var(--card-bg);
    color: var(--text-color);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--card-bg);
    padding: 40px 0 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--text-light);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        padding-top: 100px;
        height: auto;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-container {
        flex-direction: column;
    }

    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: var(--transition);
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active .line2 {
        opacity: 0;
    }

    .hamburger.active .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .section-title {
        font-size: 2rem;
    }

    .animated-text {
        font-size: 2.5rem;
    }

    .animated-subtext {
        font-size: 1.5rem;
    }

    .work-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 576px) {
    nav {
        padding: 0 20px;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }}



/* Mini AI Robot Styles */
.ai-robot {
  position: fixed;
  width: 60px;  /* Reduced from 120px */
  height: 90px; /* Reduced from 180px */
  z-index: 1000;
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.robot-head {
  width: 40px;  /* Reduced from 80px */
  height: 35px; /* Reduced from 70px */
  border-radius: 25px 25px 20px 20px; /* Adjusted */
}

.antenna {
  top: -8px;   /* Adjusted */
  height: 10px; /* Reduced from 20px */
  width: 4px;   /* Reduced from 6px */
}

.antenna::before {
  width: 8px;  /* Reduced from 12px */
  height: 8px; /* Reduced from 12px */
  top: -3px;   /* Adjusted */
  left: -2px;  /* Adjusted */
}

.eye {
  width: 8px;  /* Reduced from 16px */
  height: 8px; /* Reduced from 16px */
  top: 12px;   /* Adjusted */
}

.eye.left { left: 8px; }   /* Adjusted */
.eye.right { right: 8px; } /* Adjusted */

.eye::after {
  width: 4px;  /* Reduced from 8px */
  height: 4px; /* Reduced from 8px */
  top: 2px;    /* Adjusted */
  left: 2px;   /* Adjusted */
}

.mouth {
  width: 15px;  /* Reduced from 30px */
  height: 4px;  /* Reduced from 8px */
  bottom: 8px;  /* Adjusted */
}

.robot-body {
  width: 50px;  /* Reduced from 100px */
  height: 40px; /* Reduced from 80px */
  top: 35px;    /* Adjusted */
}

.arm {
  width: 6px;   /* Reduced from 12px */
  height: 30px; /* Reduced from 60px */
}

.heart-thrower {
  width: 15px;  /* Reduced from 30px */
  height: 15px; /* Reduced from 30px */
  top: 8px;     /* Adjusted */
  right: -10px; /* Adjusted */
}

.robot-base {
  width: 45px;  /* Reduced from 90px */
  height: 10px; /* Reduced from 20px */
}

.wheel {
  width: 30px;  /* Reduced from 60px */
  height: 10px; /* Reduced from 20px */
  bottom: -5px; /* Adjusted */
}

.wheel::before,
.wheel::after {
  width: 5px;   /* Reduced from 10px */
  height: 5px;  /* Reduced from 10px */
  top: 2.5px;   /* Adjusted */
}

.wheel::before { left: 5px; }  /* Adjusted */
.wheel::after { right: 5px; }  /* Adjusted */

/* Smaller hearts */
.heart {
  width: 10px;  /* Reduced from 20px */
  height: 10px; /* Reduced from 20px */
}

/* Adjust animations for smaller size */
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.05); }
}

@keyframes arm-swing {
  0% { transform: rotate(15deg); }   /* Reduced from 20deg */
  50% { transform: rotate(-15deg); } /* Reduced from -20deg */
  100% { transform: rotate(15deg); }
}
@keyframes heart-throw {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.2); } /* Adjusted for smaller hearts */
  100% { transform: translateY(0) scale(1); }
}