/* Global Variables */
:root {
  --primary-color: #1A1E2E;
  --secondary-color: #2A2F45;
  --accent-color: #00C7FF;
  --highlight-color: #FF6B00;
  --background-color: #14171F;
  --text-color: #E8EAEF;
  --text-muted: #9DA3B4;
  --shadow-color: rgba(0, 0, 0, 0.3);
  --metallic-gradient: linear-gradient(135deg, #2e3241 0%, #3c4057 50%, #2e3241 100%);
  --metallic-highlight: linear-gradient(180deg, #4a5066 0%, #323748 100%);
  --border-radius: 6px;
  --transition-speed: 0.3s;
  --container-width: 1200px;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Figtree', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

a:hover, a:focus {
  color: var(--highlight-color);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

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

button, .btn {
  cursor: pointer;
  font-family: 'Figtree', sans-serif;
  border: none;
  border-radius: var(--border-radius);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  transition: all var(--transition-speed) ease;
}

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

.btn-primary:hover, .btn-primary:focus {
  background: #33D1FF;
  color: var(--primary-color);
}

.btn-secondary {
  background: var(--metallic-gradient);
  color: var(--text-color);
}

.btn-secondary:hover, .btn-secondary:focus {
  background: var(--metallic-highlight);
  box-shadow: 0 0 10px rgba(0, 199, 255, 0.3);
}

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

.btn-outline:hover, .btn-outline:focus {
  background: var(--accent-color);
  color: var(--primary-color);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

/* Utilities */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

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

.text-highlight {
  color: var(--highlight-color);
}

.text-muted {
  color: var(--text-muted);
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-5 {
  margin-top: 3rem;
}

.d-flex {
  display: flex;
}

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

.justify-content-between {
  justify-content: space-between;
}

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

.align-items-center {
  align-items: center;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-1 {
  gap: 0.5rem;
}

.gap-2 {
  gap: 1rem;
}

.gap-3 {
  gap: 1.5rem;
}

.gap-4 {
  gap: 2rem;
}

.w-100 {
  width: 100%;
}

.metallic-card {
  background: var(--metallic-gradient);
  border-radius: var(--border-radius);
  box-shadow: 0 10px 20px var(--shadow-color);
  overflow: hidden;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.metallic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--shadow-color);
}

/* Header */
.header {
  background: var(--primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.logo {
  display: block;
  width: 240px;
  height: auto;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-color);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-link:hover::after, .nav-link:focus::after, .nav-link.active::after {
  width: 100%;
}

.nav-link:hover, .nav-link:focus, .nav-link.active {
  color: var(--accent-color);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 6rem 0;
  background: url('../images/hero-image.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  min-height: 600px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(rgba(20, 23, 31, 0.85), rgba(20, 23, 31, 0.6));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

/* Features Section */
.features {
  background-color: var(--primary-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  border-radius: var(--border-radius);
  background: var(--metallic-gradient);
  box-shadow: 0 10px 20px var(--shadow-color);
  transition: transform var(--transition-speed) ease;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Services Section */
.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--border-radius);
  background: var(--metallic-gradient);
  box-shadow: 0 10px 20px var(--shadow-color);
  transition: all var(--transition-speed) ease;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-color);
  transition: width var(--transition-speed) ease;
}

.service-card:hover::before {
  width: 8px;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--shadow-color);
}

.service-icon {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

/* Testimonials */
.testimonials-slider {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 1.5rem 0;
  scroll-snap-type: x mandatory;
  gap: 2rem;
  scrollbar-width: none; /* Firefox */
}

.testimonials-slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

.testimonial-card {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: calc(33.333% - 1.33rem);
  min-width: 300px;
  padding: 2rem;
  border-radius: var(--border-radius);
  background: var(--metallic-gradient);
  box-shadow: 0 10px 20px var(--shadow-color);
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-content::before,
.testimonial-content::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  color: var(--accent-color);
  opacity: 0.2;
  font-size: 1.5rem;
}

.testimonial-content::before {
  content: "\f10d"; /* quote-left */
  top: -0.5rem;
  left: -0.5rem;
}

.testimonial-content::after {
  content: "\f10e"; /* quote-right */
  bottom: -0.5rem;
  right: -0.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
}

.testimonial-info h4 {
  margin-bottom: 0.25rem;
}

.testimonial-info p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Masters Section */
.masters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.master-card {
  position: relative;
  border-radius: var(--border-radius);
  background: var(--metallic-gradient);
  box-shadow: 0 10px 20px var(--shadow-color);
  overflow: hidden;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.master-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--shadow-color);
}

.master-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.master-info {
  padding: 1.5rem;
}

.master-name {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.master-position {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.master-description {
  margin-bottom: 1rem;
}

.master-specializations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.master-specialization {
  background-color: rgba(0, 199, 255, 0.1);
  color: var(--accent-color);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.875rem;
}

/* Contact Form */
.contact-form {
  background: var(--metallic-gradient);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 20px var(--shadow-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  background: rgba(26, 30, 46, 0.8);
  color: var(--text-color);
  transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(0, 199, 255, 0.2);
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-check-input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--accent-color);
}

.form-check-label {
  font-size: 0.875rem;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--metallic-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Map */
.map-container {
  height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 20px var(--shadow-color);
}

/* Troubleshooting Section */
.troubleshooting-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.troubleshooting-card {
  padding: 2rem;
  border-radius: var(--border-radius);
  background: var(--metallic-gradient);
  box-shadow: 0 10px 20px var(--shadow-color);
  transition: transform var(--transition-speed) ease;
}

.troubleshooting-card:hover {
  transform: translateY(-5px);
}

.troubleshooting-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
}

.troubleshooting-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.read-more-btn {
  margin-top: 1rem;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.pricing-card {
  border-radius: var(--border-radius);
  background: var(--metallic-gradient);
  box-shadow: 0 10px 20px var(--shadow-color);
  overflow: hidden;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--shadow-color);
}

.pricing-card.recommended {
  border: 2px solid var(--accent-color);
  position: relative;
}

.recommended-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent-color);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
}

.pricing-header {
  padding: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.pricing-name {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.pricing-description {
  color: var(--text-muted);
}

.pricing-features {
  padding: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.pricing-feature:last-child {
  margin-bottom: 0;
}

.pricing-feature i {
  color: var(--accent-color);
}

.pricing-action {
  padding: 2rem;
  text-align: center;
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 20px var(--shadow-color);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th {
  background: var(--secondary-color);
  font-weight: 700;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td:first-child {
  font-weight: 500;
}

.comparison-table tr:nth-child(even) {
  background: rgba(42, 47, 69, 0.5);
}

.comparison-table i.fa-check {
  color: var(--accent-color);
}

.comparison-table i.fa-times {
  color: var(--highlight-color);
}

/* Footer */
.footer {
  background: var(--primary-color);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 180px;
}

.footer-about {
  margin-bottom: 1.5rem;
}

.footer-title {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-link {
  margin-bottom: 0.75rem;
}

.footer-link a {
  color: var(--text-color);
  transition: color var(--transition-speed) ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-link a:hover, .footer-link a:focus {
  color: var(--accent-color);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--metallic-gradient);
  color: var(--text-color);
  transition: all var(--transition-speed) ease;
}

.social-link:hover, .social-link:focus {
  background: var(--accent-color);
  color: var(--primary-color);
  transform: translateY(-3px);
}

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

.copyright {
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom-link {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color var(--transition-speed) ease;
}

.footer-bottom-link:hover, .footer-bottom-link:focus {
  color: var(--accent-color);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  max-width: 500px;
  padding: 1.5rem;
  background: var(--metallic-gradient);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-radius: var(--border-radius);
  z-index: 9999;
  display: none;
}

.cookie-content {
  margin-bottom: 1.5rem;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
  display: none;
}

.cookie-settings-content {
  background: var(--metallic-gradient);
  border-radius: var(--border-radius);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cookie-settings-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  background: var(--metallic-gradient);
  z-index: 1;
}

.cookie-settings-title {
  margin-bottom: 0;
}

.cookie-settings-body {
  padding: 1.5rem;
}

.cookie-category {
  margin-bottom: 2rem;
}

.cookie-category:last-child {
  margin-bottom: 0;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cookie-category-title {
  margin-bottom: 0;
}

.cookie-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transition: var(--transition-speed);
  border-radius: 34px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: var(--transition-speed);
  border-radius: 50%;
}

input:checked + .cookie-slider {
  background-color: var(--accent-color);
}

input:checked + .cookie-slider:before {
  transform: translateX(26px);
}

.cookie-category-description {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.cookie-settings-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  position: sticky;
  bottom: 0;
  background: var(--metallic-gradient);
  z-index: 1;
}

/* Thanks Page */
.thanks-container {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.thanks-icon {
  font-size: 5rem;
  color: var(--accent-color);
  margin-bottom: 2rem;
}

.thanks-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.thanks-message {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Page Header */
.page-header {
  background: var(--metallic-gradient);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-image.jpg') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-title {
  position: relative;
  z-index: 1;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
  content: '/';
  margin: 0 0.5rem;
  color: var(--text-muted);
}

.breadcrumb-link {
  color: var(--text-muted);
  transition: color var(--transition-speed) ease;
}

.breadcrumb-link:hover, .breadcrumb-link:focus {
  color: var(--accent-color);
}

.breadcrumb-item.active {
  color: var(--accent-color);
}

/* Broken Grid Layout */
.broken-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  margin: 4rem 0;
  position: relative;
}

.broken-grid-item {
  background: var(--metallic-gradient);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 20px var(--shadow-color);
  transition: transform var(--transition-speed) ease;
}

.broken-grid-item:hover {
  transform: translateY(-10px);
}

.broken-grid-item-1 {
  grid-column: 1 / span 7;
  grid-row: 1 / span 2;
}

.broken-grid-item-2 {
  grid-column: 8 / span 5;
  grid-row: 1 / span 1;
}

.broken-grid-item-3 {
  grid-column: 8 / span 5;
  grid-row: 2 / span 1;
}

.broken-grid-item-4 {
  grid-column: 1 / span 5;
  grid-row: 3 / span 1;
}

.broken-grid-item-5 {
  grid-column: 6 / span 7;
  grid-row: 3 / span 2;
}

.broken-grid-item-6 {
  grid-column: 1 / span 5;
  grid-row: 4 / span 1;
}

.broken-grid-content {
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.broken-grid-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.broken-grid-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

/* Metallic Elements */
.metallic-divider {
  height: 4px;
  background: var(--metallic-gradient);
  margin: 4rem 0;
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
}

.metallic-divider::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shine 2s infinite;
}

@keyframes shine {
  100% {
    left: 150%;
  }
}

.metallic-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--metallic-gradient);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 3px 10px var(--shadow-color);
  margin-bottom: 1rem;
}

/* IntlTelInput Custom Styles */
.iti {
  width: 100%;
}

.iti__flag-container {
  z-index: 2;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  
  .broken-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .broken-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
  }
  
  .broken-grid-item-1 {
    grid-column: 1 / span 6;
    grid-row: auto;
  }
  
  .broken-grid-item-2 {
    grid-column: 1 / span 3;
    grid-row: auto;
  }
  
  .broken-grid-item-3 {
    grid-column: 4 / span 3;
    grid-row: auto;
  }
  
  .broken-grid-item-4 {
    grid-column: 1 / span 3;
    grid-row: auto;
  }
  
  .broken-grid-item-5 {
    grid-column: 4 / span 3;
    grid-row: auto;
  }
  
  .broken-grid-item-6 {
    grid-column: 1 / span 6;
    grid-row: auto;
  }
  
  .testimonial-card {
    width: calc(50% - 1rem);
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }
  
  .header-container {
    padding: 1rem;
  }
  
  .logo {
    width: 180px;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100%;
    background: var(--primary-color);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    transition: right var(--transition-speed) ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
  }
  
  .nav.active {
    right: 0;
  }
  
  .hero {
    padding: 4rem 0;
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .features-grid,
  .services-container,
  .masters-grid,
  .pricing-grid,
  .troubleshooting-grid {
    grid-template-columns: 1fr;
  }
  
  .broken-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .broken-grid-item {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }
  
  .testimonial-card {
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-consent {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .hero {
    min-height: 400px;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom-links {
    justify-content: center;
  }
  
  .contact-columns {
    flex-direction: column;
  }
  
  .map-container {
    height: 300px;
  }
}