/* Base styles */
:root {
    --color-red-500: #ef4444;
    --color-red-600: #dc2626;
    --color-stone-100: #f5f5f4;
    --color-stone-300: #d6d3d1;
    --color-stone-400: #a8a29e;
    --color-stone-500: #78716c;
    --color-stone-900: #1c1917;
    --max-width: 80rem; /* 1280px */
  }

  @font-face {
    font-family: "cresing";
    src: url("../assets/fonts/Cresing.ttf") format("truetype");
    font-weight: 500;
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Inter",system-ui, -apple-system, BlinkMacSystemFont;
  }
  
  body {
    line-height: 1.5;
    color: var(--color-stone-100);
    background-color: var(--color-stone-900);
  }

  .animation-container{
  position: relative;
  width: 100%;
  height: 45px;
  margin: 50px auto auto auto;
}

.mobile-nav-logo{
  font-family: "cresing";
}

#gif{
width: 130px;
position: relative;
top: 54%;
visibility: hidden;
}
#gif.loaded{
  visibility: visible;
}

@media (min-width: 640px) {
  #gif {
    width: 30%;
    height: auto;
  }
}
  


  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
  }
  
  /* Header and Navigation */
  .site-header {
    background-color: var(--color-stone-900);
  }
  
  .main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.7rem 1.1rem;
  }
  
  @media (min-width: 1024px) {
    .main-nav {
      padding-top: 1.2rem;
      padding-left: 2.5rem;
      padding-right: 2.55rem;
      /* margin-left: 1rem;
      margin-right: 1rem; */
    }

  }
  
  .logo-container {
    display: flex;
    flex: 1;
    justify-content: space-between;
  }
  
  .logo-link {
    text-decoration: none;
    color: white;
    margin: -0.375rem;
    padding: 0.375rem;
  }
  
  .logo-image {
    font-family: "cresing" !important;
    /* font-weight:850; */
    font-size: 2.5rem;
    padding-bottom: 1rem;
    /* width: auto; */
  }

  @media (max-width:640px){
    .logo-image{
      font-size:2rem;
    }
  }
  
  .mobile-menu {
    display: flex;
  }
  
  @media (min-width: 640px) {
    .mobile-menu {
      display: none;
    }
  }
  
  .menu-toggle {
    margin: -0.625rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    padding: 0.625rem;
    color: var(--color-stone-400);
    background: transparent;
    border: none;
    cursor: pointer;
  }
  
  .menu-icon {
    height: 1.5rem;
    width: 1.5rem;
  }
  
  .desktop-cta {
    display: none;
  }
  
  @media (min-width: 640px) {
    .desktop-cta {
      display: flex;
      flex: 1;
      justify-content: flex-end;
    }
  }
  
  .apply-button {
    /* border-radius: 0.375rem;
    background-color: var(--color-blue);
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 700;
    color: var(--color-stone-100);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.2s; */
    
    display:flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.375rem;
    background-color: #007bff;
    padding: 0.5rem 1.2rem;
    font-size: 3;
    max-height: 3rem;
    line-height: 1.25rem;
    font-weight: 700;
    color: var(--color-stone-100);
    text-decoration: none;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: background-color 0.2s, color 0.2s;
  }
  
  .apply-button:hover {
    background-color: white;
    color: #007bff;
  }
  
  /* Main Content */
  .site-content {
    background-color: var(--color-stone-900);
  }
  
  .main-content {
    position: relative;
    isolation: isolate;
  }
  
  /* Background Effect */
  .background-effect {
    position: absolute;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: -1;
    display: flex;
    justify-content: center;
    overflow: visible;
  }
  
  .gradient-blob {
    position: absolute;
    top: 11rem;
    left: 10%;
    z-index: -1;
    background: linear-gradient(45deg, rgba(255, 50, 150, 0.8), rgba(0, 150, 255, 0.8));
    width: 80%;
    height: 60vh;
    transform: translateZ(0);
    filter: blur(150px);
    opacity: 0.75;
    border: 2px solid red !important;
    pointer-events: none;
    mix-blend-mode: screen;
  }
  
  
  
  /* Hero Section */
  .hero-section {
    padding: 0 1.5rem;
    padding-top: 3.5rem;
  }
  
  @media (min-width: 1024px) {
    .hero-section {
      padding-left: 2rem;
      padding-right: 2rem;
    }
  }
  
  .hero-content {
    max-width: 42rem;
    margin: 0 auto;
    padding-top: 1rem;
    text-align: center;
  }
  
  @media (min-width: 640px) {
    .hero-content {
      padding-top: 7rem;
    }
  }
  
  .hero-title {
    font-family:"cresing";
    font-size: 2.25rem;
    font-weight: 400;
    /* letter-spacing: -0.025em; */
    line-height: 1.2;
    color: white;
  }
  
  @media (min-width: 640px) {
    .hero-title {
      font-size: 3.75rem;
    }
  }
  
  .hero-subtitle {
    margin-top: 1.2rem;
    font-size: 1.125rem;
    line-height: 2;
    color: var(--color-stone-300);
  }
  
  /* Vision Section */
  .vision-section {
    color: #007bffe1;
    margin: 1.6rem auto 0;
    max-width: var(--max-width);
    padding: 0 1.5rem;
    text-align: center;
  }
  
  @media (min-width: 1024px) {
    .vision-section {
      padding-left: 2rem;
      padding-right: 2rem;
    }
  }
  
  .vision-content {
    margin: 0 auto;
    max-width: 42rem;
  }
  
  @media (min-width: 1024px) {
    .vision-content {
      margin: 0 auto;
      max-width: none;
    }
  }
  
  .vision-text {
    color: white;
    font-size: 1.25rem;
    line-height: 2;
  }
  
  .stats-grid {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem 2rem;
  }
  
  @media (min-width: 640px) {
    .stats-grid {
      margin-top: 5rem;
      grid-template-columns: repeat(2, 1fr);
      gap: 4rem 2rem;
    }
  }
  
  @media (min-width: 1024px) {
    .stats-grid {
      margin-top: 7rem;
      grid-template-columns: repeat(4, 1fr);
    }
  }
  
  .stat-item {
    display: flex;
    flex-direction: column-reverse;
    gap: 0.75rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 1.5rem;
  }
  
  .stat-label {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-stone-300);
  }
  
  .stat-value {
    font-size: 1.875rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: white;
  }
  
  /* Services Section */
  .services-section {
    margin: 8rem auto 0;
    max-width: var(--max-width);
    padding: 0 1.5rem;
    text-align: center;
  }
  
  @media (min-width: 640px) {
    .services-section {
      margin-top: 10rem;
    }
  }
  
  @media (min-width: 1024px) {
    .services-section {
      padding-left: 2rem;
      padding-right: 2rem;
    }
  }
  
  .services-content {
    margin: 0 auto;
    max-width: 42rem;
  }
  
  @media (min-width: 1024px) {
    .services-content {
      max-width: none;
    }
  }
  
  .section-title {
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: white;
  }
  
  @media (min-width: 640px) {
    .section-title {
      font-size: 2.25rem;
    }
  }
  
  .section-subtitle {
    margin-top: 1.5rem;
    font-size: 1.125rem;
    line-height: 2;
    color: var(--color-stone-300);
  }
  
  .services-grid {
    margin: 4rem auto 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem 2rem 2rem;
    max-width: 65rem;
  }
  
  @media (min-width: 640px) {
    .services-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  .service-item {
    position: relative;
    padding-top: 3rem;
    text-align: center;
  }
  
  @media (min-width: 640px) {
    .service-item {
      padding-left: 4.45rem;
      text-align: left;
    }
  }
  
  .service-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  @media (min-width: 640px) {
    .service-title {
      justify-content: flex-start;
    }
  }
  
  .service-icon {
    margin-right: 0.75rem;
    height: 2rem;
    width: 2rem;
    /* color: var(--color-red-500); */
  }
  
  .service-list {
    margin-top: 0.5rem;
    list-style: none;
    color: var(--color-stone-300);
    font-size: 1rem;
  }
  
  .service-feature {
    margin-top: 0.25rem;
  }
  
  /* Team Section */
  .team-section {
    margin: 8rem auto 0;
    max-width: var(--max-width);
    padding: 0 1.5rem;
  }
  
  @media (min-width: 640px) {
    .team-section {
      margin-top: 10rem;
    }
  }
  
  @media (min-width: 1024px) {
    .team-section {
      padding-left: 2rem;
      padding-right: 2rem;
    }
  }
  
  .team-content {
    margin: 0 auto;
    text-align: center;
  }
  
  @media (min-width: 1024px) {
    .team-content {
      margin: 0;
    }
  }
  
  .team-grid {
    margin: 5rem auto 0;
    display: grid;
    max-width: 42rem;
    grid-template-columns: 1fr;
    gap: 2rem 2rem;
    list-style: none;
  }
  
  @media (min-width: 640px) {
    .team-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 3.5rem 2rem;
    }
  }
  
  @media (min-width: 1024px) {
    .team-grid {
      margin: 5rem 0 0;
      max-width: none;
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  @media (min-width: 1280px) {
    .team-grid {
      grid-template-columns: repeat(4, 1fr);
    }
  }
  
  .team-member {
    list-style: none;
    text-align: center;
  }
  
  .member-image {
    aspect-ratio: 14/13;
    width: 100%;
    border-radius: 1rem;
    object-fit: cover;
  }
  
  .member-name {
    margin-top: 0.8rem;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.75;
    color: white;
  }
  
  .member-role {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-stone-300);
  }
  
  /* CTA Section */
  .cta-section {
    margin-top: 8rem;
    padding-bottom: 8rem;
  }
  
  @media (min-width: 640px) {
    .cta-section {
      margin-top: 10rem;
    }
  }
  
  .cta-content {
    margin: 0 auto;
    max-width: var(--max-width);
    padding: 0 1.5rem;
    text-align: center;
  }
  
  @media (min-width: 640px) {
    .cta-content {
      padding-left: 2rem;
      padding-right: 2rem;
    }
  }
  
  .cta-button-container {
    margin-top: 2rem;
  }
  
  .cta-button {
    display: inline-block;
    border-radius: 0.375rem;
    background-color: #007bff;
    padding: 0.5rem 0.8rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: background-color 0.2s;
  }
  
  .cta-button:hover {
    background-color: #fff;
    color: #007bff;
  }
  
  /* Footer */
  .site-footer {
    position: relative;
  }
  
  .footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem 2rem;
  }
  
  @media (min-width: 1024px) {
    .footer-content {
      padding-left: 2rem;
      padding-right: 2rem;
    }
  }
  
  .footer-wrapper {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: block;
  }
  
  @media (min-width: 768px) {
    .footer-wrapper {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
  }
  
  .social-links {
    display: flex;
    gap: 1.5rem;
  }
  
  @media (min-width: 768px) {
    .social-links {
      order: 2;
    }
  }
  
  .social-link {
    color: var(--color-stone-500);
    transition: color 0.2s;
  }
  
  .social-link:hover {
    color: var(--color-stone-400);
  }
  
  .social-icon {
    height: 1.5rem;
    width: 1.5rem;
  }
  
  .copyright {
    margin-top: 2rem;
    font-size: 0.75rem;
    line-height: 1.25;
    color: var(--color-stone-400);
  }
  
  @media (min-width: 768px) {
    .copyright {
      margin-top: 0;
      order: 1;
    }
  }
  
  /* Responsive adjustments */
  @media (max-width: 639px) {
    .hero-title {
      font-size: 2.25rem;
    }
    
    .vision-text {
      font-size: 1.125rem;
    }
    
    .stat-value {
      font-size: 1.5rem;
    }
  }