@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&display=swap');

* {
  margin: 0;
  padding: 0;
  color: #d9d9d9;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
}

/* Top Navigation */
.topnav {
  height: 35px;
  width: 100%;
  background-color: #095D40;
  padding-right: 20px;
  padding-top: 4px;
  color: lightgray;
  text-align: right;
  font-size: 16px;
  font-weight: 500;
}

/* Navbar */
.nav1 {
  padding: 4px;
  height: 60px;
}

.nav2 {
  margin-left: 170px;
}

.nav3 {
  margin-left: 20px;
  font-weight: 500;
}

/* Cards */
.cards {
  width: 100%;
}

.card1 {
  margin-top: 40px;
  padding-top: 15px;
  justify-content: center;
  text-align: center;
  background-color: #8d77ab;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card1:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.card-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card1:hover .card-img img {
  transform: scale(1.1);
}

.card-body {
  padding: 20px;
  text-align: center;
}

.card-title {
  color: #451545;
  font-weight: bold;
  font-size: 18px;
}

.card-text {
  color: #fff;
  font-size: 14px;
  margin-bottom: 15px;
}

.card-body a {
  text-decoration: none;
}

.card-body a h6 {
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  margin-top: 10px;
}

.card-body a h6:hover {
  text-decoration: underline;
}

/* Signature Section */
.body1 {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50vh;
  background: #fff;
}

.signature-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.line {
  flex-grow: 1;
  height: 1px;
  background: rgba(0, 0, 0, 0.3);
  margin: 10px 15px;
}

.signature {
  font-family: 'Dancing Script', cursive;
  font-size: 38px;
  color: #333;
  font-weight: bold;
  white-space: nowrap;
  justify-content: center;
}

/* Responsive Design */
@media (max-width: 600px) {
  .signature {
    font-size: 22px;
  }

  .line {
    margin: 0px 10px;
  }
}

/* Video Section */
.video-section {
  background: #5A1E8C;
  padding: 70px 10px 70px;
  text-align: center;
  color: white;
}

.video-section h2 {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 600;
}

.video-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

.video-box {
  position: relative;
  width: 250px;
  height: 150px;
  background: #000;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 30px;
}

.video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-icon {
  width: 50px;
  opacity: 0.8;
  transition: 0.3s;
}

.play-icon:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .video-container {
    flex-direction: column;
    align-items: center;
  }

  .video-box {
    margin-bottom: 40px;
  }
}

/* Services Section */
.services {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px;
  max-width: 1200px;
  margin: auto;
}

.content {
  width: 50%;
}

.content h2 {
  font-size: 32px;
  color: #2a814d;
}

.content p {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
}

.image-box {
  width: 45%;
  text-align: center;
}

.image-box img {
  width: 80%;
  border-radius: 10px;
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .services {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .image-box {
    width: 100%;
  }
}

/* Stats Section */
.stats-section {
  position: relative;
  background: url('Images/IM222.jpeg') center/cover no-repeat;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(17, 73, 17, 0.7);
  top: 0;
  left: 0;
}

.stats-container {
  position: relative;
  display: flex;
  gap: 80px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 80%;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.circle {
  width: 100px;
  height: 100px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin-bottom: 10px;
}

.circle h2 {
  margin: 0;
  font-size: 24px;
  color: #008020;
  font-weight: 600;
}

.stat p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .stats-container {
    flex-wrap: wrap;
    gap: 20px;
  }

  .circle {
    width: 80px;
    height: 80px;
  }

  .circle h2 {
    font-size: 20px;
  }

  .stat p {
    font-size: 14px;
  }
}

/* Contact Section */
.contact-section {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  margin: auto;
  padding: 40px;
}

.image-container {
  width: 50%;
  text-align: center;
}

.image-container img {
  width: 90%;
  border-radius: 10px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
}

.form-container {
  width: 50%;
  padding-left: 100px;
}

.form-container h2 {
  font-size: 22px;
  color: #222;
  margin-bottom: 20px;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  font-size: 14px;
  font-weight: 600;
  margin: 10px 0 5px;
}

input {
  padding: 8px;
  width: 100%;
  border: none;
  border-bottom: 2px solid #4CAF50;
  outline: none;
  font-size: 16px;
}

button {
  margin-top: 20px;
  padding: 10px;
  background-color: #ccc;
  color: #666;
  border: none;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
}

button:hover {
  background-color: #3d9140;
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
    text-align: center;
  }

  .image-container,
  .form-container {
    width: 100%;
    padding: 0;
  }

  .form-container {
    margin-top: 20px;
  }

  input {
    width: 90%;
    margin: auto;
  }

  button {
    width: 90%;
    margin: auto;
  }
}

/* Footer */
.footer {
  background-color: #451574;
  color: white;
  padding: 50px 0;
  text-align: center;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

.footer-grid {
  display: grid;

  gap: 80px;
  text-align: left;
}

.branding {
  text-align: left;
}

.brand-name {
  font-size: 28px;
  font-weight: 600;
  margin: 0;
}

.brand-name span {
  font-weight: 300;
}

.tagline {
  font-size: 16px;
  margin: 15px 0;
  line-height: 1.6;
}

.social-icons {
  margin-top: 15px;
}

.social-icons a {
  color: white;
  font-size: 20px;
  margin-right: 15px;
  text-decoration: none;
  transition: transform 0.3s ease-in-out, color 0.3s;
}

.social-icons a:hover {
  transform: scale(1.1);
  color: #FFD700;
}

.footer-section h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  font-size: 16px;
  margin-bottom: 10px;
}

.footer-section a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.footer-section a:hover {
  color: #FFD700;
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 30px;
  padding: 20px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  flex: 1;
  text-align: left;
}

.footer-bottom a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  margin-left: auto;
  padding-right: 10px;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Responsive Design for Footer */
@media (max-width: 900px) {
  .footer-grid {
  
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
  
    text-align: center;
  }

  .branding, .footer-section {
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 20px;
  }

  .footer-bottom p {
    text-align: center;
  }

  .footer-bottom a {
    margin-left: 0;
    padding-right: 0;
  }
}
/* Card Container */
.card1 {
  background-color: #8d77ab;
  color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
  padding: 20px;
  position: relative;
}

.card1:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

/* Card Title */
.card-title {
  color: #451545;
  font-weight: bold;
  font-size: 22px;
  margin-bottom: 10px;
}

/* Card Body */
.card-body {
  padding: 20px;
}

.card-text {
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 15px;
}

/* Link styling */
.card-body a {
  text-decoration: none;
}

.card-body h6 {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  transition: color 0.3s ease-in-out;
  text-align: center;
  margin-top: 15px;
}

.card-body h6:hover {
  color: #ffd700; /* Gold color on hover */
}

/* Hover effects for the card */
.card1:hover .card-body h6 {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .card1 {
    padding: 15px;
  }

  .card-title {
    font-size: 20px;
  }

  .card-text {
    font-size: 14px;
  }

  .card-body h6 {
    font-size: 16px;
  }
}


.testimonial-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-photo-container {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.testimonial-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card .card-body {
  padding: 2rem;
  text-align: center;
}

.testimonial-name {
  font-size: 1.2rem;
  font-weight: 600;
}

.testimonial-card .btn-outline-light {
  transition: all 0.3s ease;
}

.testimonial-card .btn-outline-light:hover {
  background-color: #ffffff;
  color: #8d77ab;
  border-color: #8d77ab;
}
