/* Base Styles */
:root {
  --primary-color: #4a7c4a; /* Updated primary color */
  --secondary-color: #6abf6a; /* Updated secondary color */
  --accent-color: #c2d6c2; /* Updated accent color */
  --light-color: #f4f4f4; /* Updated light color */
  --dark-color: #2c3e50; /* Updated dark color */
  --white: #ffffff;
  --black: #333333;
  --gray: #f5f5f5;
  --shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Enhanced shadow */
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif; /* Updated font */
  line-height: 1.6;
  color: var(--black);
  background-color: var(--white);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

img {
  max-width: 100%; /* Ensure images are responsive */
  max-height: 500px; /* Set a maximum height */
  height: auto; /* Maintain aspect ratio */
  border-radius: 8px; /* Rounded corners */
  box-shadow: var(--shadow); /* Apply shadow effect */
  object-fit: cover; /* Ensure the image covers the area without distortion */
}

/* Media Query for Smaller Screens */
@media (max-width: 768px) {
  img {
    max-height: 300px; /* Reduce max height for smaller screens */
  }
}

@media (max-width: 480px) {
  img {
    max-height: 400px;
  
     /* Further reduce max height for very small screens */
  }

}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--dark-color);
  margin-bottom: 15px;
}

.underline {
  height: 4px;
  width: 70px;
  background-color: var(--primary-color);
  margin: 0 auto;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-primary {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  border: 2px solid transparent;
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: none;
}

.btn-primary:hover {
  background: linear-gradient(45deg, var(--dark-color), #1f3120);
  border-color: var(--dark-color);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
  padding: 15px 0;
  backdrop-filter: saturate(180%) blur(10px);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem; /* Increased logo size */
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 2px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  font-weight: 600;
  font-size: 1.05rem;
  transition: var(--transition);
  padding: 5px 10px;
  border-radius: 5px;
}

.nav-links a:hover {
  color: var(--primary-color);
  background-color: var(--accent-color);
  box-shadow: 0 2px 6px rgba(74,124,74,0.4);
}

.hamburger {
  display: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--dark-color);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 2px;
}

/* Hero Section */
.hero {
  padding: 150px 0 100px;
  background-color: var(--light-color);
  background-image: radial-gradient(circle at center, #dff2d8 0%, var(--light-color) 100%);
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1 1 500px;
  padding-right: 30px;
}

.hero-text h1 {
  font-size: 3rem;
  color: var(--dark-color);
  margin-bottom: 10px;
  font-weight: 900;
  letter-spacing: -1px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.hero-text h2 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #555;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1 1 400px;
  text-align: center;
}

.hero-image img {
  border-radius: 15px;
  box-shadow: 0 12px 30px rgba(74,124,74,0.3);
  max-height: 400px;
  transition: transform 0.4s ease;
}

.hero-image img:hover {
  transform: scale(1.05);
}

/* About Section */
.about {
  padding: 120px 0;
  background-color: var(--white);
  text-align: center;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-text p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: #444;
  line-height: 1.8;
}

/* Vision Section */
.vision {
  padding: 100px 0;
  background-color: var(--gray);
}

.vision-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.vision-image,
.vision-text {
  flex: 1 1 400px;
}

.vision-text p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #555;
  line-height: 1.7;
}

/* Experience Section */
.experience {
  padding: 100px 0;
  background-color: var(--white);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  width: 4px;
  background-color: var(--accent-color);
  top: 0;
  bottom: 0;
  left: 20px;
  margin-left: -2px;
  border-radius: 2px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  margin-bottom: 50px;
  transition: transform 0.3s ease;
}

.timeline-item:hover {
  transform: translateX(5px);
}

.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  left: 20px;
  background-color: var(--primary-color);
  border-radius: 50%;
  z-index: 1;
  transform: translateX(-50%);
  box-shadow: 0 0 10px var(--primary-color);
}

.timeline-content {
  padding: 20px;
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.timeline-content h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
}

/* Achievements Section */
.achievements {
  padding: 100px 0;
  background-color: var(--gray);
}

.achievement-tabs {
  max-width: 900px;
  margin: 0 auto;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 10px;
}

.tab-btn {
  padding: 12px 30px;
  background-color: var(--white);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(74,124,74,0.1);
}

.tab-btn.active,
.tab-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 6px 14px rgba(74,124,74,0.7);
}

.tab-content {
  background-color: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.tab-pane h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 700;
}

.tab-pane ul {
  margin-bottom: 20px;
}

.tab-pane li {
  margin-bottom: 14px;
  position: relative;
  padding-left: 30px;
  font-weight: 500;
}

.tab-pane li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Learners Section */
.learners {
  padding: 120px 0;
  background-color: var(--white);
}

.learners-content {
  max-width: 1200px;
  margin: 0 auto;
}

.colleges-section,
.companies-section {
  margin-bottom: 80px;
}

.colleges-section h3,
.companies-section h3 {
  text-align: center;
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 50px;
  position: relative;
  font-weight: 700;
}

.colleges-section h3::after,
.companies-section h3::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 4px;
  background-color: var(--accent-color);
  border-radius: 5px;
}

.colleges-grid,
.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.college-card,
.company-card {
  background-color: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(74,124,74,0.15);
  transition: var(--transition);
  border: 2px solid var(--light-color);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20px;
}

.college-card:hover,
.company-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(74,124,74,0.3);
  border-color: var(--primary-color);
}

.college-image,
.company-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.college-img,
.company-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  border-radius: 0;
  box-shadow: none;
}

.college-card:hover .college-img,
.company-card:hover .company-img {
  transform: scale(1.1);
}

