/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
  --primary-bg: #f8f9fb;
  --primary-text: #222;
  --card-bg: #fff;
  --accent: #1a237e;
  --accent-light: #3949ab;
  --shadow: #1a237e13;
  --shadow-strong: #1a237e22;
  --footer-bg: linear-gradient(90deg, #1a237e 60%, #3949ab 100%);
  --footer-bottom-bg: #151b5e;
  --input-bg: #f8f9fb;
  --border: #e3e9f7;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  background: var(--primary-bg);
  color: var(--primary-text);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
  width: 100%;
  background: var(--card-bg);
  z-index: 100;
  box-shadow: 0 2px 16px var(--shadow);
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.navbar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
  margin-right: auto;
}
.navbar-logo-img {
  height: 40px;
  margin-right: 0.5rem;
  border-radius: 50%;
  object-fit: cover;
  width: 40px;
}
.navbar-logo span {
  font-size: 1.4rem;
  font-weight: 600;
}
.navbar-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: auto;
}
.navbar-links li a {
  color: var(--primary-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.08rem;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
    position: relative;
  }
.navbar-links li a:hover,
.navbar-links li a:focus {
  background: #e3e9f7;
  color: var(--accent);
  box-shadow: 0 2px 8px var(--shadow-strong);
  transform: translateY(-2px) scale(1.07);
}
.navbar-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.navbar-toggle span {
  width: 28px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transition: all 0.3s;
}
@media (max-width: 900px) {
  .navbar-container { padding: 0 12px; }
  .navbar-links {
    position: absolute;
    top: 68px;
    right: 0;
    background: var(--card-bg);
    flex-direction: column;
    width: 180px;
    box-shadow: 0 8px 32px var(--shadow-strong);
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s;
    z-index: 99;
  }
  .navbar-links.open { max-height: 300px; }
  .navbar-links li { margin: 12px 0; }
  .navbar-toggle { display: flex; }
}

@media (max-width: 700px) {
  .navbar-logo-img {
    width: 32px;
    height: 32px;
  }
  .navbar-logo {
    font-size: 1.2rem;
    gap: 8px;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero-container {
  max-width: 1200px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-content {
  text-align: center;
  color: white;
  margin-bottom: 4rem;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gradient-text {
  background: linear-gradient(45deg, #fff 30%, #e3e9f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientFlow 8s ease infinite;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.cta-button {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button.primary {
  background: white;
  color: #1a237e;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-button.primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 60%, var(--accent-light) 100%);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.cta-button.primary:hover {
  color: white;
}

.cta-button.primary:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.cta-button.secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -150px;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: -100px;
  left: -100px;
  animation-delay: 1s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  top: 50%;
  right: 10%;
  animation-delay: 2s;
}

.shape-4 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 20%;
  animation-delay: 3s;
}

.shape-5 {
  width: 250px;
  height: 250px;
  top: 30%;
  left: -125px;
  animation-delay: 4s;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 4rem;
}

.stat-item {
  text-align: center;
  color: white;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(45deg, #fff 30%, #e3e9f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

@keyframes gradientFlow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 2rem;
  }
  
  .shape {
    opacity: 0.3;
    transform: scale(0.5);
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
  }
}

/* Dark mode adjustments for hero section */
body.dark-mode .hero-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

body.dark-mode .gradient-text {
  background: linear-gradient(45deg, #fff 30%, #3949ab 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

body.dark-mode .cta-button.primary {
  background: #3949ab;
  color: white;
}

body.dark-mode .cta-button.secondary {
  border-color: #3949ab;
}

/* About Us */
.about-us {
  background: linear-gradient(90deg, #f4f6fa 60%, #e3e9f7 100%);
  padding: 90px 0 70px 0;
}
.about-content {
  display: flex;
  align-items: stretch;
  justify-content: center;
    max-width: 1200px;
  margin: 0 auto;
  gap: 64px;
  border-radius: 28px;
  box-shadow: 0 8px 32px var(--shadow);
  background: var(--card-bg);
  padding: 56px 48px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s, transform 0.8s;
}
.about-content.visible {
  opacity: 1;
  transform: none;
}
.about-text {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 32px;
}
.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 1px;
}
.about-text p {
  font-size: 1.18rem;
  color: #333;
  margin-bottom: 1.2rem;
}
.about-text ul {
  margin-top: 0.5rem;
  padding-left: 1.2rem;
}
.about-text li {
  margin-bottom: 0.5rem;
  list-style: disc;
  color: var(--accent-light);
  font-weight: 500;
}
.about-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.about-image img {
  width: 600px;
  height: 480px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 12px 40px var(--shadow-strong);
  border: 5px solid var(--border);
  background: var(--border);
  transition: width 0.3s;
}
@media (max-width: 1100px) {
  .about-content { gap: 32px; padding: 32px 12px; }
  .about-image img {
    width: 280px;
    height: 340px;
  }
}
@media (max-width: 900px) {
  .about-content {
    flex-direction: column-reverse;
    gap: 32px;
    text-align: center;
    padding: 28px 10px;
  }
  .about-text { 
    padding-right: 0;
    align-items: center;
  }
  .faculty-btn {
    margin: 1.5rem auto;
  }
  .about-image { justify-content: center; }
  .about-image img {
    width: 180px;
    height: 260px;
  }
}

/* Results Section */
.results {
  background: #f4f6fa;
  padding: 80px 0 60px 0;
  text-align: center;
}

.results h2 {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 2.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.results-carousel-outer {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 60px;
}

.results-carousel-inner {
  overflow: hidden;
  width: 100%;
}

.results-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
}

.result-card {
  min-width: 320px;
  max-width: 320px;
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  border: 1px solid var(--border);
  transform: translateY(-10px);
  box-shadow: 0 8px 30px var(--shadow-strong);
}

.result-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform 0.5s;
  transform: scale(1.1);
}

.result-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--accent);
  color: white;
  padding: 24px;
  text-align: center;
  transform: translateY(0);
  transition: transform 0.3s;
}

.result-caption span {
  display: block;
  font-size: 1rem;
  opacity: 0.9;
  margin-top: 6px;
}

.result-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px var(--shadow-strong);
}

.result-card:hover img {
  transform: scale(1.1);
}

.result-card:hover .result-caption {
  transform: translateY(0);
}

.results-arrow {
  background: var(--card-bg);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  color: var(--accent);
  box-shadow: 0 2px 8px var(--shadow);
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  transition: background 0.2s, box-shadow 0.2s;
}

.results-arrow.left { 
  left: 0;
}

.results-arrow.right { 
  right: 0;
}

.results-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.results-arrow:hover:not(:disabled) {
  background: #e3e9f7;
  box-shadow: 0 4px 16px var(--shadow-strong);
}

@media (max-width: 1200px) {
  .results-carousel-outer {
    padding: 0 50px;
  }
  
  .result-card {
    min-width: 280px;
    max-width: 280px;
  }
  
  .result-card img {
    height: 320px;
  }
}

@media (max-width: 900px) {
  .results-carousel-outer {
    padding: 0 40px;
  }
  
  .result-card {
    min-width: 240px;
    max-width: 240px;
  }
  
  .result-card img {
    height: 280px;
  }
}

@media (max-width: 600px) {
  .results-carousel-outer {
    padding: 0 30px;
  }
  
  .result-card {
    min-width: 200px;
    max-width: 200px;
  }
  
  .result-card img {
    height: 240px;
  }
}

/* Testimonials */
.testimonials {
  background: #fff;
  padding: 80px 0 60px 0;
  text-align: center;
}
.testimonials h2 {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 2.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.testimonials-carousel-outer {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonials-carousel-inner {
  overflow: hidden;
  width: 100%;
  max-width: 1100px;
}
.testimonials-carousel-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(.77,0,.18,1);
  will-change: transform;
}
.testimonial-card {
  background: var(--card-bg);
  border-radius: 24px;
  box-shadow: 0 8px 32px var(--shadow);
  padding: 48px 32px 32px 32px;
  min-width: 340px;
  max-width: 340px;
  margin: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: scale(0.95) translateY(40px);
  transition: opacity 0.7s, transform 0.7s, box-shadow 0.3s, transform 0.3s;
  cursor: pointer;
  will-change: transform;
}
.testimonial-card.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.testimonial-card:hover {
  box-shadow: 0 16px 48px var(--shadow-strong), 0 2px 8px var(--accent-light);
  transform: scale(1.07) rotate(-1deg);
}
.testimonial-photo {
  width: 90px;
  height: 90px;
    object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--accent);
  margin-bottom: 22px;
  box-shadow: 0 2px 8px var(--shadow);
}
.testimonial-content p {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #333;
}
.testimonial-content span {
  font-size: 1.05rem;
  color: var(--accent);
  font-weight: 600;
}
.testimonials-arrow {
  background: var(--card-bg);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  color: var(--accent);
  box-shadow: 0 2px 8px var(--shadow);
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  transition: background 0.2s, box-shadow 0.2s;
}
.testimonials-arrow.left { 
  left: -60px; /* Increased gap from the cards */
}
.testimonials-arrow.right { 
  right: -60px; /* Increased gap from the cards */
}
.testimonials-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.testimonials-arrow:hover:not(:disabled) {
  background: #e3e9f7;
  box-shadow: 0 4px 16px var(--shadow-strong);
}
@media (max-width: 1100px) {
  .testimonial-card { min-width: 80vw; max-width: 80vw; }
  .testimonials-carousel-inner { max-width: 98vw; }
  .testimonials-arrow.left { left: -30px; }
  .testimonials-arrow.right { right: -30px; }
}
@media (max-width: 700px) {
  .testimonials-arrow.left { left: 0; }
  .testimonials-arrow.right { right: 0; }
}

/* Contact Us */
.contact-us {
  background: linear-gradient(90deg, #e3e9f7 0%, #f4f6fa 100%);
  padding: 80px 0 70px 0;
  text-align: center;
}
.contact-us h2 {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 2.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.contact-split {
  display: flex;
  max-width: 900px;
  margin: 0 auto;
  background: var(--card-bg);
  border-radius: 28px;
  box-shadow: 0 8px 32px var(--shadow);
  overflow: hidden;
  align-items: stretch;
}
.contact-image {
  flex: 1.1;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  background: var(--border);
  min-width: 220px;
  min-height: 100%;
}
.contact-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 100%;
  min-width: 100%;
  border: none;
  border-radius: 0;
  background: var(--border);
}
.contact-form {
  flex: 1.3;
  padding: 48px 36px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--card-bg);
  border-radius: 0 28px 28px 0;
  box-shadow: none;
  min-width: 260px;
  justify-content: center;
}
.form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--input-bg);
  transition: border 0.2s, box-shadow 0.2s;
  resize: none;
  box-shadow: 0 2px 8px var(--shadow);
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 2px 12px var(--shadow-strong);
}
.contact-form button {
  background: linear-gradient(90deg, var(--accent) 60%, var(--accent-light) 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px 0;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  margin-top: 8px;
  box-shadow: 0 2px 8px var(--shadow-strong);
  animation: pulse 2s infinite;
}
.contact-form button:hover {
  background: linear-gradient(90deg, var(--accent-light) 60%, var(--accent) 100%);
  box-shadow: 0 4px 16px var(--shadow-strong);
  transform: translateY(-2px) scale(1.04);
  animation: float 1.2s infinite alternate;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--accent-light)33; }
  70% { box-shadow: 0 0 0 8px var(--accent-light)11; }
  100% { box-shadow: 0 0 0 0 var(--accent-light)33; }
}
@keyframes float {
  0% { transform: translateY(0) scale(1.04);}
  100% { transform: translateY(-4px) scale(1.07);}
}
.form-error {
  color: #e53935;
  font-size: 0.92rem;
  min-height: 18px;
  margin-top: 2px;
}
.form-success {
  color: #388e3c;
  font-size: 1rem;
  margin-top: 8px;
  min-height: 20px;
  text-align: center;
}
@media (max-width: 900px) {
  .contact-split { flex-direction: column; }
  .contact-image img { min-height: 180px; max-height: 220px; }
  .contact-form { border-radius: 0 0 28px 28px; padding: 28px 12px; }
}

