/* Global Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

/* Header Section */
header {
  background-color: #f8f8f8;
  border-bottom: 2px solid #ddd;
  padding: 10px 0;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo {
  width: 150px;
}

.top-links a {
  text-decoration: none;
  color: white;
  background-color: rgb(167, 83, 83);
  margin-left: 20px;
  font-weight: bold;
}

/*new button */
.new-button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px;
}

/* Style for the NEW button */
.new-button {
  font-size: 20px;
  font-weight: bold;
  color: white;
  background-color: red;
  padding: 10px 20px;
  border-radius: 50%;
  position: relative;
  text-transform: uppercase;
  animation: sparkle 1s ease-in-out infinite alternate; /* Sparkling effect */
}

/* Up and down sparkle animation */
@keyframes sparkle {
  0% {
      transform: translateY(-5px);
      box-shadow: 0 0 10px yellow, 0 0 20px yellow, 0 0 30px red, 0 0 40px red;
  }
  100% {
      transform: translateY(5px);
      box-shadow: 0 0 5px yellow, 0 0 15px yellow, 0 0 25px red, 0 0 35px red;
  }
}

/* Optional: Extra styling for a glowing effect */
.new-button::after {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  border-radius: 50%;
  background: rgba(255, 255, 0, 0.6);
  filter: blur(15px);
  animation: pulse 1.5s infinite alternate;
}

/* Glowing effect */
@keyframes pulse {
  0% {
      transform: scale(1);
      opacity: 0.8;
  }
  100% {
      transform: scale(1.2);
      opacity: 0.3;
  }
}


nav {
  background-color: #333;
}

/* Navigation Form and Select Styling */
.nav-form {
  display: flex;
  justify-content: center;
  padding: 10px 0;
  flex-wrap: wrap; /* Allow wrapping to next line */
  max-width: 90%; /* Restrict width to 90% of the parent container */
  margin: 0 auto; /* Center the form horizontally */
}

.nav-form select {
  margin: 10px; /* Adjust margin to give space when wrapped */
  padding: 10px;
  background-color: #222;
  color: white;
  border: 1px solid #444;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
}

.nav-form select:hover {
  background-color: #575757;
}

.nav-form select option {
  background-color: #333;  
  color: white;
}

.nav-form select:focus {
  outline: none;
  border: 1px solid #f8c102;
}

/* Banner Section */
.banner {
  background: linear-gradient(to right, #1565c0, #90caf9);
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.banner h1 {
  font-size: 36px;
}

.banner p {
  font-size: 24px;
  margin-top: 10px;
}

.gold-text {
  color: #f8c102;
  font-weight: bold;
}

/* Certificate Section Styles */
.certificate-section {
  width: 100%;
  height: 100vh;
  margin: 40px auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center; 
}

.certificate-section h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #333;
}

.slider {
  position: relative;
  overflow: hidden;
  object-fit: cover;
  width: 100%;
  height: 100vh; 
  border-radius: 10px;
}

.slides {
  width: 100%;
  display: flex;
  transition: transform 0.5s ease;
}

.slides img {
  overflow: hidden;
  width: 100%;
  border-radius: 10px; 
  display: block;
}

/* Slider controls */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 10px;
  border: none;
  cursor: pointer;
  font-size: 1.5em;
  z-index: 100;
  border-radius: 50%; 
}

