﻿:root {
  --primary: #004fb1;
  --secondary: #ffc40c;
  --dark: #0a0a0a;
  --light: #f4f7fa;
  --white: #ffffff;
  --success: #28a745;
  --error: #dc3545;
  --text: #1a1a1a;
  --text-muted: #6c757d;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 20px 45px rgba(0, 0, 0, 0.1);
  --font-main: 'Poppins', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background: var(--light);
  color: var(--text);
  line-height: 1.6;
  margin: 0;
  overflow-x: hidden;
}

/* Header Enhancements */
.topbar {
  background: var(--primary);
  border-bottom: 2px solid var(--secondary);
  padding: 0.8rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.brand {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white) !important;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.brand span {
  color: var(--secondary);
}

.nav a {
  color: var(--white);
  padding: 0.5rem 1.2rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--secondary);
}

.nav-cta {
  background: var(--secondary);
  color: var(--dark) !important;
  border-radius: 50px;
  padding: 0.6rem 1.8rem !important;
  font-weight: 700 !important;
  box-shadow: 0 6px 15px rgba(255, 196, 12, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 196, 12, 0.4);
}

.hero-premium {
  background: linear-gradient(140deg, #023E82 68%, #FFC40C 100%);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}

.hero-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* Card & Form Premium Look */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 1.5rem;
  width: 100%;
}

.form-group label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--dark);
  margin-bottom: 0.6rem;
  display: block;
  text-align: left;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 2px solid #edf2f7;
  border-radius: 10px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: all 0.3s;
  background: #fdfdfd;
  color: var(--text);
  line-height: normal;
  /* Fix vertical alignment in some browsers */
}

.form-control::placeholder {
  color: #adb5bd;
  opacity: 1;
}

.form-control:focus {
  border-color: var(--primary);
  background: var(--white);
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 79, 177, 0.08);
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 1rem 2.5rem;
  font-weight: 600;
  font-family: var(--font-main);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 8px 20px rgba(0, 79, 177, 0.15);
}

.btn:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background: var(--light);
  color: var(--primary);
}

/* Campaign Cards Ultra-Premium */
.campaign {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
}

.campaign::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 79, 177, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.5s;
}

.campaign:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 79, 177, 0.12);
  border-color: rgba(0, 79, 177, 0.1);
}

.campaign:hover::before {
  opacity: 1;
}

.campaign__icon {
  width: 60px;
  height: 60px;
  background: var(--light);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: all 0.5s;
}

.campaign:hover .campaign__icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(-5deg) scale(1.1);
}

.campaign__body {
  padding: 30px 17px !important;
  position: relative;
  z-index: 2;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.pill {
  display: inline-block;
  background: rgba(0, 79, 177, 0.06);
  color: var(--primary);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  width: fit-content;
}

.campaign h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.price {
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 800;
  color: var(--primary);
  margin: 1.5rem 0;
  display: flex;
  align-items: baseline;
}

.price small {
  font-size: 1.2rem;
  font-weight: 600;
  margin-left: 2px;
}

.price span {
  font-size: 1.5rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 8px;
}

.btn-premium {
  background: var(--primary);
  color: var(--white);
  padding: 0.8rem 0.5rem;
  border-radius: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-shadow: 0 6px 15px rgba(0, 79, 177, 0.15);
  font-size: 0.85rem;
}

.btn-premium:hover {
  background: var(--dark);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}


.btn-detail {
  background: #f0f4f8;
  color: var(--primary);
  padding: 0.8rem 1.2rem;
  border-radius: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
  display: block;
  width: 100%;
  margin-bottom: 10px;
  border: 1px solid rgba(0, 79, 177, 0.1);
  font-size: 0.85rem;
}


.btn-detail:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-call {
  background: #f6c200;
  /* Brand Yellow */
  color: #0b2d57;
  /* Dark text for contrast */
  padding: 0.8rem 0.5rem;
  border-radius: 12px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  font-size: 0.82rem;
  transition: all 0.3s;
  border: none;
}

.btn-call:hover {
  background: #e5b300;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(246, 194, 0, 0.3);
}


.actions-row-stacked {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 1.2rem;
}

.btn-group-half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.campaign-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.campaign-sidebar .card {
  position: relative !important;
  top: 0 !important;
  margin-bottom: 0;
}

/* Breadcrumbs */
.breadcrumbs {
  background: var(--white);
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 2rem;
}

.breadcrumbs ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}

