/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");

/* Global Styles for NeuronBytes AI Website */

:root {
  /* Colors */
  --color-text: #000000;
  --color-link-hover: #00bbff;
  --color-button-a: #02cc09;
  --color-white: #ffffff;
  --color-segment-a-bg: #f4f7fe;
  --color-segment-b-bg: #dbdee4;
  --color-segment-c-bg: #ececfb;
  --color-metalic-gray-2: #9ca3ac;
  --color-metalic-gray: #aeb6c0;
  --color-golden-brown: #955a4b;

  /* Layout */
  --content-width: 1180px;

  /* Fonts */
  --header-font: "Ubuntu", sans-serif;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.4;
  color: var(--color-text);
  padding-top: 100px;
}

h1 {
  font-family: var(--header-font);
  font-weight: 900;
  font-size: 3.5rem;
}

.container {
  max-width: var(--content-width);
  margin: 0 auto;
}

header {
  background: #e6e9ec;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}

.logo img {
  height: 80px;
}

/* Hamburger menu styles */
.hamburger-menu {
  color: var(--color-text);
  cursor: pointer;
  font-size: 1.8rem;
  transition: color 0.3s ease;
}

.hamburger-menu:hover {
  color: var(--color-link-hover);
}

.hamburger-menu.active {
  color: var(--color-link-hover);
}

/* Navigation styles */
.main-nav {
  padding-top: 40px;
  background: var(--color-golden-brown);
  color: var(--color-white);
  position: fixed;
  top: 10px;
  right: -300px;
  width: 300px;
  height: 50vh;
  transition: right 0.3s ease;
  overflow-y: auto;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.227);
  z-index: 1000;
}

.main-nav.active {
  right: 0;
}

.main-nav ul {
  list-style: none;
  padding: 2rem;
}

.main-nav ul li {
  margin-bottom: 1rem;
}

.main-nav ul li a {
  text-decoration: none;
  color: var(--color-white);
  transition: color 0.3s ease;
  font-size: 1.1rem;
}

.main-nav ul li a:hover {
  color: var(--color-text);
}

/* Close button styles */
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: var(--color-link-hover);
}

/* Home Page Section 1 - Hero Styles */
.hero {
  background-color: #e6e9ec;

  padding-top: 2rem;
}

.hero-content {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.hero-text {
  flex: 1;
  padding-right: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 1.5rem;
}

.hero-image {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero-image img {
  max-width: 80%;
  height: auto;
  object-fit: contain;
  object-position: bottom right;
}

h2 {
  font-family: var(--header-font);
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.3;
}

p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.65rem 2.2rem;
  border-radius: 25px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  text-align: center;
  font-weight: 500;
}

.btn-primary {
  background: var(--color-golden-brown);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-link-hover);
  color: var(--color-white);
}

.btn-secondary {
  background: var(--color-text);
  color: var(--color-white);
}

.btn-secondary:hover {
  background: var(--color-link-hover);
  color: var(--color-white);
}

/* Home Page Section 2 - Business with AI Styles */
.business-ai {
  background-color: var(--color-metalic-gray-2);
  padding-top: 4rem;
}

.business-ai-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: -0.8rem;
}

.business-ai-image {
  flex: 1;
  padding-right: 2rem;
}

.business-ai-image img {
  max-width: 100%;
  height: auto;
}

.business-ai-text {
  flex: 1;
}

.business-ai-text h2 {
  margin-bottom: 1.5rem;
}

.business-ai-text p {
  margin-bottom: 1rem;
}

.cta-social {
  display: flex;
  align-items: center;
  margin-top: 2rem;
  padding-bottom: 3rem;
}

.social-icons {
  display: flex;
  margin-left: 1rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-golden-brown);
  text-decoration: none;
  margin-right: 0.5rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.social-icon i {
  color: var(--color-white);
}

.social-icon:hover {
  background: var(--color-link-hover);
  border: 1px solid var(--color-link-hover);
  color: var(--color-white);
}

.social-icon i:hover {
  color: var(--color-white);
}

/* Home Page Section 3 - AI Solutions Styles */
.ai-solutions {
  background-color: var(--color-metalic-gray);
  padding-top: 4rem;
}

.ai-solutions-content {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 2rem;
}

