* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

:root {
    --bg: #0f0f12;
    --text: #f0f0f0;
    --accent-1: #00ff9d;
    --accent-2: #ff2a6d;
    --accent-3: #3a86ff;
}

body {
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin:0 auto;
    padding: 20px 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    height: 70px;
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 70px;
    height: 100%;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 16px;
}

nav a:hover {
    color: var(--accent-1);
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 0;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 20px;
    line-height: 1.2;
}

.span {
    color: var(--accent-1);
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
}

.buttons {
    margin-top: 2rem;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background: var(--accent-1);
    color: var(--bg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 px 15px rgba(0, 255, 157, 0.3);
}

.btn-secondary {
    border: 2px solid var(--accent-1);
    color: var(--accent-1);
}

.btn-secondary:hover {
    background: var(--accent-1);
    color: var(--bg);
}

.profile-wrapper {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(45deg, #00ff9d, #ff2a6d, #3a86ff, #00ff9d);
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.5);
    animation: rotate-border 4s linear infinite;
}

.profile-wrapper:hover {
    animation-play-state: paused;
}

.profile-pic {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

h2,h3,h4 {
    color: var(--accent-1);
    margin-bottom: 10px;
}

.statement {
    max-width: 800px;
    padding: 20px 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.statement h2 {
    font-size: 3rem;
}

.statement h3 {
    font-size: 2.2rem;
}

.interests {
    margin-top: 30px;
    width: 100%;
}

.interests h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.interest-boxes {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 10px;
}

.box {
    background: #1e1e24;
    padding: 12px 24px;
    border-radius: 8px;
    border: 1px solid var(--accent-1);
    color: var(--text);
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.box:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(58, 134, 255, 0.3);
    background: var(--accent-3);
}

.edu-exp {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.education, .experience {
    flex: 1;
}

.entry-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 255, 157, 0.1);
}


.entry-box {
    background: #1e1e24;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 3px solid #00ff9d;
}

.cv {
    background: var(--accent-1);
    color: var(--bg);
}

.cv:hover {
    transform: translateY(-3px);
    box-shadow: 0 px 15px rgba(0, 255, 157, 0.3);
}

.skills {
    max-width: 1400px;
    margin-top: 40px;
    text-align: center;
}

.skill-title {
    font-size: 2.2rem;
    color: var(--accent-1);
    margin-bottom: 50px;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.skill-column {
    flex: 1 1 48%;
}

.skill-group {
    margin-bottom: 40px;
}

.skill-group h4 {
    font-size: 1.4rem;
    color: var(--accent-1);
    margin-bottom: 20px;
}

.skill-con {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.skill-item {
    width: 110px;
    height: 110px;
    background: rgba (255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 0 15px rgba(0, 255, 153, 0.3);
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 255, 153, 0.5);
}

.circle {
    text-align: center;
}

.circle .percent {
    font-size: 1.1rem;
    color: var(--accent-1);
    font-weight: bold;
}

.circle span:last-child {
    display: block;
    font-size: 0.9rem;
    margin-top: 5px;
}

.services {
    padding: 3rem 2rem;
}

.title {
    text-align: center;
    color: var(--accent-1);
    font-size: 3rem;
    margin-bottom: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #1e1e24;
    border-radius: 10px;
    padding: 2rem;
    border-left: 3px solid #3a86ff;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 255, 157, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-3);
}

.service-card h3 {
    color: var(--accent-1);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    line-height: 1.6;
    color: var(--text);
}

.works {
    padding: 3rem 2rem;
    background: #0f0f12;
    color: #f0f0f0;
}

.work-title {
    text-align: center;
    color: var(--accent-1);
    font-size: 3rem;
    margin-bottom: 2rem;
}

.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    background: #1e1e24;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(58, 134, 255, 0.2);
}

.project-image {
    height: 200px;
    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.05);
}

.project-details {
    padding: 1.5rem;
}

.project-details h3 {
    color: var(--text);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.project-description {
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.project-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-skills span {
    background: rgba(58, 134, 255, 0.2);
    color: #3a86ff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.link-button {
    background: var(--accent-1);
    color: var(--bg);
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.link-button:hover {
    background: var(--bg);
    color: var(--accent-1);
    outline: 1px solid #00ff9d;
}

.link-button.secondary {
    background: transparent;
    color: #3a86ff;
    outline: 1px solid #3a86ff;
}

.link-button.secondary:hover {
    background: rgba(58, 134, 255, 0.1);
}

.testimonials {
    padding: 3rem 10rem;
    
}

.test-title {
    text-align: center;
    color: var(--accent-1);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.testimonials-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fe));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-card {
    background: #1e1e24;
    border-radius: 10px;
    padding: 1.5rem;
    border-top: 3px solid #3a86ff;
    transition: transform 0.3s ease;
}

.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.client-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-1);
}

.client-info p {
    color: #d1d1d1;
    margin: 0;
    font-size: 0.8rem;
}

.client-info h3 {
    color: var(--text);
    margin: 0;
    font-size: 1.1rem;
}

.rating {
    font-size: 1.1rem;
}

.testimonials-text {
    color: #d1d1d1;
    line-height: 1.6;
    font-style: italic;
    position: relative;
    padding-left: 1rem;
    border-left: 2px solid var(--accent-3);
}

.contact {
    padding: 1rem rem;
    color: var(--text);
}

.contact-title {
    text-align: center;
    color: var(--accent-1);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.contact-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 0 2rem;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.contact-form, .contact-info {
    background: #1e1e24;
    border-radius: 10px;
    padding: 2rem;
    border-top: 3px solid var(--accent-3);
}



.contact-form h3, .contact-info h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    background: #2d2d36;
    border: 1px solid var(--accent-3);
    border-radius: 5px;
    color: var(--text);
    font-family: inherit;
}

input::placeholder, textarea::placeholder {
    color: #888;
}

textarea {
    resize: vertical;
}

.submit-btn {
    background: var(--accent-1);
    color: var(--bg);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--bg);
    color: var(--accent-1);
    outline: 1px solid var(--accent-1);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--accent-3);
    width: 24px;
}

