/* Base styles */
:root {
    --primary: #02A552; /* Lime Green */
    --secondary: #d3d3d3; /* Light Gray */
    --white: #ffffff;
    --text-clr: #333333; /* Darker Gray */
    --header-clr: #444444; /* Slightly Darker Gray */
    --next-btn-hover: #2e8b57; /* Darker Lime Green */
    --back-btn-hover: #d3d3d3; /* Light Gray */
}

.wrapper {
    display: none;
    position: fixed;
   /* z-index: 1000; */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
   /* background-color: rgba(0, 0, 0, 0.4);*/
}

.header {
    margin-bottom: 35px;
    display: flex;
    justify-content: center;
}

.header ul {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping */
}

.header ul li {
    margin-right: 50px;
    position: relative;
}

.header ul li:last-child {
    margin-right: 0;
}

.header ul li:before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 55px;
    width: 100%;
    height: 2px;
    background: var(--secondary);
}

.header ul li:last-child:before {
    display: none;
}

.header ul li div {
    padding: 5px;
    border-radius: 50%;
}

.header ul li p {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    color: var(--white);
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
}

.header ul li.active:before {
    background: var(--primary);
}

.header ul li.active p {
    background: var(--primary);
}

.form_wrap {
    margin-bottom: 35px;
}

.form_wrap h2 {
    color: var(--header-clr);
    text-align: center;
    text-transform: none;
    margin-bottom: 20px;
}

.form_container {
    margin-bottom: 35px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.form-group {
    flex: 1 1 45%; /* Allow the item to grow and shrink, with a base of 45% */
    margin-right: 20px;
    min-width: 200px; /* Ensure a minimum width for smaller screens */
}

.form-group:last-child {
    margin-right: 0;
}

.input,
select,
textarea {
    border: 2px solid var(--secondary);
    border-radius: 8px;
    padding: 10px;
    display: block;
    width: calc(100% - 22px); /* Use calc to account for padding and borders */
    font-size: 16px;
    transition: 0.5s ease;
    box-sizing: border-box; /* Include padding and border in the element's total width */
}

.input:focus,
select:focus {
    border-color: var(--primary);
}

.radio-group {
    display: flex;
    flex-direction: column; /* Stack radio buttons vertically */
}

.radio-group label {
    margin-bottom: 10px; /* Space between radio buttons */
    display: flex;
    align-items: center;
}

.radio-group input[type="radio"] {
    margin-right: 10px; /* Space between radio button and label text */
}

.error {
    color: red;
    font-size: 12px;
}

.required {
    color: red;
}

.btns_wrap {
    width: 100%; /* Full width for responsiveness */
    max-width: 350px; /* Limit maximum width */
    margin: 0 auto;
   
}

.btns_wrap .common_btns {
    display: flex;
    justify-content: space-between;
}

.btns_wrap .common_btns.form_1_btns {
    justify-content: flex-end;
}

.btns_wrap .common_btns button {
    border: 0;
    padding: 12px 15px;
    background: var(--primary);
    color: var(--white);
    width: 100%; /* Full width */
    justify-content: center;
    display: flex;
    align-items: center;
    font-size: 16px;
    border-radius: 3px;
    transition: 0.5s ease;
    cursor: pointer;
    margin: 0 5px; /* Add horizontal margin for spacing between buttons */
}

.btns_wrap .common_btns {
    display: flex;
    justify-content: space-between;
    /* Alternatively, if you want to center the buttons with spacing:
    justify-content: center;
    */
}


.btns_wrap .common_btns button.btn_back {
    background: var(--secondary);
}

.btns_wrap .common_btns button.btn_next .icon {
    display: flex;
    margin-left: 10px;
}

.btns_wrap .common_btns button.btn_back .icon {
    display: flex;
    margin-right: 10px;
}

.btns_wrap .common_btns button.btn_next:hover,
.btns_wrap .common_btns button.btn_done:hover {
    background: var(--next-btn-hover);
}

.btns_wrap .common_btns button.btn_back:hover {
    background: var(--back-btn-hover);
}

.modal_wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
}

.modal_wrapper .shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: 0.2s ease;
}

.modal_wrapper .success_wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -800px);
    background: var(--white);
    padding: 50px;
    display: flex;
    align-items: center;
    border-radius: 5px;
    transition: 0.5s ease;
}

.modal_wrapper .success_wrap .modal_icon {
    margin-right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
}

.modal_wrapper.active {
    visibility: visible;
}

.modal_wrapper.active .shadow {
    opacity: 1;
}

.modal_wrapper.active .success_wrap {
    transform: translate(-50%, -50%);
}

