/* 
        body {
            font-family: 'Roboto', sans-serif;
            background-color: #fdfdf6;
            color: #9b1e1e;
            margin: 0;
            padding: 0;
        }
        .mecontainer {
            max-width: 1200px;
            margin: 0 ;
            padding: 20px;
            color: #80706900
        }
        .text-left {
            text-align: left;
        }
        .text-center {
            text-align: center;
        }
        .text-4xl {
            font-size: 2.25rem;
            line-height: 2.5rem;
        }
        .font-bold {
            font-weight: 700;
        }
        .underline {
            text-decoration: underline;
        }
        .decoration-yellow-500 {
            text-decoration-color: #fbbf24;
        }
        .mt-2 {
            margin-top: 0.5rem;
        }
        .mt-12 {
            margin-top: 3rem;
        }
        .grid {
            display: grid;
            gap: 1.5rem;
        }
        .grid-cols-1 {
            grid-template-columns: repeat(1, minmax(0, 1fr));
        }
        @media (min-width: 768px) {
            .md\:grid-cols-3 {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }
        .bg-light-blue {
            background-color: #f0f4ff;
        }
        .rounded-lg {
            border-radius: 0.5rem;
        }
        .shadow-lg {
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        }
        .p-6 {
            padding: 1.5rem;
        }
        .text-xl {
            font-size: 1.25rem;
            line-height: 1.75rem;
        }
        .text-blue-500 {
            color: #3b82f6;
        }
        .w-12 {
            width: 3rem;
        }
        .h-12 {
            height: 3rem;
        }
        .top-12 {
            top: 3rem;
        }
        .left-12 {
            left: 3rem;
        } */


        body {
            font-family: 'Roboto', sans-serif;
            background-color: rgb(250 248 244 / var(--tw-bg-opacity, 1));
            color: #333; /* Use a darker color for better readability */
            margin: 0;
            padding: 0;
            line-height: 1.6; /* Add line height for better text spacing */
        }
        
        .mecontainer {
            /* max-width: 1200px; */
            margin: 0 auto; /* Center the container */
            /* padding: 40px 20px; Increase padding for more space */
            color: #3b82f6;
            background-color: rgb(250 248 244 / var(--tw-bg-opacity, 1));
        }

        .mecontainer-contins {
            max-width: 1200px;
            margin: 0 auto; /* Center the container */
            padding: 40px 20px; /*Increase padding for more space */ 
            color: #3b82f6;
            background-color: rgb(250 248 244 / var(--tw-bg-opacity, 1));
        }

        .mecontainer-map {
            /* max-width: 100%; */
            position: relative;
            width: 100%;
            margin: 0 auto; /* Center the container */
            padding: 40px 40px; /*Increase padding for more space */ 
            color: #cec21b;
            background-color: #cec21b;
        }

        .mecontainer-map iframe {
            height: 500px;
            width: 500px;
        }

    @media only screen and (max-width: 767px) {
        .mecontainer-map iframe {
            height: 100%;
            width: 100%;
        }
    }
        .mecontainer-about {
            margin: 0 auto;
        }

        .mecontainer-about p {
            color: #555;
        }
        
        .text-left {
            text-align: left;
        }
        
        .text-center {
            text-align: center;
        }
        
        .text-4xl {
            font-size: 2.5rem; /* Increase font size */
            line-height: 3rem;
        }
        
        .font-bold {
            font-weight: 700;
        }
        
        .underline {
            text-decoration: underline;
        }
        
        .decoration-yellow-500 {
            text-decoration-color: #fbbf24;
        }
        
        .mt-2 {
            margin-top: 1rem; /* Increase margin */
            text-align: justify;
            hyphens: auto; /* or manual, or none */
            font-size: medium;
        }
        
        .mt-12 {
            margin-top: 4rem; /* Increase margin */
        }
        
        .grid {
            display: grid;
            gap: 2rem; /* Increase gap */
        }
        
        .grid-cols-1 {
            grid-template-columns: repeat(1, minmax(0, 1fr));
        }
        
        @media (min-width: 768px) {
            .md\:grid-cols-3 {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }
        
        .bg-light-blue {
            background-color: #f0f4ff;
        }
        
        .rounded-lg {
            border-radius: 1rem; /* Increase border radius */
        }
        
        .shadow-lg {
            box-shadow: 0 15px 20px -5px rgba(0, 0, 0, 0.1); /* Increase shadow intensity */
        }
        
        .p-6 {
            padding: 2rem; /* Increase padding */
        }
        
        .text-xl {
            font-size: 1.5rem; /* Increase font size */
            line-height: 2rem;
        }
        
        .text-blue-500 {
            color: #3b82f6;
        }
        
        .w-12 {
            width: 4rem; /* Increase icon size */
        }
        
        .h-12 {
            height: 4rem; /* Increase icon size */
        }
        
        .top-12 {
            top: 4rem; /* Adjust position */
        }
        
        .left-12 {
            left: 4rem; /* Adjust position */
        }
        
        .box-content p{
            font-size: 1.1rem;
        }

        .hovered-element { /* Or the correct class for your h1 */
            position: relative; /* Needed for positioning the pseudo-element */
            padding-bottom: 20px; /* Adjust as needed for spacing */
        }
        
        .hovered-element::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 200px; /* Adjust width as needed */
            height: 10px; /* Adjust height as needed */
            background-size: contain; /* Or adjust based on your image */
            background-repeat: no-repeat;
            background-position: left bottom;
        }

    /*..............................*/


  .poppins {
    font-family: 'Poppins', sans-serif;
  }

  .montserrat {
    font-family: 'Montserrat', sans-serif;
  }

  .lato {
    font-family: 'Lato', sans-serif;
  }

  .pacifico {
    font-family: 'Pacifico', cursive;
    font-size: 2em; /* Larger size for script font */
  }

  .raleway {
    font-family: 'Raleway', sans-serif;
    font-weight: 300; /* Lighter weight */
  }

  .nunito-sans {
    font-family: 'Nunito Sans', sans-serif;
    border: 1px solid black;
    padding: 10px;
    border-radius: 5px;

  }

  /******/

  .modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 10000; /* Increased z-index */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent background */
  }

  .modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50vw; /* Use viewport width units for responsiveness */
    height: 50vw; /* Make height equal to width */
    max-width: 500px; /* Optional: Limit maximum size */
    max-height: 500px; /* Optional: Limit maximum size */
    /* background-image: url('../images/madhumita-about.avif'); Add background here */
    background-color: #312a25e0;
    background-size: cover; /* Optional: Adjust sizing */
    background-repeat: no-repeat; /* Optional: Prevent tiling */
    background-position: center; /* Optional: Center the image */
  }

  .modal-content h3 {
    text-align: center;
    color:#F8F8FF ;
    padding-bottom: 20px;
  }

  .modal-content h2 {
    text-align: center;
    color:#D3D3D3 ;
    padding-bottom: 20px;
  }

  .close {
    color: #aa0c0c;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }

  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

  #spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 24px;
    font-family: Arial, sans-serif;
    z-index: 9999;
}

