* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  padding-top: 60px; /* Push content below fixed navbar */
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85); /* translucent white */
  border-bottom: 1px solid #ccc;
  backdrop-filter: blur(8px); /* smooth background blur */
  -webkit-backdrop-filter: blur(8px); /* Safari support */
  padding: 10px 20px;
}

/* Flex container for nav items and logo */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Navigation links container */
.nav-links {
    list-style: none;
    display: flex;
    gap: 18px;
    padding-right: 4%;
}

/* Each nav item */
.nav-links li {
    position: relative;
    color: rgb(201, 196, 196);
}

/* Nav links style */
.nav-links li a {
    text-decoration: none;
    color: #888888;
    font-weight: 600;
    padding: 8px 12px;
    display: block;
    transition: background-color 0.3s ease;
}

.nav-links li a:hover {
    color: #222;
}

/* Dropdown submenu */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%; /* below parent */
    left: 0;
    background-color: white;
    border: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    min-width: 220px;
    flex-direction: column;
    z-index: 1000;
    list-style: none; /* This removes the bullet points */
    padding: 0;
    margin: 0;
}

/* Dropdown items */
.dropdown-menu li {
    border-bottom: 1px solid #eee;
    list-style: none;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li a {
    padding: 10px 15px;
    font-weight: normal;
    color: #888888;
    white-space: nowrap;
}


.dropdown-menu li a:hover {
    color: #222;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
    display: flex;
    flex-direction: column;
}

/* Logo container on right */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-left: 25px;
}

.logo img {
    height: 40px; /* adjust as needed */
    width: auto;
    display: block;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #222;
}

/* Hamburger button styles - hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 26px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  box-sizing: content-box;
  z-index: 1100; /* above nav links */
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: #888;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    right: -100%;
    width: 70%;
    max-width: 280px;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: -4px 0 8px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    padding-top: 40px;
    gap: 20px;
    transition: right 0.3s ease;
    z-index: 1050;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li a {
    font-size: 1.2rem;
    padding: 10px 20px;
  }

  .dropdown-menu {
    position: static;
    background: transparent;
    box-shadow: none;
    padding-left: 15px;
  }

  .dropdown-menu {
    display: none;
  }

  .dropdown.active > .dropdown-menu {
    display: flex;
  }

  .dropdown > a::after {
    content: ' ▸';
    float: right;
    transition: transform 0.3s ease;
  }

  .dropdown.active > a::after {
    transform: rotate(90deg);
  }
}


/* Show hamburger on small screens */
@media (max-width: 768px) {
  .logo {
    padding-left: 0px; /* Reduce from 25px to 10px */
  }

  .hamburger {
    display: flex;
  }

  /* Hide nav links initially on mobile */
  .nav-links {
  position: fixed;
  top: 60px;
  right: -100%;
  width: 75%; /* instead of 70% */
  max-width: none; /* remove fixed width */
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: -4px 0 8px rgba(0,0,0,0.1);
  flex-direction: column;
  padding-top: 25px;
  padding-left: 20px;     /* ensure left alignment */
  padding-right: 20px;    /* avoid text hugging the edge */
  gap: 18px;              /* reduce gap slightly for uniformity */
  transition: right 0.3s ease;
  z-index: 1050;
  text-align: left;       /* align text */
  font-size: 1rem;      /* make font uniform */
}


  /* Show nav links when menu is active */
  .nav-links.active {
    right: 0;
  }

  /* Nav links styles inside menu */
  .nav-links li {
    color: #555;
  }

  .nav-links li a {
    font-size: 1.2rem;
    padding: 10px 20px;
    color: #333;
  }

  /* Dropdown menu inside mobile nav */
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    min-width: 100%;
    background: transparent;
    padding-left: 15px;
  }

  /* Show dropdown always on mobile */
  .dropdown-menu {
    display: none;
    flex-direction: column;
  }

  .dropdown.active > .dropdown-menu {
    display: flex;
  }

  /* Change dropdown arrow */
  .dropdown > a::after {
    content: ' ▸';
    float: right;
    transition: transform 0.3s ease;
  }

  .dropdown.active > a::after {
    transform: rotate(90deg);
  }
}


/* Backround section */