.btn_open-popup {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

.modal {
    display: none; /* Initially hidden */
    position: fixed; /* Fixed position */
    z-index: 1000; /* Ensure it's above other content */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
   /* overflow: auto; /* Allow scrolling */
     overflow: hidden; /* Hide the scrollbar on the modal itself */

}

.modal-content {
    background-color: #f6fffa;
    margin: 5% auto; /* Center modal */
    padding: 20px; /* Padding around content */
   /* border: 1px solid #888; /* Modal border */
    border-radius: 10px; /* Rounded corners s*/
    width: 100%; /* Width for smaller screens */
    max-width: 70%; /* Max width for larger screens */
    max-height: 90vh; /* Max height to prevent overflow on larger screens */
  /*  overflow-y: auto; /* Allow vertical scrolling if content is too tall */
    
      overflow-y: scroll; /* Allow vertical scrolling */
    scrollbar-width: none; /* Firefox: Hide scrollbar */
   
}

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

.close-btn:hover,
.close-btn:focus {
    color: #02A552;
    text-decoration: none;
    cursor: pointer;
}

.btns_wrap {
    margin-top: 20px;
}

/* Form 5 */
.form_5 {
    position: relative;
    padding: 20px;
}

.btns_wrap {
    margin-top: 20px;
}

/* Heading inside each div */
.custom-div p {
    margin: 0;
    font-size: 18px;
    text-align: center;
    color: #02A552;

}

/* Content styling */
.content {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
    text-align: center; /* Center text */
    margin-top: 0; /* Ensure no margin at the top */
}

/* Styling for session per month and package details */
.session-per-month,
.package-details {
    margin: 10px 0;
    text-align: center;
    padding: 5px;
    width: 100%; /* Ensures full width within the parent div */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Light shadow */
    background: white; /* Background color for better visibility of shadow */
    border-radius: 4px; /* Rounded corners for the box shadow */
}

.package-btn:hover {
    background: #02A552;
}

/* Reflection effect */
.custom-div::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    transform: scaleY(-1);
    z-index: -1;
    opacity: 0.5;
}

.book-view form {
    padding-top: 20px;
}

#consult_btn {
    width: 150px;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .header ul li {
        margin-right: 20px; /* Reduce margin on smaller screens */
    }

    .form-group {
        flex: 1 1 100%; /* Full width on smaller screens */
        margin-right: 0; /* Remove right margin */
    }

    .btns_wrap {
        width: 100%; /* Full width for buttons */
    }

    .custom-div {
        width: 90%; /* More width on smaller screens */
    }

    .btns_wrap .common_btns button {
        width: 100%; /* Full width for buttons */
        margin-right: 20px;
    }
    
       .modal-content {
		
        width: 90%; /* Slightly wider on small screens */
    }
    
    
}

@media (max-width: 480px) {
    .header ul li {
        margin-right: 10px; /* Further reduce margin on very small screens */
    }

    .header ul li p {
        width: 40px; /* Smaller circle on small screens */
        height: 40px;
        line-height: 40px;
    }

    .custom-div {
        padding: 10px; /* Reduce padding in custom div */
    }
    
        .modal-content {
			
        width: 95%; /* Even wider on very small screens */
    }
    .wrapper{
		top: 5%;
	}
}


.div-container {
    display: flex; /* Use flexbox to arrange package cards in a row */
    justify-content: space-between; /* Distribute space evenly between items */
    flex-wrap: wrap; /* Allow items to wrap if the screen is too narrow */
    margin: 0 auto; /* Center the container */
    width: 100%; /* Full width of the parent container */
}

.custom-div {
    flex: 1 1 calc(20% - 20px); /* Set the width to 20% with some margin space */
    margin: 10px; /* Space between the package divs */
    background: white;
    border: 1px solid white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: bold;
    color: #001549;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 15px;
    box-sizing: border-box;
}

.form_4{

	width:450px;
	  margin: 0 auto; /* This centers the element */
}

.package-btn {
    width: 100%; /* Make the button take full width of its container */
    background: #001549;
    color: white;
    border: none;
    padding: 20px ; /* Adjust padding for better button size */
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    align-items: center;
     font-weight: bold;
}


/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
    .custom-div {
        flex: 1 1 calc(25% - 20px); /* 4 packages per row */
    }
}

@media (max-width: 768px) {
    .custom-div {
        flex: 1 1 calc(33.33% - 20px); /* 3 packages per row */
    }
    .form_4{

	width:250px;
	
}

.package-btn {
    width: 100%; /* Make the button take full width of its container */
    background: #001549;
    color: white;
    border: none;
    padding: 20px ; /* Adjust padding for better button size */
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    align-items: center;
     font-weight: bold;
}
}

@media (max-width: 480px) {
    .custom-div {
        flex: 1 1 calc(50% - 20px); /* 2 packages per row */
    }
    
    .form_4{

	width:250px;
	 
}

.package-btn {
    width: 100%; /* Make the button take full width of its container */
    background: #001549;
    color: white;
    border: none;
    padding: 20px ; /* Adjust padding for better button size */
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    align-items: center;
     font-weight: bold;
}
}



/*homeschool*/

.form_wrap .information {
	/*background-color: green;*/
	padding: 40px; /* adds space inside the green container */
	text-align: center; /* centers the yellow box itself */
}

.form_wrap .information .all {
	/*background-color: yellow;*/
	max-width: 700px;       /* adjust width as needed */
	margin: 0 auto;         /* centers the yellow box */
	text-align: left;       /* aligns inner content to the left */
/*	box-shadow: 0 0 10px rgba(0,0,0,0.1); /* optional styling */
	border-radius: 8px;     /* optional styling */
}

.form_wrap .information h2 {
	margin: 0 0 20px 0;
	text-align: left; 
}

#info {
	padding-left: 20px;  /* controls bullet indent */
	margin: 0;
}



.btns_wrap {
	margin-top: 20px;
}