#loading-message {
    font-weight: bold;
}

#response-message {
    margin-top: 20px;
    font-size: 18px;
    text-align: center;
}

/* Base styles for both success and failure messages */
.message-container {
    z-index: 1000; /* Keep this to potentially overlay other inline elements */
  padding: 1.5em 2em;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  font-family: sans-serif;
  font-weight: bold;
  opacity: 0; /* Initially hidden */
  transition: opacity 0.3s ease-in-out; /* Only transition opacity now */
  /* transform: translateY(-20px); Remove this */
  margin-bottom: 1em; /* Add some space below the message if needed */
  }
  
  .message-container.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0); /* Slide into view */
  }
  
  .message-content {
    display: flex;
    align-items: center;
  }
  
  .message-icon {
    margin-right: 1em;
    font-size: 1.2em; /* Adjust icon size */
  }
  
  /* Success Message Styles */
  .success {
    background-color: #e6ffe6; /* Light green background */
    color: #2e8b57; /* Forest green text */
    border: 1px solid #8fbc8f; /* Dark sea green border */
  }
  
  .success .message-icon::before {
    content: "\2713"; /* Checkmark icon (Unicode) */
    color: #2e8b57;
  }
  
  /* Failure Message Styles */
  .failure {
    background-color: #ffe6e6; /* Light red background */
    color: #b22222; /* Firebrick text */
    border: 1px solid #cd5c5c; /* Indian red border */
  }
  
  .failure .message-icon::before {
    content: "\2717"; /* X mark icon (Unicode) */
    color: #b22222;
  }
  
  /* Optional: Close Button */
  .message-close-button {
    position: absolute;
    top: 0.5em;
    right: 0.5em;
    background: none;
    border: none;
    color: inherit; /* Inherit text color */
    font-size: 1em;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease-in-out;
  }
  
  .message-close-button:hover {
    opacity: 1;
  }

  /* Media Query for Phone Screens */
