/* Import Poppins Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size: 16px;
  --background: #ffffff;
  --foreground: #252525;
  --card: #ffffff;
  --card-foreground: #252525;
  --primary: #030213;
  --primary-foreground: #ffffff;
  --secondary: #f3f4f6;
  --secondary-foreground: #030213;
  --muted: #ececf0;
  --muted-foreground: #717182;
  --accent: #e9ebef;
  --accent-foreground: #030213;
  --border: rgba(0, 0, 0, 0.1);
  --radius: 0.625rem;
  --transition-speed: 0.3s;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--font-size);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1 {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

h4 {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 0.25rem;
}

p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.text-muted {
  color: var(--muted-foreground);
}

.highlight {
  color: var(--foreground);
  font-weight: 500;
}

.italic {
  font-style: italic;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition-speed);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: rgba(3, 2, 19, 0.9);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background-color: var(--secondary);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition-speed);
}

.nav.scrolled {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-speed);
}

.nav-logo:hover {
  transform: scale(1.05);
}

.nav-logo-img {
  height: 2rem;
  width: 2rem;
}

.nav-logo-text {
  font-size: 1.125rem;
  color: var(--foreground);
  letter-spacing: -0.025em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  background: none;
  border: none;
  color: rgba(37, 37, 37, 0.7);
  cursor: pointer;
  font-size: 1rem;
  transition: color var(--transition-speed);
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: var(--foreground);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--foreground);
  cursor: pointer;
}

.mobile-menu {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.mobile-menu.active {
  display: block;
}

.mobile-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.75rem 0;
}

/* Philosophy Banner */
.philosophy-banner {
  background-color: var(--foreground);
  color: var(--background);
  padding: 3rem 1.5rem;
}

.philosophy-banner-content {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.philosophy-banner-sanskrit {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.philosophy-banner-translation {
  font-size: 0.875rem;
  opacity: 0.8;
  font-style: italic;
  line-height: 1.6;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 4rem;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 2rem;
}

.hero-text {
  margin-bottom: 3rem;
}

.hero-text p {
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  border-radius: 1rem;
  cursor: pointer;
}

.hero-img {
  width: 100%;
  height: auto;
  max-height: 700px;
  object-fit: contain;
  display: block;
}

.hero-img-bw {
  filter: grayscale(100%);
}

.hero-img-color {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-image-container:hover .hero-img-color {
  opacity: 1;
}

.hero-img-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.8), transparent);
  pointer-events: none;
}

/* About Section */
.about {
  padding: 6rem 1.5rem;
  background-color: rgba(243, 244, 246, 0.3);
}

.about-container {
  max-width: 1152px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text {
  margin-top: 2rem;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.quote-box {
  padding-top: 2rem;
  padding-left: 1.5rem;
  border-left: 2px solid rgba(37, 37, 37, 0.2);
  margin-top: 2rem;
}

.quote-text {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--foreground);
}

.about-image-container {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 1rem;
}

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

/* Journey Section */
.journey {
  padding: 6rem 1.5rem;
}

.journey-container {
  max-width: 56rem;
  margin: 0 auto;
}

.journey-subtitle {
  margin-bottom: 3rem;
}

.journey-timeline {
  margin-top: 3rem;
}

.journey-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
}

.journey-year {
  flex-shrink: 0;
  width: 6rem;
}

.year-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--foreground);
  color: var(--background);
  border-radius: 0.375rem;
  font-weight: 500;
}

