/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

:root {
  --bg-color: #020d26;
  --accent-color: #ff5722;
  --text-color: #ffffff;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ------------------------------
   Top Navbar Container
------------------------------ */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #020d26;
  z-index: 1000;
  border: 2px solid #ff5722;
  border-radius: 10px;
  padding: 0.5rem 1rem;
}

/* Prevent header content from hiding under fixed navbar */
header {
  padding-top: 100px;
}

/* ------------------------------
     Logo with Hover Animation
  ------------------------------ */
.logo {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.logo img {
  display: block;
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.logo:hover img {
  transform: scale(1.1);
}

/* Shine overlay for the logo */
.logo::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 165, 0, 0.4) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  transition: left 0.75s ease;
}

.logo:hover::before {
  left: 100%;
}

/* ------------------------------
     Desktop Navigation Menu
  ------------------------------ */
.main-nav {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.main-nav li a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.main-nav li a:hover {
  color: #eb6e0d;
}

/* ------------------------------
     Dropdown Menu (Desktop)
  ------------------------------ */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #1a1040;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.5rem 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.dropdown-menu li a:hover {
  background-color: rgba(255, 215, 0, 0.1);
  color: #eb6e0d;
}

/* ------------------------------
     Contact Button
  ------------------------------ */
.Contact {
  background-color: transparent;
  border: 1px solid #eb6e0d;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.Contact:hover {
  background-color: #eb6e0d;
  color: #1a1040;
}

/* ------------------------------
     Mobile Menu Button
  ------------------------------ */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
}

/* ------------------------------
     Mobile Sidebar Menu
  ------------------------------ */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 250px;
  height: 100vh;
  background-color: #020d26;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1100;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
}

.mobile-sidebar.active {
  transform: translateX(0);
}

.sidebar-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Sidebar Dropdowns */
.mobile-sidebar .dropdown {
  position: relative;
}

.mobile-sidebar .dropdown-menu {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  min-width: auto;
}

.mobile-sidebar .dropdown-menu li a {
  padding-left: 1rem;
}

/* ------------------------------
     Sidebar Close Button (Mobile)
  ------------------------------ */
.sidebar-header .close-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
}

.sidebar-header .close-btn:hover {
  color: orange;
  transform: scale(1.1);
}

/* ------------------------------
     Responsive (Mobile)
  ------------------------------ */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  .main-nav {
    display: none;
  }
}

.contact-btn {
  display: inline-block;
  background-color: #eb6e0d;
  color: #1b1528;
  padding: 12px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3sease;
}

option {
  background-color: #27203b;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--accent-color);
  margin-bottom: 15px;
}

a {
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

/* Hero Section */
.hero {
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(2, 13, 38, 0.8), rgba(2, 13, 38, 0.9)),
    url("https://images.unsplash.com/photo-1550745165-9bc0b252726f?q=80&w=2940&auto=format&fit=crop")
      no-repeat center center/cover;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 20%, var(--bg-color) 70%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s 0.3s forwards;
}

/* Blog Section */
.blog-section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
}

.blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.blog-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(50px);
}

.blog-card.active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.blog-img {
  height: 200px;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
  transform: scale(1.1);
}

.blog-content {
  padding: 25px;
}

.date {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.blog-content h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.blog-content p {
  margin-bottom: 20px;
}

.read-more {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--accent-color);
  color: var(--text-color);
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.read-more::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  z-index: -1;
}

.read-more:hover::before {
  left: 0;
}

/* FAQs Section
.faqs-section {
    padding: 80px 0;
    background-color: rgba(255, 255, 255, 0.02);
}

.faqs-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
}

.faq-question h4 {
    font-size: 1.2rem;
    margin-bottom: 0;
    color: var(--text-color);
}

.toggle-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px;
} */

/* Blog Modal */
.blog-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  overflow-y: auto;
}

.modal-content {
  background-color: var(--bg-color);
  margin: 50px auto;
  width: 90%;
  max-width: 1000px;
  border-radius: 10px;
  position: relative;
  animation: modalFadeIn 0.5s;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  color: var(--accent-color);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.close-modal:hover {
  transform: rotate(90deg);
}

.modal-body {
  padding: 30px;
}

.blog-detail {
  display: none;
}

.blog-detail h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.featured-img {
  margin: 20px 0;
  border-radius: 10px;
  overflow: hidden;
}

.blog-text {
  margin-bottom: 40px;
}

.blog-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.blog-text h3 {
  font-size: 1.8rem;
  margin: 30px 0 15px;
}

.content-img {
  margin: 20px 0;
  border-radius: 8px;
  overflow: hidden;
}

.blog-text ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.blog-text ul li {
  list-style-type: disc;
  margin-bottom: 10px;
  margin-left: 20px;
}

/* Related Blogs */
.related-blogs {
  margin-top: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
}

.related-blogs h3 {
  margin-bottom: 20px;
}

.related-blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.related-blog-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.related-blog-card:hover {
  transform: translateY(-5px);
}

.related-blog-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.related-blog-card h4 {
  padding: 15px 15px 10px;
  font-size: 1.1rem;
}

.related-blog-card p {
  padding: 0 15px 15px;
  font-size: 0.9rem;
}

.related-blog-card .read-more {
  margin: 0 15px 15px;
  padding: 8px 15px;
  font-size: 0.9rem;
}

/* Newsletter Section */
.newsletter-section {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.02);
  text-align: center;
}

.newsletter-section h2 {
  font-size: 2.2rem;
}

.newsletter-section p {
  max-width: 600px;
  margin: 0 auto 30px;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 15px;
  border: none;
  border-radius: 5px 0 0 5px;
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
}

