/* grigeinter - ATM Technician Training */
:root {
  --primary: #1a3a5c;
  --secondary: #2d6a9f;
  --accent: #e8a430;
  --dark: #0f1923;
  --light: #f4f7fa;
  --white: #ffffff;
  --text: #2c3e50;
  --text-light: #5a6d7e;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --radius: 8px;
  --transition: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.nav-wrapper {
  background: var(--white);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%232d6a9f" stroke-width="0.5" opacity="0.3"/></svg>') repeat;
  opacity: 0.4;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 2.8rem;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
  font-weight: 700;
}

.hero-text h1 span {
  color: var(--accent);
}

.hero-text p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image svg {
  width: 100%;
  max-width: 420px;
  height: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: var(--dark);
}

.btn-primary:hover {
  background: #f5b340;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232,164,48,0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Sections */
section {
  padding: 90px 0;
}

.section-alt {
  background: var(--light);
}

.section-dark {
  background: var(--primary);
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 16px;
  font-weight: 700;
}

.section-dark .section-header h2 {
  color: var(--white);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto;
}

.section-dark .section-header p {
  color: rgba(255,255,255,0.8);
}

/* Features */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.feature-card {
  flex: 1;
  min-width: 280px;
  max-width: 360px;
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}

.feature-card h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Services / Pricing */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-item {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.service-item:hover {
  box-shadow: var(--shadow-lg);
}

.service-image {
  width: 200px;
  min-height: 180px;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-image svg {
  width: 80px;
  height: 80px;
  fill: var(--white);
}

.service-content {
  flex: 1;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.service-info h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.service-info p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.service-price {
  text-align: right;
  flex-shrink: 0;
}

.price-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}

.price-unit {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Stats */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-top: 8px;
}

/* Testimonials */
.testimonials-wrap {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.testimonial-card {
  flex: 1;
  min-width: 300px;
  max-width: 380px;
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 24px;
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  color: var(--text);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
}

.author-info strong {
  display: block;
  color: var(--primary);
  font-size: 1rem;
}

.author-info span {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, #d4922a 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.1rem;
  color: rgba(0,0,0,0.7);
  margin-bottom: 30px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn {
  background: var(--dark);
  color: var(--white);
}

.cta-section .btn:hover {
  background: var(--primary);
}

/* Form */
.form-section {
  background: var(--light);
}

.form-wrapper {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  padding: 50px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  border: 2px solid #e1e8ed;
  border-radius: var(--radius);
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: var(--white);
  padding: 20px;
  z-index: 9999;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.cookie-content p {
  flex: 1;
  font-size: 0.95rem;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
}

.cookie-btn {
  padding: 10px 24px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.cookie-accept {
  background: var(--accent);
  color: var(--dark);
}

.cookie-reject {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.sticky-cta.visible {
  opacity: 1;
  visibility: visible;
}

.sticky-cta .btn {
  box-shadow: var(--shadow-lg);
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  padding: 80px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.4rem;
  color: var(--white);
  margin-bottom: 12px;
}

.page-header p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
}

/* About Page */
.about-intro {
  display: flex;
  gap: 60px;
  align-items: center;
}

.about-intro-text {
  flex: 1;
}

.about-intro-text h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.about-intro-image {
  flex: 1;
}

.about-intro-image svg {
  width: 100%;
  max-width: 400px;
}

.team-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.team-card {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  text-align: center;
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.team-avatar {
  width: 100px;
  height: 100px;
  background: var(--secondary);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  font-weight: 600;
}

.team-card h3 {
  color: var(--primary);
  margin-bottom: 4px;
}

.team-card span {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Contact Info */
.contact-info-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.contact-info-card {
  flex: 1;
  min-width: 250px;
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-info-card svg {
  width: 48px;
  height: 48px;
  fill: var(--secondary);
  margin-bottom: 16px;
}

.contact-info-card h3 {
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-info-card p {
  color: var(--text-light);
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 40px 0 16px;
}

.legal-content h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin: 30px 0 12px;
}

.legal-content p,
.legal-content li {
  color: var(--text);
  margin-bottom: 12px;
}

.legal-content ul {
  margin-left: 24px;
  margin-bottom: 20px;
}

/* Thanks Page */
.thanks-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px;
}

.thanks-content svg {
  width: 100px;
  height: 100px;
  fill: var(--accent);
  margin-bottom: 30px;
}

.thanks-content h1 {
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.thanks-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 500px;
}

/* Process Steps */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 700px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.step-content p {
  color: var(--text-light);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-intro {
    flex-direction: column;
    text-align: center;
  }

  .service-item {
    flex-direction: column;
  }

  .service-image {
    width: 100%;
    min-height: 140px;
  }

  .service-content {
    flex-direction: column;
    text-align: center;
  }

  .service-price {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    box-shadow: var(--shadow);
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid var(--light);
  }

  .nav-links a {
    display: block;
    padding: 14px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 60px 0 80px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .form-wrapper {
    padding: 30px 20px;
  }

  .stats-row {
    gap: 30px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .footer-grid {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}
