/* General Body & Typography */
/* body {
    margin: 0;
    font-family: 'Montserrat', sans-serif; 
    background-color: #0c0c0c;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden; 
} */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #0a0a0a;
  color: #ffffff;
  overflow-x: hidden;
}


/* Reusing main page font for titles */
.animated-title,
.section-title {
    font-family: 'Cinzel Decorative', serif;
    background: linear-gradient(90deg, #ffffff, #fadd7e, #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 6s linear infinite,float 4s ease-in-out infinite; /* Reusing shine animation */
    letter-spacing: 2px;
    margin-bottom: 25px;
}

/* Animations from main page */
@keyframes shine {
    to { background-position: 200% center; }
}

/* Hero Section */
.about-hero {
    position: relative;
    height: 60vh; /* Shorter hero section for about page */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7));
    background-attachment: fixed; /* Parallax effect */
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
     /* For any internal sparkles */
}

.hero-content {
    z-index: 10;
}

.about-hero h1 {
    font-size: 4em;
    margin-bottom: 10px;
}

.about-hero p {
    font-size: 1.5em;
    color: #bbb;
    margin-top: 0;
}



.floating-dots::before, .floating-dots::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 300%;
  top: -100%;
  left: -50%;
  background: radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 50px 50px;
  animation: moveBg 15s linear infinite;
  z-index: 1;
  pointer-events: none;
}

.floating-dots::after {
  animation-direction: reverse;
  opacity: 0.5;
}



@keyframes shine {
  to {
    background-position: 200% center;
  }
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes moveBg {
  0% { transform: translate(0, 0); }
  100% { transform: translate(10%, 10%); }
} 

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .floating-dots::before,
  .floating-dots::after {
    background: radial-gradient(#ffffff 2px, transparent 2px);
    background-size: 60px 60px;
  }
}




/* Section Common Styles */
.about-main-content section {
    position: relative;
    padding: 80px 40px;
    min-height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

 .section-container {
    max-width: 1100px;
    width: 100%;
    text-align: center;
}

.section-title {
    font-size: 2.8em;
    margin-bottom: 60px;
    
}

/* NEW: Company Story & Founders Section */
.company-founders-section {
  
    background: #000;
    /* border-top: 1px solid rgba(0, 217, 255, 0.1); */
}

.founders-content-wrapper {
  z-index: 2;
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 40px;
    align-items: center;
    text-align: left;
    margin-top: 150px;
}

.company-details {
  z-index: 2;
    flex: 1; /* Takes remaining space */
    min-width: 300px; /* Minimum width before wrapping */
    padding-right: 20px;
}

.company-details h3 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2.2em;
   font-family: 'Cinzel Decorative', serif;
    background: linear-gradient(90deg, #ffffff, #fadd7e, #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 6s linear infinite; /* Reusing shine animation */
    margin-bottom: 20px;
    /* text-shadow: 0 0 10px rgba(0, 217, 255, 0.5); */
}

.company-details p {
    font-size: 1.1em;
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 15px;
}



/* Responsive Design */
@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 3em;
    }

    .about-hero p {
        font-size: 1.2em;
    }

    .section-title {
        font-size: 2.2em;
    }

    .company-details, .founders-images {
        min-width: unset; /* Remove min-width to allow full flexibility */
        width: 100%; /* Take full width on small screens */
        padding-right: 0;
        padding-left: 0;
    }

    .founders-content-wrapper {
        flex-direction: column; /* Stack content and images vertically */
        align-items: center; /* Center items when stacked */
        gap: 60px; /* Add more space when stacked */
    }

   
    .company-details h3 {
        font-size: 1.8em;
        text-align: center;
    }
    .company-details p {
        text-align: center;
    }
    
    .about-main-content section {
        padding: 60px 20px;
    }
}

@media (max-width: 480px) {
    .about-hero h1 {
        font-size: 2.5em;
    }

    .about-hero p {
        font-size: 1em;
    }

    .back-home-btn {
        padding: 8px 15px;
        font-size: 0.8em;
    }

    .section-title {
        font-size: 1.8em;
        margin-bottom: 40px;
    }

    .founder-diamond-container {
        width: 220px; /* Even smaller for mobile */
        height: 220px;
    }

    
 
}



.founders-grid {
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
}

.founder-card {
  max-width: 250px;
  transition: transform 0.4s ease;
  position: relative;
}

.founder-card:hover {
  transform: scale(1.05);
}


.diamond-shape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.founder-card:hover .diamond-shape img {
  transform: scale(1.1);
}

.founder-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: #fadd7e;
  margin-bottom: 5px;
}

.founder-role {
  font-size: 1rem;
  color: #ccc;
}

@keyframes shine {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}



/* vision mission */

.vision-mission-section {
  position: relative;
  padding: 200px 20px;
  background: #000;
  color: #fff;
  overflow: hidden;
}

.vision-mission-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.vision-box, .mission-box {
  flex: 1 1 400px;
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 0 15px rgba(250, 221, 126, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 2;
}

.vision-box:hover, .mission-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(250, 221, 126, 0.4);
}

.icon-container {
  font-size: 48px;
  color: #fadd7e;
  margin-bottom: 20px;
  animation: iconGlow 3s infinite alternate;
}

@keyframes iconGlow {
  0% { text-shadow: 0 0 5px #fadd7e; }
  100% { text-shadow: 0 0 20px #fadd7e; }
}

.vision-box h2, .mission-box h2 {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 28px;
  margin-bottom: 15px;
  color: #fadd7e;
}

.vision-box p, .mission-box p {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #ddd;
}

@keyframes floatDiamond {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* Fade-in on scroll */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}



@media (max-width: 992px) {
  .founders-content-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .company-details {
    padding: 0 20px;
    max-width: 100%;
  }

  .about-hero h1 {
    font-size: 2.5rem;
  }

  .about-hero p {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .about-main-content section {
    padding: 60px 20px;
  }

  .section-title {
    font-size: 2rem;
  }

  .vision-mission-container {
    flex-direction: column;
    gap: 30px;
  }

  .vision-box,
  .mission-box {
    width: 100%;
    padding: 30px 20px;
  }

  .founders-grid {
    flex-direction: column;
    align-items: center;
  }

  .founder-card {
    width: 80%;
  }
}

@media (max-width: 480px) {
  .about-hero h1 {
    font-size: 2rem;
  }

  .about-hero p {
    font-size: 1rem;
  }

  .back-home-btn {
    padding: 8px 15px;
    font-size: 0.8rem;
  }

  .founder-card {
    width: 100%;
  }
}


