* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #2c2c2c;
  line-height: 1.6;
  overflow-x: hidden;
  background: #0a0e27;
}

/* 3D Canvas Background */
#canvas3d {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(227, 101, 21, 0.1);
  transition: all 0.3s ease;
}

.header:hover {
  box-shadow: 0 8px 30px rgba(227, 101, 21, 0.2);
}

.logo h1 {
  font-size: 2rem;
  background: linear-gradient(135deg, #0a1152, #e36515);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  letter-spacing: -0.02em;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.logo h1:hover {
  transform: scale(1.05);
}

.desktop-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.desktop-nav a {
  color: #0a1152;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  padding: 8px 16px;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.desktop-nav a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #e36515, #ff7f3f);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.desktop-nav a:hover {
  color: #fff;
  transform: translateY(-2px);
}

.desktop-nav a:hover::before {
  opacity: 1;
}

/* Hero Section - Full Image Visible */
.hero {
  position: relative;
  padding: 120px 40px;
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("images/profMo-students.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 39, 0.4);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(227, 101, 21, 0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
  z-index: 1;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-title-3d {
  font-size: 4.5rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 
    0 0 30px rgba(227, 101, 21, 0.6),
    0 0 60px rgba(227, 101, 21, 0.4),
    0 8px 20px rgba(0, 0, 0, 0.5);
  margin-bottom: 40px;
  animation: floatTitle 3s ease-in-out infinite;
  letter-spacing: -0.02em;
}

@keyframes floatTitle {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.hero-subtitle-box {
  background: #e36515;
  padding: 25px 40px;
  border-radius: 30px;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-subtitle {
  font-size: 1.8rem;
  color: #ffffff;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Main Content */
.main-content {
  position: relative;
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 40px;
  z-index: 1;
}

.content-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  padding: 50px;
  margin-bottom: 40px;
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(227, 101, 21, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.content-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(227, 101, 21, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.content-card:hover {
  transform: translateY(-10px) rotateX(2deg);
  box-shadow: 
    0 20px 60px rgba(227, 101, 21, 0.2),
    0 0 0 1px rgba(227, 101, 21, 0.2);
}

.content-card:hover::before {
  opacity: 1;
}

.card-border {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 3px;
  background: linear-gradient(135deg, #e36515, #ff7f3f, #0a1152);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.content-card:hover .card-border {
  opacity: 1;
}

.intro-box h2 {
  font-size: 2rem;
  color: #0a1152;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.4;
  position: relative;
  display: inline-block;
}

.intro-box h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #e36515, transparent);
  border-radius: 2px;
}

.content-card p {
  color: #2c2c2c;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: center;
}

.experiential-para {
  font-size: 1.3rem;
  font-weight: 600;
  color: #0a1152;
  margin: 40px 0;
  padding: 30px;
  background: linear-gradient(135deg, rgba(227, 101, 21, 0.05), rgba(10, 17, 82, 0.05));
  border-radius: 15px;
  border-left: 4px solid #e36515;
  text-align: center;
}

/* 3D Image Grid - ONLY TILT, NO COLOR CHANGE */
.images-3d-section {
  position: relative;
  padding: 80px 0;
  z-index: 1;
}

.image-grid-3d {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  perspective: 1500px;
}

.image-card-3d {
  position: relative;
  border-radius: 20px;
  overflow: visible;
  height: 350px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  cursor: pointer;
}

.image-card-3d img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-card-3d:hover img {
  transform: rotateY(-15deg) rotateX(10deg);
  box-shadow: 
    -20px 20px 50px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.image-card-3d:nth-child(2):hover img {
  transform: rotateY(0deg) rotateX(10deg);
}

.image-card-3d:nth-child(3):hover img {
  transform: rotateY(15deg) rotateX(10deg);
  box-shadow: 
    20px 20px 50px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Team Section - Creative Card Design */
.team-section {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 40px;
}

.team-section-title {
  font-size: 3rem;
  color: #fff;
  text-align: center;
  margin-bottom: 60px;
  font-weight: 700;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
  position: relative;
}

.team-section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #e36515, transparent);
  border-radius: 2px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.team-member-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.team-orange-bar {
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #e36515, #ff7f3f);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.team-member-card:hover .team-orange-bar {
  width: 100%;
  opacity: 0.08;
}

.team-member-content {
  position: relative;
  z-index: 2;
  padding: 35px 30px;
}

.team-member-card h3 {
  font-size: 1.6rem;
  color: #0a1152;
  margin-bottom: 8px;
  font-weight: 700;
  transition: all 0.4s ease;
}

.team-member-card:hover h3 {
  color: #e36515;
  transform: translateX(10px);
}

.team-role {
  font-size: 1rem;
  color: #e36515;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.4s ease;
}

.team-member-card:hover .team-role {
  transform: translateX(10px);
}

.team-description {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
  transition: all 0.4s ease;
}

.team-member-card:hover .team-description {
  color: #2c2c2c;
  transform: translateX(10px);
}

.team-member-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 
    0 20px 50px rgba(227, 101, 21, 0.25),
    0 0 0 1px rgba(227, 101, 21, 0.1);
}

/* Learn More Button */
.learn-more-btn {
  display: inline-block;
  margin: 40px auto;
  padding: 18px 50px;
  background: linear-gradient(135deg, #e36515, #ff7f3f);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.2rem;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(227, 101, 21, 0.3);
  position: relative;
  overflow: hidden;
  display: block;
  text-align: center;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.learn-more-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ff7f3f, #e36515);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.learn-more-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(227, 101, 21, 0.5);
}

.learn-more-btn:hover::before {
  opacity: 1;
}

.learn-more-btn span {
  position: relative;
  z-index: 1;
}

/* Affiliated Companies - NO COLOR CHANGE, PROPER CENTERING */
.affiliated {
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.affiliated h2 {
  font-size: 2.5rem;
  color: #fff;
  text-align: center;
  margin-bottom: 60px;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.companies-marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 20px 0;
}

.companies-list {
  display: flex;
  animation: marquee 30s linear infinite;
  gap: 30px;
  align-items: center;
}

.company {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  padding: 20px 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 2px solid rgba(227, 101, 21, 0.3);
  min-width: 200px;
  max-width: 320px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  white-space: normal;
  line-height: 1.4;
  min-height: 80px;
}

.company:hover {
  transform: scale(1.15);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Footer - ICONS STAY WHITE AND VISIBLE */
.footer {
  background: #0a1152;
  color: #fff;
  padding: 80px 40px 30px;
  position: relative;
  z-index: 1;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-bottom: 50px;
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #e36515;
  font-weight: 700;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  line-height: 1.6;
}

.footer-section a:hover {
  color: #e36515;
  padding-left: 10px;
}

.footer-logo {
  height: 60px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  transition: all 0.4s ease;
  text-decoration: none;
  position: relative;
}

.social-icon svg {
  fill: #fff;
  position: relative;
  z-index: 2;
  transition: none;
}

.social-icon:hover {
  background: #e36515;
  border-color: #e36515;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 20px rgba(227, 101, 21, 0.4);
}

.social-icon:hover svg {
  fill: #fff;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce 2s infinite;
}

.scroll-indicator::before {
  content: '↓';
  font-size: 2rem;
  color: #ff9a56;
  display: block;
  text-shadow: 0 0 10px rgba(227, 101, 21, 0.5);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* Responsive */
@media (max-width: 768px) {
  .header {
    padding: 15px 20px;
  }

  .desktop-nav {
    display: none;
  }

  .hero {
    padding: 100px 20px;
    min-height: 80vh;
    background-position: center center;
  }

  .hero-title-3d {
    font-size: 2.5rem;
  }

  .hero-subtitle-box {
    padding: 20px 25px;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .main-content,
  .team-section {
    padding: 0 20px;
  }

  .content-card {
    padding: 30px 25px;
  }

  .intro-box h2 {
    font-size: 1.5rem;
  }

  .team-section-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .team-member-card h3 {
    font-size: 1.4rem;
  }

  .team-description {
    font-size: 1rem;
  }

  .image-grid-3d {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .image-card-3d:hover img,
  .image-card-3d:nth-child(2):hover img,
  .image-card-3d:nth-child(3):hover img {
    transform: rotateY(0deg) rotateX(8deg);
  }

  .companies-marquee {
    padding: 10px 0;
  }

  .companies-list {
    animation: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
  }

  .company {
    min-width: auto;
    padding: 15px 25px;
    min-height: 70px;
  }

  .footer {
    padding: 60px 20px 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

::selection {
  background: #e36515;
  color: #fff;
}

html {
  scroll-behavior: smooth;
}