.prev:hover, .next:hover {
  background-color: rgba(15, 0, 0, 0.863); 
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* Bullet indicators */
.slider-bullets {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.slider-bullets span {
  display: block;
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.slider-bullets span.active {
  background-color: white;
}

/* Responsive styles for certificate section */
@media (max-width: 600px) {
  .certificate-section {
    padding: 10px;
  }

  .slider {
    height: 300px;
  }

  .prev, .next {
    font-size: 1.2em;
    padding: 5px;
  }
}

/* Sidebar for Admission Buttons */
.sidebar {
  position: fixed;
  right: 0;
  top: 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-btn {
  background-color: #d32f2f;
  color: white;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 5px;
  font-weight: bold;
  writing-mode: vertical-rl;
  text-align: center;
}

.sidebar-btn:hover {
  background-color: #b71c1c;
}

/* Hide all images initially in slider */
.slides img {
  display: none; 
}

/* About AKGEC Section Styling */
.about-akgec {
  margin: 50px 0;
  text-align: center;
  padding: 20px;
}

.about-akgec .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.about-image img {
  max-width: 100%;
  border-radius: 10px;
  margin-right: 20px;
}

.about-content {
  max-width: 600px;
  text-align: left;
}

.about-content h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: #333;
}

.about-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
}

.read-more-btn {
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  margin-top: 15px;
}

.read-more-btn:hover {
  background-color: #0056b3;
}

/* Statistics Section */
.statistics {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.stat-item {
  margin: 0 20px;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.stat-item h3 {
  font-size: 20px;
  color: #f8c102;
  margin-bottom: 10px;
}

.stat-item p {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

/* Responsive Styling */
@media (max-width: 768px) {
  .about-akgec .container {
      flex-direction: column;
  }

  .about-image img {
      margin-bottom: 20px;
      margin-right: 0;
  }

  .stat-item {
      margin: 10px 0;
  }
}
/* General Styling */
.featured-courses {
  text-align: center;
  margin: 20px;
  font-family: Arial, sans-serif;
}

.featured-courses h2 {
  color: #333;
}

.course-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.course {
  width: 30%; /* Adjust the width as per requirement */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  margin: 10px;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
}

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

.course img {
  width: 100%;
  height: auto;
  border-bottom: 1px solid #ccc;
}

.course h3 {
  color: #666;
  padding: 10px;
}

.course p {
  padding: 0 10px 20px;
  font-size: 0.9em;
  color: #555;
}

.read-more {
  background-color: #007BFF;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  display: inline-block;
  border-radius: 5px;
  margin-bottom: 20px;
}

.read-more:hover {
  background-color: #0056b3;
}
/* General Body Styling */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f4f7f6;
  margin: 0;
  padding: 20px;
}

.info-section {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 40px auto;
  max-width: 1200px;
  gap: 30px;
}

.column {
  flex: 1;
  min-width: 250px;
  background-color: white;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Headings Styling */
.column h2 {
  font-size: 1.5em;
  color: #f39c12;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Paragraph Styling */
.column p {
  font-size: 1em;
  color: #7f8c8d;
  line-height: 1.6;
  margin-bottom: 20px;
}

.column p strong {
  color: #2c3e50;
}

/* Links Styling */
.column a {
  color: #2980b9;
  text-decoration: none;
  font-weight: bold;
}

.column a:hover {
  text-decoration: underline;
}

/* Images Styling */
.column img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .info-section {
      flex-direction: column;
  }

  .column {
      width: 100%;
  }
}
a.home-icon {
  text-decoration: none;
  color: #ffc107; /* Yellow color */
  font-size: 36px;
  transition: transform 0.3s ease, color 0.3s ease; /* Smooth transition */
}

/* Hover effect */
a.home-icon:hover {
  color: #ffeb3b; /* Brighter yellow on hover */
  transform: scale(1.2); /* Slight zoom-in effect */
}

/* Optional: Add a shadow for more depth */
a.home-icon i {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
}

h2, h3, h4 {
  color: #222;
}

/* Testimonials Section */
.testimonials {
  background-color: #111;
  color: #fff;
  text-align: center;
  padding: 50px 20px;
}

.testimonial-cards {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.testimonial-card {
  background-color: #222;
  border-radius: 10px;
  padding: 20px;
  max-width: 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.testimonial-card img {
  border-radius: 50%;
  width: 80px;
  height: 80px;
}

.position {
  color: #888;
  font-size: 14px;
  margin: 5px 0;
}

.message {
  font-size: 16px;
  line-height: 1.5;
}

.read-all-btn {
  background-color: #ffcc00;
  color: #000;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 30px;
}

/* Footer Section */
.footer {
  background-color: #333;
  color: #ddd;
  padding: 30px 20px;
}

.footer-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.address, .quick-links, .about {
  max-width: 300px;
}

.address h4, .quick-links h4, .about h4 {
  margin-bottom: 10px;
  font-size: 18px;
}

.quick-links ul {
  list-style: none;
  padding: 0;
}

.quick-links ul li {
  margin-bottom: 8px;
}

.quick-links ul li a {
  color: #ffcc00;
  text-decoration: none;
}

.quick-links ul li a:hover {
  text-decoration: underline;
}

.footer a {
  color: #ffcc00;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}
.partners-section {
  padding: 20px;
  background-color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.slider {
  overflow: hidden;
  width: 80%; /* Adjust width as needed */
  margin: 0 auto;
  position: relative;
}

.slide-track {
  display: flex;
  transition: transform 1s ease-in-out;
}

.slide {
  min-width: 25%; /* 25% ensures 4 logos visible in one go */
  box-sizing: border-box;
  padding: 10px; /* Space around each logo */
}

.slide img {
  width: 100%; /* Scale the image to fill the slide */
  height: auto;
  display: block;
}
