@import "https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap";
:root {
  --primary-color: #f06627;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: poppins, sans-serif;
}

body {
  scroll-behavior: smooth;
  background-color: #f8fafc;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

li {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: inherit;
  font-size: 15px;
  transition: all 0.3s ease;
  display: block;
}

img {
  display: block;
}

.custom-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 10px;
}

@media (min-width: 992px) {
  .custom-container {
    max-width: 800px;
  }
}

/* HEADER START */

header {
  padding: 15px 0;
  background-color: white;
}

.logo {
  max-width: 200px;
  display: block;
}
@media (max-width:450px) {
    .logo  {
        margin-bottom: 15px;
    }
}
.logo img {
  width: 100%;
}

header .custom-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width:450px) {
    header .custom-container {
        flex-direction: column;
        justify-content: center;
    }
}

header .custom-container .right {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

header .custom-container .right a {
  display: flex;
  align-items: center;
  gap: 5px;
}

header .custom-container .right i {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
}

/* HEADER END */

  /* FIRST STEP START */

    .step-title {
        padding: 20px 0 0 0;
    }

    .step-title .title {
        font-size: 28px;
        font-weight: bold;
    }

    .grid-container {
        padding: 30px 0;
    }

    .first-step .grid-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .first-step .grid-container label {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 5px;
        width: 100%;
        padding: 15px;
        background-color: white;
        border: 1px solid #e2e8f0;
        cursor: pointer;
        box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
        border-radius: 14px;
        font-size: 14px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
    }

    .first-step .grid-container label:hover {
        border-color: #cbd5e1;
        box-shadow: rgba(99, 99, 99, 0.25) 0px 4px 12px 0px;
    }

    .first-step .grid-container label .country {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .first-step .grid-container label .flag img {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        object-fit: cover;
        box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
        transition: transform 0.3s ease;
    }

    /* Custom Checkbox */
    .country-checkbox {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        width: 24px;
        height: 24px;
        border: 2px solid #cbd5e1;
        border-radius: 6px;
        cursor: pointer;
        background-color: white;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        flex-shrink: 0;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .country-checkbox:hover {
        border-color: #94a3b8;
        box-shadow: rgba(99, 99, 99, 0.15) 0px 2px 6px 0px;
    }

    .country-checkbox:checked {
        background-color: #f06627;
        border-color: #f06627;
        box-shadow: rgba(240, 102, 39, 0.3) 0px 2px 8px 0px;
    }

    /* Checkmark SVG */
    .country-checkbox::after {
        content: "✓";
        position: absolute;
        color: white;
        font-size: 16px;
        font-weight: bold;
        opacity: 0;
        transition: opacity 0.3s ease;
        line-height: 1;
    }

    .country-checkbox:checked::after {
        opacity: 1;
    }

    /* Active Label State */
    .country-label .country-checkbox:checked {
        animation: checkPopIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .country-label:has(.country-checkbox:checked) {
        border-color: #f06627;
        background: linear-gradient(
            135deg,
            rgba(240, 102, 39, 0.05) 0%,
            rgba(240, 102, 39, 0.08) 100%
        );
        box-shadow: rgba(240, 102, 39, 0.15) 0px 4px 12px 0px;
    }

    .country-label:has(.country-checkbox:checked) .flag img {
        transform: scale(1.1);
    }

    .country-label:has(.country-checkbox:checked) .name {
        color: #f06627;
        font-weight: 600;
    }

    /* Animations */
    @keyframes checkPopIn {
        0% {
            transform: scale(0.5);
        }
        50% {
            transform: scale(1.15);
        }
        100% {
            transform: scale(1);
        }
    }

    /* Focus State (Accessibility) */
    .country-checkbox:focus-visible {
        outline: 2px solid #f06627;
        outline-offset: 2px;
    }

    /* FIRST STEP END */

    /* TWO STEP START */

    .two-step .grid-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .program-box {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        border: 2px solid #e0e0e0;
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
        background-color: white;
        margin-bottom: 10px;
    }

    /* Seçili olmayan durum */
    .program-box .left i {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        background: #f8fafc;
        color: #94a3b8;
        transition: all 0.2s;
    }

    .program-box .program {
        color: #999;
    }

    .program-box .short-desc {
        color: #bbb;
    }

    /* Seçili durum */
    .program-box:has(input[type="radio"]:checked) {
        border-color: #f06627;
        background-color: #f0672725;
    }

    .program-box:has(input[type="radio"]:checked) .left i {
        color: #f06627;
    }

    .program-box:has(input[type="radio"]:checked) .program {
        color: #333;
        font-weight: 600;
    }

    .program-box:has(input[type="radio"]:checked) .short-desc {
        color: #999;
    }

    .program-box input[type="radio"] {
        width: 22px;
        height: 22px;
        cursor: pointer;
        accent-color: #f06627;
    }

    .left {
        display: flex;
        align-items: center;
        gap: 15px;
        flex: 1;
    }

    .left i {
        font-size: 28px;
        transition: color 0.3s ease;
    }

    .name {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .program {
        font-weight: 500;
        font-size: 16px;
        transition: color 0.3s ease;
    }

    .short-desc {
        font-size: 13px;
        transition: color 0.3s ease;
    }

    .section-label {
        font-size: 16px;
        font-weight: 600;
        color: #333;
        margin-bottom: 15px;
        margin-top: 20px;
    }

    .btn-section {
        margin-bottom: 30px;
    }

    .btn-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 20px;
    }

    .selection-btn {
        padding: 12px 24px;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        background-color: #f9f9f9;
        color: #666;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        white-space: nowrap;
    }

    .selection-btn:hover {
        border-color: #f06627;
        background-color: #fff;
    }

    /* Aktif / Seçili Buton */
    .selection-btn.active {
        border-color: #0052cc;
        background-color: #0052cc;
        color: #fff;
        box-shadow: 0 2px 8px rgba(0, 82, 204, 0.2);
    }

    .form-group {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .form-group label {
        font-size: 14px;
        font-weight: 500;
        color: #333;
    }

    .form-group input {
        padding: 12px 15px;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        font-size: 14px;
        transition: border-color 0.3s ease;
    }

    .form-group input:focus {
        outline: none;
        border-color: #f06627;
    }

    .form-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .form-item-full {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .form-item {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .form-item-full label,
    .form-item label {
        font-size: 14px;
        font-weight: 500;
        color: #333;
    }

    .form-item-full input,
    .form-item-full select,
    .form-item-full textarea,
    .form-item input,
    .form-item select,
    .form-item textarea {
        padding: 12px 15px;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        font-size: 14px;
        font-family: inherit;
        transition: border-color 0.3s ease;
    }

    .form-item-full input:focus,
    .form-item-full select:focus,
    .form-item-full textarea:focus,
    .form-item input:focus,
    .form-item select:focus,
    .form-item textarea:focus {
        outline: none;
        border-color: #f06627;
    }

    .form-item-full textarea {
        resize: vertical;
        min-height: 80px;
    }

    .form-bottom {
        grid-column: 1 / -1;
        margin-top: 10px;
    }

    .form-bottom label {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        font-size: 13px;
        color: #666;
        line-height: 1.5;
    }

    .form-bottom input[type="checkbox"] {
        width: 18px;
        height: 18px;
        margin-top: 3px;
        cursor: pointer;
        accent-color: #f06627;
    }

    .form-bottom a {
        color: #f06627;
        text-decoration: none;
        font-weight: 500;
        display: inline-block;
        font-size: 13px;
    }

    .form-bottom a:hover {
        text-decoration: underline;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .form-wrapper {
            grid-template-columns: 1fr;
        }

        .two-step .grid-container {
            grid-template-columns: 1fr;
        }

        .first-step .grid-container {
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }
    }

    /* ===== MULTI-STEP EKLENTILERI ===== */

    .step-content {
        display: none;
    }

    .step-content.active {
        display: block;
        animation: fadeInUp 0.3s ease;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Header Progress */
    .form-header {
        background: white;
        padding: 30px 0;
        border-top: 1px solid #e0e0e0;
        border-bottom: 1px solid #e0e0e0;
        margin-bottom: 40px;
    }

    .header-content {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .progress-section {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }

    .progress-title {
        font-size: 16px;
        font-weight: 600;
        color: #333;
    }

    .progress-counter {
        font-size: 14px;
        color: #999;
    }

    .progress-bar {
        width: 100%;
        height: 3px;
        background: #e0e0e0;
        border-radius: 2px;
        overflow: hidden;
        margin-top: 15px;
    }

    .progress-fill {
        height: 100%;
        background: linear-gradient(90deg, #f06627 0%, #ff6b35 100%);
        width: 33.33%;
        transition: width 0.4s ease;
    }

    /* Footer Navigation */
    .form-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
        margin-top: 50px;
        padding: 30px 0;
        border-top: 1px solid #e0e0e0;
    }

    .btn-group {
        display: flex;
        gap: 12px;
        align-items: center;
        margin-left: auto;
    }

    .btn-prev {
        width: 44px;
        height: 44px;
        border-radius: 8px;
        background: white;
        border: 2px solid #e0e0e0;
        cursor: pointer;
        font-size: 18px;
        color: #333;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-prev:hover:not(:disabled) {
        border-color: #f06627;
        color: #f06627;
    }

    .btn-prev:disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }

    .btn-next {
        flex: 1;
        padding: 14px 32px;
        background: linear-gradient(135deg, #f06627 0%, #ff6b35 100%);
        color: white;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-width: 200px;
    }

    .btn-next:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(240, 102, 39, 0.25);
    }

    .btn-next:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .btn-submit {
        flex: 1;
        padding: 14px 32px;
        background: linear-gradient(135deg, #f06627 0%, #ff6b35 100%);
        color: white;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-width: 200px;
    }

    .btn-submit:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(240, 102, 39, 0.25);
    }

    .btn-submit:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* TWO STEP END */
