/* Global Styles */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.3); /* Dark background for contrast */
  scroll-behavior: smooth;
}
/* Floating Header */
.floating-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #121212; /* Deep Black */
  color: #ffffff;
  z-index: 1000;
  padding: 10px 20px;
  box-sizing: border-box;
}

.floating-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.floating-header h1 {
  font-size: 1.5rem;
  margin: 0;
  color: #33b864; /* Emerald Green for brand name */
  white-space: nowrap; /* Prevents the brand name from wrapping */
}

.floating-header nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 10px; /* Space between buttons */
  flex-wrap: wrap; /* Allows buttons to wrap if there isn't enough space */
}

.floating-header nav ul li {
  display: inline-block;
}

.floating-header nav ul li button {
  background-color: #2ecc71; /* Emerald Green */
  color: #ffffff;
  border: none;
  border-radius: 5px;
  padding: 8px 15px;
  font-size: 0.9rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap; /* Prevents text wrapping inside buttons */
}

.floating-header nav ul li button:hover {
  background-color: #6abf69; /* Moss Green on hover */
  transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Add space for floating header */
body {
  padding-top: 70px; /* Adjust to the height of the header */
}

/* Responsive Design */
@media (max-width: 768px) {
  .floating-header .container {
    flex-direction: column; /* Stack brand name and nav buttons vertically */
    align-items: flex-start; /* Align items to the left */
  }

  .floating-header nav ul {
    flex-direction: column; /* Stack buttons vertically */
    width: 100%; /* Use full width for buttons */
  }

  .floating-header nav ul li button {
    width: 100%; /* Make buttons full width for better usability */
  }
}

/* Hero Section */
#hero {
  background: url('hero2.jpg') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.hero-content {
  max-width: 800px;
  animation: fadeIn 1.5s ease;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: bolder;
  margin-bottom: 20px;
  color: #2ecc71; /* Emerald Green for main hero heading */
}
.hero-content h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  color:#f1e9e9 ; /* Emerald Green for main hero heading */
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #f1e9e9;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.hero-buttons button {
  background-color: #6abf69; /* Moss Green */
  color: #000; /* Black text for contrast */
  border: none;
  padding: 15px 20px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.hero-buttons button:hover {
  background-color: #228b22; /* Forest Green on hover */
  transform: scale(1.1);
}
/* Hero Section Animations */
.fade-slide {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideIn 1.5s ease forwards;
}

.fade-slide:nth-child(1) {
  animation-delay: 0.3s;
}

.fade-slide:nth-child(2) {
  animation-delay: 0.6s;
}

.fade-slide:nth-child(3) {
  animation-delay: 0.9s;
}

.fade-slide:nth-child(4) {
  animation-delay: 1.2s;
}

.fade-slide:nth-child(5) {
  animation-delay: 1.5s;
}

@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}



/* About Us Section */
.about-section {
  padding: 50px 0;
  background-color: #121212; /* Dark gray for consistency */
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  border: 2px solid #6abf69; /* Moss Green border */
}

.about-details {
  flex: 1;
  color: #ffffff; /* White text for readability */
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.about-card {
  padding: 15px;
  background-color: #2d2d2d; /* Charcoal Black */
  border: 1px solid #228b22; /* Forest Green border */
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Hover effect */
}

.about-card h3 {
  font-size: 1.25rem;
  color: #6abf69; /* Moss Green for headings */
  margin-bottom: 10px;
}

.about-card p {
  font-size: 0.95rem;
  color: #a0aec0; /* Muted light gray for descriptions */
}

/* Meet the Team Section */
.team-section {
  padding: 50px 20px;
  background-color: #121212; /* Deep black for team section */
  text-align: center;
}

.team-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #2ecc71; /* Emerald Green */
}