.hero-section {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.overlay {
  /* background-color: rgba(147, 51, 234, 0.6); Purple overlay */
  background: linear-gradient(
  135deg,
  rgba(255, 38, 251, 0.4),
  rgba(0, 212, 255, 0.49)
);

  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Make container fill screen and center content */
.hero-content-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;   /* Horizontally center */
  align-items: center;       /* Vertically center */
  height: 90vh;
  width: 100%;
  text-align: center;
  padding: 0 20px;
  padding-bottom: 50px;
  box-sizing: border-box;
}

/* Hero text styling */
.hero-text {
  max-width: 1000px;
  color: white;
   text-shadow: 2px 3px 5px rgba(0, 0, 0, 0.6);
}

/* DATE */
.date-block {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 2rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.date-block i {
  font-size: 1.8rem;
}

/* TEXT */
.hero-text h1 {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero-text h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* Additional info */
.additional-info p {
  margin: 0.4rem 0;
  font-size: 1rem;

}

.additional-info p {
  margin: 0.4rem 0;
  font-size: 1rem;
  padding: 8px 16px;
  background-color: rgba(255, 255, 255, 0.15); /* translucent white */
  border-radius: 12px;
  display: inline-block;
}

/* HERO SECTION - Common styles stay same */

/* Tablet: Reduce image height */
@media (max-width: 1024px) {
  .hero-section {
    height: 50vh;
  }
  .hero-content-container {
    height: 50vh;
  }
}

/* Phone: Adjust height + vertical centering */
@media (max-width: 768px) {
  .hero-section {
    height: 50vh;
  }

  .hero-content-container {
    height: 50vh;
    flex-direction: column;
    justify-content: center; /* Ensure vertical centering */
    padding-top: 60px;       /* Push slightly below navbar */
  }

  .hero-text {
    padding: 0 15px;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text h3 {
    font-size: 1.1rem;
  }

  .hero-text p {
    font-size: 0.9rem;
  }

  .date-block {
    font-size: 1.2rem;
  }

  .additional-info p {
    font-size: 0.85rem;
  }
}

/* Extra small phones */
@media (max-width: 400px) {
  .hero-section {
    height: 50vh;
  }

  .hero-content-container {
    height: 50vh;
    padding-top: 60px;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text h3 {
    font-size: 1rem;
  }

  .hero-text p {
    font-size: 0.85rem;
  }

  .additional-info p {
    font-size: 0.8rem;
  }
}


/* About section */

.about-news-section {
  display: flex;
  justify-content: space-between;
  padding: 40px 80px;
  height: 80vh;
  width: 100%;
  gap: 40px;
  background-color: #f8f8f8;
  box-sizing: border-box;
}

/* Box Styles */
.about-box,
.news-box {
  width: 50%;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  box-sizing: border-box;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.about-box h2,
.news-box h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  border-bottom: 2px solid #9333ea;
}

/* About Content */
.about-content {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
}

/* Scrollable news viewport */
.news-viewport {
  flex-grow: 1;
  overflow: hidden;
  position: relative;
}

/* Inner scrolling div */
.news-scroll {
  display: flex;
  flex-direction: column;
  animation: scrollUp 5s linear infinite;
}

.news-scroll:hover {
  animation-play-state: paused;
}

.news-item {
  padding: 15px 10px;
  font-size: 1rem;
  border-bottom: 1px solid #eee;
  color: #444;
  white-space: nowrap;
}

/* Scroll animation */
@keyframes scrollUp {
  0% {
    transform: translateY(0%);
  }
  100% {
    transform: translateY(-50%);
  }
}


/* Tablet view */
@media (max-width: 1024px) {
  .about-news-section {
    padding: 30px 40px;
    gap: 20px;
    height: auto;
  }

  .about-box,
  .news-box {
    height: auto;
  }

  .about-box h2,
  .news-box h2 {
    font-size: 1.6rem;
  }

  .about-content {
    font-size: 1rem;
  }

  .news-item {
    font-size: 0.95rem;
    padding: 12px 8px;
  }
}

/* Mobile view */
@media (max-width: 768px) {
  .about-news-section {
    flex-direction: column;
    padding: 30px 20px;
    gap: 30px;
    height: auto;
  }

  .about-box,
  .news-box {
    width: 100%;
    height: auto;
  }

  .about-box h2,
  .news-box h2 {
    font-size: 1.4rem;
    text-align: center;
  }

  .about-content {
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: justify;
  }

  .news-item {
    font-size: 0.9rem;
    padding: 10px 6px;
  }

  .news-scroll {
    animation: scrollUp 5s linear infinite; /* Keep animation */
  }

  .news-scroll:hover {
    animation-play-state: paused;
  }
}

/* Small phone (<400px) */
@media (max-width: 400px) {
  .about-box h2,
  .news-box h2 {
    font-size: 1.25rem;
  }

  .about-content {
    font-size: 0.88rem;
  }

  .news-item {
  font-size: 0.85rem;
  white-space: normal;          /* Allow line wrapping */
  word-break: break-word;       /* Break long words if needed */
  display: flex;                /* ✅ Arrange icon + text in one line */
  align-items: center;          /* ✅ Vertically center icon and text */
  gap: 6px;                     /* ✅ Space between icon and text */
  padding: 10px 6px;
}

  .news-scroll {
    animation: scrollUp 5s linear infinite;
  }

  .news-viewport {
    min-height: 140px;           /* ✅ ensure enough space */
  }

  .about-news-section {
    padding: 20px 16px;          /* ✅ tighter padding for small screen */
  }
}



/* Confrence track */

.tracks-section {
  padding: 60px 80px;
  background: #f7f7fc;
  text-align: center;
}

.tracks-section h2 {
  font-size: 2.8rem;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  color: #333;
}

.tracks-section h2::after {
  content: "";
  position: absolute;
  width: 60%;
  height: 4px;
  background-color: #9333ea;
  bottom: -8px;
  left: 20%;
}

.tracks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
}

.track-card {
  background: white;
  padding: 20px 25px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(147, 51, 234, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  border-left: 5px solid #9333ea;
  text-align: left;
  width: 100%;
  max-width: 320px;
  opacity: 0;
  animation: fadeSlideUp 0.6s ease forwards;
}

/* On hover */
.track-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(147, 51, 234, 0.25);
  border-left: 5px solid #7e22ce; /* darker violet */
  background: linear-gradient(135deg, #ffffff, #f3e8ff);
}


.track-number {
  font-weight: bold;
  font-size: 1.1rem;
  color: #9333ea;
  display: block;
  margin-bottom: 10px;
}

.track-card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.4;
}

@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.track-card {
  animation: fadeSlideUp 0.6s ease forwards;
  opacity: 0; /* Start hidden */
}

/* Stagger animation delay */
.track-card:nth-child(1) { animation-delay: 0.1s; }
.track-card:nth-child(2) { animation-delay: 0.2s; }
.track-card:nth-child(3) { animation-delay: 0.3s; }
.track-card:nth-child(4) { animation-delay: 0.4s; }
.track-card:nth-child(5) { animation-delay: 0.5s; }
.track-card:nth-child(6) { animation-delay: 0.6s; }
.track-card:nth-child(7) { animation-delay: 0.7s; }
.track-card:nth-child(8) { animation-delay: 0.8s; }
.track-card:nth-child(9) { animation-delay: 0.9s; }
.track-card:nth-child(10) { animation-delay: 1s; }
.track-card:nth-child(11) { animation-delay: 1.1s; }
.track-card:nth-child(12) { animation-delay: 1.2s; }

@media (max-width: 600px) {
  .tracks-section {
    padding: 40px 20px;
  }

  .tracks-section h2 {
    font-size: 1.64rem;
    font-weight: bolder;
  }

  .track-card {
    max-width: 100%;
    padding: 16px 18px;
  }

  .track-card p {
    font-size: 0.95rem;
  }

  .track-number {
    font-size: 1rem;
  }

  .tracks-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ------------------ */
/* 💻 Tablet Responsive */
/* ------------------ */
@media (min-width: 601px) and (max-width: 1024px) {
  .tracks-section {
    padding: 50px 40px;
  }

  .tracks-section h2 {
    font-size: 2.3rem;
  }

  .track-card {
    max-width: 100%;
    padding: 18px 22px;
  }

  .track-card p {
    font-size: 1rem;
  }

  .tracks-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
}

/* footer */

.site-footer {
  background-color: #1a1a1a;
  color: #ccc;
  padding: 20px 15px;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem; /* base size for desktop */
  border-top: 2px solid #9333ea;
}

.site-footer a {
  color: #9333ea;
  text-decoration: none;
  font-weight: 500;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Tablet */
@media (max-width: 991px) {
  .site-footer {
    font-size: 0.95rem;
  }
}

/* Phone */
@media (max-width: 600px) {
  .site-footer {
    font-size: 0.88rem;
  }
}



/* Impotant dates */
.important-dates {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
  color: #222;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.important-dates h2 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  text-align: center;
  color: #9333ea;
}

.important-dates .intro {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #555;
}

.date-card {
  flex-direction: row;  /* Keep it horizontal */
  align-items: center;  /* Vertically center icon and text */
  gap: 10px;
}


.date-card {
  display: flex;
  align-items: center;
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(147, 51, 234, 0.1);
  padding: 20px 25px;
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.date-card:hover {
  box-shadow: 0 8px 20px rgba(147, 51, 234, 0.3);
  transform: translateY(-5px);
  background-color: #fff;
}

.date-card .icon {
  font-size: 2.5rem;
  color: #9333ea;
  margin-right: 15px;
  user-select: none;
}

.date-info h3 {
  margin: 0 0 5px 0;
  font-size: 1.3rem;
  color: #3a0ca3;
}

.date-info p {
  margin: 0;
  font-size: 1.1rem;
  color: #555;
}

/* Tablet */
@media (max-width: 991px) {
  .important-dates h2 {
    font-size: 2.1rem;
  }

  .important-dates .intro {
    font-size: 0.95rem;
  }

  .date-card .icon {
    font-size: 1.8rem; /* reduced from 2.2rem */
  }

  .date-info h3 {
    font-size: 1rem;
  }

  .date-info p {
    font-size: 0.9rem;
  }
}

/* Phone */
@media (max-width: 600px) {
  .important-dates h2 {
    font-size: 1.65rem;
  }

  .important-dates .intro {
    font-size: 0.9rem;
  }

  .date-card {
    flex-direction: row; /* keep icon and text in a row */
    align-items: center;
    gap: 10px;
  }

  .date-card .icon {
    font-size: 1.5rem;
    margin-right: 15px; /* spacing between icon and text */
  }

  .date-info h3 {
    font-size: 0.95rem;
  }

  .date-info p {
    font-size: 0.85rem;
  }
}



/* speakers */
.keynote-speakers {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  color: #222;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.keynote-speakers h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 10px;
  color: #9333ea;
}

.keynote-speakers .intro {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #555;
}

.speakers-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.speaker-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f9f9f9;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.1);
  padding: 20px;
  transition: box-shadow 0.3s ease;
  cursor: default;
}

.speaker-card:hover {
  box-shadow: 0 8px 24px rgba(147, 51, 234, 0.3);
}

.speaker-photo {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #9333ea;
  box-shadow: 0 0 8px rgba(147, 51, 234, 0.6);
}

.speaker-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.speaker-info h3 {
  margin: 0 0 5px 0;
  font-size: 1.6rem;
  color: #3a0ca3;
}

.speaker-info .affiliation {
  font-style: italic;
  color: #666;
  margin-bottom: 6px;
}

.speaker-info .topic {
  font-weight: 600;
  color: #9333ea;
  font-size: 1.1rem;
}

/* Base uniform sizes */
.keynote-speakers h2 {
  font-size: 2.4rem; /* same as other section titles */
}

.keynote-speakers .intro {
  font-size: 1.1rem;
}

.speaker-info h3 {
  font-size: 1.3rem; /* heading size for cards */
}

.speaker-info .topic {
  font-size: 1rem;
}

.speaker-info .affiliation {
  font-size: 0.95rem;
}

/* Tablet view */
@media (max-width: 1024px) {
  .speaker-card {
    flex-direction: row;
    gap: 16px;
  }

  .keynote-speakers h2 {
    font-size: 2.1rem; /* ~26px */
  }

  .intro h3 {
    font-size: 1.25rem; /* ~18px */
  }

  .speaker-photo {
    width: 100px;
    height: 100px;
  }

  .speaker-info h3 {
    font-size: 1.2rem;
  }

  .speaker-info .topic {
    font-size: 0.95rem;
  }

  .speaker-info .affiliation {
    font-size: 0.9rem;
  }
}

/* Mobile view */
@media (max-width: 600px) {
  .speaker-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px;
  }

  .keynote-speakers h2 {
    font-size: 1.6rem; /* ~26px */
  }

  .intro h3 {
    font-size: 1.125rem; /* ~18px */
  }

  .speaker-photo {
    width: 90px;
    height: 90px;
  }

  .speaker-info h3 {
    font-size: 1.1rem;
  }

  .speaker-info .topic {
    font-size: 0.9rem;
  }

  .speaker-info .affiliation {
    font-size: 0.85rem;
  }
}


/* venue */
.venue-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.venue-title {
  font-size: 2.8rem;
  color: #9333ea;
  margin-bottom: 20px;
}

.venue-description {
  max-width: 900px;
  margin: 0 auto 40px auto;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
}

.map-container {
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
}

.venue-description {
  max-width: 900px;
  margin: 0 auto 40px auto;
  font-size: 1.1rem;
  line-height: 1.8;              /* Like line spacing in Word */
  color: #444;
  text-align: justify;           /* Aligns like justified text in Word */
  text-indent: 40px;             /* Adds indentation like first line of a paragraph in Word */
  white-space: pre-line;         /* Keeps line breaks if you add them in HTML */
}

@media (max-width: 1024px) {
  .venue-title {
    font-size: 2.2rem;
  }

  .venue-description {
    font-size: 1rem;
    text-indent: 30px;
    line-height: 1.7;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .map-container {
    margin: 0 15px;
  }
}

@media (max-width: 600px) {
  .venue-title {
    font-size: 1.8rem;
  }

  .venue-description {
    font-size: 0.95rem;
    text-indent: 20px;
    line-height: 1.6;
    margin-bottom: 25px;
    padding: 0 8px;
  }

  .map-container {
    margin: 0 10px;
    border-radius: 8px;
  }
}


/* contact */
/* About college and department */

.about-section {
  background-color: #f9f9fb;
  color: #222;
  padding: 60px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.65;
}

.about-section .container {
  max-width: 900px;
  margin: 0 auto;
}

.about-section h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: #9333ea; /* nice purple for headers */
  text-align: center;
}

.about-section h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #7c3aed;
}

.about-section p {
  font-size: 1.125rem;
  margin-bottom: 20px;
  text-align: justify;
}

.contact-section {
  width: 100%;
  background: linear-gradient(to right, #f0f0f0, #ffffff);
  padding: 80px 20px;
  text-align: center;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-container h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 10px;
}

.contact-container p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 40px;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 20px 30px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  font-size: 1.2rem;
  color: #333;
  transition: transform 0.3s ease;
}

.contact-card i {
  color: #9333ea; /* purple */
  font-size: 1.5rem;
}

.contact-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1024px) {
  .about-section h2 {
    font-size: 2rem;
  }

  .about-section h3 {
    font-size: 1.6rem;
  }

  .about-section p {
    font-size: 1rem;
  }

  .contact-container h2 {
    font-size: 2rem;
  }

  .contact-container p {
    font-size: 1rem;
  }

  .contact-card {
    font-size: 1rem;
    padding: 18px 24px;
  }

  .contact-card i {
    font-size: 1.3rem;
  }
}

@media (max-width: 600px) {
  .about-section {
    padding: 40px 15px;
  }

  .about-section h2 {
    font-size: 1.64rem;
  }

  .about-section h3 {
    font-size: 1.4rem;
  }

  .about-section p {
    font-size: 0.95rem;
  }

  .contact-section {
    padding: 60px 15px;
  }

  .contact-container h2 {
    font-size: 1.6rem;
  }

  .contact-container p {
    font-size: 0.95rem;
  }

  .contact-card {
    flex-direction: row;
    align-items: center;         /* Vertically center icon and text */
    justify-content: center;     /* Horizontally center inside card */
    font-size: 0.95rem;
    gap: 12px;
    padding: 16px 20px;
    text-align: left;            /* So multiline text aligns with icon */
  }

  .contact-card i {
    font-size: 1.2rem;
    flex-shrink: 0;
  }
}


/* committee-section   */

.committee-section {
  padding: 60px 20px 10px 20px;
  background-color: #f7f7f7;
}

.reduced-gap{
  padding-top: 0px;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  color: #222;
  margin-bottom: 40px;
}

.committee-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-bottom: 60px;
}

.committee-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  display: flex;
  width: 100%;
  height: 160px;
  max-width: 360px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.committee-card:hover {
  transform: translateY(-5px);
}

.card-left {
  flex: 1;
  max-width: 120px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px; /* Optional for spacing */
}


.card-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px 0 0 10px; /* Rounded left corners to match card */
}


