/* Reset and Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}



/* Reset and Global Styles */
:root {
  --background-color: #f5f5f5;
  --text-color: #333;
  --button-bg-color: #007aff;
  --button-text-color: #fff;
  --link-color: #007aff;
  --link-hover-color: rgb(0, 0, 0);
  --shadow-color: #0000001a;
}

/* Light Mode Styles */
body.light-mode {
  background-color: var(--background-color);
  color: var(--text-color);
}

.light-mode .btn {
  background-color: var(--button-bg-color);
  color: var(--button-text-color);
  display: inline-block;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.light-mode .btn:hover {
  
  box-shadow: 0 0px 25px  #007bff;
}

.light-mode header {
  background-color: #fff;
  box-shadow: 0 1px 3px var(--shadow-color);
}

.light-mode nav a {
  color: var(--link-color);
}

.light-mode #contact .contact-us {
  background-color: #fff;
  box-shadow: 0 1px 3px var(--shadow-color);
}

.light-mode #contact .contact-us h2 {
  color: var(--text-color);
}

.light-mode #contact .contact-us p {
  color: #666;
}

.light-mode #contact .contact-us a {
  color: var(--link-color);
}

.light-mode footer {
  background-color: var(--background-color);
  color: var(--text-color);
}


/* Dark Mode Styles */
body.dark-mode {
  background-color: #000000;
  color: #f5f5f7;
}

.dark-mode .btn {
  background-color: var(--button-bg-color);
  color: var(--button-text-color);
  display: inline-block;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.dark-mode .btn:hover {
  background-color: var(--link-hover-color);
  box-shadow: 0 0px 25px  #007bff;
  
}

.dark-mode header {
  background-color: #000000;
  box-shadow: 0 0.5px 3px #007bffd8;
}

.dark-mode nav a {
  color: #f5f5f7;
}

.dark-mode #contact .contact-us {
  background-color: #000000;
  box-shadow: 0 2px 100px  #007bff6c;
}

.dark-mode #contact .contact-us h2 {
  color: #f5f5f7;
}

.dark-mode #contact .contact-us p {
  color: #d1d1d6;
}

.dark-mode #contact .contact-us a {
  color: #0a84ff;
}

.dark-mode footer {
  background-color: #000000;
  color: #f5f5f7;
}


/* Header Styles */
header {
  padding: 20px;
  position: sticky;
  top: 0;
  z-index: 1;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

nav a {
  text-decoration: none;
  padding: 10px 10px;
  transition: color 0.3s ease;
  position: relative;
}

nav a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #007aff;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

nav a:hover::before {
  transform: scaleX(1);
}

/* Hero Section Styles */
#hero {
  background-size: cover;
  background-position: center;
  height:45vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  animation: heroAnimation 1s ease-in-out;
}
@keyframes heroAnimation {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px; /* Adjust the color and size of the glow as needed */
}


.hero-content p {
  font-size: 24px;
  margin-bottom: 40px;
  text-shadow: 0 0 0.5px #007aff;

}

/* About Section Styles */
#about {
  padding: 10px 20px;
}

#about h2{
  text-align: center;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.about-content img {
  max-width: 150px;
  border-radius: 50%;
  margin-right: 2%;
  box-shadow: 0 2px 100px  #007bff6c;
  animation: slideInLeft 1s ease;
}



.about-text {
  max-width: 600px;
  text-align: justify;
  animation: slideInRight 1s ease;
}
@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
/* Projects Section */
#projects {
  padding: 40px 20px;
  text-align: center;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 40px;
  margin-top: 40px;
}

.project {
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 100px  #007bff6c;
  transition: transform 0.3s ease;
}

.project:hover {
  transform: translateY(-5px);
}

.project img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

/* Contact Section */
#contact {
  padding: 10px 1px;
  text-align: center;
}

#contact .contact-us {
  border-radius: 10px;
  padding: 20px;
}

#contact .contact-us ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#contact .contact-us .contact-icons {
  list-style-type: none;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

#contact .contact-us .contact-icons li {
  margin-right: 20px;
}

#contact .contact-us img {
  width: 24px;
  height: 24px;
  margin-right: 5px;
  vertical-align: middle;
}

#contact .contact-us a:hover {
  text-decoration: underline;
}


.footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 200px; /* Fixed height for the footer */
  background-color: #1c1c1e;
  text-align: center;
}
.footer h2 {
  margin-bottom: 20px;
  font-size: 24px;
  
}
.footer .icons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}
.footer .icons a {
  color: #808080;
  text-decoration: none;
  font-size: 24px;
  margin: 0 10px;
  transition: color 0.3s, text-shadow 0.3s;
}
.footer .icons a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px #ffffffcc;
}

.light-mode .footer .icons a{
  color: #1c1c1e;
}

.light-mode .footer .icons a:hover{
  color: #ffffff;
  text-shadow: 0 0 10px #000000;
}

.light-mode .footer p{
  color: #1c1c1e;
}

.copy{
  color: #007aff;
  font-family: monospace;
  font-size: 12px;
  font-weight: 100;
}

.light-mode #videos h2  {
  color: var(--text-color);
  font-size:24px;
}
#videos h2{
  padding-bottom: 10px;
}



/* Video Section */
#videos {
  padding: 20px 40px;
  text-align: center;
  background-color: #f9f9f9; /* Adjust the background color as needed */
}

#videos h2 {
  margin-bottom: 30px;
  font-size: 2em;
  color:  #f9f9f9; /* Use the text color variable */
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  justify-items: center;
}

.video {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 500px; /* Adjust as necessary to fit your design */
  margin: 0 auto;
  box-shadow: 0 4px 8px var(--shadow-color); /* Use the shadow color variable */
  background-color: #fff;
  box-shadow: 0 2px 100px  #007bff6c;
  padding: 16px;
  border-radius: 8px;
}

.video h3 {
  margin-top: 10px;
  font-size: 1.2em;
  color: var(--text-color); /* Use the text color variable */
}

.video iframe {
  width: 100%;
  height: 220px; /* Adjust the height as needed */
  border: none;
  border-radius: 8px;
}

/* Dark Mode Video Section */
body.dark-mode #videos {
  background-color: #000000; /* Adjust the background color for dark mode */
}

body.dark-mode .video {
  background-color: #000000;
  box-shadow: 0 2px 100px  #007bff6c;
  /* box-shadow: 0 4px 8px var(--shadow-color); */
}

body.dark-mode .video h3 {
  color: #f5f5f7; /* Use a lighter color for text in dark mode */
}

body.dark-mode .video iframe {
  border-color: #2c2c2e; /* Match the iframe border color to the dark mode background */
}


/* Styles for screens smaller than 768px (typical mobile devices) */
@media only screen and (max-width: 767px) {
  /* Your CSS rules specific to mobile devices go here */
  

  .footer h2 {
      margin-bottom: 10px;
      font-size: 20px;
  }
  .footer p {
    margin-bottom: 5px;
    font-size: 12px;

}
.footer .icons {
  margin-bottom: 20px;
}
.copy{
  font-size: 8px;
  margin-left: 10px;
  margin-right: 10px;
}

}

