
html {
scroll-behavior: smooth;
}
body {
  margin: 0;font-family: 'Raleway', sans-serif;
   color: white;
}
               
.section-1 .background {
  background-image: url('https://img.freepik.com/free-vector/grey-hexagons-black-background_78370-2098.jpg'); 
  background-position: center;
  background-size: cover;
  height: 100vh;  
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
}
            
.section-1 h1 {
  font-size: clamp(2rem, 5vw, 3rem); 
}


.content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
}

.content p {
  font-size: 1.2rem;
  font-weight: 400;
  margin: 10px 0 30px;
}
            
/* Nav bar */

.nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}
            
.nav a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  position: relative;
}
            
.nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s;
}
            
.nav a:hover::after {
  width: 100%;
}
            
/* Social Icons */

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}
            
.social-icons a {
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
}
            
.social-icons a:hover {
 color: #00aaff;
}

.section-1{

 height: 900px;
}
              
/*  SECTION 1 styling */ 

.section-1 {
    text-align: center;
    color: white;

  }
  
  .section-1 h1 {
    font-size: 3rem; 
    margin-bottom: 10px;
  }
  
  .section-1 p {
    font-size: 1.2rem; 
    margin-bottom: 20px;
  }
  
  .section-1 .social-icons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
  }
  
  .section-1 .social-icons a {
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .section-1 .social-icons a:hover {
    color: #888; 
  }
  
  
  @media (max-width: 768px) {
    .section-1 h1 {
      font-size: 2rem; 
    }
  
    .section-1 p {
      font-size: 1rem;
    }
  
    .section-1 .social-icons {
      flex-direction: column; 
      gap: 15px;
    }
  }
.content .social-icons {
    margin-top: 20px; 
    display: flex;
    justify-content: center;
    gap: 15px; 
  }
  
  .content .social-icons a img {
    width: 32px; 
    height: 32px;
    transition: transform 0.3s ease; 
  }
  
  .content .social-icons a img:hover {
    transform: scale(1.2); 
  }
  

  /* Section 2 Styling */

  .section-2 {
    background-color: #d3d6db;
    padding: 60px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    height: 800px;
}

.section-2 .container {
  max-width: 1200px; 
  margin: 0 auto; 
  display: flex;
  
  flex-wrap: wrap; 
}

.section-2 .content {
  display: flex;
  gap: 30px;
  align-items: center;
}

.section-2 .text {
    flex: 1;
    min-width: 800px;
}

.section-2 h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.section-2 p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

.section-2 .buttons {
    display: flex;
    gap: 20px;
}

.section-2 .btn {
    padding: 10px 20px;
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    background-color: #007bff;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.section-2 .btn:hover {
    background-color: #0056b3;
}

.section-2 .btn-secondary {
    background-color: #6c757d;
}

.section-2 .btn-secondary:hover {
    background-color: #5a6268;
}

.section-2 .image {
  flex: 1; 
  padding: 30px;
}

.section-2 .image img {
  max-width: 400px; 
  height: auto; 
  border-radius: 10px; 
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
}


/* Queries for Smaller screen*/
@media (max-width: 768px) {
    .section-2 {
        padding: 40px 20px; 
        height: auto; 
    }

    .section-2 .content {
        flex-direction: column; 
        gap: 20px; 
    }

    .section-2 .text {
        text-align: center; 
    }

    .section-2 h2 {
        font-size: 2rem; 
    }

    .section-2 p {
        font-size: 1rem; 
    }

    .section-2 .buttons {
        flex-direction: column; 
        gap: 10px;
        align-items: center; 
    }
    .section-2 .image {
      max-width: 100%; 
      width: 400px;    
      height: auto;    
      border-radius: 10px; 
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
  }
}

@media (max-width: 480px) {
    .section-2 h2 {
        font-size: 1.8rem;
    }

    .section-2 p {
        font-size: 0.9rem; 
    }

    .section-2 .btn {
        font-size: 0.9rem; 
        padding: 8px 15px; 
    }
}

  


  /* SECTION 3!!!!!*/ 

.section-3 {
    background-color: #d3d6db; 
    padding: 60px 20px;
    text-align: center;
  }
  
  .section-3 h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 30px;
  }
  
  .section-3 .content {
    display: flex;
    justify-content: space-between;
    gap: 40px; 
    flex-wrap: wrap; 
  }
  
  .section-3 .work-experience, 
  .section-3 .projects {
    width: 48%; 
    text-align: left;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out; 
  }
  
  .section-3 .work-experience h3,
  .section-3 .projects h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
  }
  
  .section-3 .experience-item, 
  .section-3 .project-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .section-3 .experience-item h4,
  .section-3 .project-item h4 {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 10px;
  }
  
  .section-3 .experience-item p,
  .section-3 .project-item p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
  }
  
  .section-3 .experience-item p strong,
  .section-3 .project-item p strong {
    color: #333; 
  }
  
  
  @keyframes fadeIn {
    0% { opacity: 0; transform: translateY(50px); }
    100% { opacity: 1; transform: translateY(0); }
  }
  
  @media (max-width: 768px) {
    .section-3 .content {
      flex-direction: column;
      align-items: center; 
    }
  
    .section-3 .work-experience,
    .section-3 .projects {
      width: 100%;
    }
  }
  .btn3 {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    color: white;
    background-color: #007bff;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  .btn3:hover {
    background-color: #0056b3;
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
  }

