/* ------------------------------------
   RESET + BASE STYLES
-------------------------------------*/

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; }
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #f9fafc;
  color: #2C3E50;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
a {
  color: #4979C6;
  text-decoration: none;
  transition: color .18s cubic-bezier(.77,0,.18,1);
  font-weight: 600;
}
a:hover, a:focus { color: #F4D06F; }
ul, ol {
  margin-left: 1.4em;
  margin-top: 12px;
  margin-bottom: 18px;
}
li { margin-bottom: 8px; }
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: #2C3E50;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.8rem; line-height: 1.18; margin-bottom: 18px;
     background: linear-gradient(90deg,#4979C6 55%, #F4D06F 100%);
     background-clip: text;-webkit-background-clip: text;
     color: transparent;-webkit-text-fill-color: transparent; }
h2 { font-size: 2rem; line-height: 1.23; margin-bottom: 15px; }
h3 { font-size: 1.2rem; line-height: 1.23; margin-bottom: 4px; }
p {
  font-size: 1.12rem;
  margin-bottom: 14px;
}
strong { font-weight: bold; color: #2C3E50; }
::-webkit-input-placeholder, :-moz-placeholder, ::-ms-input-placeholder, ::placeholder { color:#aaaaaa; opacity:1; }

/* ------------------------------------
   FLEXBOX LAYOUT UTILS
-------------------------------------*/
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 28px 0 rgba(74,121,198,0.10),0 1.5px 5.5px 0 rgba(244,208,111,0.06);
}
@media (max-width:768px) {
  .section { margin-bottom: 28px; padding: 22px 6px; }
}

/* Cards & Grids */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 28px 0 rgba(244,208,111,0.13), 0 2px 8px 0 rgba(44,62,80,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px;
  max-width: 325px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow .22s cubic-bezier(.77,0,.18,1), transform .20s;
}
.card:hover,.card:focus {
  box-shadow: 0 12px 32px 0 rgba(73,121,198,0.18),0 4px 16px 0 rgba(244,208,111,0.10);
  transform: translateY(-4px) scale(1.03);
  z-index: 2;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .content-grid,.text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .card {
    max-width: 100%;
    min-width: 0;
  }
}

/* Testimonials / Reviews */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FAFBFF;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 rgba(73,121,198,0.08);
  color: #232e41;
  border-left: 5px solid #F4D06F;
  transition: box-shadow .18s, border-left .18s;
}
.testimonial-card p { margin:0 0 0 0; font-style: italic; font-size: 1rem; }
.testimonial-card div {
  font-weight: 700;
  font-size: 1.08rem;
  color: #4979C6;
}
.testimonial-card span {
  font-size: 1.08rem;
  color: #F4D06F;
  font-weight: bold;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 32px 0 rgba(38,49,82,0.13);
  border-left: 5px solid #4979C6;
}
@media (max-width: 640px) {
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* Features */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 11px;
  padding: 16px;
  box-shadow: 0 4px 12px 0 rgba(73,121,198,0.09);
  margin-bottom: 16px;
}

/* ------------------------------------
   NAVIGATION & HEADER
-------------------------------------*/
header {
  background: #2C3E50;
  padding: 0 0;
  box-shadow: 0 2px 24px 0 rgba(44,62,80,0.16);
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  max-width: 1100px;
  padding: 0 20px;
  margin: 0 auto;
  min-height: 68px;
}
header nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 7px 18px;
  border-radius: 23px;
  transition: background 0.15s, color 0.17s;
  position: relative;
  letter-spacing: 0.01em;
}
header nav a:hover, header nav a:focus {
  background: #F4D06F;
  color: #2C3E50;
}
header nav a.cta.primary {
  background: #F4D06F;
  color: #2C3E50;
  font-size: 1.11rem;
  padding: 9px 27px;
  border-radius: 30px;
  margin-left: 6px;
  box-shadow: 0 2px 8px rgba(244,208,111,0.18);
  transition: transform .19s, background .15s;
}
header nav a.cta.primary:hover, header nav a.cta.primary:focus {
  background: #4979C6;
  color: #fff;
  transform: scale(1.08);
}
.mobile-menu-toggle {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  padding: 5px 12px;
  margin-right: 12px;
  cursor: pointer;
  display: none;
  z-index: 101;
  transition: color .16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #F4D06F;
}

