/* Base styles */
body {
  margin: 0;
  font-family: 'Segoe UI', 'Arial', sans-serif;
  background: #f5f7fa;
  color: #22223b;
  min-height: 100vh;
}

a {
  color: #22306b;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #ffd700;
}

/* Navbar */
.navbar-header {
  background: #07124d;
  color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Top Section: Logo and College Name */
.navbar-top {
  padding: 1rem 2rem;
  border-bottom: 1px solid #22306b;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar-logo {
  height: 80px;
  width: 80px;
  background: #fff;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.navbar-logo-right {
  height: 80px;
  width: 80px;
  background: #fff;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-left: auto;
  padding: 8px;
}

.navbar-title-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.navbar-title {
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.navbar-subtitle {
  color: #ffd700;
  font-size: 1.2rem;
  font-weight: 500;
}

/* Bottom Section: Navigation Menus */
.navbar-nav {
  background: #07124d;
  border-top: 1px solid #22306b;
}

.navbar-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  margin: 0.2rem 0;
}

.navbar-toggle .bar {
  height: 4px;
  width: 28px;
  background: #fff;
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.3s;
}

.navbar-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  gap: 0.5rem;
}

.navbar-menu > li {
  position: relative;
}

.navbar-menu > li > a,
.navbar-menu > li > button {
  display: block;
  color: #fff;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
  cursor: pointer;
}

.navbar-menu > li > a:hover,
.navbar-menu > li > button:hover {
  background: #22306b;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  color: #fff;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.dropdown-toggle:hover {
  background: #22306b;
}

.dropdown-arrow {
  margin-left: 0.5rem;
  font-size: 0.7em;
}

.has-dropdown > a:after {
  content: " \25BC";
  font-size: 0.7em;
  margin-left: 0.3em;
}

.dropdown {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 200px;
  background: #0a1a4d;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 100;
  padding: 0.5rem 0;
}

.sub-dropdown {
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 180px;
  background: #16205a;
  border-radius: 0 8px 8px 8px;
  z-index: 101;
}

.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown {
  display: block;
}

.dropdown li a {
  color: #fff;
  padding: 0.6rem 1.2rem;
  display: block;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.95rem;
}

.dropdown li a:hover {
  background: #22306b;
}

/* Sidebar */
aside,
.left-sidebar {
  background: #0a1a4d;
  color: #fff;
  width: 260px;
  min-height: 300px;
  padding: 2rem 1.5rem;
  box-shadow: 2px 0 8px rgba(0,0,0,0.08);
  border-radius: 0 12px 12px 0;
  margin-right: 2rem;
}
aside h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
aside p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Main Content */
main {
  flex: 1;
  padding: 2rem 1.5rem;
  background: #f5f7fa;
  min-height: 80vh;
}

