:root {
  --primary-color: #2c5f8d;
  --secondary-color: #4a90c7;
  --accent-color: #f39c12;
  --text-dark: #333333;
  --text-light: #666666;
  --background-light: #f8f9fa;
  --white: #ffffff;
  --border-color: #e0e0e0;
  --success-color: #27ae60;
  --error-color: #e74c3c;
  --shadow: 0 2px 10px rgba(0,0,0,0.1);
  --shadow-hover: 0 4px 20px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Header */
.main-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.site-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.primary-nav {
  display: flex;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 100px 20px;
  text-align: center;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-tagline {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.95;
}

/* Buttons */
.cta-button,
.secondary-button,
.submit-button {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.cta-button {
  background: var(--accent-color);
  color: var(--white);
}

.cta-button:hover {
  background: #e67e22;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

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

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

.submit-button {
  background: var(--primary-color);
  color: var(--white);
  width: 100%;
}

.submit-button:hover {
  background: var(--secondary-color);
}

/* Services Section */
.services-preview,
.services-detailed,
.about-preview,
.about-story,
.team-section,
.values-section,
.process-section,
.faq-section,
.pricing-section,
.blog-preview,
.blog-listing,
.contact-section,
.lead-form-section {
  padding: 80px 20px;
}

.services-preview h2,
.about-preview h2,
.services-detailed h2,
.team-section h2,
.values-section h2,
.pricing-section h2,
.process-section h2,
.faq-section h2,
.blog-preview h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: var(--primary-color);
}

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

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

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

.service-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.service-card p {
  color: var(--text-light);
  line-height: 1.8;
}

/* About Section */
.about-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-align: left;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.8;
}

.benefits-list {
  list-style: none;
  margin: 20px 0;
}

.benefits-list li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  color: var(--text-light);
}

.benefits-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
  font-size: 18px;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

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

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

.form-wrapper h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.form-wrapper > p {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 30px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 16px;
  font-family: inherit;
  transition: var(--transition);
}

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

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.blog-grid-full {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.blog-card,
.blog-card-large {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.blog-card:hover,
.blog-card-large:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.blog-card img,
.blog-card-large img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.blog-card-large {
  display: grid;
  grid-template-columns: 400px 1fr;
  align-items: center;
}

.blog-card-large img {
  height: 100%;
  min-height: 300px;
}

.blog-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent-color);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 1;
}

.blog-card-content {
  padding: 25px;
}

.blog-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 14px;
  color: var(--text-light);
}

.blog-card-content h3,
.blog-card-content h2 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.blog-card-content p {
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.8;
}

.read-more,
.read-more-large {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.read-more:hover,
.read-more-large:hover {
  color: var(--secondary-color);
}

/* Team Section */
.team-intro {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 40px;
  font-size: 18px;
}

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

.team-member {
  text-align: center;
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.team-member img {
  width: 100%;
  max-width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 5px solid var(--background-light);
}

.team-member h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--primary-color);
}

.member-role {
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.member-bio {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 15px;
}

/* Values Section */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.value-item {
  text-align: center;
  padding: 30px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.value-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.value-item h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.value-item p {
  color: var(--text-light);
  line-height: 1.8;
}

/* Services Detail */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 80px;
}

.service-detail.reverse {
  direction: rtl;
}

.service-detail.reverse > * {
  direction: ltr;
}

.service-detail-content h2 {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: left;
}

.service-detail-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-detail-content h3 {
  font-size: 20px;
  color: var(--primary-color);
  margin: 25px 0 15px 0;
}

.service-features {
  list-style: none;
  margin: 20px 0;
}

.service-features li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  color: var(--text-light);
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
  font-size: 18px;
}

.service-detail-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border-radius: 10px;
  padding: 40px 30px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  position: relative;
}

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