.card-right {
  flex: 2;
  padding: 15px;
  text-align: left;
}

.card-right h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 5px;
}

.card-right p {
  font-size: 0.95rem;
  color: #555;
  margin: 2px 0;
}

/* Base sizes from your code */
.section-title {
  font-size: 1.75rem; /* ~28px */
}

.card-right h3 {
  font-size: 1.2rem; /* 19.2px approx */
}

.card-right p {
  font-size: 0.95rem; /* 15.2px approx */
}

/* Tablets */
@media (max-width: 900px) {
  .section-title {
    font-size: 1.5rem; /* ~24px */
  }
  .card-right h3 {
    font-size: 1.1rem; /* ~17.6px */
  }
  .card-right p {
    font-size: 0.9rem; /* ~14.4px */
  }
}

/* Phones */
@media (max-width: 600px) {
  .section-title {
    font-size: 1.25rem; /* ~20px */
  }
  .card-right h3 {
    font-size: 1rem; /* 16px */
  }
  .card-right p {
    font-size: 0.85rem; /* ~13.6px */
  }
}


/* Submission Guidlines */

.submission-section {
  padding: 80px 20px;
  background-color: #f9f9f9;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}

.submission-content {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}

.submission-content h3 {
  margin-top: 40px;
  color: #00539C;
  font-size: 1.4rem;
  border-left: 5px solid #00539C;
  padding-left: 10px;
}

.submission-content p {
  margin: 15px 0;
  font-size: 1rem;
}

.submission-content a {
  color: #d63384;
  text-decoration: none;
}

.submission-content ul {
  margin: 10px 0 20px 20px;
}

.submission-content ul li {
  margin-bottom: 8px;
}

/* Tablet view */
@media (max-width: 1024px) {
  .submission-section {
    padding-top: 50px;
  }

  .submission-content h3 {
    font-size: 1.25rem;
    margin-top: 30px;
  }

  .submission-content p {
    font-size: 0.95rem;
  }

  .submission-content ul li {
    font-size: 0.95rem;
  }
}

/* Mobile view */
@media (max-width: 600px) {
  .submission-section {
    padding-top: 40px;
  }

  .submission-content h3 {
    font-size: 1.15rem;
    margin-top: 25px;
  }

  .submission-content p {
    font-size: 0.9rem;
  }

  .submission-content ul li {
    font-size: 0.9rem;
  }
}


/* tracks  */

.tracks {
  max-width: 1000px;
  margin: 40px auto;
  padding: 40px;
  background: #fafafa;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', sans-serif;
}
.tracks h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #333;
}
.track-full {
  margin-bottom: 30px;
  padding: 20px;
  background: #fff;
  border-left: 5px solid #7524c1;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.track-full:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.track-full h3 {
  margin: 0 0 10px;
  font-size: 22px;
  color: #9333ea;
}
.track-full p {
  margin: 0;
  font-size: 16px;
  color: #555;
}

