/* Font and Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', sans-serif;
  background-color: #fefef9;
  color: #111;
}





/* Root Theme */
:root {
  --bg: white;
  --fg: black;
  /* font-size: calc(16px + (24 - 16) * (100vw - 320px) / (1280 - 320)); */
}

/* Preloader Container */
#preloader {
  position: fixed;
  width: 100%;
  height: 100vh;
  background-color: var(--bg);
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Loader Styles */
.pl,
.pl__worm {
  animation-duration: 3s;
  animation-iteration-count: infinite;
}
.pl {
  animation-name: bump;
  animation-timing-function: linear;
  width: 5em;
  height: 5em;
}
.pl__ring {
  stroke: rgba(0, 0, 0, 0.1);
}
.pl__worm {
  stroke: black;
  animation-name: worm;
  animation-timing-function: cubic-bezier(0.42, 0.17, 0.75, 0.83);
}

/* Animations */
@keyframes bump {
  from,
  42%, 46%, 51%, 55%, 59%, 63%, 67%, 71%, 74%, 78%, 81%, 85%, 88%, 92%, to {
    transform: translate(0, 0);
  }
  44% { transform: translate(1.33%, 6.75%); }
  53% { transform: translate(-16.67%, -0.54%); }
  61% { transform: translate(3.66%, -2.46%); }
  69% { transform: translate(-0.59%, 15.27%); }
  76% { transform: translate(-1.92%, -4.68%); }
  83% { transform: translate(9.38%, 0.96%); }
  90% { transform: translate(-4.55%, 1.98%); }
}

@keyframes worm {
  from { stroke-dashoffset: 10; }
  25% { stroke-dashoffset: 295; }
  to { stroke-dashoffset: 1165; }
}



/* Top Header */
.top-header {
  background-color: #000;
  color: #fff;
  padding: 8px 0;
  font-size: 14px;
}

.top-header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info {
  display: flex;
  gap: 30px;
}

.contact-info span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-info i {
  font-size: 12px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: #fff;
  text-decoration: none;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.social-links a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.social-links i {
  font-size: 14px;
}


/* Navbar Base */
header {
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  padding: 20px 5%;
  position: relative;
  z-index: 1000;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-top: -0.9rem;
  margin-bottom: -1rem;
}

.logo {
  /* font-size: 36px; */
  /* font-weight: 700; */
  color: #1c1c1c;
  line-height: 1;
  text-decoration: none;
  /* margin-top: -2rem; */
}
.logo img{
  width: 20rem;
  margin-left: -2.8rem;
}

/* .logo.gradient-text {
  background: linear-gradient(90deg, #7b5dfd, #f6416c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
} */

/* Nav Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 50px;
  white-space: nowrap;
}

.nav-links li a {
  text-decoration: none;
  color: #1c1c1c;
  font-size: 16px;
  transition: color 0.3s ease, transform 0.3s ease-in-out;
}

.nav-links li a:hover {
  color: #4caf50;
  transform: scale(1.1);
}


/* Hamburger Icon */
.hamburger {
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  padding: 5px;
  display: none;
  position: relative;
  z-index: 1002;
}

.hamburger i {
  font-size: 22px;
  color: #1c1c1c;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .top-header-content {
    padding: 0 3%;
  }

  .contact-info {
    gap: 20px;
  }

  .contact-info span:first-child {
    display: none; /* Hide phone number on mobile */
  }
}


@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    background-color: white;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    display: none;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }
  
}


@media (max-width: 768px) {
  
  .logo img{
    width: 15rem;
    margin-left: -1rem;
    margin-top: 0.4rem;
  }
}

/* hero section  */

/* Hero Section */
.about-hero {
  background: linear-gradient(135deg, #000000 0%, #1c1c1c 100%);
  padding: 120px 20px;
  text-align: center;
  color: white;
}

.about-hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  color: white;
}

.about-hero h1 span {
  background: linear-gradient(90deg, #ffffff 0%, #cfcfcf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-hero p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto;
  color: #dddddd;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .about-hero h1 {
    font-size: 36px;
  }

  .about-hero p {
    font-size: 16px;
  }
}



/* legacy section  */
.legacy-section {
  background: #f7f7f7;
  padding: 80px 20px;
}

.legacy-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.legacy-text {
  flex: 1 1 500px;
  color: #111;
}

.legacy-text .badge {
  display: inline-block;
  background: #e0e0e0;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}

.legacy-text h2 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #000;
}

.legacy-text .highlight {
  color: #444;
  background: linear-gradient(to right, #000, #999);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.legacy-text p {
  font-size: 17px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 18px;
}

.legacy-text strong {
  color: #000;
}

.legacy-image {
  flex: 1 1 400px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-radius: 16px;
  overflow: hidden;
}

.legacy-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .legacy-container {
    flex-direction: column;
    text-align: center;
  }

  .legacy-text h2 {
    font-size: 28px;
  }
}


/* impact section  */
.impact-section {
  background-color: #f9f9f9;
  padding: 80px 20px;
  text-align: center;
}

.impact-title h2 {
  font-size: 36px;
  font-weight: 800;
  color: #111;
}

