/* ===== General Styles ===== */
body {
  font-family: "Poppins", sans-serif;
  background-color: #f9f9f9;
  color: #222;
  overflow-x: hidden;
  padding-top: 70px; /* Adjusts page content below navbar */
}

/* ===== Hero Section ===== */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
  padding: 60px;
  background: linear-gradient(to right, #e8f5e9, #ffffff);
}

.hero-text {
  flex: 1;
  padding-right: 30px;
}

.hero-text h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #2e7d32;
}

.hero-text p {
  font-size: 1.2rem;
  color: #444;
}

/* ===== Buttons ===== */
.buttons {
  margin-top: 25px;
}

.buttons a {
  text-decoration: none;
  padding: 12px 25px;
  margin-right: 10px;
  border-radius: 25px;
  font-weight: 500;
  transition: 0.3s;
}

.btn-view {
  background-color: #2e7d32;
  color: #fff;
}

.btn-view:hover {
  background-color: #1b5e20;
}

.btn-contact {
  border: 2px solid #2e7d32;
  color: #2e7d32;
}

.btn-contact:hover {
  background-color: #2e7d32;
  color: #fff;
}

/* ===== Hero Image ===== */
.hero-image {
  flex: 1;
  text-align: right;
}

.hero-image img {
  width: 90%;
  max-width: 400px;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.typing-text {
  display: inline-block;
  border-right: 3px solid #2e7d32;
  white-space: nowrap;
  overflow: hidden;
  color: #1b5e20;
  font-weight: 600;
  animation: blink 0.8s infinite;
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

/* Remove cursor after each line finishes */
.typing-finished {
  border: none;
  animation: none;
}


/* ===== Footer ===== */
footer {
  background-color: #1b5e20;
  color: #ccc;
  padding: 60px 0 30px;
}

footer h5 {
  color: #fff;
  margin-bottom: 20px;
  font-weight: 600;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 10px;
}

footer ul li a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

footer ul li a:hover {
  color: #a5d6a7;
}

.social-icons a {
  font-size: 1.3rem;
  margin-right: 15px;
  color: #a5d6a7;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid #2e7d32;
  padding-top: 15px;
  font-size: 0.9rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-text {
    padding-right: 0;
  }

  .hero-image {
    text-align: center;
    margin-bottom: 30px;
  }
}
/* Navbar customization */
.navbar-custom {
  background-color: #2e7d32;
}

/* Hero section */
.about-hero {
  background-color: #2e7d32;
  color: white;
  padding: 100px 0 50px 0;
  text-align: center;
}

.about-hero h1 {
  font-size: 3rem;
  font-weight: bold;
}

.about-hero p {
  font-size: 1.25rem;
}

/* Section titles */
.section-title {
  font-weight: bold;
  color: #2e7d32;
  margin-bottom: 30px;
}

/* Lists */
.education-list, .career-list, .achievements-list {
  list-style: none;
  padding: 0;
}

.education-list li, .career-list li, .achievements-list li {
  margin-bottom: 15px;
  padding-left: 35px;
  position: relative;
}

.education-list li::before,
.career-list li::before,
.achievements-list li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  color: #2e7d32;
}

/* Hero section */
.hero-education {
  background-color: #2e7d32;
  color: white;
  padding: 100px 0 50px 0;
  text-align: center;
}

.hero-education h1 {
  font-size: 3rem;
  font-weight: bold;
}

.hero-education p {
  font-size: 1.25rem;
}

/* Info cards */
.card-title {
  font-weight: bold;
  color: #2e7d32;
}

.info-list li {
  padding: 8px 0;
  font-size: 1.1rem;
}

/* Timeline styles inside card */
.timeline {
  position: relative;
  margin: 20px 0;
  padding-left: 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #2e7d32;
}

.timeline-item {
  position: relative;
  padding: 10px 0 10px 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 5px;
  width: 20px;
  height: 20px;
  background: #2e7d32;
  border-radius: 50%;
  border: 4px solid white;
}

/* Buttons */
.d-flex .btn {
  min-width: 200px;
}

/* Hero Contact Section */
.hero-contact {
  background-color: #2e7d32;
  color: white;
  padding: 100px 0 50px 0;
  text-align: center;
}

.hero-contact h1 {
  font-size: 3rem;
  font-weight: bold;
}

.hero-contact p {
  font-size: 1.25rem;
}

/* Contact card */
.contact-list li {
  font-size: 1.1rem;
  padding: 10px 0;
}

.contact-list a {
  color: #2e7d32;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

/* Card shadow and padding */
.card {
  border-radius: 10px;
}

/* ===== Hero Section ===== */
.hero-services {
  background: linear-gradient(135deg, #66bb6a, #2e7d32); /* Green gradient */
  color: #fff;
  padding: 100px 0; /* Top and bottom spacing */
  text-align: center;
  position: relative;
}

.hero-services h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-services p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Optional: Add a subtle wave shape at bottom */
.hero-services::after {
  content: "";
  display: block;
  width: 100%;
  height: 50px;
  background: #f8f9fa; /* Light color to transition to next section */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 70%);
  position: absolute;
  bottom: 0;
  left: 0;
}

/* ===== Floating WhatsApp Button ===== */
.floating-whatsapp {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background-color: #25d366; /* WhatsApp green */
  color: #fff;
  font-size: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  line-height: 60px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s, box-shadow 0.3s;
  z-index: 1000;
}

.floating-whatsapp:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  color: #fff;
  text-decoration: none;
}

/* ===== Floating Scroll Arrow Button ===== */
.floating-arrow {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #2e7d32; /* green matching your theme */
  color: #fff;
  font-size: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  text-align: center;
  line-height: 50px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
  z-index: 1000;
}

.floating-arrow:hover {
  background-color: #1b5e20; /* darker green on hover */
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

.floating-arrow i {
  pointer-events: none; /* ensures icon click triggers button */
}
/* ===== FULL RESPONSIVENESS FIXES ===== */
@media (max-width: 1200px) {
  .hero {
    flex-wrap: wrap;
    text-align: center;
    padding: 80px 30px;
  }

  .hero-text {
    flex: 1 1 100%;
    padding: 0;
  }

  .hero-image {
    flex: 1 1 100%;
    text-align: center;
    margin-top: 30px;
  }

  .hero-image img {
    width: 70%;
    max-width: 350px;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }
}

@media (max-width: 992px) {
  .hero {
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
  }

  .hero-text {
    padding: 0;
  }

  .hero-image img {
    width: 80%;
    max-width: 300px;
  }

  .buttons a {
    display: inline-block;
    margin: 8px;
  }

  footer .row {
    text-align: center;
  }

  footer .col-md-4 {
    margin-bottom: 25px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 50px 15px;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text p {
    font-size: 0.95rem;
  }

  .hero-image img {
    width: 75%;
  }

  .btn-view, .btn-contact {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .floating-whatsapp, .floating-arrow {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 20px;
  }
}

@media (max-width: 576px) {
  body {
    padding-top: 60px;
  }

  .hero {
    padding: 40px 10px;
  }

  .hero-text h1 {
    font-size: 1.6rem;
  }

  .hero-text p {
    font-size: 0.9rem;
  }

  .hero-image img {
    width: 65%;
  }

  footer {
    padding: 40px 0 20px;
  }

  footer h5 {
    font-size: 1.1rem;
  }

  .social-icons a {
    font-size: 1.2rem;
  }
}
