/* Global Styles */
html {
  scroll-behavior: smooth; /* Smooth scrolling for anchor links */
}
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  line-height: 1.6;
}

/* ===== NAVBAR STYLES ===== */
.navbar {
  /* background: linear-gradient(300deg, #6b8e23, #3e6638, #2f4f2f); */
  background: linear-gradient(300deg, #5a7a1d, #3a5e34, #2a4a2a);
  text-align: center;
  padding: 0.8rem 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 0.5rem 1rem;
  background: rgba(47, 79, 47, 0.95);
  backdrop-filter: blur(10px);
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  transition: transform 0.3s ease;
  border: 1px solid whitesmoke;
}

.logo-img:hover {
  transform: scale(1.05);
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  padding: 0.5rem 1rem;
  position: relative;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #ffd700; 
  transform: translateY(-3px);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  width: calc(100% - 2rem);
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  transform: scaleX(1);
}

/* Active link styling */
.navbar-nav .nav-item.active .nav-link {
  color: #ffd700;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.navbar-nav .nav-item.active .nav-link::after {
  transform: scaleX(1);
}

/* Login button styles */
.navbar .btn-outline-light {
  border-width: 2px;
  transition: all 0.3s ease;
}

.navbar .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Mobile Responsive Styles (All Devices) */
@media (max-width: 991.98px) {
  .navbar {
    padding: 0.75rem 1rem;
    align-items: flex-start;
  }

  .navbar-collapse {
    background: rgba(47, 79, 47, 0.98);
    margin-top: 0.75rem;
    border-radius: 0.5rem;
    width: 100%;
    padding: 1rem 0;
  }
  .navbar-nav {
    width: 100%;
    padding: 0.5rem 0;
    gap: 0.5rem;
  }

  .nav-link {
    padding: 1rem 1.5rem !important;
    font-size: 1rem;
    border-radius: 0.25rem;
    margin: 0.15rem 0;
  }

  .navbar-brand {
    font-size: 1rem;
    margin-right: auto;
  }

  .logo-img {
    width: 35px;
    height: 35px;
  }

  .login-wapper { /* Changed to match your HTML */
    width: 100%;
    padding: 1rem 1.5rem 0;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
  }

  .login-wapper .btn { /* Changed to match your HTML */
    width: 60%;
    justify-content: center;
  }

  /* Special cases for very small devices */
  @media (max-width: 576px) {
    .navbar-brand h4 {
      font-size: 0.9rem;
    }
    .logo-img {
      width: 30px;
      height: 30px;
    }
  }
}




/* Color Variables */
:root {
  --dark-green: #2f4f2f;
  --light-green: #e8f5e9;
  --medium-green: #81c784;
  --accent-green: #4caf50;
}

/* Color Classes */
.bg-dark-green {
  background-color: var(--dark-green) !important;
}

.bg-light-green {
  background-color: var(--light-green) !important;
}

.text-dark-green {
  color: var(--dark-green) !important;
}

.border-light-green {
  border-color: var(--medium-green) !important;
}

.btn-dark-green {
  background-color: var(--dark-green);
  color: white;
  border: none;
}

.btn-dark-green:hover {
  background-color: #1e3e1e;
  color: white;
}



/* Contact Modal Specific Styles */
.contact-info-section {
  background-color: #f8f9fa;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.contact-item i {
  font-size: 1.0rem;
}

.map-container {
  transition: all 0.3s ease;
}

.map-container:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Mobile-first responsive adjustments */
@media (max-width: 768px) {
  #contactModal .modal-dialog {
    margin: 0.5rem auto;
    max-width: 95%;
  }
  
  #contactModal .modal-header,
  #contactModal .modal-body {
    padding: 0.5rem;
  }
  
  #contactModal .contact-item {
    padding: 0.5rem;
    margin-bottom: 0.5rem;
  }
  
  #contactModal .contact-item i {
    font-size: 1rem;
  }
  
  #contactModal .map-container {
    height: 100px;
  }
  
  #contactModal iframe {
    height: 100px;
  }
  
  #contactModal .form-control,
  #contactModal .btn {
    font-size: 0.875rem;
  }
}
/* Close button adjustments */
#contactModal .btn-close {
  filter: brightness(0) invert(1);
  opacity: 1;
  background-size: 0.75rem;
  width: 1.25rem;
  height: 1.25rem;
}

#contactModal .btn-close:hover {
  opacity: 0.75;
}

