* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* PREVENT HORIZONTAL SCROLL */
html,
body {
  overflow-x: hidden;
  width: 100%;
}

/* TOP BAR */
.top-bar {
  background: #8a2be2;
  color: #fff;
  padding: 8px;
  font-size: 14px;
}

/* ===== NOTICE BAR ===== */
.notice-bar {
  background: #a53293;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
  position: relative;
}

.scroll-text {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 12s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.new-badge {
  background: red;
  color: #fff;
  padding: 3px 8px;
  margin-right: 10px;
  border-radius: 5px;
  font-size: 12px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.notice-bar:hover .scroll-text {
  animation-play-state: paused;
}

/* ===== HEADER ===== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 40px;
  background: #fff;
  position: relative;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-section img {
  width: 70px;
  height: auto;
}

.company-text h1 {
  color: #c0392b;
  font-size: 26px;
  line-height: 1.2;
}

.company-text p {
  color: #555;
}

.contact-icons {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-icons span {
  color: #333;
  font-size: 14px;
}

.social i {
  margin-left: 10px;
  background: #c0392b;
  color: #fff;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.social i:hover {
  background: #a0291e;
}

/* ===== HAMBURGER ===== */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #c0392b;
  background: none;
  border: none;
  padding: 5px 10px;
  z-index: 1100;
}

/* ===== NAVBAR ===== */
.navbar {
  background: linear-gradient(to right, #001f8f, #00c6ff);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar ul {
  display: flex;
  justify-content: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar ul li {
  cursor: pointer;
}

.navbar ul li a {
  display: block;
  padding: 12px 18px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.2s;
}

.navbar ul li a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: rgb(230, 223, 190);
}

/* ===== LINKS ===== */
a:link,
a:visited,
a:active {
  color: #fff;
  text-decoration: none;
}
a:hover {
  color: rgb(230, 223, 190);
}

/* ===== SLIDER ===== */
.slider {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: 0.5s ease-in-out;
  height: 100%;
}

.slide {
  min-width: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
}

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  padding: 20px 40px;
  border-radius: 10px;
}

.overlay h2 {
  font-size: 32px;
  margin-bottom: 10px;
}
.overlay p {
  font-size: 18px;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 22px;
  border-radius: 50%;
  z-index: 10;
  transition: background 0.2s;
}

.prev {
  left: 20px;
}
.next {
  right: 20px;
}

.prev:hover,
.next:hover {
  background: #8e2de2;
}

.dots {
  text-align: center;
  position: absolute;
  bottom: 15px;
  width: 100%;
}

.dots span {
  height: 12px;
  width: 12px;
  margin: 5px;
  background: #bbb;
  display: inline-block;
  border-radius: 50%;
  cursor: pointer;
}

.dots .active {
  background: #8e2de2;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  33% {
    transform: translateX(-100%);
  }
  66% {
    transform: translateX(-200%);
  }
}

/* ===== CONTENT ===== */
.content {
  padding: 50px 20px;
  text-align: center;
}

/* ===== FOOTER ===== */
.footer {
  background: #7b0f0f;
  color: #fff;
  padding: 40px 20px;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 25px;
}

.footer-box {
  width: 280px;
  min-width: 200px;
}

.footer-box h3 {
  background: #d47f7f;
  padding: 10px;
  margin-bottom: 15px;
}

.footer-box ul {
  list-style: none;
}
.footer-box ul li {
  margin: 10px 0;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid #ccc;
  padding-top: 10px;
  font-size: 14px;
}

/* ===== FACULTY SECTION ===== */
.faculty-section {
  padding: 50px 20px;
  text-align: center;
  background: #f5f5f5;
}

.faculty-section h2 {
  font-size: 32px;
  margin-bottom: 30px;
}
.faculty-section span {
  color: #1e90ff;
}

.faculty-container {
  position: relative;
  padding: 0 40px;
}

.faculty-slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
  padding: 10px 0;
}

.faculty-slider::-webkit-scrollbar {
  display: none;
}

