/* Import Poppins font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

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

body {
  font-family: "Poppins", sans-serif;
}

header {
  background-color: White;
  height: 100vh;
}
.navbar-logo img {
  max-width: 100%;
  height: auto;
  padding-top: 50px;
  width: 100px; /* You can adjust the size to your preference */
}

/* Adjust Logo size on different screen sizes */
@media screen and (max-width: 768px) {
  .navbar-logo img {
    width: 100px; /* Smaller logo size for tablets */
  }
}

@media screen and (max-width: 480px) {
  .navbar-logo img {
    width: 100px; /* Even smaller logo size for mobile screens */
  }
}
.container {

  max-width: 1200px;
  width: 90%;
  margin: auto;
}

/* ////........Navbar.......//// */

.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 500;
  background-color: White; /* Add a background color for better visibility */
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  padding: 0 1rem; /* Add padding for spacing */
}

.menu-items {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-items li {
  padding: 1rem;
}

.menu-items a {
  text-decoration: none;
  color: rgb(0, 0, 0);
  font-size: 1.2rem;
  padding: 0.2rem;
}

.menu-items a:hover {
  border-bottom: 2px solid #ff5733 ;
}

/* Logo styles */
.navbar .logo {
  order: 1;
  color: #f0f0e6;
  font-size: 2rem;
}

/* Hamburger menu styles */


/* ////........Home Content........//// */

.home-content .name {
  position: absolute;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ff5733 ;
  width: 100%;
  text-align: center;
}

.home-content .name h1 {
  font-size: 2.2rem;
  text-align: center;
}

.home-content .name p {
  color: rgb(4, 4, 4) ;
  font-size: 1.5rem;
}

.angle-down-icon {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  border: 3px solid #ff5733;
  border-radius: 50%;
}

.angle-down-icon a {
  text-decoration: none;
  color: #ff5733;
  padding: 1rem;
}

/* ////........About Me........//// */

.about-me {
  background-color: #ffffff;
  text-align: center;
  padding: 6rem 0;
}

.about-me .about-heading {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
}

.about-content img {
  height: 200px;
  width: 200px;
  object-fit: cover;
  border-radius: 50%;
}

.about-content p {
  font-size: 1.2rem;
  color: #080707;
  padding: 0 2.3rem;
  text-align: center;
}



.work-arrow a {
  font-size: 1rem;
  text-decoration: none;
  color: #ffffff;
}

.work-arrow-2 {
  margin: 2rem 0;
}

.work-arrow-2 a {
  font-size: 1rem;
  text-decoration: none;
  color: white;
  display: none;
}
.work-arrow-2 :hover{
  color: #18cfa0;
}

/* ////.....Gallery......///// */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 5 images in desktop mode */
  gap: 15px;
}

.gallery img {
  width: 100%;
  height: 200px; /* Universal height for all images */
  object-fit: cover; /* Ensures images fill the space without blank areas */
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr); /* 2 images in mobile view */
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .gallery img {
    border-radius: 5px;
  }
}
.heading {
  text-align: center;
  background-color: White;
  margin-bottom: 20px;
}

.heading h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #ff5733 ;
}





/* ////......Sponsors......///// */
.sponsors {
  display: grid;
  background-color: white;
  grid-template-columns: repeat(4, 1fr); /* 4 sponsors per row by default */
  gap: 20px;
  margin-top: 30px;
  padding: 20px;
}

.sponsor {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sponsor img {
  width: 100%;
  max-width: 150px; /* Standardized logo size */
  height: 100px; /* Fixed height for consistency */
  object-fit: contain; /* Ensures logos fit well */
  border-radius: 10px;
  margin-bottom: 10px;
}

.sponsor-name {
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
  text-transform: uppercase;
  text-align: center;
}

/* Responsive design */
@media (max-width: 768px) {
  .sponsors {
    grid-template-columns: repeat(2, 1fr); /* 2 sponsors per row on tablets */
  }
}

@media (max-width: 480px) {
  .sponsors {
    grid-template-columns: repeat(2, 1fr); /* 2 sponsors per row on mobile */
  }

  .sponsor-name {
    font-size: 0.9rem;
  }
}

h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  text-align: center;
  color: #ff5733;
}