/* Mobile-specific header adjustments */
@media (max-width: 768px) {
  #contactModal .modal-header {
    padding: 0.5rem 0.75rem;
  }
  
  #contactModal .modal-title {
    font-size: 0.95rem;
    padding-right: 0.5rem;
  }
  
  #contactModal .btn-close {
    background-size: 0.65rem;
    width: 1.1rem;
    height: 1.1rem;
    margin-left: auto; /* Pushes it to the right */
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 768px) {
  #contactModal .modal-dialog {
    max-width: 85%;
  }
  
  #contactModal .map-container {
    height: 140px;
  }
  
  #contactModal iframe {
    height: 140px;
  }
}


/* Floating 🎓 Button */
#internship-bot-button {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(47, 79, 47, 0.95);
  color: white;
  font-size: 22px;
  padding: 14px 16px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  display: none; /* hidden initially, shown after closing popup */
}

/* Popup Box */
#internship-popup {
  position: fixed;
  top: calc(50% + 40px);
  right: 60px;
  width: 300px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 1000;
  font-family: 'Poppins', sans-serif;
  display: flex;
  flex-direction: column; /* 💡 Stack header and body vertically */
  overflow: hidden;
}

/* Popup Header */
.popup-header {
  background: rgba(47, 79, 47, 0.95);
  color: white;
  padding: 12px 16px;
  font-weight: 600;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Close Button */
.popup-close {
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

/* Popup Body */
.popup-body {
  padding: 16px;
  font-size: 14px;
  color: #333;
  background-color:rgb(235, 233, 215);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
@media screen and (max-width:480px) {
  #internship-popup{
    width: 200px;
  }
  .popup-header{
    text-align: center;
  }
  
}





/* glitter */
.glitter-static-section {
  background: #fff;
  text-align: center;
  padding: 60px 10px 10px;
  overflow: hidden;
}

.text-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-family: 'Dancing Script', cursive; 
}

.glitter-text,
.sub-glitter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.glitter-text span,
.sub-glitter span {
  display: inline-block;
  animation: glitter 2.5s infinite alternate, rotate 6s infinite ease-in-out;
  transform-origin: center;
  opacity: 0.95;
  padding: 0 5px;
  white-space: nowrap;
}

.glitter-text span {
  font-size: clamp(1.8rem, 5vw, 4rem);
  font-weight: 800;
  color: #000;
  animation-delay: calc(var(--i) * 0.07s);
}


.sub-glitter span {
  font-size: clamp(1.4rem, 5vw, 2.2rem);
  font-weight: 600;
  color: #f57c00;
  letter-spacing: 1px;
  animation-delay: calc(var(--i) * 0.07s + 0.5s);
}

/* Animations */
@keyframes glitter {
  0%, 100% {
    text-shadow:
      0 0 4px #fff,
      0 0 10px #ffd700,
      0 0 20px #ff0;
  }
  50% {
    text-shadow:
      0 0 2px #fff,
      0 0 5px #ff0,
      0 0 10px #ffcc00;
  }
}

@keyframes rotate {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(1.5deg); }
}

/* Responsive */
@media (max-width: 480px) {
  .glitter-static-section {
    padding: 70px 5px;

  }

  .glitter-text span {
    font-size: clamp(1.4rem, 6vw, 2.4rem);
  }

  .sub-glitter span {
    font-size: clamp(1.1rem, 5vw, 1.6rem);
    letter-spacing: 0.8px;
  }
}




/* Flipkart Horizontal Scroll */
.scroll-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  background: #fff;
  border-top: 2px solid #ddd;
  border-bottom: 2px solid #ddd;
  padding: 15px 0;
}

.scroll-track {
  display: flex;
  animation: scroll-left 30s linear infinite;
  gap: 20px;
}

.scroll-track img {
  height: 220px;
  border-radius: 10px;
  object-fit: cover;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Flipkart-style Product Grid */
.flipkart-product-grid {
  padding: 30px 20px;
  background: #f5f5f5;
}

.product-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 40px;
  max-width: 100%;
  margin: auto;
}

.flipkart-card {
  width: 200px;
  background: white;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s;
}

.flipkart-card:hover {
  transform: translateY(-5px);
}

.flipkart-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  margin-bottom: 10px;
  border-radius: 8px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .scroll-track img {
    height: 150px;
  }
  .product-grid-container {
  grid-template-columns: repeat(2, 1fr); /* 2 items per row */
    gap: 10px;
}

   .flipkart-card {
    width: 100%;
    font-size: 14px;
  }

  .flipkart-card img {
    height: 100px;
  }

}



/* Enhanced Original Product Card Styles */
.section-header h2 {
  color: #2f4f2f;
  position: relative;
  padding-bottom: 15px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #4CAF50;
}

.product-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(46, 125, 50, 0.1);
  border: 1px solid rgba(46, 125, 50, 0.15);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(46, 125, 50, 0.15);
}

