* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  background-color: #f4fefe;
  color: #222;
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: "Montserrat", sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.section {
  padding: 2rem 0;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #00796b;
}

/* === NAVBAR STYLES === */
nav {
  background-color: #004d40;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px #053832;
  position: sticky;
  top: 0;
  z-index: 2;
}

nav .logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #80cbc4;
  letter-spacing: 2px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #b1f1ea;
}

/* === FOOTER STYLES === */
footer {
  background-color: #004d40;
  color: #ffffff;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
  font-size: 0.9rem;
  border-top: 1px solid #00695c;
}

footer .footer-logo {
  color: #80cbc4;
  font-weight: bold;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  display: block;
}

footer p {
  margin: 0.5rem 0;
  color: #fff;
}

/* === BUTTONS === */
.btns {
  background-color: #00796b;
  color: #fff;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  margin: 0.5rem;
  border-radius: 5px;
  transition: background 0.3s;
  display: inline-block;
  z-index: 2;
}

.btns:hover {
  background-color: #004d40;
}

.btn-outline {
  background: transparent;
  border: 2px solid #00796b;
  color: #ffffff;
  z-index: 2;
}

.btn-outline:hover {
  background-color: #00796b;
  color: white;
}

.btn-small {
  background-color: #00796b;
  color: #fff;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 5px;
}

/* === HERO SECTION === */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  text-align: center;
  color: white;
  opacity: 1;
}

#heroVideo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.7);
}
.project {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#projectvideo {
  width: 90%;
  height: 90%;

  border-radius: 20px;
}
.hero-content {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* === ICON LINKS === */
.icon-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.icon-links a {
  text-decoration: none;
  color: #00796b;
  font-weight: 600;
}

.icon-links i {
  margin-right: 0.5rem;
}

/* === GRID SECTIONS === */
.project-grid,
.training-grid,
.certification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.project-card,
.training-card,
.pdf-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 1rem;
  text-align: center;
}

.project-card img,
.training-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.project-card h3,
.training-card h3,
.pdf-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: #00796b;
}
.pdf-card iframe {
  width: 100%;
  height: 30vh; /* Responsive height */
  border: none;
}

@media (max-width: 768px) {
  .pdf-card iframe {
    height: 400px; /* Slightly taller preview for phones */
  }
}

/* === VIDEO WRAPPER === */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

/* === CONTACT SECTION === */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.contact-form {
  flex: 1 1 48%;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: "Open Sans";
}

.contact-info {
  flex: 1 1 48%;
  background: #e0f2f1;
  padding: 1.5rem;
  border-radius: 10px;
}

.contact-info p,a {
  margin: 1rem 0;
  color:#053832;
  text-decoration: none;

}

/* === SCROLL TO TOP BUTTON === */
#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #00796b;
  color: white;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
}

#scrollTopBtn:hover {
  background-color: #004d40;
}

.gallery-section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3; /* Ensures same visible shape */
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}
