*{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    box-sizing: border-box;

}

/* certificates sections */



#certificates {
    padding: 50px 0;
    background: #000;
  }

  #certificates .container {
    position: relative;
    overflow: hidden;
  }

  #certificates h1 {
    
    margin-bottom: 30px;
  }

  #certificates .certificates-list {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    white-space: nowrap;
    padding-bottom: 10px;
  }
  /* Hide scrollbar */
#certificates .certificates-list::-webkit-scrollbar {
    height: 12px; /* For horizontal scrollbar */
    background: transparent; /* Hide the scrollbar track */
  }

  #certificates .certificates-list img {
    height: 300px;
    margin-right: 15px;
    cursor: pointer;
    transition: transform 0.3s;
    
  }

  #certificates .certificates-list img:hover {
    transform: scale(1.05);
  }
  /* #certificates .certificates-list::-webkit-scrollbar-thumb {
    background: #ccc; 
    border-radius: 6px;
  } */

  /* Modal styles */
#certificate-modal {
  position: fixed;
  display: none;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.9);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  flex-direction: row;
}

#certificate-modal img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}

.arrow-btn {
  position: absolute;
  top: 50%;
  font-size: 40px;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 10px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  z-index: 10000;
}

.left-arrow {
  left: 40px;
}

.right-arrow {
  right: 40px;
}




/* end certificates sections */








html{
    scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Adjust based on your navbar height */
}
body{
    background: #000000;
    color: white;
}
#header{
    width: 100%;
    height: 100vh;
    background-image: url(./images/BG6.png);
    background-size: cover;
    background-position: center;
}
#header nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 12px 40px; /* Top-bottom: 12px | Left-right: 40px */
  background-color: #111;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}


/* Optional: prevent content from hiding behind the fixed header */
#header .container {
  padding-top: 80px; /* adjust based on header height */
}

.container{
    padding: 10px 10%;
}
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.logo{
    width: 140px;

}
nav ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}
nav ul li a{
    color: white;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}
nav ul li a::after{
    content:'';
    width: 0;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: .5s;
}
nav ul li a:hover::after{
    width:100%;
}
.header-text {
    margin-top: 15%;
    font-size: 30px;
}



.header-text h1{
    font-size: 60px;
    margin-top: 20px;
}
.header-text h1 span{
color: #ff004f;
}


/* about */

#about{
    padding: 80px 0;
    color: #ababab ;
}
.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1{
    flex-basis: 35%;
}
.about-col-1 img{
    width: 100%;
    border-radius: 15px;
}
.about-col-2{
    flex-basis: 60%;
}
.sub-title{
    font-size: 40px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}
.tab-titles{
    display: flex;
    margin: 20px 0 40px;
}
.tab-links{
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}
.tab-links::after{
    content: '';
    width: 0;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: .5s;
}
.tab-links.active-link::after{
    width: 50%;
}
.tab-contents ul li{
    list-style: none;
    margin: 10px 0;
    
}
.tab-contents ul li span{
    color: #b54769;
    font-size: 14px;
}
.tab-contents{
    display: none;
    

}
.tab-contents.active-tab{
    display: block;
}

/* services */
#services{
    padding: 30px 0;
}
.services-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap:40px;
    margin-top: 50px;
}
.services-list div{
    background: #262626;
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s ;
}
.services-list div i{
    font-size: 50px;
    margin-bottom: 30px;
}
.services-list div h2{
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
}
.services-list div a{
    text-decoration: none;
    color: white;
    font-size: 12px;
    margin-top: 20px;
    display: inline-block;
}
.services-list div:hover{
    background: #ff004f;
    transform: translateY(-10px)
}
.services-list div p{
    line-height: 1.5;
}

.card .description {
    max-height: 3em;
    overflow: hidden;
    margin-bottom: 10px;
    transition: .5s;
  }
  
  .read-more-btn {
    display: inline-block;
    background-color: #a80000;
    color: #333;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 5px;
    border: #000 2px;
    font-weight: bold;
    cursor: pointer;
    transition: .5s;
  }
  
  .read-more-btn:hover {
    background-color: #000000;
  }
  