.pricing-card.featured {
  border: 3px solid var(--accent-color);
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-color);
  color: var(--white);
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.pricing-card h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.price {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.price-period {
  color: var(--text-light);
  margin-bottom: 30px;
}

.pricing-features {
  list-style: none;
  margin: 30px 0;
  text-align: left;
}

.pricing-features li {
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
  color: var(--text-light);
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.process-step {
  text-align: center;
  padding: 30px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.process-step h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.process-step p {
  color: var(--text-light);
  line-height: 1.8;
}

/* FAQ Section */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.faq-item {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.faq-item h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.faq-item p {
  color: var(--text-light);
  line-height: 1.8;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h2 {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.contact-info > p {
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 24px;
  margin-top: 5px;
}

.contact-text h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--primary-color);
}

.contact-text p,
.contact-text a {
  color: var(--text-light);
  text-decoration: none;
  line-height: 1.8;
}

.contact-text a:hover {
  color: var(--primary-color);
}

.contact-form-container {
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.contact-form-container h2 {
  color: var(--primary-color);
  margin-bottom: 30px;
}

/* Map Section */
.map-section {
  padding: 60px 20px;
  background: var(--background-light);
}

.map-placeholder {
  background: var(--white);
  padding: 60px;
  text-align: center;
  border-radius: 10px;
  box-shadow: var(--shadow);
  color: var(--text-light);
  font-size: 18px;
}

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

.page-hero h1 {
  font-size: 42px;
  margin-bottom: 15px;
}

.page-hero p {
  font-size: 18px;
  opacity: 0.95;
}

/* Blog Post */
.blog-post {
  background: var(--white);
}

.post-header {
  background: var(--background-light);
  padding: 60px 20px;
}

.post-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--text-light);
}

.post-category {
  background: var(--primary-color);
  color: var(--white);
  padding: 3px 12px;
  border-radius: 15px;
}

.post-header h1 {
  font-size: 42px;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.3;
}

.post-intro {
  font-size: 20px;
  color: var(--text-light);
  line-height: 1.6;
}

.post-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-content {
  padding: 60px 20px;
}

.post-content .container {
  max-width: 800px;
}

.post-content h2 {
  font-size: 32px;
  color: var(--primary-color);
  margin: 40px 0 20px 0;
}

.post-content h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin: 30px 0 15px 0;
}

.post-content p {
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 20px;
  font-size: 17px;
}

.post-content ul,
.post-content ol {
  margin: 20px 0;
  padding-left: 30px;
  color: var(--text-light);
  line-height: 1.9;
}

.post-content li {
  margin-bottom: 10px;
}

.post-footer {
  background: var(--background-light);
  padding: 60px 20px;
}

.back-to-blog {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 40px;
  transition: var(--transition);
}

.back-to-blog:hover {
  color: var(--secondary-color);
}

.post-cta {
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow);
}

.post-cta h3 {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.post-cta p {
  color: var(--text-light);
  margin-bottom: 25px;
}

/* CTA Section */
.cta-section {
  background: var(--primary-color);
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
}

.cta-section h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.95;
}

/* Footer */
.main-footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 60px 20px 30px;
}

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

.footer-column h4 {
  margin-bottom: 20px;
  font-size: 18px;
}

.footer-column p {
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 10px;
}

.registration-info {
  font-size: 14px;
  opacity: 0.7;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-contact {
  list-style: none;
}

.footer-contact li {
  color: rgba(255,255,255,0.8);
  margin-bottom: 12px;
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -2px 20px rgba(0,0,0,0.2);
  padding: 30px;
  z-index: 10000;
  display: none;
}

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

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 20px;
}

.cookie-content p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

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

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

.cookie-btn.accept-all {
  background: var(--success-color);
  color: var(--white);
}

.cookie-btn.accept-all:hover {
  background: #229954;
}

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

.cookie-btn.customize:hover {
  background: var(--secondary-color);
}

.cookie-btn.decline {
  background: var(--border-color);
  color: var(--text-dark);
}

.cookie-btn.decline:hover {
  background: #d0d0d0;
}

.cookie-link {
  margin-top: 15px;
  font-size: 14px;
}

.cookie-link a {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 10001;
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  position: relative;
  text-align: center;
  animation: slideDown 0.3s ease;
}

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

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
}

.close-modal:hover {
  color: var(--text-dark);
}

.modal-content h2 {
  color: var(--success-color);
  margin-bottom: 15px;
  font-size: 32px;
}

.modal-content p {
  color: var(--text-light);
  font-size: 18px;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .primary-nav {
    display: none;
  }
  
  .hero-content h1 {
    font-size: 32px;
  }
  
  .hero-tagline {
    font-size: 18px;
  }
  
  .about-content-grid,
  .service-detail,
  .contact-grid,
  .blog-card-large {
    grid-template-columns: 1fr;
  }
  
  .service-detail.reverse {
    direction: ltr;
  }
  
  .services-grid,
  .team-grid,
  .values-grid,
  .pricing-grid,
  .process-steps,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .post-header h1 {
    font-size: 28px;
  }
  
  .post-intro {
    font-size: 16px;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 26px;
  }
  
  .site-name {
    font-size: 20px;
  }
  
  .header-logo {
    width: 40px;
    height: 40px;
  }
}