.product-icon {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  background: rgba(76, 175, 80, 0.1);
  border-radius: 50%;
  padding: 20px;
}

.product-icon img {
  max-height: 80px;
  width: auto;
  transition: transform 0.3s ease;
}

.product-card:hover .product-icon img {
  transform: scale(1.05);
}

.product-card h3 {
  color: #2f4f2f;
  font-weight: 700;
  margin-bottom: 15px;
}

.product-card p {
  color: #6c757d;
  margin-bottom: 25px;
  flex-grow: 1;
}

.product-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 25px;
  background: #4CAF50;
  color: white;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.product-cta:hover {
  background: #3e8e41;
  box-shadow: 0 3px 10px rgba(46, 125, 50, 0.3);
}

.product-cta i {
  margin-left: 8px;
  font-size: 1.1rem;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
  .product-card {
    padding: 25px;
  }
  
  .product-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
  }
  
  .product-icon img {
    max-height: 60px;
  }
}

@media (max-width: 575.98px) {
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .product-card {
    padding: 20px;
  }
}





/* News Cards */
.news-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.news-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(25, 135, 84, 0.1);
  margin-bottom: 1.5rem;
  color: #198754;
}

.news-card.text-primary .news-icon {
  background: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
}

.news-card.text-warning .news-icon {
  background: rgba(255, 193, 7, 0.1);
  color: #ffc107;
}

.news-title {
  font-weight: 600;
  margin-bottom: 1rem;
  color: #212529;
  font-size: 1.25rem;
}

.news-badge {
  display: inline-block;
  padding: 0.35em 0.65em;
  font-size: 0.75em;
  font-weight: 700;
  line-height: 1;
  color: white;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.news-desc {
  color: #6c757d;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
  flex-grow: 1;
}

.news-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  border: none;
  min-width: 140px;
}

.news-btn i {
  margin-left: 8px;
  transition: transform 0.3s ease;
  font-size: 0.8em;
}

.news-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.news-btn:hover i {
  transform: translateX(3px);
}

.btn-primary {
  background-color: #0d6efd;
  color: white;
}

.btn-primary:hover {
  background-color: #0b5ed7;
  color: white;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .news-card {
    padding: 1.5rem;
  }
  
  .news-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.25rem;
  }
}

@media (max-width: 767.98px) {
  .newsroom-section {
    padding: 3rem 0;
  }
  
  .news-title {
    font-size: 1.15rem;
  }
  
  .news-desc {
    font-size: 0.9rem;
  }
}

@media (max-width: 575.98px) {
  .news-card {
    padding: 1.25rem;
  }
  
  .news-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .news-btn {
    min-width: 120px;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
  }
}
/* About Section Styles */
#about-section {
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.section-tagline {
  color: #b46a0a;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.section-title {
  color: #2f4f2f;
  font-weight: 700;
  margin-bottom: 1rem;
}

.divider {
  width: 80px;
  height: 3px;
  background: #4CAF50;
  margin: 1.5rem auto;
}

.about-content {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.lead-text {
  font-size: 1.1rem;
  color: #6c757d;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.about-feature {
  padding: 1.5rem;
  border-left: 3px solid #4CAF50;
  background: rgba(76, 175, 80, 0.05);
  border-radius: 0 8px 8px 0;
  transition: all 0.3s ease;
}

.about-feature:hover {
  transform: translateX(5px);
  background: rgba(76, 175, 80, 0.1);
}

.about-feature p {
  color: #495057;
  line-height: 1.8;
  margin-bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .about-content {
    padding: 2rem;
  }
}

@media (max-width: 767.98px) {
  .section-title {
    font-size: 1.8rem;
  }
  
  .about-content {
    padding: 1.5rem;
  }
  
  .about-feature {
    padding: 1.2rem;
  }
}

@media (max-width: 575.98px) {
  .section-tagline {
    font-size: 0.8rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .lead-text {
    font-size: 1rem;
  }
}
/* footer */
.site-footer {
  background: linear-gradient(145deg, #2f4f2f, #1e1e1e);
  color: #ffffffd9;
  font-size: 15px;
  letter-spacing: 0.5px;
}

.site-footer a {
  color: #ffffffc7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer .footer-links a:hover {
  color:blueviolet;
}

.footer-links li {
  margin-bottom: 8px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #ffffff11;
  color: white;
  font-size: 18px;
  transition: background 0.3s, transform 0.3s;
}
/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(145deg, #3e6638, #2f4f2f); /* Elegant green gradient */
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 999;
}

.back-to-top:hover {
    background: goldenrod;
   color: #fff;
  /* background: #88c057; vibrant herbal hover color */
  transform: translateY(-5px);
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}


