* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: #111827;
    color: #ffffff;
    line-height: 1.6;
}

/* Utility Classes */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hidden {
    display: none;
}

.text-orange {
    color: #f97316;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(8px);
    z-index: 50;
    border-bottom: 1px solid #374151;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-brand {
    font-size: 1.25rem;
    font-weight: bold;
    color: #f97316;
}

.nav-desktop {
    display: none;
    gap: 2rem;
}

.nav-link {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #f97316;
}
.boy{
    width: 2.5rem;
    height: 2.5rem;
    background-color: #f97316;
    border-radius: 50%;
    display: inline-block;
}
.nav-mobile-btn {
    display: block;
}

.mobile-menu-btn {
    background: none;
    border: none;
    color: #d1d5db;
    cursor: pointer;
    transition: color 0.2s;
}

.mobile-menu-btn:hover {
    color: #f97316;
}

.menu-icon,
.close-icon {
    width: 24px;
    height: 24px;
}

.mobile-menu {
    padding-bottom: 1rem;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-link {
    color: #d1d5db;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.2s;
}

.mobile-nav-link:hover {
    color: #f97316;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 5rem 1rem 0;
    position: relative;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #d1d5db;
}

.hero-name {
    color: #ffffff;
    font-weight: 600;
}

.hero-role {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
}
.typing-cursor {
    color: #f97316;
    animation: blink 1s infinite;
    font-weight: normal;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}
.hero-skills {
    display: flex;
    flex-wrap: wrap;;
    padding-top: 1rem;
     font-size: 1.3rem;
    color: #f97316;
    font-weight: 500;
    min-height: 1.5rem;
    align-items: center;
    gap: 0.5rem;
    /* background-color: white; */
}
.typing-text{
    display: inline-block;
    /* width: 20%; */
    font-size: 1.3rem;
    white-space: nowrap;
    overflow: hidden;
    animation: typing 4s steps(30, end), blink-caret 0.75s step-end infinite;
}
@keyframes typing {
    from { width: 0; }
    to { width: 50%; }
}

.hero-image {
    display: block;
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
}
.hero-image-bg {
    width: 16rem;
    height: 16rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #f97316, #dc2626);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img {
    width: 14rem;
    height: 14rem;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #111827;
}

.hero-decoration-1 {
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 2rem;
    height: 2rem;
    top: -0.5rem;
    right: 2rem;
    border: 2px solid #f97316;
    transform: rotate(45deg);
}

.hero-decoration-2 {
    position: absolute;
    width: 1rem;
    height: 1rem;
    bottom: -0.5rem;
    left: 1rem;
    border: 2px solid #f97316;
    transform: rotate(45deg);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-icon {
    width: 2rem;
    height: 2rem;
    color: #f97316;
}

/* About Section */
.about {
    padding: 5rem 1rem;
}
.hero-skills-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #f97316;
    margin-top: -0.5rem;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
}

.about-text {
    color: #d1d5db;
    line-height: 1.75;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 1.875rem;
    font-weight: bold;
    color: #f97316;
}

.stat-suffix {
    color: #fb923c;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

.about-image {
    display: none;
}

.about-img {
    border-radius: 0.5rem;
    width: 100%;
}

/* Services Section */
.services {
    padding: 5rem 1rem;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem; /* Optional: adds space between service cards */
}

.service-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border: 1px solid #374151;
    transition: border-color 0.3s;
}

.service-card:hover {
    border-color: #f97316;
}

.service-icon {
    color: #f97316;
    flex-shrink: 0;
}

.service-icon svg {
    width: 2rem;
    height: 2rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.service-description {
    color: #6b7280;
}

/* Projects Section */
.projects {
    padding: 5rem 1rem;
}

.projects-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-divider {
    width: 4rem;
    height: 4px;
    background-color: #f97316;
    margin: 1rem auto 0;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.project {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
     /* background-color: #032c2c;  */
     /* background-color: black; */
    background-color: #1f2937; /* dark background */
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: transform 0.3s cubic-bezier(.4,2,.3,1), box-shadow 0.3s;
    box-shadow: 0 8px 24px rgba(8, 80, 236, 0.15); /* subtle shadow */
}
.project:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 16px 40px rgba(8, 80, 236, 0.25);
}


.project-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    background-color: #374151;
    color: #d1d5db;
    font-size: 0.875rem;
    border-radius: 0.25rem;
}

.project-description {
    color: #d1d5db;
    line-height: 1.75;
}

.code-snippet {
    background-color: #374151;
    padding: 1rem;
    border-radius: 0.5rem;
}


.project-buttons {
    display: flex;
    gap: 1rem;
}

.project-image img {
    border-radius: 0.5rem;
    width: 100%;
    height: 16rem;
    object-fit: cover;
}
/* Recommendation / Testimonials Section */
.testimonials {
    background: #111827;
    padding: 4rem 0;
}
.testimonial-image {
    display: flex;
    justify-content: center;
    align-items: center;
    /* color: #f97316; */
    gap: 1rem;
    margin-bottom: 2rem;
}
.testimonial-img {
    width: 100px;
    height: 100px;
    border-radius: 10%;
    object-fit: cover;
    border: 4px solid #f97316;
     background-color: #fff
}
/*  */

.section-title {
    color: #f97316;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.testimonials-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
  
    gap: 2rem;
    flex-wrap: wrap;
}

.testimonial-card {
    background: #1f2937;
    border-radius: 1.25rem;
    box-shadow: 0 8px 32px rgba(8, 80, 236, 0.12);
    padding: 2rem 2rem 1.5rem 2rem;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    /* opacity: 0;
    transform: translateX(60px); */
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.4,2,.3,1);
}


