/*
Template:  Webster - Responsive Multi-purpose HTML5 Template
Author: potenzaglobalsolutions.com
Design and Developed by: potenzaglobalsolutions.com

NOTE: This file contains the styling for the marketing Template. You can edit/add anything in this file!
*/

h1, h2, h3, h4, h5, h6 { font-family: 'Nunito', sans-serif; color: #16182c; margin-top: 0px; font-weight: bold; }

.section-title p { font-size:16px; margin-top: 15px; }
.search-cart .search { padding-right: 0; }

/*marketing banner*/
.marketing-banner { height:70vh; position: relative; z-index: 9; }
.marketing-banner .slider-content { padding-left: 30px; border-left : 5px solid #d12326; }
.marketing-banner .slider-content h1 { font-size: 50px; line-height: 60px; position: relative; font-weight: 600; }

/*marketing-tab */
.marketing-tab .tab { margin-top: -50px; position: relative; z-index: 99; }
.marketing-tab .tab-vertical .tab-content p { line-height: 24px; }
.marketing-tab ul.nav.nav-tabs:before { position: absolute; content: ""; height: 100%; width: 25%; background: #d12326; left: 0; top: 0; z-index: -1;  }
.marketing-tab .tab-vertical .nav.nav-tabs li a { font-size: 16px; padding: 28px 30px; background: #d12326; color: #ffffff; border-color: rgba(0,0,0,0.2); }
.marketing-tab .tab-vertical .nav.nav-tabs li:first-child a { border-color: rgba(0,0,0,0.2); }
.marketing-tab .tab-border .nav.nav-tabs > li > a.active, .marketing-tab .tab-border .nav.nav-tabs > li > a.active:focus, .marketing-tab .tab-border .nav.nav-tabs > li > a.active:hover { background: rgba(0,0,0,0.2) !important; color: #ffffff !important; }
.marketing-tab .tab-vertical .nav.nav-tabs > li > a.active, .marketing-tab .tab-vertical .nav.nav-tabs > li > a.active:focus, .marketing-tab .tab-vertical .nav.nav-tabs > li > a.active:hover { border-color: rgba(0,0,0,0.2) }
.marketing-tab .tab-content { line-height: 14px; }

/*service*/
.marketing-service .feature-text .feature-icon span, .marketing-service .feature-text .feature-icon i { padding-left: 0; }
.marketing-service .feature-text { padding: 60px 40px; border:1px solid #eeeeee; height: 100%; background: #ffffff; -webkit-transition: all 0.5s ease-in-out; -o-transition: all 0.5s ease-in-out; -ms-transition: all 0.5s ease-in-out; -moz-transition: all 0.5s ease-in-out; transition: all 0.5s ease-in-out; }
.marketing-service .feature-text:hover { box-shadow: 0 0 50px rgba(0, 0, 0, .2); position: relative; z-index: 1;  }

/*step*/
.marketing-step .step-box { height: 230px; width: 230px; box-shadow: 0px 0px 0 10px #d12326;  border-radius: 50%; overflow: hidden; -webkit-transition: all 0.5s ease-in-out; -o-transition: all 0.5s ease-in-out; -ms-transition: all 0.5s ease-in-out; -moz-transition: all 0.5s ease-in-out; transition: all 0.5s ease-in-out; }
.marketing-step .step-box h4 { text-align: center; line-height: 230px; position: relative; }
.marketing-step .step-box:hover { box-shadow: 0px 0px 0 15px #d12326; } 

/*testimonial*/
.marketing-testimonial .testimonial-info { font-size: 18px; line-height: 34px; }

/*sidebar*/
ul.menu-sidebar { position: relative; z-index: 1; }
ul.menu-sidebar li { display: block; }
ul.menu-sidebar li a { text-transform: capitalize; display: block; background: #f6f7f8; padding: 16px 30px; color: #323232; font-weight: 600; border-bottom: 1px solid #ffffff; border-left: 5px solid transparent;  }
ul.menu-sidebar li a:hover, ul.menu-sidebar li.active a { border-left: 5px solid #d12326; color: #d12326; }

/*action-box*/
.marketing-action-box .action-box { padding: 40px 50px; }
.marketing-action-box .popup-video-image a i { left: inherit; top: -14px; }

/*timeline*/
.our-history.timeline-left .timeline > li > .timeline-badge { left: 15%; }
.our-history.timeline-left .timeline:before { left: 15%; }
.our-history.timeline-left .timeline > li > .timeline-panel{ width: 79%; }
.our-history.timeline-left .timeline-arrow { width: inherit; left : 14.3%; right: inherit; }
.our-history.timeline-left .timeline > li > .timeline-badge p { margin-top: -6px; }

/*team*/
.marketing-team .team.team-list h5 { font-size: 18px; text-transform: capitalize; }
.marketing-team .team.team-list .team-info span { font-size: 14px; text-transform: capitalize; } 

/*work*/
.marketing-work .portfolio-item a.popup { width: auto; height: inherit; padding: 0px 20px; border-radius: 3px; display: inline-block; }

/*Hizmetlerimiz: feature cards*/
.feature.feature-card { position: relative; background: #ffffff; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 22px rgba(0,0,0,.06); transition: transform .25s ease, box-shadow .25s ease; }
.feature.feature-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(0,0,0,.12); }
.feature-card .feature-image { position: relative; overflow: hidden; }
.feature-card .feature-image img { display: block; width: 100%; height: auto; transition: transform .6s ease; }
.feature-card:hover .feature-image img { transform: scale(1.06); }
.feature-card .feature-info { padding: 16px 18px 20px; }
.feature-card .feature-info h4 { margin-bottom: 6px; }
.feature-card .feature-info h4 a { transition: color .2s ease; }
.feature-card .feature-info h4 a:hover { color: #84ba3f; }
.feature-card a:focus { outline: 2px solid rgba(132,186,63,.35); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 991.98px){
  .feature.feature-card { border-radius: 12px; }
}

/* Dropdown styling */
.mega-menu .drop-down-multilevel { border-radius: 10px; box-shadow: 0 12px 28px rgba(0,0,0,.12); overflow: hidden; }
.mega-menu .drop-down-multilevel li>a { padding: 10px 16px; font-weight: 500; }
.mega-menu .drop-down-multilevel li>a:hover { background: rgba(0,0,0,.04); }

@media (max-width: 991.98px) {
  .mega-menu .menu-links>li>a { padding: 14px 12px; }
}

/*overlay*/
.bg-overlay-theme-20:before {  background: rgba(22, 24, 44, 0.2) !important; content: ""; height: 100%; left: 0; position: absolute; top: 0; width: 100%; z-index: -1; }
.bg-overlay-theme-50:before {  background: rgba(22, 24, 44, 0.5) !important; content: ""; height: 100%; left: 0; position: absolute; top: 0; width: 100%; z-index: -1; }
.bg-overlay-theme-70:before {  background: rgba(22, 24, 44, 0.7) !important; content: ""; height: 100%; left: 0; position: absolute; top: 0; width: 100%; z-index: -1; }
.bg-overlay-theme-80:before {  background: rgba(22, 24, 44, 0.8) !important; content: ""; height: 100%; left: 0; position: absolute; top: 0; width: 100%; z-index: -1; }
.bg-overlay-theme-90:before {  background: rgba(22, 24, 44, 0.9) !important; content: ""; height: 100%; left: 0; position: absolute; top: 0; width: 100%; z-index: -1; }

/* Announcements */
.announce{display:flex;align-items:center;gap:12px;border-radius:10px;background:#f6f7f8;padding:8px 12px;box-shadow:0 6px 16px rgba(0,0,0,.06)}
.announce-title{flex:0 0 auto;font-weight:700;color:#16182c;display:flex;align-items:center;gap:8px}
.announce-track{position:relative;overflow:hidden;flex:1 1 auto;height:28px}
.announce-item{position:absolute;left:0;right:0;transform:translateY(100%);opacity:0;color:#323232;transition:transform .45s ease, opacity .45s ease;pointer-events:none}
.announce-item.show{transform:translateY(0);opacity:1;pointer-events:auto}
.announce-item.prev{transform:translateY(-100%);opacity:0}
.announce-item a{color:#000!important;text-decoration:none;display:inline-block;line-height:1.2}
.announce-item a:hover{text-decoration:underline}
@keyframes blink-soft{0%,100%{opacity:1}50%{opacity:.35}}
.blink{animation:blink-soft 1.2s ease-in-out infinite}
@media (max-width:767.98px){
  .announce{padding:6px 10px;gap:8px}
  .announce-title{font-size:14px}
  .announce-track{height:36px}
  .announce-item{font-size:14px}
  .announce-item .badge{transform:scale(.9); transform-origin:left center}
}
@media (max-width:575.98px){
  .announce{border-radius:8px}
  .announce-track{height:40px}
  .announce-item{font-size:15px}
}

/* Site Popup */
.site-popup-overlay{position:fixed;inset:0;background:rgba(0,0,0,.4);display:flex;align-items:center;justify-content:center;z-index:9999;padding:24px 16px;opacity:0;transition:opacity .25s ease}
.site-popup-overlay.show{opacity:1}
.site-popup{background:#fff;max-width:720px;width:100%;border-radius:12px;box-shadow:0 20px 40px rgba(0,0,0,.25);position:relative;padding:20px;transform:translateY(-20vh) scale(.96);opacity:0;transition:transform .35s ease, opacity .35s ease}
.site-popup.show{transform:translateY(0) scale(1);opacity:1}
.site-popup h3{margin:0 0 10px;color:#16182c}
.site-popup-content{color:#323232}
.site-popup-img{display:block;width:min(800px,100%);aspect-ratio:4 / 3;height:auto;border-radius:8px;margin:8px 0 12px;object-fit:cover}
.site-popup-close{position:absolute;top:10px;right:12px;border:0;background:rgba(0,0,0,.06);color:#222;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:999px;font-size:22px;line-height:1;cursor:pointer;box-shadow:0 6px 16px rgba(0,0,0,.08);transition:background .2s ease, transform .15s ease, box-shadow .2s ease}
.site-popup-close:hover{background:rgba(0,0,0,.1);transform:scale(1.05)}
.site-popup-close:focus{outline:none}
.site-popup-close:focus-visible{box-shadow:0 0 0 3px rgba(13,110,253,.35)}
@media (max-width:575.98px){ .site-popup-close{width:44px;height:44px;top:8px;right:8px} }
/* popup footer + progress */
.site-popup-footer{display:flex;align-items:center;justify-content:flex-start;margin-top:6px}
.site-popup-progress{position:relative;width:100%;height:3px;background:rgba(0,0,0,.08);border-radius:2px;overflow:hidden;margin-top:8px}
.site-popup-progress-bar{position:absolute;left:0;top:0;bottom:0;width:0%;background:#0d6efd}
html.theme-dark .site-popup{background:#1e1f2a;color:#f3f4f6}
html.theme-dark .site-popup h3{color:#fff}
html.theme-dark .site-popup-content{color:#e6e7eb}
html.theme-dark .site-popup-close{background:rgba(255,255,255,.12);color:#fff}
html.theme-dark .site-popup-close:hover{background:rgba(255,255,255,.18)}
html.theme-dark .site-popup-progress{background:rgba(255,255,255,.12)}
html.theme-dark .site-popup-progress-bar{background:#84ba3f}
@media (max-width:767.98px){ .site-popup{ border-radius:10px; padding:16px } }

/* Optional: prevent background scroll when popup open */
html.popup-open, body.popup-open{ overflow: hidden; }

/* Cookie Banner */
.cookie-banner{position:fixed;left:16px;bottom:16px;max-width:360px;z-index:9998;background:#ffffff;color:#323232;border-radius:12px;box-shadow:0 10px 28px rgba(0,0,0,.18);padding:14px 14px;display:flex;align-items:flex-start;gap:10px}
.cookie-text{font-size:14px;line-height:1.4}
.cookie-text strong{color:#16182c}
.cookie-link{margin-left:6px;color:#0d6efd;text-decoration:underline}
.cookie-actions{margin-left:auto}
.cookie-accept{background:#0d6efd;color:#fff;border:0;border-radius:8px;padding:8px 12px;font-weight:600;cursor:pointer}
.cookie-accept:hover{filter:brightness(.95)}
html.theme-dark .cookie-banner{background:#1e1f2a;color:#e6e7eb}
html.theme-dark .cookie-text strong{color:#fff}
html.theme-dark .cookie-link{color:#8ab4ff}

/* Cookie Manage Floating Button */
.cookie-manage{position:fixed;left:16px;bottom:84px;z-index:9998;background:#f6f7f8;color:#16182c;border:1px solid rgba(0,0,0,.08);border-radius:999px;padding:8px 14px;font-weight:600;cursor:pointer;box-shadow:0 6px 16px rgba(0,0,0,.08);opacity:0;transform:translateY(8px);transition:opacity .25s ease, transform .25s ease}
.cookie-manage.show{opacity:1;transform:translateY(0)}
html.theme-dark .cookie-manage{background:#2a2b36;color:#e6e7eb;border-color:rgba(255,255,255,.08)}

/* Cookie Preferences Drawer */
.cookie-drawer-overlay{position:fixed;inset:0;background:rgba(0,0,0,.4);opacity:0;transition:opacity .25s ease;z-index:10000}
.cookie-drawer-overlay.show{opacity:1}
.cookie-drawer{position:fixed;top:0;right:0;height:100vh;width:420px;max-width:100%;background:#fff;color:#16182c;box-shadow:-12px 0 28px rgba(0,0,0,.18);transform:translateX(100%);transition:transform .3s ease;z-index:10001;display:flex;flex-direction:column;padding:20px 20px 16px;overflow:auto}
.cookie-drawer.show{transform:translateX(0)}
.cookie-drawer h4{margin:0 0 6px}
.cookie-drawer p{margin:0 0 14px;color:#4a4a4a}
.cookie-form{display:flex;flex-direction:column;gap:12px;margin:6px 0 16px}
.cookie-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid rgba(0,0,0,.06)}
.cookie-row-title{font-weight:700}
.cookie-row-desc{font-size:13px;color:#555;max-width:70%}
.cookie-switch{position:relative;display:inline-flex;align-items:center}
.cookie-switch input{appearance:none;-webkit-appearance:none;width:44px;height:24px;border-radius:999px;background:#d6d6d6;outline:none;cursor:pointer;position:relative;transition:background .2s ease}
.cookie-switch input:checked{background:#0d6efd}
.cookie-switch .slider{position:absolute;left:2px;top:2px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2);transition:transform .2s ease}
.cookie-switch input:checked + .slider{transform:translateX(20px)}
.cookie-modal-actions,.cookie-drawer-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:auto}
.btn-primary{background:#0d6efd;color:#fff;border:0;border-radius:8px;padding:8px 12px;font-weight:600;cursor:pointer}
.btn-success{background:#28a745;color:#fff;border:0;border-radius:8px;padding:8px 12px;font-weight:600;cursor:pointer}
.btn-outline{background:transparent;color:#16182c;border:1px solid rgba(0,0,0,.15);border-radius:8px;padding:8px 12px;font-weight:600;cursor:pointer}
.cookie-modal-close{position:absolute;top:10px;right:12px;border:0;background:transparent;font-size:26px;color:#666;cursor:pointer}
html.theme-dark .cookie-drawer{background:#1e1f2a;color:#e6e7eb}
html.theme-dark .cookie-drawer p{color:#c8cbd3}
html.theme-dark .cookie-row{border-color:rgba(255,255,255,.08)}
html.theme-dark .btn-outline{color:#e6e7eb;border-color:rgba(255,255,255,.2)}

/* Cookie Preferences Modal (centered) */
.cookie-modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);opacity:0;transition:opacity .25s ease;z-index:10000;display:flex;align-items:center;justify-content:center;padding:16px}
.cookie-modal-overlay.show{opacity:1}
.cookie-modal{background:#fff;color:#16182c;max-width:720px;width:100%;border-radius:12px;box-shadow:0 20px 40px rgba(0,0,0,.25);transform:translateY(-10px) scale(.98);opacity:0;transition:transform .25s ease, opacity .25s ease;z-index:10001;position:relative;padding:18px}
.cookie-modal.show{transform:translateY(0) scale(1);opacity:1}
.cookie-modal h4{margin:0 0 6px}
.cookie-modal p{margin:0 0 12px;color:#4a4a4a}
.cookie-modal .cookie-form{display:flex;flex-direction:column;gap:12px;margin:6px 0 16px}
.cookie-modal .cookie-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid rgba(0,0,0,.06)}
.cookie-modal-actions{display:flex;gap:8px;justify-content:flex-end}
.cookie-modal-close{position:absolute;top:10px;right:12px;border:0;background:transparent;font-size:26px;color:#666;cursor:pointer}
@media (max-width:575.98px){ .cookie-modal{border-radius:10px;padding:14px} }
html.theme-dark .cookie-modal{background:#1e1f2a;color:#e6e7eb}
html.theme-dark .cookie-modal p{color:#c8cbd3}
html.theme-dark .cookie-modal .cookie-row{border-color:rgba(255,255,255,.08)}

/* Health Preloader */
.preloader-health{position:fixed;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#ffffff;z-index:99999}
.preloader-heartbeat{position:relative;width:220px;height:60px;overflow:hidden;margin-bottom:14px}
.preloader-heartbeat .hb-line{position:absolute;left:0;top:50%;width:200%;height:2px;background:linear-gradient(90deg, transparent 0 5%, #e31b23 10% 15%, transparent 20% 25%, #e31b23 30% 35%, transparent 40% 100%);transform:translateY(-50%);animation:hb-move 1.6s linear infinite}
@keyframes hb-move{0%{transform:translate(-50%, -50%)}100%{transform:translate(0, -50%)}}
.preloader-cross{position:relative;width:42px;height:42px;margin-bottom:6px}
.preloader-cross .v{position:absolute;left:50%;top:0;transform:translateX(-50%);width:12px;height:42px;background:#0d6efd;border-radius:4px;animation:cross-pulse 1.2s ease-in-out infinite}
.preloader-cross .h{position:absolute;top:50%;left:0;transform:translateY(-50%);width:42px;height:12px;background:#0d6efd;border-radius:4px;animation:cross-pulse 1.2s ease-in-out infinite}
@keyframes cross-pulse{0%,100%{opacity:.8}50%{opacity:1;filter:brightness(1.1)}}
.preloader-text{font-weight:600;color:#16182c;letter-spacing:.2px}
html.theme-dark .preloader-health{background:#0f1117}
html.theme-dark .preloader-heartbeat .hb-line{background:linear-gradient(90deg, transparent 0 5%, #ff5a63 10% 15%, transparent 20% 25%, #ff5a63 30% 35%, transparent 40% 100%)}
html.theme-dark .preloader-cross .v, html.theme-dark .preloader-cross .h{background:#84ba3f}
html.theme-dark .preloader-text{color:#e6e7eb}
@media(max-width:575.98px){ .preloader-heartbeat{width:180px;height:52px} .preloader-cross{width:38px;height:38px} }

/* Mobile Navigation Enhancements */
.menu-toggle{background:transparent;border:0;display:none;cursor:pointer;padding:10px;margin-left:auto}
.menu-toggle .bar{display:block;width:24px;height:2px;background:#16182c;margin:5px 0;transition:transform .2s ease, opacity .2s ease}
html.theme-dark .menu-toggle .bar{background:#e6e7eb}