.custom-form {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  max-width: 800px;
  margin: 40px auto;
  padding: 25px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.custom-form > div {
  flex: 1 1 calc(50% - 10px); /* desktop: 2 kolon */
}
.mega-sub-menu .mega-menu-item .mega-menu-link:hover{background-color: rgba(242, 250, 241, .5)!important;   border-radius: 3pximportant;  color: #27316e!important;  font-weight: bold !important;}
#mega-menu-wrap-main-navigation #mega-menu-main-navigation p{display:flex!important}
.qodef-main-menu ul li a{width:100%!important}
#mega-menu-wrap-main-navigation #mega-menu-main-navigation > li.mega-menu-megamenu > ul.mega-sub-menu{box-shadow: 0 10px 10px rgba(0, 0, 0, 0.03)!important;}
#mega-menu-wrap-main-navigation #mega-menu-main-navigation > li.mega-menu-flyout ul.mega-sub-menu{ box-shadow: 0 0px 10px rgba(0, 0, 0, 0.08)!important;}
.custom-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.custom-form input[type="text"],
.custom-form input[type="email"],
.custom-form textarea {
  width: 100%;
	font-family:'Poppins';
	color:#333!important;
  padding: 12px;
  border: 1px solid #ddd;
	background:#fff;
  border-radius: 8px;
  font-size: 15px;
  box-shadow:4px 4px 14px 5px rgba(0, 0, 0, .05);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.custom-form textarea {min-height: 100px; font-family:'Poppins'; width: calc(100% - 25px); resize: vertical; }
.custom-form input[type="text"]:focus,
.custom-form input[type="email"]:focus,

.custom-form textarea:focus {
  border-color: #0073e6;
  box-shadow: 0 0 0 3px rgba(0,115,230,0.15);
  outline: none;
}
#cfAlert {
  display: none; 
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 20px;
  animation: fadeIn 0.3s ease-in-out;
}

/* Başarı mesajı */
#cfAlert.success {
  background: #e6f9f2;
  border: 1px solid #b7e4cf;
  color: #1b7f5a;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

/* Hata mesajı */
#cfAlert.error {
  background: #fdecec;
  border: 1px solid #f5b7b7;
  color: #b71c1c;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

/* Fade-in animasyonu */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}
.custom-form input[type="checkbox"] {
  margin-right: 8px;
}
.custom-form button:disabled {
  background: #ccc;
  cursor: not-allowed;
}
.custom-form > div {
  flex: 1 1 calc(50% - 10px); 
}
.custom-form .full-width,
.custom-form button,
.custom-form p {
  flex: 1 1 100%; /* full width */
}

.custom-form button {
  margin-top: 10px;
  width: 100%;
  padding: 14px;
  background: #27316E;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.custom-form button:hover {
  background: #95d0c8;
}

.custom-form p {
  grid-column: span 2;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

/* Mobil uyum */
@media (max-width: 600px) {
 .custom-form > div {
    flex: 1 1 100% !important; /* mobilde tek kolon */
  }
}