.college-info,
.company-info {
  padding: 25px 20px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.college-info h4,
.company-info h4 {
  font-size: 1.5rem;
  color: var(--dark-color);
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.college-info p,
.company-info p {
  color: var(--black);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.college-location,
.company-type {
  display: inline-block;
  background-color: var(--light-color);
  color: var(--dark-color);
  padding: 7px 18px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: inset 2px 2px 5px rgba(0,0,0,0.05);
  user-select: none;
}

/* Image overlay effects */
.college-image::before,
.company-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(74,124,74,0.1), rgba(163,177,138,0.1));
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
  border-radius: 0;
}

.college-card:hover .college-image::before,
.company-card:hover .company-image::before {
  opacity: 1;
}

/* Contact Section */
.contact {
  padding: 120px 0;
  background-color: var(--gray);
}

.contact-content {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-info,
.contact-form {
  flex: 1 1 400px;
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.contact-info h3,
.contact-form h3 {
  color: var(--primary-color);
  margin-bottom: 25px;
  font-weight: 700;
  font-size: 1.8rem;
}

.contact-info p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #444;
}

.contact-info i {
  margin-right: 12px;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.social-links {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: var(--light-color);
  border-radius: 50%;
  transition: var(--transition);
  font-size: 1.3rem;
  color: var(--dark-color);
}

.social-link:hover {
 
  color: var(--white);
  box-shadow: 0 0 15px var(--primary-color);
}

.form-group {
  margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1.1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 8px rgba(74,124,74,0.3);
}

.form-group textarea {
  height: 160px;
  resize: vertical;
  line-height: 1.5;
  font-family: inherit;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 70px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 50px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-logo,
.footer-links,
.footer-newsletter {
  flex: 1 1 300px;
  min-width: 250px;
}

.footer-logo h3,
.footer-links h3,
.footer-newsletter h3 {
  margin-bottom: 25px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer-links ul li {
  margin-bottom: 14px;
}

.footer-links a {
  transition: var(--transition);
  font-size: 1rem;
  color: var(--white);
}

.footer-links a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.footer-newsletter form {
  display: flex;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-newsletter input {
  flex: 1 1 auto;
  padding: 12px 20px;
  border: none;
  border-radius: 30px 0 0 30px;
  font-size: 1rem;
}

.footer-newsletter button {
  border-radius: 0 30px 30px 0;
  padding: 12px 25px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.footer-newsletter button:hover {
  background: var(--dark-color);
}

/* Footer bottom text */
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #ccc;
}

/* Loading animation for images */
.college-img,
.company-img {
  opacity: 0;
  animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-content,
  .vision-content,
  .contact-content {
    flex-direction: column;
    gap: 40px;
  }

  .hero-text {
    padding-right: 0;
    text-align: center;
  }

  .vision-image {
    order: 2;
  }

  .vision-text {
    order: 1;
  }

  .colleges-grid,
  .companies-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 0 15px rgba(74,124,74,0.15);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 20px 0;
  }

  .hamburger {
    display: block;
  }

  .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(7px, -6px);
  }

  .hero-text h1 {
    font-size: 2.4rem;
  }

  .hero-text h2 {
    font-size: 1.6rem;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .colleges-grid,
  .companies-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .tab-buttons {
    flex-direction: column;
    align-items: center;
  }

  .tab-btn {
    width: 100%;
    max-width: 260px;
    font-size: 1rem;
    padding: 12px 20px;
  }

  .footer-newsletter form {
    flex-direction: column;
  }

  .footer-newsletter input,
  .footer-newsletter button {
    width: 100%;
    border-radius: 30px;
    margin-bottom: 12px;
  }

  .colleges-section h3,
  .companies-section h3 {
    font-size: 1.8rem;
  }
}

.companies-section {
  padding: 40px 20px;
  text-align: center;
}

.companies-section h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 30px;
  color: #2f3e2f;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.company-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(74,124,74,0.1);
  padding: 30px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.company-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 40px rgba(74,124,74,0.25);
}

.company-image img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: contain;
  margin-bottom: 20px;
  transition: transform 0.4s ease;
}

.company-card:hover .company-image img {
  transform: scale(1.1);
}

.company-info h4 {
  font-size: 1.3rem;
  margin: 12px 0 8px;
  color: #2f3e2f;
  font-weight: 700;
}

.company-info p {
  font-size: 1rem;
  color: #555;
  margin: 6px 0;
  font-weight: 500;
}

.company-type {
  display: inline-block;
  padding: 6px 14px;
  background: #ece8e1;
  color: #444;
  border-radius: 25px;
  font-size: 0.85rem;
  margin-top: 10px;
  font-weight: 600;
}

.company-note {
  font-size: 0.9rem;
  color: #777;
  margin-top: 14px;
  font-style: italic;
  font-weight: 400;
}

@media (max-width: 480px) {
  .company-image img {
    width: 120px;
    height: 120px;
    text-align: center;
  }

  .company-info h4 {
    font-size: 1.1rem;
  }
  .about

  {
    padding:0%;
  }

  .company-note {
    font-size: 0.8rem;
  }
}
  .logo {
        font-family: 'Work Sans', sans-serif;
        font-weight: 700; /* Bold for the logo */
      }
      .hero-text h1 {
        font-family: 'Work Sans', sans-serif;
        font-weight: 700; /* Bold for the name */
      }
      .hero-text h2 {
        font-family: 'Work Sans', sans-serif;
        font-weight: 400; /* Regular for the title */
      }
      .footer-bottom
      { 
        font-family: 'Work Sans', sans-serif;

      }
      .footer-logo h3
     {
        font-family: 'Work Sans', sans-serif;
     }