.ai-solutions-text {
  flex: 1;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ai-solutions-image-container {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-grow: 1;
}

.ai-solutions-image {
  max-width: 100%;
  height: auto;
}

.ai-solutions-cards {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.solution-card {
  background: var(--color-golden-brown);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.329);
  color: var(--color-white);
  transition: background-color 0.3s ease;
}

.solution-card:hover {
  background: var(--color-white);
  color: var(--color-text);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.solution-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.solution-card p {
  line-height: 1.6;
}

/* Home Page Section 4 - Pioneering AI Research Styles */
.ai-research {
  background-color: var(--color-metalic-gray-2);
  padding: 4rem 0;
}

.ai-research-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.ai-research-text {
  flex: 1;
}

.ai-research-text p {
  margin-bottom: 2rem;
  line-height: 1.6;
  color: var(--color-text);
}

.ai-research-image {
  flex: 1;
}

.rounded-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Footer Styles */
.site-footer {
  background-color: var(--color-metalic-gray);
  padding-top: 2rem;
  padding-bottom: 1rem;
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-info p {
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-icon {
  color: var(--color-text);
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: var(--color-link-hover);
}

.footer-copyright {
  text-align: center;
  position: relative;
  padding-top: 1rem;
  margin-top: 1rem;
}

.footer-copyright::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    #ffffff,
    #ffffff,
    #00bbff,
    #ffffff,
    #ffffff
  );
}

/* About Page Styles */
.about-page {
  padding: 4rem 0;
  background-color: var(--color-metalic-gray);
}

.about-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.about-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    #ffffff,
    #ffffff,
    #00bbff,
    #ffffff,
    #ffffff
  );
}

.about-intro {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.about-image {
  flex: 0 0 35%;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-description {
  flex: 0 0 65%;
}

.about-description h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.about-description p {
  line-height: 1.6;
  color: var(--color-text);
  padding-right: 2.5rem;
}

.about-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.detail-card {
  background-color: var(--color-white);
  border-radius: 5px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.detail-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.detail-card p {
  line-height: 1.6;
  color: var(--color-text);
}

/* Research Page Styles */
.research-page {
  padding: 4rem 0;
  background-color: var(--color-metalic-gray);
}

.research-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.research-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    #ffffff,
    #ffffff,
    #00bbff,
    #ffffff,
    #ffffff
  );
}

.research-intro {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.research-image {
  flex: 0 0 35%;
}

.research-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.research-description {
  flex: 0 0 65%;
}

.research-description h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.research-description p {
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  padding-right: 1.4rem;
}

.research-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.research-details ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.research-details li {
  margin-bottom: 0.5rem;
}

/* Projects Page Styles */
.projects-page {
  padding: 4rem 0;
  background-color: var(--color-metalic-gray);
}

.projects-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.projects-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    #ffffff,
    #ffffff,
    #00bbff,
    #ffffff,
    #ffffff
  );
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.project-item {
  display: flex;
  gap: 1.2rem;
  background-color: #ffffff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.project-image {
  flex: 0 0 30%;
  padding: 1.5rem;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.project-description {
  flex: 0 0 70%;
  padding: 1.5rem;
  padding-right: 2rem;
}

.project-description h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.project-description p {
  line-height: 1.6;
  color: var(--color-text);
  padding-right: 1.4rem;
}

/* Contact Page Styles */
.contact-page {
  padding: 4rem 0;
  background-color: var(--color-metalic-gray);
}

.contact-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.contact-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    #ffffff,
    #ffffff,
    #00bbff,
    #ffffff,
    #ffffff
  );
}