.contact-text h4 {
    color: var(--text);
    margin: 0 0 0.3rem 0;
    font-size: 1.1rem;
}

.contact-text a, .contact-text p {
    color: #d1d1d1;
    margin: 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--accent-3);
}

.social-links h4 {
    color: var(--text);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.social-links {
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.social-links h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--accent-3);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: var(--text);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    fill: var(--accent-3);
}

.social-icons a:hover {
    color: var(--accent-3);
}

.site-footer {
  background: #0a0a0c;
  color: var(--text);
  padding: 3rem 2rem 1rem;
  border-top: 1px solid #2d2d36;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col {
  padding: 0 1rem;
}

.footer-logo {
  color: var(--text);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.footer-logo span {
  color: var(--accent-1);
}

.copyright {
  color: #888;
  font-size: 0.9rem;
}

.footer-col h4 {
  color: var(--accent-1);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--accent-3);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-3);
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.social-links a {
  color: var(--text);
  font-size: 1.3rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--accent-3);
}

.footer-email {
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.footer-email:hover {
  color: var(--accent-1);
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #2d2d36;
  color: #888;
  font-size: 0.9rem;
}

@keyframes rotate-border {
    to {transform: rotate(360deg);}
}


@media (max-width: 600px) {
    header nav {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        padding: 0;
    }
    
    nav ul li {
        margin: 0;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
        gap: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .btn {
        padding: 0.8rem 1.2rem;
        font-size: 1rem;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    header nav {
        justify-content: space-between;
        gap: 2rem;
    }

    nav ul {
        gap: 1rem;
    }

    .hero {
        flex-direction: column;
        padding: 3rem 2rem;
        gap: 2rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }
}


@media (min-width: 901px) {
    header nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 3rem;
    }

    nav ul {
        display: flex;
        gap: 2rem;
    }

    .hero {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 5rem 3rem;
        gap: 4rem;
        text-align: left;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }
}



@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 901px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}


@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 901px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}


@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }

    .testimonials {
        padding: 3rem 4rem;
    }
}



@media (max-width: 991px) {
    header {
        flex-direction: column;
        gap: 20px;
    }
  
    .hero {
        flex-direction: column;
        text-align: center;
    }
  
    .profile-wrapper {
        margin-top: 40px;
    }
  
    .edu-exp {
        flex-direction: column;
    }
  
    .contact-box {
        grid-template-columns: 1fr;
    }

    .testimonials {
        padding: 3rem 2rem;
    }
}



@media (max-width: 767px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-box {
        grid-template-columns: 1fr;
    }
  
    .testimonials-card:hover {
        transform: none;
        box-shadow: none;
    }
  
    .project-card:hover {
        transform: none;
    }
}


@media (max-width: 575px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
  
    .hero h1 {
        font-size: 2rem;
    }
  
    .profile-wrapper {
        width: 280px;
        height: 280px;
    }
  
    .services-grid,
    .projects {
        grid-template-columns: 1fr;
    }
  
    .interest-boxes {
        flex-direction: column;
    }
  
    .box {
        width: 100%;
        text-align: center;
    }
  
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
  
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .testimonials {
        padding: 2rem 1rem;
    }
}


@media (pointer: coarse) {
    .btn,
    .link-button {
        min-height: 48px;
    }
  
    .service-card:active,
    .project-card:active {
        transform: translateY(-3px) scale(0.98);
    }
}


@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}


@media (hover: hover) {
    .service-card:hover,
    .project-card:hover {
        transform: translateY(-5px);
    }
}


@media (max-width: 600px) {
    .testimonial-cards {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .testimonial-card {
        padding: 1rem;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .testimonial-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 901px) {
    .testimonial-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .contact-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .contact-info, .contact-form {
        width: 80%;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .contact-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
}

@media (min-width: 901px) {
    .contact-content {
        flex-direction: row;
        gap: 4rem;
    }
}