.faculty-card {
  min-width: 220px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  flex-shrink: 0;
  transition: 0.3s;
}

.faculty-card:hover {
  transform: translateY(-5px);
}

.faculty-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.faculty-card h3 {
  margin: 10px 0 5px;
  font-size: 15px;
  padding: 0 10px;
}
.faculty-card p {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 13px;
  color: #555;
  padding: 0 10px;
}

.faculty-card a {
  display: inline-block;
  margin-bottom: 15px;
  color: #1e90ff;
  font-weight: bold;
  text-decoration: none;
}

.faculty-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #000;
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  font-size: 16px;
}

.faculty-btn.prev {
  left: 0;
}
.faculty-btn.next {
  right: 0;
}
.faculty-btn:hover {
  background: #1e90ff;
}

/* ===== TEAM SECTION ===== */
.team-section {
  padding: 60px 20px;
  text-align: center;
  background: #f5f5f5;
}

.team-section h2 {
  font-size: 32px;
  margin-bottom: 40px;
}
.team-section span {
  color: #1e90ff;
}

.team-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.team-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.team-card:hover {
  transform: translateY(-8px);
}

.team-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.team-card h3 {
  margin: 15px 0 5px;
  font-size: 17px;
}
.designation {
  font-weight: bold;
  color: #333;
  font-size: 14px;
}
.education {
  font-size: 13px;
  color: #777;
  margin-bottom: 15px;
}

/* ===== OWNER SECTION ===== */
.owner-section {
  padding: 60px 20px;
  background: #fff;
}

.owner-container {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1100px;
  margin: auto;
  flex-wrap: wrap;
}

.owner-image img {
  width: 300px;
  height: 350px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: block;
}

.owner-content {
  flex: 1;
  min-width: 250px;
}
.owner-content h2 {
  font-size: 30px;
  margin-bottom: 15px;
}
.owner-content span {
  color: #1e90ff;
}
.owner-content p {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.6;
}
.owner-content h4 {
  margin-top: 20px;
  font-size: 18px;
}
.owner-designation {
  font-size: 14px;
  color: #777;
}

/* ===== FEEDBACK GALLERY ===== */
.feedback-gallery {
  padding: 60px 20px;
  text-align: center;
  background: #f4f6f9;
}

.feedback-gallery h2 {
  font-size: 32px;
  margin-bottom: 40px;
}
.feedback-gallery span {
  color: #1e90ff;
}

.gallery {
  column-count: 3;
  column-gap: 15px;
}

.gallery-item {
  position: relative;
  margin-bottom: 15px;
  overflow: hidden;
  border-radius: 10px;
  break-inside: avoid;
}