.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(8, 80, 236, 0.18);
}

.testimonial-content {
    text-align: center;
}
/* .testimonial-card.visible {
    opacity: 1;
    transform: translateX(0);
} */

.testimonial-text {
    color: #d1d5db;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-content h3 {
    color: #f97316;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact {
    padding: 5rem 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #d1d5db;
    /* margin-bottom: 0.5rem; */
}

.form-input,
.form-textarea {
    background-color: #374151;
    border: 1px solid #4b5563;
    color: #ffffff;
    padding: 0.75rem;
    border-radius: 0;
    outline: none;
    transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #f97316;
}

.form-textarea {
    resize: none;
    min-height: 6rem;
}


.contact-profile {
    text-align: center;
}

.contact-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f97316;
    margin-bottom: 0.5rem;
}

.contact-tagline {
    color: #fff;
}
.contact-text{
    margin-top: 3rem;
    font-size: 1rem;
    line-height: 1.75;
}
.contact-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-link {
    width: 3rem;
    height: 3rem;
    background-color: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-link:hover {
    background-color: #f97316;
}

.social-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary {
    background-color: #f97316;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #ea580c;
}

.btn-outline {
    border: 1px solid #4b5563;
    color: #d1d5db;
    background-color: transparent;
}

.btn-outline:hover {
    color: #ffffff;
    border-color: #f97316;
}

.btn-icon {
    width: 1rem;
    height: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.contact-info {
    background-color: #f97316;
    color: #fff;
    padding: 2rem;
    border-radius: 0 5rem 0 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    margin-top: 2rem;
}

.contact-info .contact-links p,
.contact-info .contact-links span,
.contact-info .contact-links a {
    color: #fff;
}

.contact-info .social-link {
    background-color: #fff;
    color: #f97316;
    transition: background 0.3s, color 0.3s;
}

.contact-info .social-link:hover {
    background-color: #1f2937;
    color: #fff;
}
.footer {
    /* background: #1f2937; */
    color: #fff;
    text-align: center;
    /* padding: 1.5rem 0 1rem 0; */
    font-size: 1rem;
    letter-spacing: 0.5px;
    /* border-radius: 0 0 1rem 1rem; */
    /* margin-top: 2rem; */
    /* box-shadow: 0 -2px 16px rgba(17, 24, 39, 0.08); */
}

.footer p {
    margin: 0;
    color: #fff;
    font-size: 1rem;
}

.footer span,
.footer .copyright-emoji {
    color: #f97316;
    font-weight: bold;
    margin-right: 0.25rem;
}
/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #1f2937;
    color: #ffffff;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    transform: translateY(2rem);
    transition: all 0.3s;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.toast-description {
    font-size: 0.875rem;
    color: #d1d5db;
}

/* Animations */
@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(-50%, 0, 0);
    }
    40%, 43% {
        transform: translate3d(-50%, -10px, 0);
    }
    70% {
        transform: translate3d(-50%, -5px, 0);
    }
    90% {
        transform: translate3d(-50%, -2px, 0);
    }
}

/* Responsive Design */
@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    
    .nav-mobile-btn {
        display: none;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-role {
        font-size: 3rem;
    }
    .hero-image {
        display: block;
    }
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .boy{
    width: 5rem;
    height: 5rem;
    background-color: #f97316;
    border-radius: 50%;
    display: inline-block;
}
    .hero-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .hero-role {
        font-size: 4rem;
    }
    
    .hero-image {
        display: block;
        order: 0;
        margin-bottom: 0;
    }
    
    .hero-image-bg {
        width: 20rem;
        height: 20rem;
    }
    
    .hero-img {
        width: 18rem;
        height: 18rem;
    }
    
    .hero-decoration-1 {
        top: -1rem;
        right: -1rem;
        width: 2rem;
        height: 2rem;
    }
    
    .hero-decoration-2 {
        bottom: -1rem;
        left: -1rem;
        width: 1.5rem;
        height: 1.5rem;
    }
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-image {
        display: block;
    }
    
    .project {
        grid-template-columns: 1fr 1fr;
    }
    
    .project-reverse {
        direction: rtl;
    }
    
    .project-reverse > * {
        direction: ltr;
    }
}