.impact-title span {
  background: linear-gradient(to right, #000, #777);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.impact-title p {
  font-size: 16px;
  color: #333;
  margin-top: 10px;
}

.impact-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px;
}

.impact-box {
  background: #fff;
  padding: 30px 20px;
  border-radius: 14px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: default;
}

.impact-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.impact-box .icon {
  font-size: 40px;
  margin-bottom: 20px;
  color: #000;
}

.impact-box h3 {
  font-size: 30px;
  font-weight: bold;
  color: #111;
  margin-bottom: 10px;
}

.impact-box p {
  font-size: 15px;
  color: #444;
}

/* therapeutic section  */
 .section-container {
      padding: 60px 20px;
      max-width: 1200px;
      margin: auto;
      text-align: center;
    }

    .section-title {
      font-size: 2.7rem;
      font-weight: bold;
    }

    .section-subtitle {
      font-size: 1rem;
      color: #000;
      margin: 10px auto 40px;
      max-width: 600px;
    }

    .cards-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 120px;
    }

    .card {
      background-color: #181818;
      border-radius: 20px;
      overflow: hidden;
      width: 300px;
      position: relative;
      box-shadow: 0 0 10px rgba(0,0,0,0.5);
      transition: transform 0.4s ease, box-shadow 0.4s ease;
      border: 2px solid transparent;
    }

    .card::before {
      content: "";
      position: absolute;
      top: -2px;
      left: -2px;
      right: -2px;
      bottom: -2px;
      background: linear-gradient(45deg, #00ffc3, #fff, #00ffc3);
      z-index: -1;
      filter: blur(10px);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .card:hover {
      transform: translateY(-10px);
      box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
    }

    .card:hover::before {
      opacity: 0.6;
    }

    .card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      transition: transform 0.4s ease;
    }

    .card:hover img {
      transform: scale(1.07);
    }

    .card-content {
      padding: 20px;
      text-align: left;
    }

    .card h3 {
      font-size: 1.5rem;
      margin-bottom: 10px;
      color: #ffffff;
    }

    .card p {
      font-size: 0.95rem;
      color: #fff;
      line-height: 1.5;
    }

    

    
    @media (max-width: 768px) {
      .card {
        width: 100%;
      }
    }



    
/* Footer styles */
.farhanpharma-footer {
  background: linear-gradient(to right, #0c0c0c, #1e1e1e);
  color: #e4e4e4;
  padding: 50px 20px 20px;
  font-family: 'Manrope', sans-serif;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-about h2 {
  font-size: 26px;
  font-weight: 700;
  color: white;
}

.footer-about h2 span {
  color: whitesmoke;
}

.footer-about p {
  margin: 15px 0;
  line-height: 1.6;
  color: #bbb;
}

.footer-address i {
  color: whitesmoke;
  margin-right: 8px;
}

.footer-links h3,
.footer-social h3 {
  color: white;
  margin-bottom: 12px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  text-decoration: none;
  color: #ccc;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: burlywood;
  translate: scale(1.2);
  transition: all 0.3s ease-in-out;
}

.footer-social .social-icons a {
  margin-right: 15px;
  color: #ccc;
  font-size: 18px;
  transition: color 0.3s ease;
}

.footer-social .social-icons a:hover {
  color: burlywood;
  translate: scale(1.2);
  transition: all 0.3s ease-in-out;
}

.footer-social .dev-credit {
  margin-top: 15px;
  font-size: 14px;
  color: #aaa;
}

.footer-social .dev-credit span {
  color: whitesmoke;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 15px;
  border-top: 1px solid #333;
  font-size: 14px;
  color: #888;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-about,
  .footer-links,
  .footer-social {
    margin-bottom: 30px;
  }

  .footer-social .social-icons a {
    margin: 0 10px;
  }
}

/* Sexy Black Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(145deg, #444, #666);
  border-radius: 10px;
  border: 2px solid #000;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(145deg, #666, #888);
}

* {
  scrollbar-width: thin;
  scrollbar-color: #555 #000;
}



/* co founder section  */
.cofounder-section {
  padding: 60px 20px;
  background-color: #f4f4f4;
}

.cofounder-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.cofounder-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cofounder-content {
  flex: 1;
}

.cofounder-content .badge {
  display: inline-block;
  background-color: #00aa88;
  color: white;
  padding: 10px 20px;
  font-size: 1.3rem;
  font-weight: 600;
  border-radius: 40px;
  margin-bottom: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* On Hover - Pulse effect */
.cofounder-content .badge:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(0, 170, 136, 0.4);
  cursor: pointer;
}


.cofounder-content h2 {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #222;
}

.cofounder-content h2 .highlight {
  color: #00aa88;
}



.cofounder-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

/* Responsive */
@media (max-width: 768px) {
  .cofounder-container {
    flex-direction: column;
    text-align: center;
  }

  .cofounder-image img {
    max-width: 100%;
  }
}
@keyframes badgeBounceIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  60% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

.animate-badge {
  animation: badgeBounceIn 0.8s ease-out forwards;
}