/* protofolie */
#portfolio{
    padding: 50px 0;
}
.work-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap:40px;
    margin-top: 50px;

}
.work{
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}
.work img{
    width: 100%;
    border-radius: 10px;
    display:block;
    transition: transform 0.5s;
}
.layer{
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0,0,0,0.6), #ff004f);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    transition: height 0.5s;
}
.layer h3{
    font-weight: 500;
    margin-bottom: 20px;
}
.layer a{
    margin-top: 20px;
    color: #ff004f;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
}
.work:hover img{
    transform: scale(1.1);;
}
.work:hover .layer{
    height: 100%;
}
.btn{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #ff004f;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    transition: background 0.5s;
}

.btn:hover{
    background: #ff004f;
    
}

   .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
  }

  .project-card {
    background-color: #111;
    color: #eee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 24px rgba(255, 76, 76, 0.4);
  }

  .project-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
  }

  .project-content {
    padding: 1.2rem;
  }

  .project-title {
    font-size: 1.3rem;
    color: #ff4c4c;
    margin-bottom: 0.6rem;
  }

  .project-description {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
  }

  .project-tech {
    margin: 1rem 0;
  }

  .tech-tag {
    display: inline-block;
    background-color: #ff4c4c;
    color: white;
    padding: 0.35rem 0.7rem;
    margin: 0.3rem 0.3rem 0 0;
    border-radius: 16px;
    font-size: 0.75rem;
  }

  .project-content p {
    margin: 0.4rem 0;
  }

  .btn.btn-primary,
  .btn.btn-outline {
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    display: inline-block;
  }

  .btn.btn-primary {
    background-color: #ff4c4c;
    color: white;
  }

  .btn.btn-outline {
    background-color: transparent;
    border: 1px solid #ff4c4c;
    color: #ff4c4c;
  }



/* certifications */

.cert-container {
  max-width: 1400px; /* Match your site's section width */
  margin: 0 auto;     /* Center horizontally */
  padding: 50px 20px; /* Same horizontal padding as other sections */
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
}




.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #fff;
  position: relative;
  font-weight: bold;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cert-grid {
    grid-template-columns: 1fr;
  }
}

.cert-box {
  position: relative;
  background: #2d2d2d;
  padding: 25px 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-box::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 6px;
  height: 100%;
  background: #e53835;
  transition: width 0.3s ease;
}

.cert-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.cert-box:hover::before {
  width: 100%;
  background: linear-gradient(to right, #e53935, #ff1744);
  opacity: 0.12;
}

.cert-info {
  position: relative;
  z-index: 2;
}

.cert-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.4;
}

.cert-org {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 10px;
}

.cert-date {
  font-size: 0.9rem;
  color: #aaa;
}

/* end of certifications */

/* contact */
.loader {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #ffffff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  animation: spin 1s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.contact-left{
    flex-basis: 35%;
}

.contact-right{
    flex-basis: 60%;
}
.contact-left p{
    margin-top: 30px;
}
.contact-left p i{
    color: #ff004f;
    margin-top: 15px;
    font-size: 25px; 
}
.social-icons{
    margin-top: 30px;
}
.social-icons a{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #ababab;
    display: inline-block;
    transition: transform 0.5s;
}
.social-icons a:hover{
    color: #ff004f;
    transform: translateY(-5px);
}
.btn.btn2{
    display: inline-block;
    background: #ff004f;
}
.contact-right form{
    width: 100%;
}
form input , form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background: #262626;
    padding: 15px;
    margin: 15px 0;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
}
form .btn2{
    padding: 14px 16px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
}
.copyright{
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: #262626;
    font-weight: 300;
    margin-top: 20px;
}
.copyright i{
    color: #ff004f;
}

/* css for small screen */
nav .fas{
    display: none;
}


