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

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

/* navbar */
.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    background-color: #111;
    z-index: 1000;
    padding: 12px 20px;
}

main, section:first-of-type {
  margin-top: 70px; /* adjust depending on navbar height */
}

.navbar .logo{
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar .nav-links{
    display: flex;
    gap: 1.8rem;
    list-style: none;
}

.navbar .nav-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.navbar .nav-links a:hover {
  color: #00bcd4;
}

/* Hero Section */
.hero{
    background: #00bcd4;
    color: #fff;
    padding: 4.6rem 2rem;
    text-align: center;
}

.hero h1{
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p{
    font-size: 1.12rem;
    margin-bottom: 2rem;
    font-style: italic;
    margin: 5px 0;
    color: #000000;
    text-align: left;
}

.btn{
    display: inline-block;
    background: #fff;
    color: #00bcd4;
    padding: 0.6rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transform: 0.3s;
}

.btn:hover{
    background: #e0fae6;
}


/* Section Headings */
section{
    padding: 4rem 2rem;
}

section h2{
    text-align: center;
    margin-bottom: 1rem;
    color: #00bcd4;
}

/* Experience Section */
.experience {
  padding: 4rem 2rem;
  background: linear-gradient(to right, #f1f1f1, #e9f7ff);
}

.experience h2 {
  text-align: center;
  color: #00bcd4;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  font-weight: bold;
}

.job {
  background: #ffffff;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 188, 212, 0.1);
  transition: transform 0.3s ease;
}

.job:hover {
  transform: translateY(-5px);
}

.job h3 {
  color: #019ab0;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.job p {
  font-size: 0.95rem;
  margin: 0.4rem 0;
  color: #333;
}

.job ul {
  margin-top: 0.8rem;
  padding-left: 1.2rem;
}

.job ul li {
  margin-bottom: 0.6rem;
  line-height: 1.6;
  color: #444;
}



/* Projects */
.project{
    background: #fff;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #00bcd4;
    border-radius: 5px ;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.project h3{
    margin-bottom: 0.5rem;
}

.project a{
    color: #00bcd4;
    text-decoration: none ;
    margin-right: 1rem;
}

.project a:hover {
    text-decoration: underline;
}


/* Resume Section */
.resume{
    padding: 4rem 2rem;
    background-color: #f1f1f1;
}

.resume h2{
    text-align: center;
    color:#00bcd4;
    margin-bottom: 2rem;
}

.resume .resume-links{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.2rem;
}

.resume .resume-links a{
    background-color:#00bcd4;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.resume .resume-links a:hover {
    background:#019ab0;
}

/* Certificate Section */
.Certificate {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);   
  color: #fff;
}

.Certificate h2 {
  text-align: center;
  color: #fff;
  margin-bottom: 4rem;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.Certificate h2::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: white;
  margin: 1rem auto;
  border-radius: 2px;
}

.Certificate-item {
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2rem 1.5rem;
  transition: all 0.4s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.Certificate-item:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  background: rgba(255, 255, 255, 0.15);
}

.Certificate-item p {
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.Certificate-item img {
  max-height: 48vh;          
  width: 100%;
  object-fit: contain;
  background: #fff;
  padding: 12px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  transition: transform 0.5s ease;
}

.Certificate-item:hover img {
  transform: scale(1.04);
}

.btn-group {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.button-link {
  background: #ffffff;
  color: #006b7a;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.button-link:hover {
  background: #e0f7fa;
  color: #00bcd4;
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

.Certificate-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 3rem 2.5rem;
  justify-items: center;
}


/* Contact */

.contact p{
    text-align: center;
    margin-bottom: 1rem;
}

.contact a{
    color: #00bcd4;
    text-decoration:none ;
}

.contact a:hover{
    text-decoration: underline;
}


/* Footer */
footer{
    text-align: center  ;
    padding: 1.2rem;
    background: #222;
    color: #ccc;
    font-size: 0.9rem;
}

.contact{
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;

}

.last-message{
  padding: 1.5rem 1rem;
  margin-bottom: 0;
  
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar .nav-links {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  section {
    padding: 3rem 1rem;
  }
  .Certificate-grid {
    grid-template-columns: 1fr;
  }
}


