:root {
  --primary-beige: #eeddc4;
  --primary-brown: #8b7355;
  --secondary-brown: #5c4033;
  --accent-orange: #d4813b;
  --text-dark: #2c2416;
  --text-light: #f5f1ea;
  --background-light: #f9f6f0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

body {
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--background-light);
}

/* Navigation */
header {
  background: var(--primary-beige);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  height: auto;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--primary-beige);
  position: relative;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2c3e50;
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li a {
  text-decoration: none;
  color: var(--secondary-brown);
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--accent-orange);
}

/* Hero Section */
#hero {
  height: 100vh;
  background: linear-gradient(
    135deg,
    var(--primary-beige),
    var(--primary-brown)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 0 1rem;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 2rem;
  padding-top: 2rem;
}

.hero-content {
  max-width: 600px;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.hero-main {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.hero-story {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 10px;
  backdrop-filter: blur(5px);
  margin-bottom: 2rem;
}

.hero-story p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-light);
}

.hero-mascot {
  z-index: 1;
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}

.hero-mascot img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Services Section */
#services {
  padding: 5rem 1rem;
  background: var(--background-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border-left: 4px solid var(--accent-orange);
}

.service-card:hover {
  border-left: 4px solid var(--primary-brown);
  background: var(--primary-beige);
}

.service-card i {
  font-size: 2.5rem;
  color: var(--primary-brown);
  margin-bottom: 1rem;
}

/* About Section */
#about {
  padding: 5rem 1rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Contact Section */
#contact {
  padding: 5rem 1rem;
  background: #f9f9f9;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input,
textarea {
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
}

textarea {
  height: 150px;
}

/* Common Styles */
h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--secondary-brown);
  position: relative;
  padding-bottom: 15px;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-orange);
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--accent-orange);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: var(--primary-brown);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background: var(--secondary-brown);
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
    padding: 1rem;
  }

  .logo-container {
    width: 100%;
    justify-content: space-between;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary-beige);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

input:focus,
textarea:focus {
  border-color: var(--accent-orange);
  outline: none;
  box-shadow: 0 0 5px rgba(212, 129, 59, 0.3);
}

/* After the services section styles */

/* Case Studies Section */
#case-studies {
  padding: 5rem 1rem;
  background: var(--background-light);
}

.case-studies-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.case-study {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.case-study:hover {
  transform: translateY(-5px);
}

.case-study h3 {
  color: var(--secondary-brown);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.case-study h4 {
  color: var(--accent-orange);
  margin-bottom: 1rem;
}

.case-study h5 {
  color: var(--primary-brown);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.case-study-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.tech-stack ul,
.solution ul {
  list-style: none;
  margin-left: 1rem;
}

.tech-stack ul li,
.solution ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.tech-stack ul li:before,
.solution ul li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-orange);
}

/* Products Section */
#products {
  padding: 5rem 1rem;
  background: linear-gradient(
    135deg,
    var(--background-light),
    var(--primary-beige)
  );
}

.products-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.product {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.product:hover {
  transform: translateY(-5px);
}

.product img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 1.5rem;
}

.product h3 {
  color: var(--secondary-brown);
  margin-bottom: 1rem;
}

.product-features {
  text-align: left;
  margin-top: 1.5rem;
}

.product-features h4 {
  color: var(--accent-orange);
  margin-bottom: 0.5rem;
}

.product-features ul {
  list-style: none;
}

.product-features ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.product-features ul li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-orange);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .case-study-content {
    grid-template-columns: 1fr;
  }

  .products-container {
    grid-template-columns: 1fr;
  }

  .case-study,
  .product {
    padding: 1.5rem;
  }
}

/* About Section Styles */
.about-container {
  max-width: 800px;
  margin: 0 auto;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-content > div {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.about-content h3 {
  color: var(--secondary-brown);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.about-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.contact-info address {
  font-style: normal;
  line-height: 1.8;
  color: var(--secondary-brown);
  margin-top: 1rem;
}

.ai-expertise,
.founder-info {
  border-left: 4px solid var(--accent-orange);
}

.contact-info {
  border-left: 4px solid var(--primary-brown);
}

/* Update the logo span for the new company name */
.logo span {
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--secondary-brown);
  margin-left: 1rem;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .about-content > div {
    padding: 1.5rem;
  }

  .logo span {
    font-size: 1rem;
  }
}

/* Update responsive styles for hero section */
@media (max-width: 968px) {
  .hero-container {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 6rem;
    min-height: 100vh;
    justify-content: flex-start;
  }

  #hero {
    height: auto;
    min-height: 100vh;
    padding-top: 80px;
    padding-bottom: 2rem;
  }

  .hero-content {
    padding-top: 2rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-mascot {
    width: 300px;
    height: 300px;
    margin-top: 4rem;
  }

  .hero-story {
    text-align: left;
    margin: 2rem 0;
  }
}

@media (max-width: 480px) {
  .hero-container {
    padding-top: 4rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-main {
    font-size: 1.2rem;
  }

  .hero-mascot {
    width: 200px;
    height: 200px;
    margin-top: 3rem;
  }

  .hero-story {
    padding: 1rem;
  }
}

/* Update founder section styles */
.founder-content {
  display: flex;
  gap: 2rem;
  align-items: start;
}

.founder-image {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--accent-orange);
}

.founder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-text h4 {
  color: var(--accent-orange);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* Update contact section styles */
.contact-buttons {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.contact-buttons .cta-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
}

.contact-buttons .cta-button i {
  font-size: 1.2rem;
}

/* Update responsive styles */
@media (max-width: 768px) {
  .founder-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .founder-image {
    width: 150px;
    height: 150px;
  }

  .contact-buttons .cta-button {
    width: 100%;
    justify-content: center;
  }
}

/* Navigation Updates */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px 0;
  z-index: 1000;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--secondary-brown);
  transition: all 0.3s ease-in-out;
}

/* Additional Contact Styles */
.additional-contact {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.phone a {
  color: var(--secondary-brown);
  text-decoration: none;
  transition: color 0.3s ease;
}

.phone a:hover {
  color: var(--accent-orange);
}

.meet-us {
  font-style: italic;
  color: var(--primary-brown);
  line-height: 1.6;
}

.additional-contact i {
  margin-right: 0.5rem;
  color: var(--accent-orange);
}

/* Update Mobile Responsive Styles */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  nav {
    padding: 1rem;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary-beige);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    width: 100%;
    text-align: center;
  }

  nav ul li a {
    display: block;
    padding: 1rem;
  }

  /* Hamburger Animation */
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}
