/* common css are in root.css file*/



/* page specific CSS only*/

.header { grid-area: header; }
.menu { grid-area: menu; }
.menu1 { grid-area: menu1; }
.moksho { grid-area: moksho; }
.content { grid-area: content; }
.footer { grid-area: footer; }

body#signupPage {
    /*background-color: var(--background-color); /* Light background */
    display: flex;
    justify-content: space-between;
    align-items: left;
    margin: 0;
}

.grid-container {
    display: grid;
    grid-template-columns: 15% 70% 15%;
    grid-template-areas:
      'header header header'
      'menu content menu1'
      'footer footer footer';
    gap: 0px;
    /*background-color: #eaeef2;*/
    padding: 1px;
  }

  
  
  .grid-container > div {    
    text-align: center;
    padding: 1px;
    font-size: 16px;
  }

  .mission-form {
    display: grid;
    text-align: center;
  }

  .content-form {
    display: grid;
    gap: 5px;
    justify-items: center; /* Center the items horizontally */
}
  .mid {
    display: grid;    
    padding: 5px;
    gap: 5px;
    
  }

    /* Privacy policy modal styling */
    .modal {
      display: none;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 50%;
      max-width: 600px;
      background-color: #ffffff;
      padding: 20px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      border-radius: 8px;
      z-index: 1002;
    }
    .modal-content {
      max-height: 300px;
      overflow-y: auto;
      border: 1px solid #ccc;
      text-align: left;
    }

    .close-btn {
      position: absolute;
      top: 5px;
      right: 5px;
      font-size: 30px;
      cursor: pointer;
      color: #0000FF;
      border: 1px solid ; /* Add border to locate the button if necessary */
      padding: 1px;
    }
    .close-btn.hidden {
      display: none;
    }
    .overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 1001;
    }

   /* visual enhancements made to collapse the content ad expand when clicked*/
 .paragraph-container {
  margin: 5px;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
  background: linear-gradient(to bottom, #0280be, #05c7f2); /* Gradient background */
  color: white;
  width: 90%;
  overflow: hidden; /* Ensures no overflow when content is hidden */
  text-align: left; /* Centers child elements horizontally */
}

/* Show preview and hide full content by default */
.preview {
  display: block;
}

.full-content {
  display: none;
  margin-top: 10px;
}

.paragraph-container1 {
  margin: 5px;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
  background: linear-gradient(to bottom, #0280be, #05c7f2); /* Gradient background */
  color: white;
  width: 90%;
  overflow: hidden; /* Ensures no overflow when content is hidden */
  text-align: center; /* Centers child elements horizontally */
}

.section-wrapper {
  display: grid;
  grid-template-areas:
    'client-data'
    'client-btn';
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(var(--accent-rgb, 0, 123, 255), 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.25s ease;
  max-width: 100%;
  margin-top: 1.25rem;
}

.section-wrapper:hover {
  border-color: rgba(var(--accent-rgb, 0, 123, 255), 0.4);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.7);
}

/* flip text css */
.flip-text {
  display: inline-block;
  position: relative;
  min-width: 150px; /* keeps layout stable */
  perspective: 800px;
  vertical-align: middle;
}

.flip-text span {
  display: inline-block;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  animation: flipWord 5s ease-in-out infinite;
  color: #034c8c;
  font-weight: bold;
  font-size: 1.7em;
  letter-spacing: 0.5px;
}

@keyframes flipWord {
  0%, 35% {
    transform: rotateX(0);
    opacity: 1;
  }
  45%, 55% {
    transform: rotateX(90deg);
    opacity: 0;
  }
  65%, 100% {
    transform: rotateX(0);
    opacity: 1;
  }
}






/* Media query for larger screens: Show full content */
@media (min-width: 768px) {
  .preview {
    display: none; /* Hide preview on larger screens */
  }

  .full-content {
    display: block; /* Show full content on larger screens */
  }

  .toggle-button {
    display: none; /* Hide toggle button on larger screens */
  }
}
  
  @media (max-width: 768px) {
      .grid-container {
          grid-template-columns: 100%; /* Stack columns vertically on small screens */
          grid-template-areas:
            'header'            
            'content'
            'footer';
      }

      .paragraph-container {
        margin: 5px;
        padding-top: 1px;
        padding-bottom: 1px; /* Vertical padding */
        padding-left: 2px;
        padding-right: 2px; /* Horizontal padding */
        border-radius: 8px; /* Makes the edges rounded */
        box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1); /* Optional: Adds a subtle shadow for better visual effect */
        color: var(--background-color);
        width: 95%;
        text-align: center; /* Centers child elements horizontally */
      }
  
      .preview {
        display: block;
      }
    
      .full-content {
        display: none;
      }
    
      .paragraph-container.expanded .preview {
        display: none;
      }
    
      .paragraph-container.expanded .full-content {
        display: block;
      }
    
      .toggle-button {
        display: inline-block;
      }
    
    /* Styling for toggle button */
    .toggle-button {
      background-color: transparent;
      color: white;
      border: 2px solid white;
      border-radius: 50%; /* Makes the button circular */
      padding: 10px 15px;
      font-size: 16px;
      font-weight: bold;
      cursor: pointer;
      margin-top: 10px;
    }
    
    .toggle-button:hover {
      background-color: white;
      color: #0280be;
      transition: 0.3s;
    }  
}

  