/* Footer */
footer {
  background: var(--footer-bg);
  color: #fff;
  padding-top: 40px;
  font-size: 1rem;
  box-shadow: 0 -2px 16px var(--shadow-strong);
}
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-about {
  flex: 1.2;
  min-width: 180px;
}
.footer-about h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  font-weight: 700;
  letter-spacing: 1px;
  color: white;

}
.footer-about p {
  color: var(--border);
  font-size: 1.05rem;
}
.footer-links {
  flex: 1;
  min-width: 140px;
}
.footer-links h4,
.footer-contact h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: white;
}
.footer-links ul {
  list-style: none;
  padding-left: 0;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: var(--border);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}
.footer-links a:hover {
  color: #ffd600;
  text-decoration: underline;
}
.footer-contact {
  flex: 1.2;
  min-width: 180px;
}
.footer-contact p {
  margin-bottom: 6px;
  color: var(--border);
  font-size: 1.05rem;
}
.footer-social {
  margin-top: 12px;
  display: flex;
  gap: 14px;
  justify-content: center;
}
.footer-social img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
  transition: filter 0.2s, transform 0.2s;
}
.footer-social img:hover {
  filter: brightness(0) invert(0.7) sepia(1) hue-rotate(200deg) saturate(4);
  transform: scale(1.15) rotate(-8deg);
}
.footer-bottom {
  text-align: center;
  padding: 18px 0 8px 0;
  font-size: 0.98rem;
  background: var(--footer-bottom-bg);
  margin-top: 28px;
  letter-spacing: 0.5px;
  color: var(--border);
  border-top: 1px solid var(--accent);
}
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
    width: 100%;
  }
}

