/* CSS Variables */
:root {
  --color-primary: #1a365d;
  --color-primary-light: #2c5282;
  --color-secondary: #2d8a6e;
  --color-accent: #c4a35a;
  --color-dark: #1a202c;
  --color-text: #4a5568;
  --color-text-light: #718096;
  --color-light: #f7fafc;
  --color-white: #ffffff;
  --color-border: #e2e8f0;

  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  --transition: all 0.3s ease;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
}

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

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

ul {
  list-style: none;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-dark);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary-light);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

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

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

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

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

.btn-white:hover {
  background-color: var(--color-light);
  transform: translateY(-2px);
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 2px;
}

.logo-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

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

.nav-links a:not(.btn-nav)::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition);
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
}

.btn-nav {
  padding: 10px 24px;
  background-color: var(--color-primary);
  color: var(--color-white) !important;
  border-radius: var(--radius-md);
}

.btn-nav:hover {
  background-color: var(--color-primary-light);
}

.btn-nav::after {
  display: none !important;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background-color: var(--color-dark);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  min-height: 100vh;
  padding: 120px 5% 80px;
  background: linear-gradient(135deg, var(--color-light) 0%, var(--color-white) 100%);
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  margin-bottom: 24px;
  color: var(--color-dark);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text);
  margin-bottom: 40px;
  line-height: 1.7;
}

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

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

/* Stats Section */
.stats-section {
  background-color: var(--color-primary);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  color: var(--color-white);
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

/* Section Styles */
.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

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

.section-text {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

/* About Preview */
.about-preview {
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content .section-title {
  margin-bottom: 24px;
}

.feature-list {
  margin: 32px 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--color-text);
}

.check-icon {
  width: 20px;
  height: 20px;
  color: var(--color-secondary);
  flex-shrink: 0;
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Brands Section */
.brands-section {
  padding: 100px 0;
  background-color: var(--color-light);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 24px;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.brand-card img {
  height: 50px;
  object-fit: contain;
}

.brand-card span {
  font-weight: 600;
  color: var(--color-dark);
}

/* Added brand logo text styles for realistic brand representation */
.brand-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 16px 8px;
  text-align: center;
}

.brand-logo-text.phonak {
  color: #00a651;
  font-family: "Inter", sans-serif;
}

.brand-logo-text.signia {
  color: #e31837;
  font-family: "Inter", sans-serif;
}

.brand-logo-text.siemens {
  color: #009999;
  font-family: "Inter", sans-serif;
}

.brand-logo-text.resound {
  color: #003366;
  font-family: "Inter", sans-serif;
  text-transform: none;
}

.brand-logo-text.oticon {
  color: #1d428a;
  font-family: "Inter", sans-serif;
  text-transform: lowercase;
}

.brand-logo-text.starkey {
  color: #002e5d;
  font-family: "Inter", sans-serif;
}

/* Updated brand card to hide redundant span when using logo text */
.brand-card .brand-logo-text + span {
  display: none;
}

/* Featured Products */
.featured-products {
  padding: 100px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

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

.product-image {
  position: relative;
  padding: 32px;
  background-color: var(--color-light);
}

.product-image img {
  width: 100%;
  height: 220px;
  object-fit: contain;
}

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 12px;
  background-color: var(--color-secondary);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.product-info {
  padding: 24px;
}

.product-brand {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-name {
  margin: 8px 0 12px;
  font-size: 1.25rem;
}

.product-desc {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.products-cta {
  text-align: center;
  margin-top: 48px;
}

/* Why Choose Us */
.why-choose {
  padding: 100px 0;
  background-color: var(--color-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.feature-card {
  text-align: center;
  padding: 40px 24px;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-light);
  border-radius: var(--radius-full);
}

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

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.125rem;
}

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

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 32px;
}

/* Footer */
.footer {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-logo .logo-text {
  color: var(--color-white);
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  margin-bottom: 12px;
}

.footer h4 {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.footer-links ul li,
.footer-brands ul li {
  margin-bottom: 12px;
}

.footer-links a,
.footer-brands a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}

.footer-links a:hover,
.footer-brands a:hover {
  color: var(--color-white);
}

.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}

.footer-contact svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 140px 5% 80px;
  }

  .hero-content {
    max-width: 100%;
  }

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

  .hero-image {
    order: -1;
    max-width: 600px;
    margin: 0 auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image {
    order: -1;
  }

  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--color-white);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    gap: 16px;
  }

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

  .nav-links a::after {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

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

  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 120px 16px 60px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .brands-grid {
    grid-template-columns: 1fr;
  }
}

/* Page Specific Styles */

/* About Page */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--color-light) 0%, var(--color-white) 100%);
  text-align: center;
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.25rem;
  color: var(--color-text);
  max-width: 700px;
  margin: 0 auto;
}

.about-section {
  padding: 100px 0;
}

