* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}
html{
    scroll-behavior: smooth;
}
main{
    margin-top: 80px;
}
body{
     background: #07142d;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}
.nav_bar{
  height: 85px;
  width: 100%;
  padding: 0 40px;
  display: flex;
  align-items: center;
  background: rgba(15,26,36,0.90);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  box-sizing: border-box;
justify-content: space-between;
  border-bottom: 2px solid #ff8a00;
  box-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

.logo_box{
  display: flex;
  align-items: center;
  height: 100%;
  width: 260px;
}

.nitin_logo{
  height: 156px;
  width: auto;
  object-fit: contain;
transform: scale(1.05);

  filter:
    drop-shadow(0 0 4px rgba(0,102,255,0.2))
    drop-shadow(0 0 6px rgba(255,138,0,0.15));
}
.nitin_logo:hover{
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(255, 138, 0, 0.7));
}

.box_links{
  display: flex;
  align-items: center;
  gap: 65px;
}

.links{
  text-decoration: none;
  color: #E5E7EB;
  font-size: 16px;
  font-weight: 700;
  transition: 0.3s;
}
.links:hover{
  color: #ff8a00;
}
.animation{
    animation-duration: 10s;
}


.hero{
    min-height: 100vh;

    background-image:
    linear-gradient(
    rgba(0,0,0,0.6),
    rgba(0,0,0,0.6)),
    url("bgimage.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;

    padding-left: 10%;
}

.overlay{
    max-width: 700px;
    color: white;
}

.overlay h3{
    font-size: 35px;
}

.overlay h1{
    font-size: 80px;
    margin: 10px 0;
}

.overlay h2{
    font-size: 40px;
    color: #4f7cff;
}

.overlay p{
    font-size: 20px;
    line-height: 1.8;
    margin: 25px 0;
}

.btn{
    display: inline-block;
    padding: 14px 30px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 8px;
}
.btn:hover{
    transform: translateY(-4px);
    background: #1d4ed8;
    box-shadow: 0 0 20px rgba(37,99,235,0.5);
}
.contact_bt{
  margin-left: 30px;
   display: inline-block;
    padding: 14px 30px;
    background: linear-gradient(
        135deg,
        #071326,
        #0a1f44,
        #071326
    );
    color: white;
    border: 1px solid whitesmoke;
    text-decoration: none;
    border-radius: 8px;
}
.contact_bt:hover{
    transform: translateY(-4px);
    background: #03060e;
    box-shadow: 0 0 20px rgba(179, 187, 204, 0.5);
}

/* about part  */
.about-section{
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 80px 10%;
       color: white;
}
.about_image img{
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(37,99,235,0.4);
}

.about-image img,
.about_image img{
  width: 350px;
  height: 450px;
  object-fit: cover;
  border-radius: 10px;
}

.about-content{
  max-width: 700px;
}

.about-content h2{
  font-size: 42px;
  margin-bottom: 25px;
  color: #ede5e5;
 
}
.about-content h2{
    text-align: center;
    display: block;
}

.about-content h2::after{
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: #ff8a00;
    margin: 10px auto 0;
    border-radius: 10px;
    
}
.about-content p{
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 18px;
    color: #cbd5e1;
  text-align: justify;
}
.about-info-cards{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 15px;
    margin-top: 25px;
}

.info-card{
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(59,130,246,0.3);
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    transition: 0.3s ease;
}

.info-card i{
    font-size: 24px;
    color: #ff8a00;
    margin-bottom: 10px;
}

.info-card h3{
    color: white;
    font-size: 15px;
}

.info-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(59,130,246,0.25);
}

/* skills */
.skills-section{
    padding: 50px 10%;
   
    text-align: center;
}

.section-title{
    font-size: 42px;
    margin-bottom: 50px;
    color: #cbd5e1;
     position: relative;
    display: inline-block;
    margin-bottom: 60px;
}
.section-title::after{
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: #ff8a00;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(37,99,235,0.6);
}

.skills-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;

}