.newsletter-form button {
  padding: 15px 30px;
  background-color: var(--accent-color);
  color: var(--text-color);
  border-radius: 0 5px 5px 0;
  font-weight: 500;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #e64a19;
}

/* Animation Classes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.animate-hero {
  opacity: 0;
  transform: translateY(30px);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .blog-container {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .blog-container {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    border-radius: 5px;
    margin-bottom: 10px;
  }

  .newsletter-form button {
    border-radius: 5px;
  }

  .related-blog-container {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 576px) {
  .section-title {
    font-size: 2rem;
  }

  .blog-detail h2 {
    font-size: 1.8rem;
  }
}

/* Chat Icon */
/* #chatIcon {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: #ff5722;
  color: #fff;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9998 !important;
  transition: transform 0.3s, background 0.3s;
}

#chatIcon:hover {
  background: #e64a19;
  transform: scale(1.1);
} */

/* Chatbot Container */
/* #chatBot {
  display: none;
  flex-direction: column;
  position: fixed;
  bottom: 150px;
  right: 20px;
  width: 350px;
  height: 450px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9998;
  overflow: hidden;
}

#chatBot header {
  background: #ff5722;
  color: #fff;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#chatBot header h2 {
  margin: 0;
  font-size: 1.2rem;
  color: #fff;
}

#closeChat {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.3s;
}

#closeChat:hover {
  transform: scale(1.1);
}

.chatbox {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  background: #f9f9f9;
}

.chat {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
}

.chat p {
  margin: 0;
  padding: 8px 12px;
  border-radius: 10px;
  max-width: 80%;
}

.chat-incoming p {
  background: #e0e0e0;
  color: #333;
  align-self: flex-start;
}

.chat-outgoing {
  align-items: flex-end;
}

.chat-outgoing p {
  background: #ff5722;
  color: #fff;
  align-self: flex-end;
}

.chat-input {
  display: flex;
  padding: 10px;
  background: #fff;
  border-top: 1px solid #ddd;
}

.chat-input textarea {
  flex: 1;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 5px;
  resize: none;
  height: 50px;
  font-size: 0.9rem;
  color: #333;
}

#sendBTN {
  background: #ff5722;
  color: #fff;
  border: none;
  padding: 8px 15px;
  margin-left: 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

#sendBTN:hover {
  background: #e64a19;
} */

/* Media Queries */
/* @media (max-width: 768px) {
  #chatIcon {
    width: 40px;
    height: 40px;
    font-size: 20px;
    bottom: 80px;
    right: 15px;
  }

  #chatBot {
    width: 300px;
    height: 400px;
    bottom: 130px;
    right: 15px;
  }

  #scrollToTop {
    width: 40px;
    height: 40px;
    bottom: 15px;
    right: 15px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  #chatIcon {
    width: 40px;
    height: 40px;
    bottom: 70px;
    right: 15px;
  } */

  /* #chatBot {
    width: 300px; 
    height: 400px; 
    bottom: 130px; 
    right: 15px;
    border-radius: 10px; 
  }

  #scrollToTop {
    width: 35px;
    height: 35px;
    bottom: 10px;
    right: 15px;
    font-size: 16px;
  }
}

@media (min-width: 1440px) {
  #chatIcon {
    bottom: 100px;
    right: 30px;
  }

  #chatBot {
    bottom: 160px;
    right: 30px;
    width: 400px;
    height: 500px;
  }

  #scrollToTop {
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    font-size: 28px;
  }
} */

/* ARROW */
/* New scroll-to-top button styles */
#scrollToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: #ff5722;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  transition: 0.3s;
  z-index: 1000;
  text-decoration: none;
}

#scrollToTop:hover {
  background: #eb6e0d;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  #scrollToTop {
      width: 40px;
      height: 40px;
      bottom: 15px;
      right: 15px;
      font-size: 18px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  #scrollToTop {
      width: 45px;
      height: 45px;
      font-size: 20px;
  }
}

@media (min-width: 1440px) {
  #scrollToTop {
      width: 60px;
      height: 60px;
      bottom: 30px;
      right: 30px;
      font-size: 28px;
  }
}


/* FOOTER */
/*  Footer Section */
.footer-section {
  background-color: #1b1528;
  color: #fff;
  padding: 60px 20px 20px;
  font-family: Arial, sans-serif;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-column h4 {
  margin-bottom: 20px;
  font-size: 1.2rem;
  color: #eb6e0d;
  text-align: left;
  width: 100%;
}

.footer-column p {
  margin-bottom: 15px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cfcfcf;
  text-align: left;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  width: 100%;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: #cfcfcf;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #eb6e0d;
}

.footer-logo {
  max-width: 140px;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 15px;
  justify-content: flex-start;
  margin-top: 15px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  color: #cfcfcf;
  font-size: 1.1rem;
  text-decoration: none;
  border: 1px solid #cfcfcf;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  color: #eb6e0d;
  border-color: #eb6e0d;
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  max-width: 1200px;
  margin: 40px auto 0;
  font-size: 0.9rem;
  color: #cfcfcf;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-bottom p {
  text-align: center;
  width: 100%;
}

.email-link {
  color: #ff5722;
  text-decoration: none;
  transition: color 0.3s ease;
}

.email-link:hover {
  color: #ff8f66;
}

/* Responsive Design */
@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-about {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-about {
    grid-column: span 1;
  }

  .footer-column {
    padding: 0 20px;
  }
}

@media (max-width: 576px) {
  .footer-section {
    padding: 40px 15px 15px;
  }
}
