@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
  --primary-color: #2c5282;
  --secondary-color: #4a5568;
  --accent-color: #e6f3ff;
  --text-primary: #2d3748;
  --text-secondary: #4a5568;
  --text-light: #718096;
  --white: #ffffff;
  --light-gray: #f7fafc;
  --medium-gray: #edf2f7;
  --dark-gray: #2d3748;
  --success: #38a169;
  --warning: #d69e2e;
  --danger: #e53e3e;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
}

h3 {
  font-size: 2rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

[class*="text-"] strong,
[class*="text-"] b,
[style*="color"] strong,
[style*="color"] b,
.text-white strong, .text-white b,
.text-light strong, .text-light b {
  color: inherit;
}

.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 6rem 0;
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
}


body:not(.internal-page) .hero-section {
  min-height: 100vh;
}

.hero-section .hero-content {
  position: relative;
  z-index: 2;
}

.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(44, 82, 130, 0.8);
  z-index: 1;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  min-height: 44px;
  font-size: 16px;
  margin: 1rem;
}

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

.btn-primary:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

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

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

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

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

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

.section {
  padding: 5rem 0;
}

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

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
  color: var(--white);
}

.section-dark p {
  color: #cbd5e0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

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

.card-dark {
  background-color: var(--light-gray);
  color: var(--text-primary);
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
  text-align: center;
  border: 1px solid var(--medium-gray);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.service-card .service-icon {
  width: 80px;
  height: 80px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--primary-color);
}

.service-card .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 1rem 0;
}

.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
  margin-bottom: 2rem;
}

.testimonial-card::before {
  content: '"';
  font-size: 4rem;
  color: var(--accent-color);
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: 'Playfair Display', serif;
}

.testimonial-card .quote {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.testimonial-card .author {
  font-weight: 600;
  color: var(--text-primary);
}

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

.navbar {
  background-color: var(--white);
  box-shadow: var(--shadow);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.navbar-brand:hover {
  color: var(--primary-color);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar-link {
  color: var(--text-primary);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.navbar-link:hover,
.navbar-link.active {
  color: var(--primary-color);
  background-color: var(--accent-color);
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

.contact-form {
  background: var(--white);
  border-radius: 12px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--medium-gray);
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
  background-color: var(--white);
  color: var(--text-primary);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}

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

.alert {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 1px solid transparent;
}

.alert-success {
  background-color: #f0fff4;
  color: #22543d;
  border-color: #9ae6b4;
}

.alert-warning {
  background-color: #fffbeb;
  color: #744210;
  border-color: #f6e05e;
}

.alert-info {
  background-color: #ebf8ff;
  color: #2a4365;
  border-color: #90cdf4;
}

.cookie-consent-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  max-width: 500px;
  border: 2px solid var(--primary-color);
}

.cookie-consent-banner h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.cookie-consent-banner p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

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

.cookie-consent-banner .btn {
  flex: 1;
  min-width: 120px;
}

.faq-item {
  border: 1px solid var(--medium-gray);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  background: var(--light-gray);
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text-primary);
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--medium-gray);
}

.faq-question .faq-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: var(--white);
}

.faq-answer.active {
  padding: 1.5rem;
  max-height: 500px;
}

.faq-answer p {
  color: var(--text-secondary);
  margin: 0;
}

.table-responsive {
  overflow-x: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.table th,
.table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--medium-gray);
}

.table th {
  background: var(--light-gray);
  font-weight: 600;
  color: var(--text-primary);
}

.table tbody tr:hover {
  background: var(--accent-color);
}

.utility-text-center {
  text-align: center;
}

.utility-text-left {
  text-align: left;
}

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

.utility-mb-0 { margin-bottom: 0; }
.utility-mb-1 { margin-bottom: 0.25rem; }
.utility-mb-2 { margin-bottom: 0.5rem; }
.utility-mb-3 { margin-bottom: 1rem; }
.utility-mb-4 { margin-bottom: 1.5rem; }
.utility-mb-5 { margin-bottom: 3rem; }

.utility-mt-0 { margin-top: 0; }
.utility-mt-1 { margin-top: 0.25rem; }
.utility-mt-2 { margin-top: 0.5rem; }
.utility-mt-3 { margin-top: 1rem; }
.utility-mt-4 { margin-top: 1.5rem; }
.utility-mt-5 { margin-top: 3rem; }

.utility-p-0 { padding: 0; }
.utility-p-1 { padding: 0.25rem; }
.utility-p-2 { padding: 0.5rem; }
.utility-p-3 { padding: 1rem; }
.utility-p-4 { padding: 1.5rem; }
.utility-p-5 { padding: 3rem; }

.utility-hidden { display: none; }
.utility-visible { display: block; }

@media screen and (max-width: 768px) {
  .hero-section {
    padding: 4rem 0;
    min-height: auto;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
  }
  
  .navbar-menu.active {
    display: flex;
  }
  
  .navbar-link {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid var(--medium-gray);
  }
  
  .navbar-toggle {
    display: block;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .cookie-consent-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 1.5rem;
  }
  
  .cookie-consent-banner .cookie-buttons {
    flex-direction: column;
  }
  
  .cookie-consent-banner .btn {
    min-width: auto;
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }
  
  .card,
  .service-card,
  .contact-form {
    padding: 1.5rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .btn:last-child {
    margin-bottom: 0;
  }
}