body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
}


/* Top Black Bar */


.top-bar {
  background-color: black;
  color: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar a {
  color: white;
  text-decoration: none;
  margin-right: 15px;
  font-weight: 500;
  font-size: 14px; /* 👈 Reduce font size here */
  white-space: nowrap; /* Prevents text from wrapping */
}

.top-bar a:hover {
  text-decoration: underline;
}


/* Coursera-style top header layout */


.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background-color: #fff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  font-family: "Segoe UI", sans-serif;
}

/* Left part: logo + explore */
.left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo img {
  height: 50px;
}

/* Explore button */
/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Button */
.dropbtn {
  background-color: #333;
  color: white;
  padding: 10px 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

/* Dropdown content */
/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
  z-index: 10;
}

/* Button - NO black background */
.dropbtn {
  background: none;         /* Removes black background */
  border: none;             /* No border */
  color: #0056d2;           /* Use your preferred text color */
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 10px 16px;
  border-radius: 20px;
}

/* Optional hover background (light gray) */
.dropbtn:hover {
  background-color: #f0f0f0;
}

/* Dropdown content */

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 220px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 9999;
}

/* Show on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Links inside dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  cursor: pointer;
}

/* Hover effect for links */
.dropdown-content a:hover {
  background-color: #ddd;
}

/* Search input with icon inside */
.search-wrapper {
  position: relative;
  flex-grow: 1;
  max-width: 450px;
  margin: 0 30px;
}

.search-wrapper input {
  width: 100%;
  padding: 10px 40px 10px 16px;
  border: 1px solid #ccc;
  border-radius: 999px;
  font-size: 14px;
  box-sizing: border-box;
}

.search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #0056d2;
  font-size: 16px;
  pointer-events: none;
}



/* Right-side nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a i {
  color: #25D366; /* WhatsApp green */
  margin-right: 6px;
  font-size: 18px;
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.nav-links .btn {
  background-color: #0056d2;
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
}

.nav-links .btn:hover {
  background-color: #003e9f;
}


/* Header */

.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background-color: white;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.logo img { 
  height: 60px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav input {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.btn {
  background-color: #0056d2;
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
}

.btn:hover {
  background-color: #003e9f;
}

/* Hero */
.hero {
  display: flex;
  justify-content: space-between;
  padding: 20px 20px;
  background-color: #e8f0ff;
}

.hero-text {
  max-width: 50%;
}

.hero-text h1 {
  font-size: 32px;
  margin-bottom: 15px;
}

.hero-text p {
  font-size: 16px;
  margin-bottom: 10px;
}

.primary-btn {
  background-color: #0056d2;
  color: white;
  padding: 12px 20px;
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  border-radius: 6px;
}

.bhero-img img {
  margin-right: 100px;
  max-width: 10;
  border-radius: 10px;
}

.hero-img img {
  max-width: 190%;
  border-radius: 0;
margin: 0;
padding: 0px 0px;
  /* Gradient mask to blend left into background */
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0));
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0));
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;

  /* Optional: slight shadow for depth */
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
}


/* === TRUSTED SECTION (Desktop) === */

/* Common styles for all screens */
.trusted {
  text-align: center;
  padding: 30px 10px;
  background-color: #fff;
}

.trusted p {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}

.trusted-section {
  background-color: #f9f9f9;
  padding: 40px 0;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.image-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: auto;
}

.image-track {
  display: flex;
  width: fit-content;
  animation: scroll 25s linear infinite;
  will-change: transform;
}

.image-track img {
  width: 450px;
  height: 200px;
  margin: 0 10px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

/* Smooth continuous scroll */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* === LAPTOP VIEW (Auto-scroll & Pause on Hover) === */
@media (min-width: 1025px) {
  .trusted-section:hover .image-track,
  .image-slider:hover .image-track {
    animation-play-state: paused !important;
  }

  .image-track img:hover {
    transform: scale(1.05);
  }
}

/* Latest Update Section */

.updates {
  padding: 40px 20px;
  background-color: #f2f8ff;
  text-align: center;
}

.updates h2 {
  font-size: 24px;
  margin-bottom: 30px;
}

.card-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  background-color: #ffffff;
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 12px;
  width: 300px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: left;
}

.card h3 {
  font-size: 18px;
  color: #0056d2;
  margin-bottom: 10px;
}

.card p {
  font-size: 15px;
  color: #333;
}


/* Footer Styles */

.footer {
  background-color: #222;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
}

.footer-column {
  flex: 1 1 250px;
  text-align: left;
}

.footer-column h3 {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin: 8px 0;
}

.social-icons a {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  margin: 5px 0;
}

.social-icons a:hover {
  text-decoration: underline;
}

.social-icons i {
  margin-right: 8px;
}

.footer-note {
  margin-top: 30px;
  font-size: 14px;
  color: #bbb;
}









/* Madras University */

.mu-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  background-image: url('muimage/madras-university.jpg'); /* Replace with your image file */
  background-size: cover;
  background-position: center;
  color: white;
}

.running-text {
  background-color: #f2f2f2;
  padding: 10px 20px;
  font-weight: bold;
  font-size: 16px;
  color: #333;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.full-width-box {
  background-color: white;
  border-radius: 12px;
  padding: 25px;
  max-width: 1000px;
  margin: 40px auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.full-width-box h3 {
  font-size: 20px;
  color: #0056b3;
  margin-bottom: 10px;
}

.full-width-box p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}


/* VIDEO SECTION */
.mu-video {
  padding: 40px 20px;
  text-align: center;
}

.mu-video h2 {
  font-size: 28px;
  margin-bottom: 30px;
}

/* VIDEO GRID */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}


.video-grid iframe {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.video-thumbnail {
  position: relative;
  display: block;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-thumbnail .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  color: white;
  text-shadow: 0 0 8px rgba(0,0,0,0.8);
  pointer-events: none;
}



/* Annamalai University */

.anna-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  background-image: url('annaimage/anna-hero.png'); /* Replace with your image file */
  background-size: cover;
  background-position: center;
  color: white;
}

.anna-video {
  padding: 40px 20px;
  text-align: center;
}

.anna-video h2 {
  font-size: 28px;
  margin-bottom: 30px;
}




/* Tamilnadu open University */

.tnou-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
  background-image: url('tnouimage/tnou-hero.png'); /* Replace with your image file */
  background-size: cover;
  background-position: center;
  color: white;
}

.tnou-video {
  padding: 40px 20px;
  text-align: center;
}

.tnou-video h2 {
  font-size: 28px;
  margin-bottom: 30px;
}




/* Cooperative */
	
.coop-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  background-image: url('coopimage/coop.jpg'); /* Replace with your image file */
  background-size: cover;
  background-position: center;
  color: white;
}

.coop-video {
  padding: 40px 20px;
  text-align: center;
}

.coop-video h2 {
  font-size: 28px;
  margin-bottom: 30px;
}