.work-experience .experience-item, 
.projects .project-item {
    transition: all 0.3s ease; 
    padding: 20px;
    background-color: #f9f9f9; 
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    margin-bottom: 20px;
    cursor: pointer; 
}
  .underline-title {
    position: relative;
    display: inline-block;
    font-size: 2.5rem;
    margin-bottom: 40px;
  }
  
  .underline-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    height: 3px;
    width: 0;
    background-color: #333; 
    transition: width 1s ease; 
  }
  
  .underline-title.in-view::after {
    width: 100%; 
  }
  
  /* Icon Styling */
  .work-experience h3 i, .projects h3 i {
    color: #333; 
    margin-right: 8px;
  }
  
  .experience-item h4 i, .project-item h4 i {
    color: #333; 
    margin-right: 8px;
  }

/* Project Item */
.project-item {
    position: relative;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
  }
  
  
  .project-content {
    display: flex;
    gap: 15px;
    align-items: center;
  }
  
  .project-content img {
    width: 80px; 
    height: 80px;
    object-fit: cover; 
    border-radius: 10px; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  
  .project-description {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    color: #333;
    font-size: 1.1rem;
    margin-top: 10px;
  }
  
  
  .project-item:hover .project-description {
    max-height: 150px; 
    opacity: 1;
  }
  
.btn3 {
    display: inline-block;
    padding: 10px 20px;
    font-size: .9rem;
    font-weight: bold;
    text-align: center;
    color: white;
    background-color: #333; 
    border: none;
    border-radius: 5px;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  .btn3:hover {
    background-color: #0056b3; 
    transform: translateY(-2px); 
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
  }
  
  .btn3:active {
    background-color: #004085; 
    transform: translateY(0); 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
/* SECTION 4!!!!!!*/


.contact-section {
    background-color: #d3d6db; 
    color: #333;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
    font-family: 'Raleway', sans-serif;
  }
  
  .contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  
  .contact-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #333;
  }
  
  
  .contact-info {
    display: flex;
    justify-content: center; 
    align-items: center; 
    gap: 30px; 
    text-align: center;
    width: 100%;
  }
  
  .contact-item {
    background-color: #ffffff; 
    padding: 20px;
    border: 2px solid #555;
    border-radius: 8px;
    width: 250px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .contact-item i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #007bff; 
  }
  
  .contact-item p {
    font-size: 1.1rem;
    color: #333; 
  }
  
  .contact-item a {
    color: #007bff; 
    text-decoration: none;
  }
  
  .contact-item a:hover {
    text-decoration: underline; 
  }
  
  
  .contact-item:hover {
    transform: translateY(-5px); 
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  }
  
 
body {
    opacity: 0; 
    transition: opacity 1.5s ease-in-out;
  }
  
  
  body.page-loaded {
    opacity: 1; 
  }
  
  
  .section-1, .section-2, .section-3, .section-4 {
    opacity: 0; 
    transform: translateY(50px); 
    transition: opacity 1s ease, transform 1s ease;
  }
  
  body.page-loaded .section-1, 
  body.page-loaded .section-2, 
  body.page-loaded .section-3, 
  body.page-loaded .section-4 {
    opacity: 1; 
    transform: translateY(0); 
  }
 
  .contact-section .contact-line {
    width: 0;
    height: 3px;
    background: #333;
    margin-bottom: 20px;
    animation: line-expand 1.5s ease-out forwards;
}

.scroll-down {
  position: absolute;
  bottom: 20px; 
  color: white;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
}

.scroll-down i {
  display: block;
  font-size: 1.5rem;
  margin-top: 5px; 
}

@media (max-height: 750px) {
  .scroll-down {
    bottom: 10px; 
  }
}

.contact-section {
  text-align: center;
  margin: 50px auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  width: 80%;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}


.contact-line {
  height: 4px;
  width: 60px;
  background-color: #333;
  margin: 10px auto;
  border-radius: 2px;
}


.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.contact-item {
  width: 250px;
  text-align: left;
  background: #ffffff;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
  transform: scale(1.05);
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
}

.contact-item i {
  font-size: 24px;
  color: #333;
  margin-right: 10px;
}


.transition-line {
  width: 80%;
  height: 3px;
  background-color: #333;
  margin: 40px auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.9s ease-out;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}


.contact-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 250px; 
  height: 150px; 
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  margin: 10px;
}

.contact-item {
  display: flex;
  justify-content: center;
  gap: 20px; 
}