.contact-content {
  display: flex;
  gap: 2rem;
  background-color: #ffffff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding-right: 4rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.contact-image {
  flex: 0 0 35%;
  padding: 1.5rem;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.contact-info {
  flex: 0 0 65%;
  padding: 1.5rem;
}

.contact-info h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.contact-info p {
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.contact-details h3,
.follow-us h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.contact-details p {
  margin-bottom: 0.5rem;
}

.follow-us {
  margin-top: 1.5rem;
}

/* MOBILE RESPONSIVE STYLES */

@media (max-width: 768px) {
  .header-content {
    padding: 0.75rem 20px; /* Slightly reduced padding for smaller screens */
  }

  .logo img {
    height: 75px; /* Slightly smaller logo for mobile */
  }

  .hamburger-menu {
    font-size: 1.75rem; /* Slightly smaller hamburger icon for mobile */
  }

  /* Section 1 - Hero */
  .hero {
    margin-top: -2.5rem;
  }

  .hero-image {
    justify-content: center;
  }

  .hero-content {
    flex-direction: column;
  }

  .hero-text {
    padding: 1.4rem;
    margin-bottom: 2rem;
  }

  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 1.5rem;
    margin: 0.8rem 0;
    line-height: 1.2;
  }

  .btn {
    padding: 0.45rem 1.2rem;
    text-align: center;
    font-weight: 400;
    font-size: 0.9rem;
  }

  /* Responsive styles for Section 2 */
  .business-ai-content {
    flex-direction: column;
    padding: 1.4rem;
  }

  .business-ai-image {
    display: none;
  }

  .business-ai-text {
    margin-top: -3rem;
    margin-bottom: -1.5rem;
  }

  .cta-social {
    flex-direction: column;
  }

  .social-icons {
    margin-left: 0;
    margin-top: 1rem;
  }

  /* Responsive styles for Section 3 */
  .ai-solutions {
    margin-bottom: -2rem;
  }

  .solution-card {
    margin-bottom: 1rem;
  }

  /* Responsive styles for Section 4 */
  .ai-solutions-content {
    padding: 1.4rem;
  }

  .ai-research-content {
    flex-direction: column-reverse;
    padding: 1.4rem;
    margin-top: -3rem;
  }

  .ai-research-text {
    margin-top: -3rem;
    margin-bottom: -2rem;
  }

  .ai-research-text h2 {
    font-size: 2rem;
  }

  .ai-research-image {
    margin-bottom: 2rem;
  }

  /* Responsive styles for Footer */
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-info {
    margin-bottom: 1rem;
  }

  .footer-content p {
    font-size: 0.9rem;
    padding: 0 1.2rem;
  }

  .footer-copyright p {
    font-size: 0.9rem;
  }

  /* General Footer Social Icons */
  .social-icon {
    width: 35px;
    height: 35px;
  }

  /*Responsive styles for About Page */
  .about-page {
    margin-top: -4rem;
  }
  .about-intro {
    flex-direction: column;
    padding: 1.4rem;
  }

  .about-details {
    padding: 1.4rem;
  }

  .about-image,
  .about-description {
    flex: 0 0 100%;
  }

  .about-description {
    margin-bottom: -3rem;
    margin-top: -1.5rem;
  }
  .about-title {
    font-size: 1.6rem;
    padding: 1.4rem;
  }

  .about-description h2 {
    font-size: 1.6rem;
  }

  .detail-card h3 {
    font-size: 1.1rem;
  }

  /* Responsive styles for Research Page */
  .research-page {
    margin-top: -4rem;
  }

  .research-intro {
    flex-direction: column;
    padding: 1.4rem;
  }

  .research-image,
  .research-description {
    flex: 0 0 100%;
  }

  .research-image {
    margin-bottom: -1.5rem;
  }

  .research-title {
    font-size: 1.6rem;
    padding: 1.4rem;
  }

  .research-description h2 {
    font-size: 1.6rem;
  }

  .research-details {
    padding: 1.4rem;
  }

  /* Responsive styles for Project Page */
  .projects-page {
    margin-top: -4rem;
  }

  .project-item {
    flex-direction: column;
  }

  .project-image,
  .project-description {
    flex: 0 0 100%;
  }

  .project-image {
    margin-bottom: -3rem;
  }
  .projects-title {
    font-size: 1.6rem;
    padding: 1.4rem;
  }

  .project-description h2 {
    font-size: 1.6rem;
  }

  .projects-list {
    padding: 1.4rem;
  }

  /* Responsive styles for Contact Page */
  .contact-page {
    margin-top: -4rem;
  }

  .contact-content {
    flex-direction: column;
    padding-right: 0.15rem;
  }

  .contact-image,
  .contact-info {
    flex: 0 0 100%;
  }

  .contact-image {
    margin-bottom: -4rem;
  }

  .contact-title {
    font-size: 1.6rem;
    padding: 1.4rem;
  }

  .contact-info h2 {
    font-size: 1.6rem;
  }

  .contact-content {
    margin: 1.4rem;
  }
}

@media (max-width: 1024px) {
  .ai-solutions-content {
    flex-direction: column;
    align-items: center;
  }

  .ai-solutions-text {
    max-width: 100%;
    margin-bottom: 2rem;
    margin-top: -3rem;
  }

  .ai-solutions-image-container {
    margin-top: 2rem;
  }

  .ai-solutions-cards {
    width: 100%;
  }
}
