/* General Styles */
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f6f8;
  color: #333;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}
/* Header */
.header {
  background-image: url("h.png");
  color: white;
  padding: 40px;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  filter: brightness(100%); /* 100% = normal, lower = darker */
}

/* Overlay to darken the background image */
.header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* Ensures content stays above the overlay */
.header > * {
  position: relative;
  z-index: 2;
}

/* Central section containing logo, company name and tagline */
.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

/* Logo styling */
.logo img {
  height: 60px;
  margin-bottom: 60px;
}

/* Company name styling */
.company-name {
  text-align: center;
  font-size:30px;
}

.company-name h1 {
  color:yellow;
  font-family: 'Times New Roman', Times, serif;
  margin: 0;
  text-align: center;
}

.tagline {
  color:lavenderblush;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin-top: 5px;
  font-size:23px;
}

/* Navigation styling */
.nav {
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav a {
  color:aliceblue;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 20px;
}

.nav a:hover {
  background:black;
  color: teal;
}


/* Hero Slider */
.hero-slider {
  background: #f8f8f8;
  overflow: hidden;
  padding: 30px 0;
}

.slider {
  display: flex;
  justify-content: center; /* centers the slider-track inside slider */
  align-items: center;
}

.slider-track {
  display: flex;
  gap: 20px; /* optional */
}


.slider-track img {
  width: 300px;
  height: 500px;
  margin-right: 20px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}


/* About Section */
.about {
  padding: 50px 20px;
  background: peachpuff;
  text-align: center;
}

.about h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: black;
}

.about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.6;
}

/* Chairman Section */
.chairman {
  background: #f1f1f1;
  padding: 50px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.chairman-photo {
  max-width: 200px;
  border-radius: 8px;
}

.chairman-message {
  max-width: 600px;
}

/* Footer */
.footer {
  background-color: lightskyblue;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 14px;
  
}

.footer p {
  font-weight: 600;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande',
    'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 15px;
  }
.quick-links {
  background: #f8fafc;
  padding: 30px 0;
}

.quick-links-container {
  max-width: 1000px;
  margin: auto;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.quick-links a {
  background: #ffffff;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  color: #2c3e50;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.quick-links a:hover {
  transform: translateY(-3px);
  background: #2c3e50;
  color: #fff;
}

/* === ADDITIONAL RESPONSIVE STYLES (Do NOT remove existing styles) === */

/* For very small screens (phones) */
@media (max-width: 380px) {
  .company-name h1 {
    font-size: 22px;
  }

  .tagline {
    font-size: 14px;
  }

  .nav {
    flex-direction: column;
    gap: 5px;
  }

  .nav a {
    font-size: 16px;
    padding: 4px 6px;
  }

  .logo img {
    height: 45px;
  }

  .about p,
  .chairman-message p {
    font-size: 16px;
  }

  .footer p {
    font-size: 12px;
  }
}

/* Make research-collaboration section responsive */
@media (max-width: 768px) {
  .research-collaboration {
    flex-direction: column;
    align-items: center;
  }

  .text-side,
  .images-side {
    max-width: 100%;
  }

  .images-side {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .images-side img {
    max-width: 45%;
    margin: 5px;
  }
}
/* Phones */
@media (max-width: 600px) {
  /* phone styles here */
}

/* Tablets */
@media (min-width: 601px) and (max-width: 900px) {
  /* tablet styles here */
}

/* Desktops */
@media (min-width: 900px) {
  /* desktop styles here */
}