.breadcrumbs li {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.breadcrumbs li::after {
  content: "/";
  color: #ccc;
}

.breadcrumbs li:last-child::after {
  display: none;
}

.breadcrumbs a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .breadcrumbs {
    margin-bottom: 1.5rem;
    padding: 0.75rem 0;
  }

  .breadcrumbs ul {
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .breadcrumbs li {
    font-size: 0.8rem;
  }
}

/* Page Header */
.page-header {
  padding: 3rem 0;
  background: linear-gradient(to right, #f8faff, var(--white));
  border-bottom: 1px solid #eee;
  margin-bottom: 3rem;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0;
}

/* Mobile Floating Button Refinement */
.call-btn {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 60px;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: .5px;
  text-transform: uppercase;
}

@media (min-width: 769px) {
  .call-btn {
    display: none;
  }
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 15px rgba(40, 167, 69, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
  }
}

@media (max-width: 768px) {
  .call-btn {
    display: flex;
  }
}

/* Mobile Menu Premium Styles */
.navToggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.navToggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

.navToggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.navToggle.active span:nth-child(2) {
  opacity: 0;
}

.navToggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.navPanel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
  transition: 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: 1000;
  padding: 80px 24px 32px;
}

.navPanel[data-open="1"] {
  right: 0;
}

.navPanel a {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
  padding: 10px 0;
  border: none !important;
  width: 100%;
  text-align: left;
}

.navPanel a:hover {
  color: var(--secondary);
}

@media (max-width: 980px) {
  .nav {
    display: none !important;
  }

  .navToggle {
    display: flex !important;
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Refined Footer Styles */
footer {
  background: #f8fafc;
  padding: 5rem 0 0;
  border-top: 1px solid #eef2f6;
  margin-top: 50px;
}

.footer__brand-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__brand {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -1.5px;
}

.footer__info {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.footer__section-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 15px;
}

.footer__section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  color: #475569;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.footer__links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 0.95rem;
  color: #475569;
}

.footer__contact-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.footer__contact-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer__contact-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer__contact-info label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #94a3b8;
}

.footer__contact-info a,
.footer__contact-info span {
  color: #1e293b;
  font-weight: 600;
  text-decoration: none;
}

.footer__copyright {
  background: #f1f5f9;
  padding: 2rem 0;
  text-align: center;
  margin-top: 5rem;
  font-size: 0.85rem;
  color: #64748b;
  border-top: 1px solid #eef2f6;
}

@media (max-width: 991px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 50px;
  }

  .footer__section-title::after {
    left: 0;
  }

  .footer__contact-item {
    justify-content: flex-start;
    text-align: left;
    max-width: 100%;
    margin: 0;
  }

  .footer__links a:hover {
    transform: none;
  }

  footer {
    padding-top: 3.5rem;
  }

  .footer__info,
  .footer__contact {
    font-size: 0.9rem;
  }
}

/* Online application form responsiveness */
@media (max-width: 640px) {
  .section-padding .card {
    padding: 2rem 1.5rem;
  }

  /* Left-align the online application container on mobile */
  .section-padding .wrap>div {
    margin: 0 !important;
  }
}

/* Campaign detail pages mobile layout */
@media (max-width: 768px) {

  /* Ana layout grid'ini tek kolona dÃ¼ÅŸÃ¼r */
  .section-padding .wrap>div[style*="grid-template-columns: 400px 1fr"] {
    display: block !important;
  }

  .campaign {
    margin-top: 30px;
  }

  .campaign-sidebar {
    margin-bottom: 2rem;
  }

  .campaign-sidebar .card {
    padding: 1.75rem 1.5rem !important;
  }

  .campaign-detail h1 {
    font-size: 2rem !important;
  }

  .campaign-detail>div[style*="display: grid;"][style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .campaign-detail>div[style*="display: grid;"][style*="grid-template-columns: 1fr 1fr"]>div:last-child {
    border-left: none !important;
    padding-left: 0 !important;
  }
}

/* Homepage "Neden Fiber Internet" section responsiveness */
@media (max-width: 900px) {

  /* 1fr 1fr grid kullanan ana blok (homepage about section) */
  .section-padding .wrap>div[style*="grid-template-columns: 1fr 1fr"] {
    display: block !important;
  }

  .section-padding .wrap>div[style*="grid-template-columns: 1fr 1fr"]>div:first-child {
    margin-bottom: 2.5rem;
  }

  .section-padding .wrap>div[style*="grid-template-columns: 1fr 1fr"] h2 {
    font-size: 2rem !important;
  }

  .section-padding .wrap>div[style*="grid-template-columns: 1fr 1fr"] p {
    font-size: 1rem !important;
  }

  .section-padding .wrap>div[style*="grid-template-columns: 1fr 1fr"] ul {
    gap: 12px !important;
  }

  .section-padding .wrap>div[style*="grid-template-columns: 1fr 1fr"] li {
    align-items: flex-start !important;
  }

  .section-padding .wrap>div[style*="grid-template-columns: 1fr 1fr"] svg {
    flex-shrink: 0;
  }

  .section-padding .wrap>div[style*="grid-template-columns: 1fr 1fr"]>div:last-child {
    max-width: 480px;
    margin: 0 auto;
  }

  .section-padding .wrap>div[style*="grid-template-columns: 1fr 1fr"]>div:last-child>div[style*="position: absolute"] {
    right: 0;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Utilities */
.animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}