/* Footer */
.footer-main {
  background: #07124d;
  color: #fff;
  padding: 2rem 0 1rem 0;
  margin-top: 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-link {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.footer-link:hover {
  color: #ffd700;
  background: rgba(255, 255, 255, 0.1);
}

.footer-copyright {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #22306b;
  font-size: 0.95rem;
  color: #ccc;
}

.copyright-link {
  color: #ffd700;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.copyright-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* Layout */
.page-container {
  display: flex;
  min-height: 100vh;
}
@media (max-width: 1024px) {
  .navbar-title {
    font-size: 2rem;
  }
  .navbar-subtitle {
    font-size: 1rem;
  }
  .navbar-logo {
    height: 60px;
    width: 60px;
  }
  .navbar-logo-right {
    height: 60px;
    width: 60px;
  }
  aside,
  .left-sidebar {
    width: 250px;
  }
}
@media (max-width: 768px) {
  .navbar-top {
    padding: 0.5rem 1rem;
  }
  .navbar-brand {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .navbar-title {
    font-size: 1.5rem;
  }
  .navbar-subtitle {
    font-size: 0.9rem;
  }
  .navbar-logo {
    height: 50px;
    width: 50px;
  }
  .navbar-logo-right {
    height: 50px;
    width: 50px;
  }
}
@media (max-width: 768px) {
  .navbar-top {
    padding: 0.8rem 1rem;
  }
  .navbar-brand {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .navbar-title {
    font-size: 1.8rem;
  }
  .navbar-subtitle {
    font-size: 0.9rem;
  }
  .navbar-logo {
    height: 60px;
    width: 60px;
  }
  .navbar-container {
    padding: 0 1rem;
    flex-direction: column;
    align-items: stretch;
  }
  .navbar-toggle {
    display: flex;
    align-self: flex-end;
    margin: 0.5rem 0;
  }
  .navbar-menu {
    flex-direction: column;
    align-items: stretch;
    background: #07124d;
    width: 100%;
    display: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 0.5rem 0;
  }
  .navbar-menu.open {
    display: flex;
  }
  .navbar-menu > li {
    width: 100%;
  }
  .dropdown {
    position: static;
    min-width: 100%;
    box-shadow: none;
    border-radius: 0;
    background: #0a1a4d;
    margin-left: 1rem;
  }
  .sub-dropdown {
    position: static;
    min-width: 100%;
    background: #16205a;
    margin-left: 1rem;
  }
  .page-container {
    flex-direction: column;
  }
  aside,
  .left-sidebar {
    width: 100%;
    margin-right: 0;
    border-radius: 0;
    min-height: unset;
  }
  main {
    padding: 1rem 0.5rem;
  }
  .footer-links {
    gap: 1.5rem;
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-link {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }
  
  .footer-copyright {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .navbar-title {
    font-size: 1.2rem;
  }
  .navbar-subtitle {
    font-size: 0.8rem;
  }
  .navbar-logo {
    height: 40px;
    width: 40px;
  }
  .navbar-logo-right {
    height: 40px;
    width: 40px;
  }
}

/* Utility */
.text-yellow {
  color: #ffd700;
}

/* Coming Soon Page */
.coming-soon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  padding: 2rem 1rem;
}

.coming-soon-content {
  text-align: center;
  max-width: 600px;
  background: #fff;
  padding: 3rem 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.coming-soon-icon {
  font-size: 4rem;
  color: #07124d;
  margin-bottom: 1.5rem;
  animation: pulse 2s infinite;
}

.coming-soon-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #07124d;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.coming-soon-message {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.coming-soon-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 8px;
  background: #f8f9fa;
  min-width: 120px;
}

.feature-item i {
  font-size: 1.5rem;
  color: #07124d;
}

.feature-item span {
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
}

.coming-soon-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: #07124d;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid #07124d;
}

.btn-primary:hover {
  background: #0a1a4d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(7, 18, 77, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #07124d;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid #07124d;
}

.btn-secondary:hover {
  background: #07124d;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(7, 18, 77, 0.3);
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .coming-soon-content {
    padding: 2rem 1.5rem;
  }
  
  .coming-soon-title {
    font-size: 2rem;
  }
  
  .coming-soon-message {
    font-size: 1rem;
  }
  
  .coming-soon-features {
    gap: 1rem;
  }
  
  .feature-item {
    min-width: 100px;
    padding: 0.8rem;
  }
  
  .coming-soon-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 200px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .coming-soon-container {
    padding: 1rem 0.5rem;
  }
  
  .coming-soon-content {
    padding: 1.5rem 1rem;
  }
  
  .coming-soon-title {
    font-size: 1.8rem;
  }
  
  .coming-soon-icon {
    font-size: 3rem;
  }
  
  .coming-soon-features {
    flex-direction: column;
    align-items: center;
  }
  
  .feature-item {
    width: 100%;
    max-width: 200px;
  }
}

/* Virtual Tour Page */
.virtual-tour-container {
  padding: 2rem 1rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  overflow: visible;
}

.tour-header {
  text-align: center;
  margin-bottom: 3rem;
}

.tour-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #07124d;
  margin-bottom: 0.5rem;
}

.tour-subtitle {
  font-size: 1.1rem;
  color: #666;
}

.tour-road-container {
  position: relative;
  height: 400px;
  margin: 2rem 0;
  overflow: visible;
}

.tour-road {
  position: relative;
  width: 100%;
  height: 100%;
}

.road-path {
  width: 100%;
  height: 100%;
}

.road-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawRoad 2s ease-in-out forwards;
}

.road-dashed {
  stroke-dasharray: 10,10;
  animation: dashMove 1s linear infinite;
}

@keyframes drawRoad {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes dashMove {
  to {
    stroke-dashoffset: -20;
  }
}

.tour-pins {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.tour-pin {
  position: absolute;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.tour-pin:nth-child(1) { top: 45%; left: 5%; }
.tour-pin:nth-child(2) { top: 35%; left: 25%; }
.tour-pin:nth-child(3) { top: 50%; left: 45%; }
.tour-pin:nth-child(4) { top: 30%; left: 65%; }
.tour-pin:nth-child(5) { top: 55%; left: 80%; }
.tour-pin:nth-child(6) { top: 40%; left: 90%; }

.pin-icon {
  width: 50px;
  height: 50px;
  background: #07124d;
  border: 3px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
}

.pin-icon::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #07124d;
}

.tour-pin:hover .pin-icon {
  background: #ffd700;
  color: #07124d;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.tour-pin:hover .pin-icon::after {
  border-top-color: #ffd700;
}

.pin-tooltip {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  padding: 0;
  min-width: 250px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  pointer-events: none;
}

.tour-pin:hover .pin-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-10px);
  pointer-events: auto;
}

.tooltip-image {
  width: 100%;
  height: 150px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

.tooltip-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tooltip-content {
  padding: 1rem;
}

.tooltip-content h3 {
  font-size: 1.1rem;
  font-weight: bold;
  color: #07124d;
  margin-bottom: 0.5rem;
}

.tooltip-content p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.tooltip-click {
  font-size: 0.8rem;
  color: #ffd700;
  font-weight: 500;
}

.tour-instructions {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.instruction-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.2rem;
  background: #f8f9fa;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #333;
}

.instruction-item i {
  color: #07124d;
  font-size: 1rem;
}

/* Pin pulse animation */
.tour-pin {
  animation: pinPulse 2s infinite;
}

@keyframes pinPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.tour-pin:hover {
  animation: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .tour-pin:nth-child(1) { top: 45%; left: 8%; }
  .tour-pin:nth-child(2) { top: 35%; left: 28%; }
  .tour-pin:nth-child(3) { top: 50%; left: 48%; }
  .tour-pin:nth-child(4) { top: 30%; left: 68%; }
  .tour-pin:nth-child(5) { top: 55%; left: 83%; }
  .tour-pin:nth-child(6) { top: 40%; left: 93%; }
}

@media (max-width: 768px) {
  .virtual-tour-container {
    padding: 1rem 0.5rem;
  }
  
  .tour-title {
    font-size: 2rem;
  }
  
  .tour-road-container {
    height: 300px;
  }
  
  .pin-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .tour-pin:nth-child(1) { top: 45%; left: 10%; }
  .tour-pin:nth-child(2) { top: 35%; left: 30%; }
  .tour-pin:nth-child(3) { top: 50%; left: 50%; }
  .tour-pin:nth-child(4) { top: 30%; left: 70%; }
  .tour-pin:nth-child(5) { top: 55%; left: 85%; }
  .tour-pin:nth-child(6) { top: 40%; left: 95%; }
  
  .pin-tooltip {
    min-width: 200px;
  }
  
  .tooltip-image {
    height: 120px;
  }
  
  .tour-instructions {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .tour-road-container {
    height: 250px;
  }
  
  .pin-icon {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  
  .tour-pin:nth-child(1) { top: 45%; left: 15%; }
  .tour-pin:nth-child(2) { top: 35%; left: 35%; }
  .tour-pin:nth-child(3) { top: 50%; left: 55%; }
  .tour-pin:nth-child(4) { top: 30%; left: 75%; }
  .tour-pin:nth-child(5) { top: 55%; left: 85%; }
  .tour-pin:nth-child(6) { top: 40%; left: 95%; }
  
  .pin-tooltip {
    min-width: 180px;
  }
  
  .tooltip-image {
    height: 100px;
  }
  
  .tooltip-content {
    padding: 0.8rem;
  }
  
  .tooltip-content h3 {
    font-size: 1rem;
  }
  
  .tooltip-content p {
    font-size: 0.8rem;
  }
  .navbar-logo-right{
    display: none;
    margin-left: 0;
    padding: 0;
    height: 50px;
    width: 50px;
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
}