.journey-content {
  flex: 1;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.journey-item:last-child .journey-content {
  border-bottom: none;
}

/* Philosophy Section */
.philosophy {
  padding: 6rem 1.5rem;
  background-color: rgba(243, 244, 246, 0.3);
}

.philosophy-container {
  max-width: 1152px;
  margin: 0 auto;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.philosophy-image {
  order: 1;
}

.philosophy-content {
  order: 2;
}

.philosophy-image-container {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 1rem;
}

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

.philosophy-text {
  margin-top: 2rem;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.principle-card {
  text-align: center;
}

.principle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: rgba(37, 37, 37, 0.05);
  margin-bottom: 1rem;
  font-size: 1.75rem;
  color: var(--foreground);
}

.philosophy-footer {
  margin-top: 2rem;
}

.philosophy-quote {
  padding-top: 2rem;
  text-align: center;
}

.philosophy-quote .quote-text {
  font-size: 1.25rem;
}

/* Companies Section */
.companies {
  padding: 6rem 1.5rem;
}

.companies-container {
  max-width: 1152px;
  margin: 0 auto;
}

.section-title-center {
  text-align: center;
  margin-bottom: 3rem;
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.company-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow var(--transition-speed);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.company-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.company-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: rgba(37, 37, 37, 0.05);
  margin-bottom: 1rem;
  font-size: 1.75rem;
  color: var(--foreground);
}

.company-tagline {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.company-description {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.company-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--foreground);
  text-decoration: none;
  transition: text-decoration var(--transition-speed);
}

.company-link:hover {
  text-decoration: underline;
}

/* Projects Section */
.projects {
  padding: 6rem 1.5rem;
  background-color: rgba(243, 244, 246, 0.3);
}

.projects-container {
  max-width: 1152px;
  margin: 0 auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.project-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition-speed);
  cursor: pointer;
  height: 100%;
}

.project-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-content {
  padding: 1.5rem;
}

.project-location {
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.projects-footer {
  text-align: center;
}

.projects-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--foreground);
  text-decoration: none;
  transition: text-decoration var(--transition-speed);
}

.projects-link:hover {
  text-decoration: underline;
}

/* Beyond Section */
.beyond {
  padding: 6rem 1.5rem;
}

.beyond-container {
  max-width: 1152px;
  margin: 0 auto;
}

.beyond-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.beyond-text {
  margin-top: 2rem;
}

.beyond-text p {
  margin-bottom: 1.5rem;
}

.beyond-image-container {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 1rem;
}

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

/* Connect Section */
.connect {
  padding: 6rem 1.5rem;
  background-color: rgba(243, 244, 246, 0.3);
}

.connect-container {
  max-width: 56rem;
  margin: 0 auto;
}

.connect-subtitle {
  text-align: center;
  margin-bottom: 3rem;
}

.connect-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.connect-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.connect-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.connect-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.connect-item i {
  color: var(--muted-foreground);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.connect-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.connect-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--foreground);
  text-decoration: none;
  transition: color var(--transition-speed);
}

.connect-link:hover {
  color: var(--muted-foreground);
}

.connect-link i {
  flex-shrink: 0;
}

/* Footer */
.footer {
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-container {
  max-width: 1152px;
  margin: 0 auto;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.footer-logo {
  height: 2.5rem;
  width: 2.5rem;
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-social a {
  color: var(--muted-foreground);
  font-size: 1.25rem;
  transition: color var(--transition-speed);
}

.footer-social a:hover {
  color: var(--foreground);
}

.footer-text {
  text-align: center;
}

.footer-text p {
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.875rem;
}

/* Animation Classes */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.active {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.active {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .philosophy-grid,
  .beyond-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-image {
    order: -1;
  }

  .philosophy-image {
    order: 2;
  }

  .philosophy-content {
    order: 1;
  }

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

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

  .hero-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .philosophy-banner-sanskrit {
    font-size: 1.125rem;
  }

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

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

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 640px) {
  .hero,
  .about,
  .journey,
  .philosophy,
  .companies,
  .projects,
  .beyond,
  .connect {
    padding: 4rem 1rem;
  }

  .philosophy-banner {
    padding: 2rem 1rem;
  }

  .nav-content {
    height: 4rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .quote-text {
    font-size: 1rem;
  }

  .philosophy-quote .quote-text {
    font-size: 1.125rem;
  }
}


/*-----------*/
.hero-content, .hero-image {
    transform: unset !important;
}