 :root {
	 
	 
 --link-color:  #6E057D;
 --link-color1:  #E67AD1; 
 --hero-color-1:  #FFFFFF;
 --hero-color-2: #FFFFFF; 
 --menu-color1: #2c3e50;
 --menu-color2: #3498db;
 --primary-color: #851583;
 --secondary-color: #FFDFD3;
 --accent-color: #e74c3c;
 --light-gray: #ecf0f1;
 --white: #ffffff; 
 --primary: #2c3e50;
 --secondary: #3498db;
 --accent: #e74c3c;
 --light: #ecf0f1;
 --dark: #2c3e50;
 --gray: #95a5a6;
 --white: #ffffff;
 --black: #333333;
 
 
 

}
  :root {
            --primary: #4361ee;
            --secondary: #f72585;
            --accent: #4cc9f0;
            --light: #f8f9fa;
            --light-blue: #e6f7ff;
            --dark: #212529;
            --light-gray: #e9ecef;
            --transition: all 0.3s ease;
            --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            --border-radius: 12px;
        }

#msg_body {
 font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
 margin: 0;
 padding: 0;
 background-color: #f9f9f9;
 color: #333;
 line-height: 1.6;
}

.form-container {
 max-width: 800px;
 margin: 30px auto;
 background: white;
 padding: 30px;
 border-radius: 8px;
 box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

h1 {
 color: var(--primary-color);
 text-align: center;
 margin-bottom: 30px;
}

fieldset {
 border: 1px solid var(--light-gray);
 border-radius: 5px;
 padding: 20px;
 margin-bottom: 20px;
}

legend {
 padding: 0 10px;
 color: var(--primary-color);
 font-weight: bold;
}

.form-group {
 margin-bottom: 20px;
}

label {
 display: block;
 margin-bottom: 8px;
 font-weight: 600;
 color: var(--primary-color);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="address"],
input[type="city"],
input[type="code"],
input[type="date"],
select,
textarea {
 width: 100%;
 padding: 12px;
 border: 1px solid #ddd;
 border-radius: 4px;
 font-size: 16px;
 transition: border 0.3s;
}

input:focus,
select:focus,
textarea:focus {
 border-color: var(--secondary-color);
 outline: none;
 box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.radio-group {
 display: flex;
 flex-wrap: wrap;
 gap: 15px;
}

.radio-group label {
 display: flex;
 align-items: center;
 font-weight: normal;
 cursor: pointer;
}

.radio-group input {
 margin-right: 8px;
}

.checkbox-label {
 display: flex;
 align-items: center;
 font-weight: normal;
 cursor: pointer;
}

.checkbox-label input {
 margin-right: 8px;
}

.error {
 color: var(--accent-color);
 font-size: 14px;
 margin-top: 5px;
 display: block;
}

.submit-btn {
 background-color: var(--secondary-color);
 color: white;
 border: none;
 padding: 12px 20px;
 font-size: 16px;
 border-radius: 4px;
 cursor: pointer;
 width: 100%;
 transition: background-color 0.3s;
}

.submit-btn:hover {
 background-color: #2980b9;
}

#formFeedback {
 margin-top: 20px;
 padding: 10px;
 border-radius: 4px;
 text-align: center;
}

.success {
 background-color: #d4edda;
 color: #155724;
}

.error-message {
 background-color: #f8d7da;
 color: #721c24;
}

/* Modal Styles */
.modal {
 display: none;
 position: fixed;
 z-index: 1;
 left: 0;
 top: 0;
 width: 100%;
 height: 100%;
 overflow: auto;
 background-color: rgba(0,0,0,0.4);
}

.modal-content {
 background-color: #fefefe;
 margin: 5% auto;
 padding: 20px;
 border: 1px solid #888;
 width: 80%;
 max-width: 700px;
 border-radius: 5px;
 box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.close {
 color: #aaa;
 float: right;
 font-size: 28px;
 font-weight: bold;
 cursor: pointer;
}

.close:hover {
 color: black;
}

.terms-content {
 max-height: 400px;
 overflow-y: auto;
 padding: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
 .form-container {
   padding: 20px;
   margin: 15px;
 }
 
 .radio-group {
   flex-direction: column;
   gap: 8px;
 }
 
 .modal-content {
   width: 95%;
   margin: 10% auto;
 }
}
