body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background-color: #eceff1;
  color: #263238;
  line-height: 1.6;
  overflow-x: hidden;
}

header {
  background: linear-gradient(45deg, #00bcd4, #263238);
  color: #eceff1;
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: fadeIn 1.2s ease-out;
}

header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(30deg);
  z-index: 1;
}

.logo-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.logo-container img {
  width: 130px;
  height: 130px;
  border-radius: 24px;
  margin-right: 28px;
  border: 4px solid #eceff1;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease;
}

.logo-container img:hover {
  transform: scale(1.2);
}

.logo-text {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -2px;
  text-transform: uppercase;
  animation: slideInRight 0.8s ease-out;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes slideInRight {
  0% { transform: translateX(30px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

nav {
  background-color: #263238;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  padding: 12px 0;
}

.hamburger {
  display: none;
  font-size: 32px;
  cursor: pointer;
  color: #eceff1;
  padding: 16px;
  position: absolute;
  top: 12px;
  left: 12px;
}

#nav-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  animation: fadeInDown 0.8s ease-out;
}

#nav-menu.active {
  display: flex;
  flex-direction: column;
  background-color: #263238;
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  padding: 20px 0;
}

#nav-menu li {
  margin: 0 24px;
}

#nav-menu li a {
  text-decoration: none;
  color: #eceff1;
  font-weight: 700;
  font-size: 16px;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

#nav-menu li a:hover {
  color: #00bcd4;
  background-color: rgba(0, 188, 212, 0.1);
  box-shadow: 0 0 12px rgba(0, 188, 212, 0.6);
}

main {
  padding: 48px 24px;
  max-width: 1500px;
  margin: auto;
}

section {
  margin-bottom: 48px;
  padding: 56px;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  0% { transform: translateY(40px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

#home, #about, #republicday, #contact {
  background: linear-gradient(145deg, #ffffff, #f5f7fa);
}

h2 {
  font-size: 36px;
  font-weight: 900;
  color: #00bcd4;
  margin-bottom: 28px;
  position: relative;
  padding-bottom: 12px;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 5px;
  background-color: #263238;
}

h3 {
  font-size: 22px;
  font-weight: 700;
  color: #263238;
  margin-bottom: 20px;
}

footer {
  background: linear-gradient(135deg, #263238, #00bcd4);
  color: #eceff1;
  text-align: center;
  padding: 72px 24px;
  box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.2);
}

footer .social-icons {
  margin-top: 28px;
}

footer .social-icons a {
  color: #eceff1;
  margin: 0 24px;
  text-decoration: none;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

footer .social-icons a i {
  margin-right: 12px;
  font-size: 1.5em;
}

footer .social-icons a:hover {
  color: #ffffff;
  transform: translateY(-5px);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.officer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 28px;
}

.officer-card {
  background: #ffffff;
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.officer-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 188, 212, 0.3);
}

.officer-card img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 20px;
  border: 3px solid #00bcd4;
  transition: transform 0.4s ease;
}

.officer-card img:hover {
  transform: scale(1.15);
}

.officer-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.officer-card p {
  margin: 6px 0;
  font-size: 15px;
  color: #607d8b;
}

/* Accordion-specific styles */
.accordion-flush {
  max-width: 1500px;
  margin: auto;
  background: transparent;
  border-radius: 20px;
  margin-bottom: 40px;
}

.accordion-flush .accordion-item {
  background: #ffffff;
  border: none;
  margin-bottom: 20px;
  border-radius: 16px;
  overflow: hidden;
}

.accordion-flush .accordion-button {
  font-family: 'Roboto', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #263238;
  background: linear-gradient(145deg, #ffffff, #f5f7fa);
  padding: 24px;
  transition: all 0.3s ease;
}

.accordion-flush .accordion-button:not(.collapsed) {
  color: #00bcd4;
  background: #eceff1;
}

.accordion-flush .accordion-button:focus {
  box-shadow: none;
}

.accordion-flush .accordion-body {
  padding: 28px;
  background: #ffffff;
}

.nested-accordion .accordion-button {
  font-size: 22px;
  padding: 20px 24px;
  color: #263238;
}

.nested-accordion .accordion-button:not(.collapsed) {
  color: #00bcd4;
  background: #f5f7fa;
}

.nested-accordion .accordion-body {
  padding: 24px;
}

/* Republic Day Section */
.republic-day-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.republic-day-column {
  background: #ffffff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}

.republic-day-column:hover {
  transform: translateY(-8px);
}

.tab-container {
  margin-bottom: 24px;
}

.nav-tabs {
  border-bottom: 2px solid #00bcd4;
}

.nav-tabs .nav-link {
  font-size: 16px;
  font-weight: 700;
  color: #263238;
  background: #f5f7fa;
  border: none;
  border-radius: 8px 8px 0 0;
  margin-right: 8px;
  padding: 12px 20px;
  transition: all 0.3s ease;
}

.nav-tabs .nav-link.active {
  color: #00bcd4;
  background: #ffffff;
  border-bottom: 2px solid #00bcd4;
}

.nav-tabs .nav-link:hover {
  color: #00bcd4;
  background: #eceff1;
}

.tab-content iframe {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.photo-grid h4 {
  font-size: 18px;
  font-weight: 700;
  color: #263238;
  margin-bottom: 16px;
}

.photo-grid .photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
}

.photo-grid .photos img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #00bcd4;
  transition: transform 0.4s ease;
}

.photo-grid .photos img:hover {
  transform: scale(1.1);
}

/* Responsive styles */
@media (max-width: 992px) {
  .officer-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  .republic-day-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .logo-container {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .logo-container img {
    width: 110px;
    height: 110px;
    margin-bottom: 20px;
  }
  .logo-text {
    font-size: 40px;
  }
  .hamburger {
    display: block;
  }
  #nav-menu {
    display: none;
  }
  #nav-menu.active {
    display: flex;
  }
  section {
    padding: 40px 20px;
  }
  h2 {
    font-size: 30px;
  }
  h3 {
    font-size: 20px;
  }
  .accordion-flush .accordion-button {
    font-size: 24px;
    padding: 20px;
  }
  .nested-accordion .accordion-button {
    font-size: 20px;
    padding: 16px 20px;
  }
  .officer-card img {
    width: 90px;
    height: 90px;
  }
  .tab-content iframe {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 32px;
  }
  .logo-container img {
    width: 90px;
    height: 90px;
  }
  section {
    padding: 32px 16px;
  }
  .accordion-flush .accordion-button {
    font-size: 22px;
    padding: 16px;
  }
  .nested-accordion .accordion-button {
    font-size: 18px;
    padding: 12px 16px;
  }
  .officer-grid {
    grid-template-columns: 1fr;
  }
  h2 {
    font-size: 26px;
  }
  h3 {
    font-size: 18px;
  }
  footer .social-icons a {
    font-size: 18px;
    margin: 0 16px;
  }
  .tab-content iframe {
    height: 160px;
  }
  .photo-grid .photos img {
    height: 80px;
  }
}