@import url('https://fonts.googleapis.com/css?family=Varela+Round');
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@1,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display+SC&family=Raleway:wght@900&display=swap');

.orderedlist {
    font-size: 10px;
}

figcaption{
    text-align: center;
}

.paragparikhtable {
    border-collapse: collapse;
    font-family: 'Varela Round';
}

.paragparikhtable  td:nth-child(1) {
    background: #28A745;
    color: white;
    font-weight:bold;
    font-size:12px;
    padding : 2px;
}

.paragparikhtable td:nth-child(2) {
    background: #ffffff;
    color: black;
    font-size: 11px;
    font-weight: normal;
    padding: 2px;
}

.box_container{
    width:100%;
}

.box {
    width: 25%;
    text-align: center;
    border-color: #28A745;
    float: left;
    padding: 5px;
    font-family: 'Varela Round';
}

.box_header {
    background: #28A745;
    color: white;
    font-size:13px;
}

.box_content {
    background: white;
    color: #28A745;
    border-style: solid;
    border-width: thin;
    font-size: 10px;
    height:10%;
}

.section1 {
    background-color: #28DF99;
    color: black;
    border-left: 6px solid coral;
    font-size: medium;
    font-family: Lora;
    box-shadow: 3px 3px black;
    padding: 5px 5px 5px 5px;
}

.section2 {
    background-color: #FFC93C;
    color: black;
    border-left: 6px solid #07689F;
    font-size: medium;
    font-family: Playfair;
    box-shadow: 3px 3px black;
    padding: 5px 5px 5px 5px;
}

.first-letter{
    font-size:300%;
    color:black;
}

.section3 {
    background-color: #28DF99;
    color: black;
    border-left: 6px solid coral;
    font-size: medium;
    font-family: Lora;
    box-shadow: 3px 3px black;
    padding: 5px 5px 5px 5px;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    display:block;
    background-color: #fefefe;
    margin: 5% auto; /* 5% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    height: 80%;
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

.modal-label {
    display:block;
    margin-top:20px;
    letter-spacing: 2px;
    font-weight:bold;
}

.modal-input {
    width: 439px;
    height: 27px;
    background: #efefef;
    border: 1px solid #dedede;
    padding: 10px;
    margin-top: 3px;
    font-size: 0.9em;
    color: #3a3a3a;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

    .modal-input:focus {
        border: 2px solid #5DADE2;
    }

.modal-textarea {
    width: 439px;
    height: 200px;
    background: #efefef;
    border: 1px solid #dedede;
    padding: 10px;
    margin-top: 3px;
    font-size: 0.9em;
    color: #3a3a3a;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.modal-submit {
    width: 439px;
    height: 35px;
    background: #efefef;
    border: 1px solid #dedede;
    font-size: 0.9em;
    color: #3a3a3a;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

#submit {
    width: 127px;
    height: 60px;
    text-indent: -9999px;
    border: none;
    cursor: pointer;
}
    #submit:hover {
        opacity: .9;
    }

.row {
    display: flex;
}

.modal-column {
    flex:50%;
    padding:10px;
}

.left-column{
    font-size:2rem;

}



/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .modal-column {
        width: 100%;
    }
}

.modal-image{
    height: 420px;
    width: 400px;
}

.custom-card-container {
    display: flex;
    flex-wrap: wrap;
    margin: -15px; /* Counteract margin on individual cards */
}

.custom-card {
    flex: 0 0 calc(50% - 30px); /* Divide width by 2 and account for margins */
    margin: 15px; /* Add spacing around cards */
    border: 1px solid #ccc;
    border-left: 5px solid #e22d30;
    border-radius: 5px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    padding: 15px;
}

.card-content {
    margin-bottom: 10px;
}

.author-name {
    font-style: italic;
    color: #e22d30;
    font-size: 20px;
    margin:0px;
}

.author-designation {
    font-weight: bold;
    padding: 0px;
    margin: 0px;
}

.services-container {
    display: flex;
    justify-content: space-around;
    padding: 20px;    
}

.services-card {
    background-color: #b5e5cf;
    border-top: 5px solid #e22d30;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    padding: 13px;
    text-align: center;
    width: 30%;
    display: flex;
    flex-direction: column; /* Stack content vertically */
    justify-content: space-between; /* Space content evenly */
    font-size: 12px;
  }

  .services-card h2 {
    margin-top: 0;
    font-size: 15px;
    min-height: 25px;
  }

  .services-card img {
    max-width: 100%;
    max-height: 100px;
    object-fit: cover;
    margin-top: 0px; /* Push image to the middle of the card */
    margin-bottom: 10px; /* Push image to the middle of the card */
  }

  .services-card p {
    margin-top: auto;
  }

  .services-card .card-content {
    display: none;
  }
  

  .tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
  }

  .tooltip-content {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px 5px;
    border-radius: 5px;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    width:200%;
    text-align: left;
  }

  .tooltip:hover .tooltip-content {
    opacity: 1;
    visibility: visible;
  }

  .tooltip ul {
    list-style: none; /* Remove default bullet points */
    padding-left: 20px;
  }

  .tooltip ul {
    position: relative;
    margin-bottom: 10px;
    padding-left: 20px;
    line-height: 1.5;
  }

  .tooltip li::before {
    content: "✓";
    position: absolute;
    left: 0;
  }