.skill-card{
    background: white;
    padding: 20px 40px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.skill-card:hover{
    transform: translateY(-5px);
}
/* ================= SERVICES ================= */

.services-section {
    padding: 100px 7%;
    background: #06132d;
    text-align: center;
}

.section-title h2 {
    font-size: 42px;
    color: #ffffff;
    margin-bottom: 10px;
}

.section-title span {
    display: block;
    width: 85px;
    height: 3px;
    background: #ff9800;
    margin: 0 auto 20px;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto 55px;
    color: #aeb9ce;
    font-size: 16px;
    line-height: 1.7;
}


/* Cards Container */

.services-container {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}


/* Service Card */

.service-card {
    background: #101f3d;
    border: 1px solid rgba(45, 110, 255, 0.25);

    border-radius: 15px;
    padding: 35px 28px;

    text-align: left;

    transition: all 0.3s ease;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-card:hover {
    transform: translateY(-10px);

    border-color: #2670ff;

    box-shadow:
        0 15px 40px rgba(20, 90, 255, 0.2);
}


/* Icon */

.service-icon {
    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(38, 112, 255, 0.12);

    border-radius: 14px;

    font-size: 32px;

    margin-bottom: 25px;
}


/* Heading */

.service-card h3 {
    color: #ffffff;
    font-size: 23px;
    margin-bottom: 15px;
}


/* Description */

.service-card p {
    color: #aeb9ce;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}


/* List */

.service-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 28px;
}

.service-card ul li {
    color: #d3d9e6;

    font-size: 14px;

    margin-bottom: 10px;

    padding-left: 20px;

    position: relative;
}

.service-card ul li::before {
    content: "✓";

    position: absolute;
    left: 0;

    color: #ff9800;
    font-weight: bold;
}


/* Button */

.service-btn {
    display: inline-block;

    padding: 11px 20px;

    background: #2563eb;

    color: #ffffff;

    text-decoration: none;

    border-radius: 7px;

    font-size: 14px;

    transition: 0.3s;
}

.service-btn:hover {
    background: #ff9800;
    color: #ffffff;
}


/* ================= MOBILE ================= */

@media (max-width: 900px) {

    .services-container {
        grid-template-columns: 1fr;
        max-width: 550px;
    }

    .services-section {
        padding: 80px 5%;
    }

    .section-title h2 {
        font-size: 34px;
    }

    .service-card {
        padding: 30px 25px;
    }
}


@media (max-width: 480px) {

    .services-section {
        padding: 65px 20px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .section-title p {
        font-size: 14px;
    }

    .service-card h3 {
        font-size: 20px;
    }
}
/* project */
.project-section{
    padding: 100px 10%;
   
}
.project-title{
    text-align: center;
    padding-bottom: 50px;
}

.project-heading{
    font-size: 50px;
    color: white;
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
   
}

.project-heading::after{
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: #ff8a00;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(37,99,235,0.6);
}


.project-container{
    display: flex;
    align-items: center;
    gap: 60px;
}

.slider{
    flex: 1;
}

.slider img{
    width: 100%;
    max-width: 700px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}
.slider img{
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(37,99,235,0.4);
}

.buttons{
    margin-top: 20px;
    text-align: center;
}

.buttons button{
    padding: 12px 20px;
    font-size: 20px;
    cursor: pointer;
}

.project-content{
    flex: 1;
}

.project-content h3{
    font-size: 35px;
    margin-bottom: 20px;
    color: #cbd5e1;
}

.project-content p{
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #cbd5e1;
}

.project-content li{
    list-style: none;
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 17px;
    color: #cbd5e1;
}

.project-content li::before{
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff8a00;
    font-weight: bold;
}

.project-btn{
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 8px;
}
.project-btn:hover{
    transform: translateY(-4px);
    transition: 0.3s;
}
/* resume */
.resume-section{
    padding: 100px 10%;
    text-align: center;
   
}

.resume-section h2{
    font-size: 50px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.resume-section p{
    font-size: 22px;
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

/* Resume Card */
.resume-card{
    max-width: 850px;
    margin: 0 auto;
    padding: 50px;
    border-radius: 25px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(59,130,246,0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(37,99,235,0.15);
}

.resume-card h3{
    color: #fff;
    font-size: 32px;
    margin-bottom: 25px;
}
.resume-section h2{
    font-size: 65px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}
.resume-section h2::after{
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #ff8a00;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(37,99,235,0.6);
}

.resume-features{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
    margin-bottom: 35px;
}

.resume-features div{
    padding: 15px;
    border-radius: 12px;
    color: #fff;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
}

.resume-btn{
    display: inline-block;
    padding: 16px 40px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 18px;
    transition: 0.3s;
}

.resume-btn:hover{
    transform: translateY(-4px);
    background: #1d4ed8;
    box-shadow: 0 0 20px rgba(37,99,235,0.5);
}
/* contact */
.contact-section{
    padding: 100px 10%;
    text-align: center;
    color: white;
}

.contact-section h2{
    font-size: 50px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}
.contact-section h2::after{
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    background:#ff8a00;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(37,99,235,0.6);
}

.contact-section p{
    font-size: 18px;
    color: #d1d5db;
    margin-bottom: 0;
}

/* ===== INFO CARD (Name / Phone / Email) ===== */
.contact-card{
    max-width: 550px;
    margin: 45px auto 40px;
    padding: 35px 40px;
    border-radius: 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(59,130,246,0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(37,99,235,0.12);
    text-align: left;
}

.contact-row{
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.contact-row:last-child{
    border-bottom: none;
}

.contact-icon{
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 12px;
    background: rgba(255,138,0,0.12);
    border: 1px solid rgba(255,138,0,0.25);
}

.contact-text{
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-label{
    font-size: 13px;
    color: #8ea0bd;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-value{
    font-size: 17px;
    color: #f1f5f9;
    font-weight: 600;
}

/* ===== SOCIAL BUTTONS ===== */
.contact-links{
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-links a{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: white;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s ease;
}

.contact-links a.email{ background: #dc2626; }
.contact-links a.github{ background: #24292e; }
.contact-links a.linkedin{ background: #0077b5; }
.contact-links a.instagram{
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.contact-links a:hover{
    transform: translateY(-5px);
    filter: brightness(1.1);
}

.contact-links a.email:hover{ box-shadow: 0 10px 25px rgba(220,38,38,0.4); }
.contact-links a.github:hover{ box-shadow: 0 10px 25px rgba(0,0,0,0.5); }
.contact-links a.linkedin:hover{ box-shadow: 0 10px 25px rgba(0,119,181,0.4); }
.contact-links a.instagram:hover{ box-shadow: 0 10px 25px rgba(221,42,123,0.4); }

@media (max-width: 600px){
    .contact-card{
        padding: 25px 20px;
        margin: 30px 15px 30px;
    }
    .contact-links{
        flex-direction: column;
        align-items: center;
    }
    .contact-links a{
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}
/* =========================
   MESSAGE SECTION
========================= */

.messagebox-section {
    width: 100%;
    max-width: 700px;
    margin: 80px auto;
    color: white;
}

/* =========================
   HEADING OUTSIDE BOX
========================= */

.messagebox-heading {
    text-align: center;
    margin-bottom: 25px;
}

.messagebox-heading h2 {
     font-size: 50px;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}
.messagebox-heading h2::after{
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    background:#ff8a00;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(37,99,235,0.6);
}

.messagebox-heading p {
    margin: 0;
    color: #b9c4d8;
    font-size: 16px;
}

/* =========================
   FORM BOX
========================= */

.messagebox-form {
    width: 100%;
    padding: 35px;
    background: #101f3d;
    border-radius: 16px;
    box-sizing: border-box;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

/* =========================
   ROW
========================= */

.messagebox-row {
    display: flex;
    gap: 20px;
}

/* =========================
   FIELDS
========================= */

.messagebox-field {
    margin-bottom: 20px;
    flex: 1;
}

.messagebox-field label {
    display: block;
    margin-bottom: 8px;
    color: white;
    font-size: 15px;
    font-weight: 600;
}

.messagebox-field input,
.messagebox-field textarea {
    width: 100%;
    padding: 14px 15px;
    box-sizing: border-box;

    background: #18294a;
    color: white;

    border: 1px solid #34486c;
    border-radius: 8px;

    font-size: 15px;
    outline: none;

    transition: 0.3s;
}

/* Placeholder */

.messagebox-field input::placeholder,
.messagebox-field textarea::placeholder {
    color: #9daac0;
}

/* Focus */

.messagebox-field input:focus,
.messagebox-field textarea:focus {
    border-color: #4d8dff;
    background: #18294a;
}

/* =========================
   FIX CHROME AUTOFILL WHITE BG
========================= */

.messagebox-field input:-webkit-autofill,
.messagebox-field input:-webkit-autofill:hover,
.messagebox-field input:-webkit-autofill:focus,
.messagebox-field textarea:-webkit-autofill,
.messagebox-field textarea:-webkit-autofill:hover,
.messagebox-field textarea:-webkit-autofill:focus {

    -webkit-text-fill-color: white;

    -webkit-box-shadow: 0 0 0px 1000px #18294a inset;

    box-shadow: 0 0 0px 1000px #18294a inset;

    background-color: #18294a !important;

    transition: background-color 5000s ease-in-out 0s;
}

/* =========================
   TEXTAREA
========================= */

.messagebox-field textarea {
    min-height: 130px;
    resize: vertical;
}

/* =========================
   SEND BUTTON
========================= */

.messagebox-button {
    width: 100%;
    padding: 14px 20px;

    border: none;
    border-radius: 8px;

    background: #2563eb;
    color: white;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    transition: all 0.3s ease;
}

/* Hover */

.messagebox-button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

/* Click */

.messagebox-button:active {
    transform: translateY(0);
}

/* Disabled */

.messagebox-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* =========================
   SUCCESS / ERROR MESSAGE
========================= */

.messagebox-alert {
    display: none;
    padding: 12px 15px;
    margin-bottom: 20px;

    border-radius: 8px;
    text-align: center;

    font-size: 14px;
}

.messagebox-alert.success {
    background: #163c30;
    color: #6ee7b7;
}

.messagebox-alert.error {
    background: #451b1b;
    color: #fca5a5;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .messagebox-section {
        margin: 50px 15px;
    }

    .messagebox-heading h2 {
        font-size: 28px;
    }

    .messagebox-heading p {
        font-size: 14px;
    }

    .messagebox-form {
        padding: 25px 20px;
    }

    .messagebox-row {
        flex-direction: column;
        gap: 0;
    }
}


.footer{
    color: burlywood;
}
/* ===== RESPONSIVE CSS ===== */

@media (max-width: 992px){

  .nav_bar{
    height: auto;
    padding: 12px 20px;
    flex-direction: row;
    gap: 10px;
  }

  .nitin_logo{
    height: 100px;
  }

  .box_links{
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
  }

  .links{
    font-size: 14px;
  }

  .hero{
    background-position: center;
  }

  .overlay{
    padding: 150px 30px 80px;
    text-align: center;
  }

  .overlay h1{
    font-size: 48px;
  }

  .overlay h2{
    font-size: 30px;
  }

  .about-section{
    flex-direction: column;
    text-align: center;
    padding: 80px 30px;
  }

  .about_image img{
    width: 320px;
  }

  .about-info-cards{
    grid-template-columns: repeat(2, 1fr);
  }

  .skills-container{
    grid-template-columns: repeat(2, 1fr);
  }

  .project-container{
    flex-direction: column;
    text-align: center;
  }

  .slider img{
    width: 100%;
  }

  .project-content{
    width: 100%;
  }

  .resume-features{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px){

  .nav_bar{
    position: sticky;
    padding: 10px 15px;
  }

  .nitin_logo{
    height: 80px;
  }

  .box_links{
    gap: 14px;
  }

  .links{
    font-size: 12px;
  }

  .overlay h3{
    font-size: 24px;
  }

  .overlay h1{
    font-size: 38px;
  }

  .overlay h2{
    font-size: 24px;
  }

  .overlay p{
    font-size: 15px;
  }

  .btn,
  .contact_bt{
    display: block;
    width: 100%;
    margin: 12px 0;
    text-align: center;
  }

  .about-content h2,
  .section-title,
  .project-heading,
  .resume-section h2,
  .contact-section h2{
    font-size: 38px;
  }
  .project-content p {
    font-size: 25px;

  }
.project-content ul{
  font-size: 20px;
}
  .about_image img{
    width: 100%;
  }

  .about-info-cards,
  .skills-container,
  .resume-features{
    grid-template-columns: 1fr;
  }

  .project-container{
    padding: 20px;
  }

  .resume-card{
    padding: 25px 15px;
  }

  .resume-btn{
    width: 100%;
  }

  .contact-links{
    flex-direction: column;
    gap: 15px;
  }
}