.team-container {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.team-member {
  background-color: #2d2d2d; /* Neutral black */
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 200px;
}

.team-member img {
  width: 100%;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.team-member h3 {
  color: #6abf69; /* Moss Green for team names */
  margin-bottom: 5px;
}

.team-member p {
  color: #ffffff; /* White for team titles */
  margin-bottom: 10px;
}

.team-member a {
  color: #2ecc71; /* Emerald Green links */
  text-decoration: none;
  font-weight: bold;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
/* Support Section */
.support-section {
  background-color: #121212; /* Deep black */
  padding: 50px 0;
}
#section-h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-align: center;
  color: #2ecc71; /* Emerald Green */
}


.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.support-card {
  text-align: center;
  padding: 20px;
  border: 1px solid #6abf69; /* Moss Green border */
  border-radius: 10px;
  background-color: #2d2d2d; /* Neutral charcoal black for card background */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Subtle hover effect */
}

.support-card .icon {
  font-size: 2rem;
  color: #2ecc71; /* Emerald Green for icons */
  margin-bottom: 10px;
}

.support-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #ffffff; /* White for headings */
}

.support-card p a {
  font-size: 1rem;
  color: #2ecc71; /* Emerald Green for links */
  text-decoration: none;
  font-weight: bold;
}

.support-card p a:hover {
  color: #6abf69; /* Moss Green for link hover effect */
}


/* Our Services Section */
/* Services Section Styles */
.services-section {
  background-color: #121212;
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.services-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background-color:#121212;
  width: 280px;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease; /* Smooth transition */
}

.service-card.expanded {
  height: auto; /* Expand to fit content */
  background-color: #006837; /* Highlight the expanded card */
  transform: translateY(-5px); /* Slightly lift */
}

.service-info {
  display: none;
  margin-top: 10px;
  text-align: left;
  font-size: 14px;
}


.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #33b864; /* Green heading color */
  border-bottom: 2px solid #33b864;
  padding-bottom: 8px;
}

.service-card ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.service-card ul li {
  font-size: 1rem;
  margin: 8px 0;
  line-height: 1.6;
}

.service-card:hover {
  transform: translateY(-5px);
  transition: all 0.3s ease-in-out;
  background-color: #121212;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color:#121212;
  color: white;
}

header {
  background-color: #006837;
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 24px;
}

header span {
  color: #A6E22E;
}

.services {
  text-align: center;
  padding: 20px;
}

.service-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.service-card {
  background-color: #003366;
  width: 280px;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.service-card:hover {
  background-color: #006837;
}

.service-card img {
  width: 50px;
  margin-bottom: 10px;
}

.service-info {
  display: none;
  margin-top: 10px;
  text-align: left;
  font-size: 14px;
}


.typing {
  font-size: 2.5rem;
  color: #2ecc71; /* Emerald Green typing text */
  border-right: 3px solid #2ecc71; /* Cursor effect */
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  max-width: 100%;
  animation: blink 0.75s step-end infinite; /* Cursor blinking */
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}



/* Catalog Styles */
.services-catalog {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.service-card {
  background-color: #2d2d2d; /* Charcoal Black */
  color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid #6abf69; /* Moss Green border */
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.service-card h3 {
  color: #2ecc71; /* Emerald Green */
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 1rem;
  color: #a0aec0; /* Muted light gray */
}


/* Description */
.typing-description {
  font-size: 1.2rem;
  color: #ffffff;
  padding-top: 10px;
}

/* Catalog Section */
#catalog {
  padding: 50px 20px;
  text-align: center;
  background: #121212; /* Deep black for contrast */
}

#catalog h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #2ecc71; /* Emerald Green */
}

.catalog-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.catalog-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.catalog-item {
  flex: 0 0 300px; /* Fixed width for each item */
  background: #2d2d2d; /* Neutral charcoal black */
  margin: 10px;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.catalog-item img {
  width: 100%;
  max-height: 150px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 10px;
}

.catalog-item h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #6abf69; /* Moss Green for titles */
}

.catalog-item p {
  font-size: 1rem;
  line-height: 1.5;
  color: #ffffff;
}

.catalog-item:hover {
  transform: translateY(-10px);
  background-color: #333333; /* Lighter hover background */
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #2ecc71; /* Emerald Green */
  color: #121212; /* Dark text for contrast */
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.slide-btn:hover {
  background: #6abf69; /* Moss Green on hover */
}

.slide-btn.left {
  left: 10px;
}

.slide-btn.right {
  right: 10px;
}
/* GeM Portal Section */
.gem-section {
  padding: 50px 20px;
  background-color: #121212; /* Deep black for contrast */
  text-align: center;
}

.gem-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #2ecc71; /* Emerald Green for headings */
}

.gem-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #ffffff; /* White for text */
}