@media (max-width:992px) {
  header nav {
    gap: 6px;
    padding: 0 4vw;
  }
}
@media (max-width: 830px) {
  header nav a { font-size: 1rem; padding: 6px 11px; }
  header nav a.cta.primary { padding: 9px 18px; }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ------------------------------------
   MOBILE MENU
-------------------------------------*/
.mobile-menu {
  position: fixed;
  top: 0;right: 0;bottom: 0;left: 0;
  width: 100vw;height: 100vh;
  background: rgba(44,62,80,0.95);
  backdrop-filter: blur(2px);
  z-index: 999;
  transform: translateX(105%);
  transition: transform 0.31s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  color: #F4D06F;
  font-size: 2.1rem;
  border: none;
  margin: 18px 24px 0 0;
  cursor: pointer;
  align-self: flex-end;
  z-index: 9999;
  transition: color .17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100vw;
  gap: 8px;
  margin: 46px 0 0 0;
  padding: 0 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #F4D06F;
  padding: 14px 0;
  font-size: 1.32rem;
  border: none;
  border-left: 5px solid transparent;
  width: 100%;
  transition: border-color .14s, color .14s, background .12s;
}
.mobile-nav a:hover,.mobile-nav a:focus {
  border-left: 5px solid #4979C6;
  background: #253142;
  color: #fff;
  padding-left: 12px;
}
@media (max-width: 430px) {
  .mobile-nav { padding: 0 12px; }
  .mobile-menu-close { margin-right: 7px; }
}

/* ------------------------------------
   BUTTONS & CTAs
-------------------------------------*/
.cta, .cta.primary, .cta.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  box-shadow: 0 2px 18px 0 rgba(244,208,111,0.15);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 1.13rem;
  padding: 11px 32px;
  outline: none;
  border: none;
  cursor: pointer;
  background: #4979C6;
  color: #fff;
  transition: background .17s, box-shadow .13s, color .13s, transform .13s;
  margin-top: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cta.primary {
  background: #F4D06F;
  color: #232e41;
}
.cta.primary:hover, .cta.primary:focus {
  background: #4979C6;
  color: #fff;
  transform: scale(1.06);
}
.cta.secondary {
  background: #fff;
  color: #4979C6;
  border: 2px solid #F4D06F;
  box-shadow: 0 2px 8px rgba(44,62,80,0.06);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #F4D06F;
  color: #232e41;
  box-shadow: 0 6px 22px rgba(244,208,111,0.18);
}
@media (max-width:480px){
  .cta, .cta.primary, .cta.secondary {font-size:1.02rem;padding:10px 18px;min-width:120px;}
}

/* ------------------------------------
   FORMS, SELECT, INPUT STYLES
-------------------------------------*/
input, select, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 11px 14px;
  border: 2px solid #e8eaf3;
  border-radius: 8px;
  margin-bottom: 13px;
  width: 100%;
  outline: none;
  background: #fff;
  color: #2C3E50;
  transition: border-color .14s;
}
input:focus, select:focus, textarea:focus { border-color: #4979C6; }
select {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: #FAFBFF;
  color: #2C3E50;
  min-width: 120px;
}
label { font-weight: 700; color: #4979C6; display: block; margin-bottom: 4px; }

/* ------------------------------------
   TABLES - Hizmetler/Services
-------------------------------------*/
table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 24px 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px #ecebfd63;
  font-size: 1.07rem;
  overflow: hidden;
}
thead tr { background: #4979C6; color: #fff; }
thead th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  padding: 13px 10px;
  text-align: left;
  letter-spacing: 0.05em; 
}
tbody tr { border-bottom: 1px solid #ececee; }
tbody td {
  padding: 15px 10px;
  background: #fff;
}
tbody tr:nth-child(even) td { background: #FAFBFF; }
tbody tr:hover td { background: #F4D06F; color: #232e41; }

@media (max-width:600px) {
  table, thead, tbody, tr, th, td { display: block; width: 100%; }
  thead { display:none; }
  tbody tr { margin-bottom: 19px; box-shadow: 0 1.5px 6px rgba(44,62,80,0.04); }
  td {padding: 10px 6px;font-size:1.01rem;}
}

/* ------------------------------------
   FOOTER
-------------------------------------*/
footer {
  margin-top: 40px;
  background: #232e41;
  color: #fff;
  padding: 36px 20px 16px 20px;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -6px 20px rgba(44,62,80,0.05);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 32px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 16px;
  align-items: center;
}
footer nav a {
  color: #F4D06F;
  font-size: 1.13rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 5px 0;
  font-weight: 700;
  border-radius: 2px;
  transition: color .13s;
}
footer nav a:hover,footer nav a:focus { color:#fff; }
footer div {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  font-size: 1.02rem;
  margin-top: 0;
}
footer img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}
@media (max-width:650px){
  footer nav { gap:9px;font-size:1rem;}
  footer div {flex-direction:column;align-items:flex-start;gap:4px;}
}

/* ------------------------------------
   COOKIE BANNER & PREFERENCES MODAL
-------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #2C3E50;
  color: #fff;
  z-index: 20000;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -8px 32px rgba(44,62,80,0.15);
  padding: 24px 40px 20px 40px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .24s, transform .26s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
.cookie-banner-message {
  flex: 1 1 auto;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-banner-actions {
  display: flex;
  gap: 12px;
}
.cookie-btn {
  border: none;
  border-radius: 22px;
  background: #F4D06F;
  color: #2C3E50;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  padding: 7px 20px;
  margin-left: 0;
  cursor: pointer;
  transition: background .14s, color .14s, box-shadow .14s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #4979C6;
  color: #fff;
}
.cookie-btn.reject {
  background: #4979C6;
  color: #fff;
  border: 2px solid #F4D06F;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #F4D06F;
  color: #2C3E50;
}
.cookie-btn.settings {
  background: #fff;
  color: #4979C6;
  border: 2px solid #F4D06F;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #F4D06F;
  color: #2C3E50;
}
@media (max-width:620px) {
  .cookie-banner{
    flex-direction:column;
    align-items:flex-start;
    padding: 19px 10px 7px 10px;
    gap:12px;
    font-size:0.97rem;
  }
  .cookie-banner-message { font-size:0.96rem; }
  .cookie-banner-actions{ gap:6px;}
}

.cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0;
  top: 0; bottom: 0;
  background: rgba(44,62,80,0.82);
  z-index: 23000;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: opacity .22s;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  color: #2C3E50;
  border-radius: 22px;
  box-shadow: 0 6px 32px rgba(244,208,111,0.27);
  padding: 38px 30px 30px 30px;
  max-width: 420px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  font-family: 'Open Sans', Arial, sans-serif;
  gap: 18px;
  position: relative;
}
.cookie-modal-content h2 {
  font-size: 1.26rem;
  background: none;
  color: #2C3E50;
  margin-bottom:12px;
}
.cookie-category {
  margin: 13px 0 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FAFBFF;
  border-radius: 10px;
  padding: 10px 14px;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: bold;
  color: #4979C6;
  margin: 0;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  background: #e8eaf3;
  border-radius: 11px;
  position: relative;
  display: inline-block;
  transition: background 0.14s;
}
.cookie-toggle input[type="checkbox"] {
  opacity: 0;
  width: 0; height: 0;
  position: absolute;
  left: -9999px;
}
.cookie-toggle-slider {
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: #4979C6;
  border-radius: 50%;
  transition: transform .18s, background .16s;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  background: #F4D06F;
  transform: translateX(16px);
}
.cookie-category.essential .cookie-toggle {
  opacity: 0.4;
  pointer-events: none;
}
.cookie-modal-close {
  position: absolute;
  top: 17px; right: 18px;
  background: transparent;
  color: #4979C6;
  font-size: 1.55rem;
  border: none;
  cursor: pointer;
  transition: color .14s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus { color: #F4D06F; }
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  justify-content: flex-end;
}

@media (max-width: 410px) {
  .cookie-modal-content {padding:18px 6px 18px 6px;}
}

/* ------------------------------------
   VIBRANT & ENERGETIC ADDITIONS
-------------------------------------*/
.section {
  border: 2.5px solid #4979C6;
  background: #fffefa;
  box-shadow: 0 4px 32px 0 rgba(244,208,111,0.07),0 2px 7px 0 rgba(73,121,198,0.09); 
}
.content-wrapper > h2, .content-wrapper > h1 {
  position: relative;
  z-index: 1;
  padding-bottom: 10px;
}
.content-wrapper > h2::after, .content-wrapper > h1::after {
  content: '';
  display: block;
  width: 44px;
  height: 6px;
  background: #F4D06F;
  border-radius: 3px;
  margin-top: 7px;
}
ul li::marker, ol li::marker {
  color: #4979C6;
  font-size: 1.06em;
}

.card {
  border: 1.5px solid #F4D06F;
  transition: box-shadow .23s, border-color .18s, transform .18s;
  box-shadow: 0 3px 18px 0 rgba(73,121,198,0.09);
}
.card:hover, .card:focus {
  border-color: #4979C6;
  box-shadow: 0 7px 36px 0 rgba(244,208,111,0.19);
  background: #f6fafd;
}

.cta {
  animation: electric-glow 1.5s infinite alternate;
}
@keyframes electric-glow {
  from { box-shadow: 0 2px 18px 0 rgba(244,208,111,0.15); }
  to   { box-shadow: 0 4px 22px 0 rgba(73,121,198,0.23); }
}

.section strong, .feature-item strong {
  color: #F4D06F;
  background: #2C3E50;
  padding: 0 4px;
  border-radius: 4px;
  font-weight: 800;
}
.feature-item {
  border: 1.5px solid #4979C6;
  background: #FBFEFE;
  transition: box-shadow .13s,border-color .11s;
}
.feature-item:hover, .feature-item:focus {
  border-color: #F4D06F;
  box-shadow: 0 6px 24px 0 rgba(244,208,111,0.14);
}

/* Colorful outline effect on focus for accessibility */
a:focus, button:focus, .cta:focus, input:focus, select:focus, textarea:focus, .card:focus {
  outline: 2.5px solid #F4D06F;
  outline-offset: 1.5px;
  box-shadow: 0 0 12px #F4D06F44;
}

/* ------------------------------------
   PAGE SPECIFIC UTIL
-------------------------------------*/
.text-section h3 {
  margin-bottom: 3px;
  color: #4979C6;
  font-size: 1.04rem;
}
.text-section p {
  margin-bottom: 10px;
  font-size: 1.07rem;
}
@media (max-width:540px){
  .text-section h3{font-size:0.99rem;}
}

/* Spacing between content cards/sections (min. 20px) */
.card + .card, .testimonial-card + .testimonial-card,
.section + .section {
  margin-top: 20px;
}
/* Add extra space in stacked layouts (mobile) */
@media (max-width:600px) {
  .card-container, .content-grid { gap: 14px;}
  .card, .testimonial-card { margin-bottom: 12px; }
}

/* ------------------------------------
   PRINT (hide navs & banner)
-------------------------------------*/
@media print {
  header, .mobile-menu, .cookie-banner, footer { display: none !important; }
}
