* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  scroll-behavior: smooth;
  background: #F8EEDF;
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: #000000;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-link {
  display: inherit;
  text-decoration: none;
  color: inherit;
}

.nav-logo {
  width: 30px;
  height: 30px;
  margin-right: 0.5rem;
}

nav h1 {
  font-size: clamp(1.5rem, 5vw, 1.8rem);
  font-weight: 700;
  color: #F8EEDF;
}

.nav-toggle {
  display: none;
  color: #F8EEDF;
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-menu li {
  margin-left: 2rem;
  position: relative;
}

.nav-menu li a {
  color: #F8EEDF;
  text-decoration: none;
  font-size: clamp(0.9rem, 3vw, 1rem);
  font-weight: 600;
  transition: color 0.3s;
}

.nav-menu li a:hover {
  color: #8E1616;
}

nav .btn {
  background: #8E1616;
  color: #F8EEDF;
  padding: 0.5rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

nav .btn:hover {
  background: #6b1111;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
}

.dropdown-toggle i {
  margin-left: 0.5rem;
  font-size: 0.8rem;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #000000;
  padding: 0.5rem 0;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  z-index: 1000;
}

.dropdown-menu li {
  margin: 0;
  padding: 0.5rem 1rem;
  list-style: none;
}

.dropdown-menu li a {
  color: #F8EEDF;
  font-size: 0.9rem;
  font-weight: 500;
  display: block;
}

.dropdown-menu li a:hover {
  color: #8E1616;
}

.dropdown:hover .dropdown-menu {
  display: block;
}



/* Hero Section */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #000000, #8E1616);
  color: #F8EEDF;
  padding: 2rem;
  margin-top: 60px; /* Adjust for fixed header height */
}

#hero .content {
  max-width: 900px;
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

#hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

#hero p {
  font-size: clamp(1rem, 3vw, 1.25rem);
  margin-bottom: 2rem;
  line-height: 1.6;
}

#hero .btn {
  background: #F8EEDF;
  color: #000000;
  padding: 0.75rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s, color 0.3s;
}

#hero .btn:hover {
  background: #000000;
  color: #F8EEDF;
}

/* General Section Styling */
section {
  padding: clamp(2rem, 5vw, 5rem) 2rem;
  text-align: center;
  background: #F8EEDF;
  color: #000000;
}

section h2 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* About and Vision Section */
#about-vision {
  padding: clamp(2rem, 5vw, 5rem) 2rem;
}

#about-vision .content-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

#about-vision .content-box {
  flex: 1;
  background: #FFFFFF;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  border-left: 5px solid #8E1616;
  animation: fadeIn 0.8s ease-in;
  text-align: left;
  min-width: 280px;
}

#about-vision p {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  color: #4b5563;
  line-height: 1.6;
}

/* Projects Section */
#projects {
  padding: clamp(2rem, 5vw, 5rem) 2rem;
}

#projects h2 {
  margin-bottom: 3rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background: #FFFFFF;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: left;
  color: #000000;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.project-card i {
  font-size: 2rem;
  color: #8E1616;
  margin-bottom: 1rem;
}

.project-card h3 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 600;
  margin-bottom: 1rem;
}

.project-card p {
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.project-card .btn-container {
  margin-top: auto;
}

.project-card .btn {
  background: #8E1616;
  color: #F8EEDF;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
  display: inline-block;
}

.project-card .btn:hover {
  background: #6b1111;
}

/* Tools Section */
#tools {
  padding: clamp(2rem, 5vw, 5rem) 2rem;
}

#tools p {
  margin-bottom: 3rem;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.tool-card {
  background: #FFFFFF;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: #8E1616;
}

.tool-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.tool-card i {
  font-size: 2.5rem;
  color: #8E1616;
  margin-bottom: 1rem;
}

.tool-card h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.tool-card p {
  color: #4b5563;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.tool-card .tool-btn {
  background: #8E1616;
  color: #F8EEDF;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.tool-card .tool-btn:hover {
  background: #6b1111;
}

/* FAQ and Contact Section */
#faq-contact {
  padding: clamp(2rem, 5vw, 5rem) 2rem;
}

.faq-contact-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.faq-section,
.contact-section {
  flex: 1;
  min-width: 280px;
}

#faq h2,
#contact h2 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.faq-container {
  text-align: left;
}

.faq-item {
  margin-bottom: 1.5rem;
  background: #FFFFFF;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.faq-item:hover {
  transform: translateY(-5px);
}

.faq-item h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: 600;
  color: #8E1616;
  display: flex;
  align-items: center;
  cursor: pointer;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #8E1616;
}

.faq-item h3 i {
  margin-right: 0.75rem;
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.faq-item h3.active i {
  transform: rotate(90deg);
}

.faq-item p {
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  color: #4b5563;
  line-height: 1.6;
  display: none;
  padding-top: 1rem;
}

.faq-item p.active {
  display: block;
}

#contact form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: #FFFFFF;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

#contact input,
#contact textarea {
  padding: 0.75rem;
  border-radius: 5px;
  border: 1px solid #8E1616;
  background: #F8EEDF;
  color: #000000;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  transition: border-color 0.3s, box-shadow 0.3s;
}

#contact input:focus,
#contact textarea:focus {
  border-color: #6b1111;
  box-shadow: 0 0 5px rgba(142, 22, 22, 0.3);
  outline: none;
}

#contact textarea {
  resize: vertical;
  min-height: 150px;
}

#contact button {
  background: #8E1616;
  color: #F8EEDF;
  padding: 0.75rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s, transform 0.3s;
}

#contact button:hover {
  background: #6b1111;
  transform: translateY(-2px);
}

/* Footer */
footer {
  background: #000000;
  color: #F8EEDF;
  padding: clamp(2rem, 5vw, 3rem) 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: 600;
  margin-bottom: 1rem;
  color: #F8EEDF;
}

.footer-section p,
.footer-section a {
  color: #F8EEDF;
  font-size: clamp(0.8rem, 2.5vw, 0.9rem);
  line-height: 1.6;
  text-decoration: none;
}

.footer-section a:hover {
  color: #8E1616;
}

.footer-section.social a {
  font-size: 1.5rem;
  margin-right: 1rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #F8EEDF;
  font-size: clamp(0.8rem, 2.5vw, 0.9rem);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: #000000;
    padding: 1rem;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu li {
    margin: 0.5rem 0;
  }

  nav .btn {
    margin: 0.5rem 0;
    text-align: center;
    width: 100%;
    max-width: 200px;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    background: #1a1a1a;
  }

  .project-grid,
  .tools-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  nav {
    flex-direction: row;
    align-items: center;
  }

  .faq-contact-container {
    flex-direction: column;
  }

  #hero h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  #hero p {
    font-size: clamp(0.9rem, 3vw, 1rem);
  }

  #about-vision .content-container {
    flex-direction: column;
    gap: 1.5rem;
  }

  .project-grid,
  .tools-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 1rem;
  }

  #hero {
    padding: 1rem;
  }

  #contact form {
    padding: 1rem;
  }

  .project-card,
  .tool-card {
    padding: 1.5rem;
  }
}