.gem-section button {
  background-color: #6abf69; /* Moss Green */
  color: #000000; /* Black text for contrast */
  border: none;
  padding: 15px 30px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.gem-section button:hover {
  background-color: #228b22; /* Forest Green on hover */
  transform: scale(1.1);
}

/* Contact Section */
#contact {
  padding: 50px 20px;
  background: #121212;
  text-align: center;
}

#contact h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #2ecc71; /* Emerald Green */
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  border: 1px solid #6abf69; /* Moss Green borders */
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2ecc71; /* Emerald Green focus */
}

.contact-form button {
  background-color: #228b22; /* Forest Green */
  color: #ffffff;
  padding: 15px 30px;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background-color: #2ecc71; /* Emerald Green on hover */
}

/* Footer */
footer {
  padding: 20px;
  text-align: center;
  background: #0d0d0d; /* Deep black */
}
.footer-logo {
  width: 100px; /* Adjust size as needed */
  height: auto;
  margin-bottom: 10px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: #2ecc71; /* Emerald Green for social icons */
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #6abf69; /* Moss Green on hover */
}

/* Chatbot */
#chatbot {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 1rem;
}

/* Chatbot Toggle Button */
#chatbot-toggle {
  background: linear-gradient(135deg, #2ecc71, #6abf69); /* Emerald and Moss Green gradient */
  color: #090909; 
  border: none;
  padding: 15px 25px;
  border-radius: 10px;
  font-size: 1.2em;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

#chatbot-toggle:hover {
  transform: scale(1.1);
  background: #228b22; /* Forest Green on hover */
}

/* Chatbox Container */
#chatbox {
  display: none;
  width: 400px;
  height: 500px;
  background: #121212; /* Deep black background */
  border: 2px solid #2ecc71; /* Emerald Green border */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Header Section */
.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid #2ecc71; /* Emerald Green border */
  padding: 10px;
}
.show-chatbot {
  display: block !important;
}

.chatbot-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: contain;
}

.chat-header h3 {
  font-size: 1.2em;
  color: #ffffff; /* White text */
}

/* Chat Content */
.chat-content {
  padding: 15px;
  max-height: 350px;
  overflow-y: auto;
  background: linear-gradient(135deg, #1b1b1b, #333333); /* Dark gradient background */
  border-radius: 5px;
}

/* Questions List */
.chat-questions {
  list-style: none;
  padding: 0;
  margin: 0;
}

.chat-questions .question {
  cursor: pointer;
  background: #6abf69; /* Moss Green */
  color: #000000; /* Black text */
  margin: 5px 0;
  padding: 10px 15px;
  border-radius: 8px;
  transition: transform 0.2s ease, background 0.3s ease;
}

.chat-questions .question:hover {
  transform: translateY(-3px);
  background: #228b22; /* Forest Green on hover */
}

/* Chat Answers */
#chat-answer {
  margin: 10px 0;
  padding: 10px;
  font-size: 1rem;
  color: #ffffff; /* White text */
  background: #2ecc71; /* Emerald Green background */
  border: 1px solid #6abf69; /* Moss Green border */
  border-radius: 8px;
  text-align: center;
  transition: transform 0.2s ease;
}

/* Responsiveness */
@media (max-width: 768px) {
  #chatbox {
    width: 90%;
    height: 400px;
  }

  #chatbot-toggle {
    padding: 10px 15px;
  }

  .chat-header h3 {
    font-size: 1em;
  }
}


/* Close Button */
.close-btn {
  color: #ffffff;
  float: right;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #2ecc71; /* Emerald Green on hover */
}



/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Product Catalog Section */
.product-catalog-section {
  background-color: #121212;
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.product-heading {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #33b864; /* Green heading color */
}

.product-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.product-card {
  background-color: transparent;
  width: 250px;
  height: 150px;
  perspective: 1000px; /* Required for 3D effect */
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.product-card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card-front {
  background-color: #2d2d2d;
  color: #ffffff;
}

.card-front h3 {
  margin: 0;
  font-size: 1.1rem;
}

.card-back {
  background-color: #33b864;
  color: #121212;
  transform: rotateY(180deg);
  font-size: 0.9rem;
}