@media (max-width: 600px) {
    .message-container {
      padding: 1em; /* Reduce padding for smaller screens */
      font-size: 0.9em; /* Slightly smaller font size */
      border-radius: 5px; /* Smaller border radius */
      margin: 0.5em; /* Adjust margins for better spacing */
    }
  
    .message-icon {
      font-size: 1em; /* Adjust icon size for smaller screens */
      margin-right: 0.5em;
    }
  }
  
  /* Optional: Animations (fade in/out) */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
  }
  
  @keyframes fadeOut {
    from { opacity: 1; transform: translateX(-50%) translateY(0); }
    to { opacity: 0; transform: translateX(-50%) translateY(-20px); }
  }
  
  .message-container.show-animated {
    animation: fadeIn 0.3s ease-in-out forwards;
  }
  
  .message-container.hide-animated {
    animation: fadeOut 0.3s ease-in-out forwards;
  }

  @media only screen and (max-width: 767px) {
    .modal-content {

        width: fit-content; /* Use viewport width units for responsiveness */
    height: fit-content; /* Make height equal to width */
    max-width: fit-content; /* Optional: Limit maximum size */
    max-height: fit-content; /* Optional: Limit maximum size */
    }
}

/* Start all FAQ-related styles with the .faq-container class */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px; 
    background-color: var(--light-gray); 
    border-radius: 15px;
}

/* Ensure H1 styling only applies to H1 inside the faq-container */
.faq-container h1 { 
    color: var(--primary-blue); 
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
    font-weight: 300; 
}

/* Styles for the main Collapsible FAQ Sections */
.faq-container .faq-section { 
    margin-bottom: 20px; 
    border: none;
    border-radius: 12px;
    overflow: hidden; 
    background-color: var(--off-white);
    box-shadow: var(--shadow); 
    opacity: 0; 
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s ease-in-out; 
    transform: translateY(20px);
}

.faq-container .faq-section:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.faq-container .faq-section.visible { 
    opacity: 1;
    transform: translateY(0);
}

.faq-container .section-details { 
    background-color: var(--off-white);
}

/* Main Section Summary/Header Styling */
.faq-container .section-summary {
    font-weight: 600; 
    padding: 18px 20px; 
    cursor: pointer; 
    outline: none; 
    list-style: none; 
    display: block; 
    color: var(--primary-blue); 
    background-color: var(--light-blue);
    border-bottom: 1px solid var(--border-color); 
    font-size: 1.3em;
    margin: 0;
    line-height: 1.2;
    transition: background-color 0.2s ease;
}

.faq-container .section-summary:hover {
    background-color: #dbeaff;
}

/* Plus/Minus Icons for main sections */
.faq-container .section-summary::after { 
    content: '+'; 
    float: right; 
    padding-left: 10px;
    font-size: 1.2em;
    line-height: 1.2;
}

.faq-container .section-details[open] .section-summary::after { 
    content: '-'; /* Changes the main section sign to minus */
}

/* Styles for the individual FAQ items (details/summary) */
.faq-container details { 
    background-color: var(--off-white); 
    margin: 10px 20px; 
    border-radius: 8px; 
    border: 1px solid var(--border-color); 
    box-shadow: var(--inner-shadow);
}

.faq-container summary { 
    font-weight: 600; 
    padding: 15px 20px; 
    cursor: pointer; 
    outline: none; 
    list-style: none; 
    display: block; 
    color: var(--text-color);
    transition: background-color 0.2s ease;
}

.faq-container summary:hover {
    background-color: #f0f4f8;
}

/* Plus/Minus Icons for individual questions (default is +) */
.faq-container summary::after { 
    content: '+'; 
    float: right; 
    font-size: 1em;
    font-weight: normal;
}

/* CRITICAL FIX: Only change subtopic sign when that *specific* details tag is open (user clicks it) */
.faq-container details[open] summary::after { 
    content: '-'; 
}

.faq-container details[open] { 
    background-color: var(--off-white); 
    border-color: var(--primary-blue);
}

.faq-container .faq-answer { 
    padding: 15px 20px 20px; 
    border-top: 1px dashed var(--border-color);
    color: #6c757d;
}