@import url('https://fonts.googleapis.com/css2?family=Comic+Relief:wght@400;700&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

*{
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
    border: none;
    outline: none;
    text-align: center;
}
.header{
    background-color: black;
    color: white;
    margin-bottom: 0;
}
.title{
    font-size: 80px;
    display: block;
}
.div-odd{
    background-color: black;
    color: white;
    height: 90vh;
}
.div-even{
    background-color: white;
    color: black;
    height: 90vh;
}
.img{
    border-radius: 50%;
    width: 200px;
    height: 200px;
}
.inline-block{
    display: inline-block;
}
.name{
    font-size: 60px;
    color: white;
}
.coder{
    font-size: 70px;
    color: white;
}
.btn-box{
    margin-top: 100px;
    color: white;
}
.btn-box :hover{
    font-size: 30px;
}
/* skill box */
.skills-box{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;

}
.skills-box .skills-content{
    flex: 1 1 20rem;
}
.skills-content h3{
    font-size: 1.3rem;
    line-height: 1;
    margin-bottom: .6rem;
}
.skills-content .content{
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}
.skills-content .content span{
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 6rem;
    height: 5rem;
    border: var(--border);
    border-radius: .3rem;
    font-weight: 600;
    transition: .3 ease;
}
.skills-content .content span:hover{
    box-shadow: var(--box-shadow);
}
.skills-content .content span i{
    color: var(--main-color);
    font-size: 3rem;
}
.skill-header{
    width: 32vw;
    display: inline-block;
}
.skill-bar{
    height: 5px;
}
/* my services */
.services-box{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}
.services-box .services-content{
    flex: 1 1 10rem ;
    border-radius: .5rem;
    padding: .8rem .5rem 1.1rem;
}
.services-content i{
    font-size: 2.5rem;
}
.frame{
    width: 120vh;
    height: 60vh;
}
.services-content{
    height: 60vh;
}
.services{
    border: 10px;
    box-shadow: 10px;
    background-color: gray;
    height: 60vh;
    border-radius: 10px;
}
.services-content :hover{
    margin-top: -10px;
}
.services i{
    font-size: 70px;
}
.services h3{
    font-size: 50px;
}
.services p{
    font-size: 20px;
}
.progress-bar{
}
.bar1{
    display: inline-block;
    width: 40vw;
    border-radius: 10px;
}
/* aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa */
:root {
        --primary-color: #0a0a0a;
        --secondary-color: #f8f8f8;
        --accent-color: #ff3366;
        --text-color: #333333;
        --light-gray: #e0e0e0;
        --medium-gray: #a0a0a0;
      }
      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }
      body {
        font-family: "Montserrat", sans-serif;
        color: var(--text-color);
        line-height: 1.6;
        background-color: var(--secondary-color);
        overflow-x: hidden;
      }
      /* Navigation */
      .navbar {
        background-color: transparent;
        padding: 1.5rem 0;
        position: absolute;
        width: 100%;
        z-index: 1000;
        transition: background-color 0.3s ease;
      }
      .navbar.scrolled {
        background-color: var(--primary-color);
        position: fixed;
        padding: 1rem 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      }
      .navbar-brand {
        color: var(--secondary-color) !important;
        font-weight: 700;
        font-size: 1.8rem;
        letter-spacing: 1px;
      }
      .navbar-nav .nav-link {
        color: var(--secondary-color) !important;
        font-weight: 500;
        margin: 0 1rem;
        font-size: 0.9rem;
        letter-spacing: 0.5px;
        position: relative;
        transition: color 0.3s ease;
      }
      .navbar-nav .nav-link::after {
        content: "";
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background-color: red;
        transition: width 0.3s ease;
      }
      .navbar-nav .nav-link:hover::after,
      .navbar-nav .nav-link.active::after {
        width: 100%;
      }
      .navbar-nav .nav-link:hover {
        color: red !important;
      }
      /* Hero Section */
      .hero-section {
        background-color: var(--primary-color);
        color: var(--secondary-color);
        min-height: 100vh;
        display: flex;
        align-items: center;
        position: relative;
        overflow: hidden;
      }

      .hero-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
          135deg,
          rgba(10, 10, 10, 0.9) 0%,
          rgba(30, 30, 30, 0.8) 100%
        );
        z-index: 1;
      }

      .hero-content {
        position: relative;
        z-index: 2;
        padding: 8rem 0 4rem;
      }

      .hero-name {
        font-size: 5rem;
        font-weight: 700;
        line-height: 1;
        margin-bottom: 0.5rem;
        letter-spacing: -1px;
      }

      .hero-subtitle {
        font-size: 1.8rem;
        font-weight: 300;
        margin-bottom: 2rem;
        color: var(--medium-gray);
      }

      .hero-age {
        font-size: 1.5rem;
        color: var(--accent-color);
        margin-bottom: 2rem;
        font-weight: 600;
      }

      .hero-cta {
        display: inline-block;
        padding: 0.8rem 2.5rem;
        background-color: var(--accent-color);
        color: white;
        text-decoration: none;
        border-radius: 30px;
        font-weight: 600;
        transition: all 0.3s ease;
        border: 2px solid var(--accent-color);
      }

      .hero-cta:hover {
        background-color: transparent;
        color: var(--accent-color);
      }

      /* Section Styling */
      .section {
        padding: 6rem 0;
      }

      .section-title {
        font-size: 2.8rem;
        font-weight: 700;
        margin-bottom: 3rem;
        position: relative;
        display: inline-block;
        letter-spacing: -0.5px;
      }

      .section-title::after {
        content: "";
        position: absolute;
        bottom: -15px;
        left: 0;
        width: 70px;
        height: 4px;
        background-color: red;
      }

      /* What We Do Section */
      .what-we-do {
        background-color: var(--secondary-color);
      }

      .service-card {
        background-color: white;
        border-radius: 12px;
        padding: 2.5rem 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        transition: all 0.4s ease;
        height: 100%;
        border: 1px solid rgba(0, 0, 0, 0.03);
        position: relative;
        overflow: hidden;
      }

      .service-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background-color: var(--accent-color);
        transform: scaleX(0);
        transition: transform 0.4s ease;
      }

      .service-card:hover::before {
        transform: scaleX(1);
      }

      .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
      }

      .service-icon {
        font-size: 3rem;
        color: var(--accent-color);
        margin-bottom: 1.5rem;
      }

      .service-title {
        font-size: 1.6rem;
        font-weight: 600;
        margin-bottom: 1.2rem;
      }

      .service-description {
        color: var(--medium-gray);
        line-height: 1.7;
      }

      /* Skills Section */
      .skills-section {
        background-color: var(--primary-color);
        color: var(--secondary-color);
      }

      .skills-section .section-title {
        color: var(--secondary-color);
      }

      .skill-category {
        margin-bottom: 3rem;
      }

      .skill-category-title {
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
        color: var(--accent-color);
      }

      .skill-item {
        margin-bottom: 1.5rem;
      }

      .skill-header {
        display: flex;
        justify-content: space-between;
        margin-bottom: 0.5rem;
      }

      .skill-name {
        font-weight: 500;
      }

      .skill-percentage {
        font-weight: 600;
        color: red;
      }

      .skill-bar {
        height: 8px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
        overflow: hidden;
      }

      .skill-progress {
        height: 100%;
        background-color: red;
        border-radius: 4px;
        width: 0;
        transition: width 1.5s ease-in-out;
      }

      /* Creative Works Section */
      .creative-works {
        background-color: var(--primary-color);
        color: var(--secondary-color);
      }

      .creative-works .section-title {
        color: var(--secondary-color);
      }

      .work-slider {
        position: relative;
        overflow: hidden;
        border-radius: 15px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
      }

      .slider-container {
        display: flex;
        transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      }

      .slide {
        min-width: 100%;
        height: 550px;
        background-size: cover;
        background-position: center;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .slide-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
        color: white;
        padding: 2.5rem;
      }

      .slide-title {
        font-size: 2rem;
        font-weight: 600;
        margin-bottom: 0.8rem;
      }

      .slide-category {
        color: red;
        font-weight: 500;
        margin-bottom: 1rem;
        display: block;
      }

      .slider-controls {
        position: absolute;
        bottom: 25px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 12px;
        z-index: 10;
      }

      .slider-dot {
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.4);
        cursor: pointer;
        transition: all 0.3s ease;
      }

      .slider-dot.active {
        background-color: white;
        transform: scale(1.2);
      }

      .slider-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(255, 255, 255, 0.9);
        width: 55px;
        height: 55px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 10;
        color: var(--primary-color);
        font-size: 1.2rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      }

      .slider-arrow:hover {
        background-color: white;
        transform: translateY(-50%) scale(1.1);
      }

      .slider-arrow.prev {
        left: 25px;
      }

      .slider-arrow.next {
        right: 25px;
      }

      /* Contact Section */
      .contact-section {
        background-color: var(--secondary-color);
      }

      .contact-header {
        margin-bottom: 3rem;
      }

      .contact-subtitle {
        font-size: 1.2rem;
        color: var(--medium-gray);
        margin-bottom: 1rem;
      }

      /* Personal Info Section */
      .personal-info {
        background-color: white;
        border-radius: 15px;
        padding: 3rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        margin-bottom: 3rem;
      }

      .personal-info-title {
        font-size: 1.8rem;
        font-weight: 600;
        margin-bottom: 2rem;
        color: var(--primary-color);
        position: relative;
        display: inline-block;
      }

      .personal-info-title::after {
        content: "";
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 50px;
        height: 3px;
        background-color: red;
      }

      .info-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
      }

      .info-item {
        display: flex;
        align-items: flex-start;
        margin-bottom: 1.5rem;
      }

      .info-icon {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-color: rgba(255, 0, 0, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 1.2rem;
        flex-shrink: 0;
        color: red;
        font-size: 1.2rem;
      }

      .info-content h5 {
        font-weight: 600;
        margin-bottom: 0.3rem;
        font-size: 1rem;
      }

      .info-content p {
        color: red;
        margin-bottom: 0;
        word-break: break-word;
        overflow-wrap: break-word;
      }

      .education-item {
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
      }

      .education-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
      }

      .education-degree {
        font-weight: 600;
        margin-bottom: 0.3rem;
        color: var(--primary-color);
      }

      .education-school {
        color: var(--accent-color);
        margin-bottom: 0.3rem;
        font-weight: 500;
      }

      .education-year {
        color: var(--medium-gray);
        font-size: 0.9rem;
      }

      .contact-form {
        background-color: white;
        padding: 3rem;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
      }

      .form-control {
        background-color: rgba(248, 248, 248, 0.8);
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 8px;
        color: var(--text-color);
        padding: 0.9rem 1.2rem;
        margin-bottom: 1.5rem;
        font-size: 0.95rem;
        transition: all 0.3s ease;
      }

      .form-control:focus {
        background-color: white;
        color: var(--text-color);
        box-shadow: 0 0 0 3px rgba(255, 51, 102, 0.2);
        border-color: var(--accent-color);
      }

      .form-control::placeholder {
        color: var(--medium-gray);
      }

      textarea.form-control {
        min-height: 150px;
        resize: vertical;
      }

      .btn-submit {
        background-color: var(--accent-color);
        border: none;
        padding: 0.9rem 2.5rem;
        border-radius: 30px;
        font-weight: 600;
        transition: all 0.3s ease;
        color: white;
        font-size: 1rem;
        letter-spacing: 0.5px;
      }

      .btn-submit:hover {
        background-color: #ff1a52;
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(255, 51, 102, 0.3);
      }

      /* Industry Section */
      .industry-section {
        background-color: var(--primary-color);
        color: var(--secondary-color);
        padding: 6rem 0;
      }

      .industry-section .section-title {
        color: var(--secondary-color);
        margin-bottom: 1rem;
      }

      .industry-subtitle {
        font-size: 1.3rem;
        color: var(--medium-gray);
        margin-bottom: 3rem;
        max-width: 600px;
      }

      .journey-container {
        position: relative;
        margin-top: 4rem;
      }

      .journey-line {
        position: absolute;
        top: 40px;
        left: 0;
        right: 0;
        height: 2px;
        background-color: rgba(255, 255, 255, 0.2);
        z-index: 1;
      }

      .journey-steps {
        display: flex;
        justify-content: space-between;
        position: relative;
        z-index: 2;
      }

      .journey-step {
        text-align: center;
        position: relative;
        flex: 1;
        padding: 0 1rem;
      }

      .step-number {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background-color: var(--accent-color);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        font-weight: 700;
        margin: 0 auto 1.5rem;
        position: relative;
        z-index: 3;
        box-shadow: 0 10px 20px rgba(255, 51, 102, 0.3);
      }

      .step-title {
        font-weight: 600;
        margin-bottom: 1rem;
        font-size: 1.2rem;
      }

      .step-description {
        color: var(--medium-gray);
        font-size: 0.95rem;
        line-height: 1.6;
      }

      /* Footer */
      footer {
        background-color: var(--primary-color);
        color: var(--secondary-color);
        padding: 4rem 0 2rem;
      }

      .footer-content {
        text-align: center;
        margin-bottom: 3rem;
      }

      .footer-logo {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        letter-spacing: 1px;
      }

      .social-links {
        display: flex;
        justify-content: center;
        gap: 1.2rem;
        margin-bottom: 2rem;
      }

      .social-link {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.08);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--secondary-color);
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 1.1rem;
      }

      .social-link:hover {
        background-color: red;
        color: white;
        transform: translateY(-5px);
      }

      .copyright {
        color: var(--medium-gray);
        font-size: 0.9rem;
        text-align: center;
        padding-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
      }

      /* Dropdown Menu */
      .dropdown-menu {
        background-color: var(--primary-color);
        border: none;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        padding: 0.5rem 0;
      }

      .dropdown-item {
        color: var(--secondary-color);
        padding: 0.7rem 1.5rem;
        transition: all 0.3s ease;
        font-weight: 500;
      }

      .dropdown-item:hover {
        background-color: rgba(255, 51, 102, 0.1);
        color: var(--accent-color);
      }

      /* Responsive adjustments */
      @media (max-width: 1200px) {
        .hero-name {
          font-size: 4.5rem;
        }
      }

      @media (max-width: 992px) {
        .hero-name {
          font-size: 3.5rem;
        }

        .section-title {
          font-size: 2.3rem;
        }

        .journey-steps {
          flex-direction: column;
          gap: 3rem;
        }

        .journey-line {
          display: none;
        }

        .slide {
          height: 450px;
        }

        .hero-content {
          padding: 6rem 0 2rem;
        }
      }

      @media (max-width: 768px) {
        .hero-name {
          font-size: 2.8rem;
        }

        .hero-subtitle {
          font-size: 1.4rem;
        }

        .section {
          padding: 4rem 0;
        }

        .service-card {
          padding: 2rem 1.5rem;
        }

        .contact-form,
        .personal-info {
          padding: 2rem;
        }

        .slider-arrow {
          width: 45px;
          height: 45px;
          font-size: 1rem;
        }

        .info-grid {
          grid-template-columns: 1fr;
        }

        .slide-content {
          padding: 1.5rem;
        }

        .slide-title {
          font-size: 1.6rem;
        }

        .hero-cta {
          padding: 0.7rem 2rem;
          font-size: 0.95rem;
        }
        
        /* Improved contact section responsiveness */
        .info-item {
          flex-direction: column;
          text-align: center;
          align-items: center;
        }
        
        .info-icon {
          margin-right: 0;
          margin-bottom: 0.8rem;
        }
        
        .info-content h5, 
        .info-content p {
          text-align: center;
        }
        
        .info-content p {
          font-size: 0.9rem;
        }
      }

      @media (max-width: 576px) {
        .hero-name {
          font-size: 2.2rem;
        }

        .hero-subtitle {
          font-size: 1.2rem;
        }

        .hero-age {
          font-size: 1.2rem;
        }

        .section-title {
          font-size: 1.9rem;
        }

        .section {
          padding: 3rem 0;
        }

        .service-card {
          padding: 1.5rem;
        }

        .service-title {
          font-size: 1.4rem;
        }

        .service-icon {
          font-size: 2.5rem;
        }

        .personal-info,
        .contact-form {
          padding: 1.5rem;
          border-radius: 10px;
        }

        .slider-arrow {
          width: 40px;
          height: 40px;
          font-size: 0.9rem;
        }

        .slider-arrow.prev {
          left: 10px;
        }

        .slider-arrow.next {
          right: 10px;
        }

        .slide {
          height: 350px;
        }

        .slide-content {
          padding: 1.2rem;
        }

        .slide-title {
          font-size: 1.4rem;
        }

        .skill-category-title {
          font-size: 1.3rem;
        }

        .navbar-nav .nav-link {
          margin: 0.5rem 0;
          text-align: center;
        }

        .hero-content {
          padding: 5rem 0 1.5rem;
        }

        .form-control {
          padding: 0.8rem 1rem;
        }

        .btn-submit {
          padding: 0.8rem 2rem;
          width: 100%;
        }
        
        /* Further improved contact section for very small screens */
        .info-grid {
          grid-template-columns: 1fr;
          gap: 1rem;
        }
        
        .info-item {
          margin-bottom: 1.2rem;
          padding: 0.8rem;
          border-radius: 8px;
          background-color: rgba(248, 248, 248, 0.5);
        }
        
        .info-icon {
          width: 40px;
          height: 40px;
          font-size: 1rem;
        }
        
        .info-content h5 {
          font-size: 0.95rem;
          margin-bottom: 0.2rem;
        }
        
        .info-content p {
          font-size: 0.85rem;
          line-height: 1.4;
        }
        
        .personal-info-title {
          font-size: 1.5rem;
        }
        
        .education-degree {
          font-size: 0.95rem;
        }
        
        .education-school {
          font-size: 0.9rem;
        }
        
        .education-year {
          font-size: 0.85rem;
        }
      }

      @media (max-width: 400px) {
        .hero-name {
          font-size: 1.8rem;
        }

        .hero-subtitle {
          font-size: 1rem;
        }

        .section-title {
          font-size: 1.7rem;
        }

        .slide {
          height: 300px;
        }

        .social-link {
          width: 40px;
          height: 40px;
          font-size: 1rem;
        }
        
        /* Extra small screen adjustments */
        .personal-info {
          padding: 1rem;
        }
        
        .info-item {
          padding: 0.6rem;
        }
        
        .info-icon {
          width: 35px;
          height: 35px;
          font-size: 0.9rem;
        }
        
        .info-content h5 {
          font-size: 0.9rem;
        }
        
        .info-content p {
          font-size: 0.8rem;
        }
        
        .personal-info-title {
          font-size: 1.4rem;
        }
      }

      /* Fix for mobile navigation */
      .navbar-collapse {
        background-color: var(--primary-color);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
      }

      /* Ensure proper spacing on all devices */
      .container {
        padding-left: 15px;
        padding-right: 15px;
      }

      /* Improve touch targets for mobile */
      .nav-link, .hero-cta, .slider-arrow, .slider-dot, .social-link, .btn-submit {
        touch-action: manipulation;
      }

      /* Prevent horizontal scrolling */
      html, body {
        max-width: 100%;
        overflow-x: hidden;
      }

      /* Improve readability on small devices */
      @media (max-width: 768px) {
        body {
          font-size: 0.95rem;
        }
        
        .service-description, .skill-name, .info-content p {
          font-size: 0.9rem;
        }
      }
      .btn{
        background-color: red;
        border-radius: 100px;
      }