/* DARK MODE */
body.dark-mode {
  --primary-bg: #121212;
  --primary-text: #fff;
  --card-bg: #1a1a1a;
  --accent: #3949ab;
  --accent-light: #5c6bc0;
  --shadow: rgba(0,0,0,0.3);
  --shadow-strong: rgba(0,0,0,0.5);
  --footer-bg: linear-gradient(90deg, #1a1a1a 60%, #2d2d2d 100%);
  --footer-bottom-bg: #000;
  --input-bg: #2d2d2d;
  --border: #333;
}

body, .results, .about-us, .testimonials, .contact-us {
  background: var(--primary-bg);
  color: var(--primary-text);
}

.result-card,
.testimonial-card,
.contact-form,
.about-content,
.results-carousel-container,
.results-carousel-inner,
.testimonials-carousel-inner {
  background: var(--card-bg);
  box-shadow: 0 8px 32px var(--shadow);
  border-color: var(--border);
}

.navbar,
.navbar-links,
.navbar-logo,
.navbar-links li a,
.navbar-links li a:hover,
.navbar-links li a:focus {
  background: var(--card-bg);
  color: var(--primary-text);
}

.navbar {
  box-shadow: 0 2px 16px var(--shadow);
}

footer {
  background: var(--footer-bg);
  color: var(--primary-text);
}
.footer-bottom {
  background: var(--footer-bottom-bg);
  color: var(--primary-text);
}

input, textarea {
  background: var(--input-bg);
  color: var(--primary-text);
  border-color: var(--border);
}

input:focus, textarea:focus {
  border-color: var(--accent);
}

/* Theme Toggle Button */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  margin-left: 30px;
  position: relative;
  right: 0;
}