.about-full-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-full-content.reverse {
  direction: rtl;
}

.about-full-content.reverse > * {
  direction: ltr;
}

.about-text h2 {
  margin-bottom: 24px;
}

.about-text p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.value-card {
  text-align: center;
  padding: 40px 24px;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.value-card h3 {
  margin: 20px 0 12px;
}

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-light);
  border-radius: var(--radius-full);
}

.value-icon svg {
  width: 40px;
  height: 40px;
  color: var(--color-primary);
}

/* Brands Page */
.brand-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--color-border);
}

.brand-section:last-of-type {
  border-bottom: none;
}

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

.brand-header {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 40px;
}

.brand-logo {
  width: 150px;
  height: 80px;
  object-fit: contain;
}

.brand-header h2 {
  font-size: 2rem;
}

.brand-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.brand-text p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.brand-products h3 {
  margin-bottom: 24px;
  color: var(--color-secondary);
}

.brand-products ul li {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-products ul li:last-child {
  border-bottom: none;
}

.brand-products ul li::before {
  content: "";
  width: 8px;
  height: 8px;
  background-color: var(--color-secondary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Products Page */
.products-filter {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 24px;
  font-size: 0.9375rem;
  font-weight: 500;
  background-color: var(--color-white);
  color: var(--color-text);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.products-section {
  padding: 80px 0;
}

.products-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card-full {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.product-card-full:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.product-card-full .product-image {
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-full .product-image img {
  height: 180px;
}

.product-card-full .product-info {
  padding: 24px;
}

.product-features {
  margin: 16px 0;
}

.product-features li {
  font-size: 0.875rem;
  color: var(--color-text-light);
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.product-features li::before {
  content: "✓";
  color: var(--color-secondary);
  font-weight: bold;
  flex-shrink: 0;
}

/* Contact Page */
.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.contact-info h2 {
  margin-bottom: 24px;
}

.contact-info p {
  margin-bottom: 32px;
  line-height: 1.8;
}

.contact-details {
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-light);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}

.contact-item-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-item-text p {
  margin: 0;
  color: var(--color-text-light);
}

.contact-form-wrapper {
  background-color: var(--color-white);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
  margin-bottom: 32px;
  text-align: center;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: var(--font-body);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

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

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

/* intl-tel-input Styles */
.form-group .iti {
  width: 100%;
  display: block;
}

.form-group .iti__flag-container {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
}

.form-group .iti__selected-flag {
  padding: 14px 12px;
  background-color: var(--color-white);
  border: 2px solid var(--color-border);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  transition: var(--transition);
  height: 100%;
  display: flex;
  align-items: center;
}

.form-group .iti__selected-flag:hover {
  background-color: var(--color-light);
}

.form-group .iti__selected-flag:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-group #phone {
  padding-left: 60px !important;
  border-left: 2px solid var(--color-border) !important;
  border-radius: 0 var(--radius-md) var(--radius-md) 0 !important;
}

.form-group #phone:focus {
  border-color: var(--color-primary);
}

.form-group .iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag {
  background-color: var(--color-light);
}

.iti__country-list {
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  margin-top: 4px;
  max-height: 200px;
  overflow-y: auto;
  font-family: var(--font-body);
}

.iti__country {
  padding: 10px 16px;
  transition: var(--transition);
}

.iti__country:hover,
.iti__country.iti__highlight {
  background-color: var(--color-light);
}

.iti__country-name,
.iti__dial-code {
  font-family: var(--font-body);
  color: var(--color-text);
  font-size: 0.95rem;
}

.iti__flag {
  margin-right: 8px;
}

/* Character Counter */
.char-counter {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--color-text-light);
  text-align: right;
  transition: color 0.3s ease;
}

.char-counter.warning {
  color: #f59e0b;
}

.char-counter.error {
  color: #dc3545;
  font-weight: 500;
}

.char-counter #charCount {
  font-weight: 600;
  color: var(--color-dark);
}

.char-counter.warning #charCount,
.char-counter.error #charCount {
  color: inherit;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-submit {
  text-align: center;
}

.form-submit .btn {
  min-width: 200px;
}

/* Form Message Styles */
.form-message {
  display: none;
  padding: 16px 20px;
  margin-bottom: 24px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  line-height: 1.5;
  transition: opacity 0.3s ease;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-message.success::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: #28a745;
  color: white;
  border-radius: 50%;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-message.error::before {
  content: "✕";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: #dc3545;
  color: white;
  border-radius: 50%;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
}

/* Button Loading State */
.btn.form-loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.btn.form-loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Button Disabled State */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .about-full-content {
    grid-template-columns: 1fr;
  }

  .about-full-content.reverse {
    direction: ltr;
  }

  .brand-content {
    grid-template-columns: 1fr;
  }

  .products-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .products-full-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 32px 24px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .brand-header {
    flex-direction: column;
    text-align: center;
  }
}