/* Base sizes from your code */
.tracks h2 {
  font-size: 2rem; /* 32px approx */
}
.track-full h3 {
  font-size: 1.375rem; /* 22px approx */
}
.track-full p {
  font-size: 1rem; /* 16px */
}

/* Responsive adjustments for tablets */
@media (max-width: 900px) {
  .tracks {
    padding: 30px 20px;
  }
  .tracks h2 {
    font-size: 1.8rem; /* slightly smaller */
  }
  .track-full h3 {
    font-size: 1.25rem; /* ~20px */
  }
  .track-full p {
    font-size: 0.95rem; /* ~15px */
  }
}

/* Responsive adjustments for mobile phones */
@media (max-width: 600px) {
  .tracks {
    padding: 20px 15px;
  }
  .tracks h2 {
    font-size: 1.6rem; /* ~26px */
  }
  .track-full h3 {
    font-size: 1.125rem; /* ~18px */
  }
  .track-full p {
    font-size: 0.9rem; /* ~14.5px */
  }
}


/* Registration fee  */

.table-container {
  overflow-x: auto;
  margin-top: 30px;
  padding: 0 20px;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  background: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
th, td {
  border: 1px solid #ccc;
  padding: 12px 8px;
  text-align: center;
}
th {
  background: #003366;
  color: #ffffff;
  font-weight: bold;
}
caption {
  caption-side: top;
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #003366;
}
.highlight-row {
  background-color: #eaf2f8;
}

/* Tablets (width ≤ 991px) */
@media screen and (max-width: 991px) {
  table {
    font-size: 14px;
  }

  th, td {
    padding: 10px 6px;
  }

  caption {
    font-size: 1.2em;
  }
}

/* Phones (width ≤ 600px) */
@media screen and (max-width: 600px) {
  .table-container {
    overflow-x: auto;
    padding: 0 10px;
  }

  table {
    width: 700px; /* Keep full table scrollable on phones */
  }

  th, td {
    font-size: 13px;
    padding: 8px 4px;
  }

  caption {
    font-size: 1em;
  }

  h2 {
    font-size: 1.3em;
    padding: 0 10px;
  }
}