@media only screen and (max-width: 600px){
    #header{
        background-image: url(images/phone-background.jpg);
    }
    .header-text{
        margin-top: 50%;
        font-size: 16px;
    }
    .header-text h1{
        font-size: 30px;
        
    }
    .header-text h1 span{
        color: rgb(255, 0, 0);
    }
    nav .fas{
        display: block;
        font-size: 25px;
    }
    nav ul{
        background: #ff004f;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: right 0.5s;
    }
    nav ul li{
        display: block;
        margin: 25px;

    }
    nav ul .fas{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }
    .sub-title{
        font-size: 40px;
    }
    .about-col-1, .about-col-2{
        flex-basis: 100%;
    }
    .about-col-1{
        margin-bottom: 30px;
    }
    .about-col-2{
        font-size: 14px;
    }
    .tab-links{
        font-size: 16px;
        margin-right: 20px;
    }
    .contact-left, .contact-right{
        flex-basis: 100%;
    }
    .copyright{
        font-size: 14px;
    }
}

#msg{
    color: #61b752;
    margin-top: -40px;
    display: block;
}

@keyframes colorChange {
    0% {
      color: rgb(255, 0, 0); /* Initial color */
    }
    50% {
      color: rgb(255, 255, 255); /* Intermediate color */
    }
    100% {
      color: rgb(255, 0, 0); /* Final color */
    }
  }


#haritext{
    animation-name: colorChange;
  animation-duration: 3s; 
  animation-iteration-count: infinite; 
}

#india{
    background: linear-gradient(orange, white, green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
  }

/* about css */
.profile-image {
  width: 100%;
  max-width: 480px; /* Controls the maximum size */
  height: auto;
  border-radius: 10px; /* Optional rounded corners */
  display: block;
  margin: 0 auto; /* Center it horizontally */
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    background: #000;
    padding: 20px;
    border-radius: 10px;
    color: #fff;
  }

  .skill-category {
    flex: 1 1 300px;
  }

  .skill-category h4 {
    margin-bottom: 15px;
    color: #ff4c4c;
  }

  .skill-item {
    margin-bottom: 20px;
  }

  .skill-item span {
    display: block;
    margin-bottom: 5px;
  }

  .skill-bar {
    width: 100%;
    height: 8px;
    background-color: #333;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
  }

  .skill-bar::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: red;
    width: 0;
    transition: width 2s ease;
  }

  .edu-block {
    background: #f3f3f3;
    padding: 15px;
    margin: 15px 0;
    border-left: 5px solid #00c3ff;
    border-radius: 8px;
  }
.tab-contents#education {
    background-color: #000;
    padding: 25px;
    border-radius: 10px;
    color: #fff;
  }

  .edu-block {
    margin-bottom: 25px;
    padding: 15px 20px;
    border-left: 5px solid red;
    background-color: #111;
    border-radius: 8px;
    transition: transform 0.3s ease;
  }

  .edu-block h4 {
    color: #fff;
    margin-bottom: 10px;
  }

  .edu-block p {
    margin: 0;
    line-height: 1.6;
    font-size: 15px;
  }

  .edu-block .highlight {
    color: #ff3c3c;
  }

  .edu-block:hover {
    transform: scale(1.02);
  }

  /* experience section */

#experience-section {
  background-color: #111;
  padding: 60px 20px;
  color: #fff;
}

.section-title {
  text-align: center;
  color: #ff3c3c;
  font-size: 2.5rem;
  margin-bottom: 50px;
  font-weight: 700;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.experience-card {
  background: #1a1a1a;
  border-left: 5px solid #ff3c3c;
  padding: 25px 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 60, 60, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 60, 60, 0.2);
}

.experience-header {
  margin-bottom: 15px;
}

.experience-title {
  font-size: 1.2rem;
  color: #fff;
  font-weight: 600;
}

.experience-company {
  color: #ff3c3c;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 5px;
}

.experience-date {
  font-size: 0.9rem;
  color: #aaa;
  margin-top: 4px;
}

.experience-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 10px;
  color: #eee;
}