/* ////......Contact......///// */

.contact {
  background: #ffffff;
  position: relative;
  height: 92vh;
}

.contact-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.contact-content h2 {
  font-size: 2.5rem;
  font-weight: 400;
  color: #0b0908;
  padding-bottom: 0.5rem;
}

.contact-content .mail {
  color: #090908;
  padding-bottom: 0.2rem;
  font-size: 1rem;
}

.contact-content .links {
  color: #ff5733;
  padding: 0.5rem;
  padding-bottom: 1.8rem;
  font-size: 1rem;
}

.contact-content a {
  text-decoration: none;
  color: #ff5733;
  padding: 0.5rem;
  transition: 0.3s ease-in-out;
}

.contact-content a:hover {
  color: #d9f99d;
}

#map-location iframe {
  width: 100%;
  height: 400px;
  border: none;
}
h3{
  color: #ff5733;
}
h4{
  color: black;
}

/*////.........footer......./////*/
.footer {
  background-color: #1a1a1a;
  color: white;
  text-align: center;
  padding: 15px 10px;
  font-size: 14px;
  position: relative;
  bottom: 0;
  align-items: center;
  width: 100%;
}

.footer a {
  text-decoration: none;
  color: #ff5733;
  padding: 0.5rem;
  transition: 0.3s ease-in-out;
}
@media (max-width: 480px) {
  .footer {
      font-size: 12px;
      padding: 10px;
  }
}

/* ////......Media query......//// */

@media (max-width: 500px) {
  html {
    font-size: 60%;
  }

  .about-content .left-content {
    flex-basis: 100%;
    text-align: center;
  }

  .about-content .right-content {
    flex-basis: 100%;
  }

  .skills {
    width: 100%;
  }

  .skills-bar .bar .progress-line {
    width: 100%;
  }

  .work-arrow {
    display: none;
  }

  .right-content h1 {
    margin-top: 3.2rem;
  }

  
  .work-arrow-2 a {
    font-size: 1.3rem;
    text-decoration: none;
    color: #ff5733;
    display: block;
    text-align: center;
  }

  .contact-content {
    width: 100%;
  }
}

@media (min-width: 501px) and (max-width: 768px) {
  html {
    font-size: 65%;
  }

  .about-content .left-content {
    flex-basis: 100%;
    text-align: center;
  }

  .about-content .right-content {
    flex-basis: 100%;
  }

  .skills {
    width: 100%;
  }

  .skills-bar .bar .progress-line {
    width: 100%;
  }

  .work-arrow {
    display: none;
  }

  .right-content h1 {
    margin-top: 3.2rem;
  }

  
  .work-arrow-2 a {
    font-size: 1.3rem;
    text-decoration: none;
    color: #ff5733;
    display: block;
    text-align: center;
  }
  work-arrow-2 a :hover{
    color: #d9f99d;
  }
  .contact-content {
    width: 100%;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  html {
    font-size: 70%;
  }

  .about-content .left-content {
    flex-basis: 100%;
    text-align: center;
  }

  .about-content .right-content {
    flex-basis: 100%;
  }


  .work-arrow {
    display: none;
  }

  .left-content h1 {
    margin-top: 3.2rem;
    text-align: center;
  }

  .right-content h1 {
    margin-top: 3.2rem;
    text-align: center;
  }

  .work-arrow-2 a {
    font-size: 1.3rem;
    text-decoration: none;
    color: #ff5733;
    display: block;
    text-align: center;
  }

  .contact-content {
    width: 100%;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .header {
    height: 90vmax;
  }
}