.theme-toggle:hover {
  background-color: var(--accent-light);
  transform: scale(1.1);
}

.theme-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--primary-text);
}

.theme-toggle:hover .theme-icon {
  transform: rotate(360deg);
}

/* Dark Mode Styles */
body.dark-mode .navbar {
  background-color: var(--card-bg);
  box-shadow: 0 2px 10px var(--shadow);
}

body.dark-mode .navbar-links a {
  color: var(--primary-text);
}

body.dark-mode .navbar-links a:hover {
  color: var(--accent-light);
}

body.dark-mode .theme-toggle {
  background-color: var(--card-bg);
  box-shadow: 0 2px 8px var(--shadow);
}

body.dark-mode .theme-toggle:hover {
  background-color: var(--accent-light);
}

body.dark-mode,
body.dark-mode * {
  color: #fff !important;
}

body.dark-mode .navbar {
  background: #1a1a1a;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

body.dark-mode .navbar-links li a {
  color: #fff;
}

body.dark-mode .navbar-links li a:hover {
  background: #2d2d2d;
  color: var(--accent-light);
}

body.dark-mode .about-us {
  background: linear-gradient(90deg, #1a1a1a 60%, #2d2d2d 100%);
}

body.dark-mode .about-content {
  background: #1a1a1a;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

body.dark-mode .about-text p {
  color: #ccc;
}

body.dark-mode .testimonials {
  background: #1a1a1a;
}

body.dark-mode .testimonial-card {
  background: #2d2d2d;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

body.dark-mode .testimonial-content p {
  color: #ccc;
}

body.dark-mode .contact-us {
  background: #1a1a1a;
}

body.dark-mode .contact-form {
  background: #2d2d2d;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

body.dark-mode input,
body.dark-mode textarea {
  background: #1a1a1a;
  color: #fff;
  border-color: #333;
}

body.dark-mode input:focus,
body.dark-mode textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(57, 73, 171, 0.2);
}

body.dark-mode .gallery {
  background: #1a1a1a;
}

body.dark-mode .gallery-carousel-inner {
  background: #2d2d2d;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

body.dark-mode .gallery-item {
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

body.dark-mode .gallery-item:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

body.dark-mode .map-section {
  background: #1a1a1a;
}

body.dark-mode .map-container {
  background: #2d2d2d;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

body.dark-mode .map-link {
  background: #2d2d2d;
  color: #fff;
  border: 1px solid #333;
}

body.dark-mode .map-link:hover {
  background: #1a1a1a;
  border-color: var(--accent);
}

body.dark-mode .faculty-btn {
  background: #2d2d2d;
  color: #fff;
  border: 1px solid #333;
}

body.dark-mode .faculty-btn:hover {
  background: #1a1a1a;
  border-color: var(--accent);
}

/* Map Section */
.map-section {
  padding: 4rem 2rem;
  background: linear-gradient(90deg, #f4f6fa 60%, #e3e9f7 100%);
  text-align: center;
}

.map-section h2 {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.map-container {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 8px 32px var(--shadow);
  border: 4px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: var(--card-bg);
  padding: 20px;
}

.map-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px var(--shadow-strong);
}

/* Gallery Section */
.gallery {
  padding: 80px 0;
  background: var(--primary-bg);
}

.gallery h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 40px;
  font-weight: 700;
  letter-spacing: 1px;
}

.gallery-carousel-outer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.gallery-carousel-inner {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: var(--card-bg);
  box-shadow: 0 4px 20px var(--shadow);
}

.gallery-carousel-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 4px 12px var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px var(--shadow-strong);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-view-all {
  text-align: center;
  margin-top: 40px;
}

.view-all-btn {
  display: inline-block;
  padding: 12px 32px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 12px var(--shadow);
}

.view-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--shadow-strong);
}

body.dark-mode .gallery {
  background: #1a1a1a;
}

body.dark-mode .gallery-carousel-inner {
  background: #2d2d2d;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

body.dark-mode .gallery-item {
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

body.dark-mode .gallery-item:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
  .gallery-carousel-track {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
    padding: 15px;
  }
  
  .gallery-item {
    aspect-ratio: 3/2;
  }
}

@media (max-width: 480px) {
  .gallery-carousel-track {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }
  
  .gallery h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }
}

/* Faculty Button */
.faculty-btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background: linear-gradient(90deg, var(--accent) 60%, var(--accent-light) 100%);
  color: white !important;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 16px var(--shadow);
  margin-top: 1.5rem;
  width: fit-content;
}

.faculty-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px var(--shadow-strong);
  color: white !important;
}

/* Dark Mode Adjustments */
body.dark-mode .faculty-btn {
  background: linear-gradient(90deg, var(--accent) 60%, var(--accent-light) 100%);
  color: white !important;
}

body.dark-mode .faculty-btn:hover {
  background: linear-gradient(90deg, var(--accent-light) 60%, var(--accent) 100%);
  color: white !important;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  animation: float 3s ease-in-out infinite;
}

.whatsapp-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.whatsapp-float:hover .whatsapp-icon {
  transform: scale(1.1);
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Directors Section */
.directors-section {
  padding: 4rem 2rem;
  background-color: var(--bg-color);
}

.directors-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 2rem 0;
}

.director-card {
  background: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.director-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.director-info {
  padding: 1.5rem;
}

.director-info h3 {
  margin: 0 0 0.5rem 0;
  color: var(--text-color);
}

.director-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.director-description {
  color: var(--text-color);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .directors-container {
    grid-template-columns: 1fr;
  }
  
  .director-image {
    height: 250px;
  }
}

/* Gallery Grid Section */
.gallery-grid-section {
  padding: 4rem 2rem;
  background-color: var(--bg-color);
}

.gallery-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2rem 0;
}

.gallery-grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1;
}

.gallery-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-grid-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.map-link {
  display: inline-block;
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 0.8rem 1.8rem;
  background: linear-gradient(90deg, var(--accent) 60%, var(--accent-light) 100%);
  color: white !important;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 16px var(--shadow);
}

.map-link:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px var(--shadow-strong);
  color: white !important;
}

body.dark-mode .map-link {
  background: linear-gradient(90deg, var(--accent) 60%, var(--accent-light) 100%);
  color: white !important;
}

body.dark-mode .map-link:hover {
  background: linear-gradient(90deg, var(--accent-light) 60%, var(--accent) 100%);
  color: white !important;
}

/* Faculty Header Section */
.faculty-header {
  background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
  padding: 6rem 2rem;
  text-align: center;
  color: white;
}

.faculty-header-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #fff 30%, #e3e9f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.faculty-header-content p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Join Team Section */
.join-team {
  background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
  padding: 6rem 2rem;
  text-align: center;
  color: white;
}

.join-team-content {
  max-width: 800px;
  margin: 0 auto;
}

.join-team h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1rem;
  font-weight: 700;
  background: linear-gradient(45deg, #fff 30%, #e3e9f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.join-team p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.join-team-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: white;
  color: #1a237e;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.join-team-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Dark mode adjustments */
body.dark-mode .join-team {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

body.dark-mode .join-team-btn {
  background: #3949ab;
  color: white;
}

/* Gallery Header Section */
.gallery-header {
  background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
  padding: 6rem 2rem;
  text-align: center;
  color: white;
}

.gallery-header-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #fff 30%, #e3e9f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gallery-header-content p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Dark mode adjustments */
body.dark-mode .faculty-header,
body.dark-mode .gallery-header {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

body.dark-mode .join-team {
  background: linear-gradient(90deg, #1a1a1a 60%, #2d2d2d 100%);
}

body.dark-mode .join-team p {
  color: #ccc;
}

/* Gallery Categories */
.gallery-categories {
  padding: 2rem 0;
  background: var(--card-bg);
  box-shadow: 0 4px 20px var(--shadow);
}

.categories-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0 1rem;
}

.category-btn {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 50px;
  background: var(--card-bg);
  color: var(--primary-text);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px var(--shadow);
}

.category-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-strong);
}

.category-btn.active {
  background: linear-gradient(90deg, var(--accent) 60%, var(--accent-light) 100%);
  color: white;
}

/* Enhanced Gallery Grid */
.gallery-grid-section {
  padding: 4rem 2rem;
  background: var(--primary-bg);
}

.gallery-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.gallery-grid-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  background: var(--card-bg);
}

.gallery-item-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item-title {
  font-size: 1.2rem;
  margin: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  color: white;
}

.gallery-grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px var(--shadow-strong);
}