.gallery-item img {
  width: 100%;
  display: block;
  border-radius: 10px;
  transition: 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-item:hover .overlay {
  opacity: 1;
}

/* ===== GUEST SLIDER ===== */
.guest-slider-section {
  background: #ffffff;
  color: #000000;
  padding: 60px 20px;
  text-align: center;
}

.guest-slider-section h2 {
  font-size: 32px;
  margin-bottom: 30px;
}
.guest-slider-section span {
  color: #1e90ff;
}

.guest-slider {
  overflow: hidden;
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.guest-track {
  display: flex;
  transition: 0.5s ease;
}

.guest-slide {
  min-width: 100%;
  padding: 10px;
  text-align: center;
}

.guest-slide img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 8px;
}

.guest-slide p {
  margin-top: 10px;
  font-size: 15px;
  color: #333;
}

/* =================================================
   RESPONSIVE BREAKPOINTS
   ================================================= */

/* Large Tablet */
@media (max-width: 1024px) {
  .header {
    padding: 10px 20px;
  }
  .company-text h1 {
    font-size: 22px;
  }
  .navbar ul li a {
    padding: 12px 10px;
    font-size: 13px;
  }
}

/* Tablet */
@media (max-width: 992px) {
  .header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
  }
  .logo-section {
    justify-content: center;
  }
  .company-text h1 {
    font-size: 20px;
  }
  .company-text p {
    font-size: 14px;
  }
  .contact-icons {
    justify-content: center;
    margin-top: 10px;
  }
  .navbar ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  .slider,
  .slide img {
    height: 350px;
  }
  .owner-container {
    justify-content: center;
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* Hamburger */
  .menu-toggle {
    display: block;
    position: absolute;
    right: 15px;
    top: 15px;
  }

  /* Header: logo left, hamburger right */
  .header {
    flex-direction: row;
    align-items: center;
    padding: 10px 15px;
    text-align: left;
    position: relative;
  }

  .logo-section {
    flex: 1;
    justify-content: flex-start;
  }

  .logo-section img {
    width: 55px;
  }
  .company-text h1 {
    font-size: 16px;
  }
  .company-text p {
    font-size: 12px;
  }

  /* Hide contact icons on small screens */
  .contact-icons {
    display: none;
  }

  /* Nav dropdown */
  .navbar ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background: linear-gradient(to bottom, #001f8f, #004fd4);
    gap: 0;
    padding: 0;
  }

  .navbar ul.active {
    display: flex;
  }

  .navbar ul li {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .navbar ul li a {
    padding: 14px 20px;
    font-size: 15px;
  }

  /* Slider */
  .slider,
  .slide img {
    height: 220px;
  }
  .overlay h2 {
    font-size: 18px;
  }
  .overlay p {
    font-size: 14px;
  }
  .overlay {
    padding: 12px 20px;
  }

  /* Content */
  .content {
    padding: 30px 15px;
  }

  /* Owner */
  .owner-container {
    flex-direction: column;
    text-align: center;
  }
  .owner-image img {
    width: 200px;
    height: 240px;
    margin: 0 auto;
  }
  .owner-content {
    min-width: unset;
    width: 100%;
  }

  /* Gallery */
  .gallery {
    column-count: 2;
  }

  /* Faculty */
  .faculty-container {
    padding: 0 35px;
  }
  .faculty-card {
    min-width: 180px;
  }

  /* Team */
  .team-container {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
  }
  .team-card img {
    height: 200px;
  }

  /* Footer */
  .footer-container {
    flex-direction: column;
    align-items: center;
  }
  .footer-box {
    width: 100%;
    max-width: 400px;
    text-align: center;
  }

  /* Guest slider */
  .guest-slider {
    max-width: 100%;
  }
  .guest-slide img {
    max-height: 240px;
  }

  /* Notice */
  .notice-bar {
    font-size: 12px;
    padding: 8px 0;
  }
  .scroll-text {
    animation-duration: 18s;
  }

  /* Section titles */
  .faculty-section h2,
  .team-section h2,
  .feedback-gallery h2,
  .guest-slider-section h2 {
    font-size: 26px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .company-text h1 {
    font-size: 14px;
  }
  .company-text p {
    font-size: 11px;
  }
  .logo-section img {
    width: 45px;
  }

  .slider,
  .slide img {
    height: 180px;
  }

  .gallery {
    column-count: 1;
  }

  .team-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .team-card img {
    height: 170px;
  }
  .team-card h3 {
    font-size: 14px;
  }

  .faculty-card {
    min-width: 150px;
  }
  .faculty-card img {
    height: 180px;
  }

  .owner-image img {
    width: 170px;
    height: 200px;
  }
  .owner-content h2 {
    font-size: 22px;
  }
  .owner-content p {
    font-size: 14px;
  }

  .footer-box {
    max-width: 100%;
  }

  .prev,
  .next {
    padding: 8px 12px;
    font-size: 16px;
  }

  .faculty-section,
  .team-section,
  .feedback-gallery,
  .guest-slider-section,
  .owner-section {
    padding: 40px 12px;
  }

  .notice-bar {
    font-size: 11px;
  }
}

/* Extra Small */
@media (max-width: 360px) {
  .company-text h1 {
    font-size: 12px;
  }
  .slider,
  .slide img {
    height: 160px;
  }
  .team-container {
    grid-template-columns: 1fr 1fr;
  }
  .faculty-card {
    min-width: 140px;
  }
}