.gallery-grid-item:hover img {
  transform: scale(1.1);
}

.gallery-grid-item:hover .gallery-item-overlay {
  transform: translateY(0);
}

.gallery-grid-item:hover .gallery-item-title {
  opacity: 1;
  transform: translateY(0);
}

/* Dark mode adjustments */
body.dark-mode .gallery-grid-section {
  background: var(--primary-bg);
}

body.dark-mode .gallery-grid-item {
  background: var(--card-bg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.dark-mode .gallery-item-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

/* Faculty Header Section */
.faculty-header {
  background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
  padding: 6rem 2rem;
  text-align: center;
  color: white;
}

.faculty-header-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #fff 30%, #e3e9f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.faculty-header-content p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Dark mode adjustments */
body.dark-mode .faculty-header {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

body.dark-mode .faculty-header-content h1 {
  background: linear-gradient(45deg, #fff 30%, #3949ab 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .gallery-item-title {
    font-size: 1.1rem;
  }
}

.contact-info {
  text-align: center;
  margin: 30px auto;
  padding: 20px;
  background: linear-gradient(90deg, var(--accent) 60%, var(--accent-light) 100%);
  border-radius: 12px;
  box-shadow: 0 4px 16px var(--shadow);
  max-width: 900px;
  border: 1px solid var(--border);
}

.contact-info p {
  font-size: 1.2rem;
  color: white;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contact-info a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.contact-info a:hover {
  color: #ffd600;
  text-decoration: none;
  transform: scale(1.05);
}

.contact-info img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.contact-info:hover img {
  transform: rotate(15deg);
}

.floor-info {
  text-align: center;
  font-size: 1.2rem;
  color: white;
  margin: 20px auto 30px;
  font-weight: 600;
  padding: 12px 24px;
  background: linear-gradient(90deg, var(--accent) 60%, var(--accent-light) 100%);
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--shadow);
  display: inline-block;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floor-info:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--shadow-strong);
}
  