/* Base Styles */
:root {
  --primary-color: #0d47a1;
  --primary-hover: #1565c0;
  --secondary-color: #ff9800;
  --secondary-hover: #f57c00;
  --dark-color: #263238;
  --light-color: #eceff1;
  --success-color: #4caf50;
  --danger-color: #f44336;
  --gray-100: #f5f5f5;
  --gray-200: #eeeeee;
  --gray-300: #e0e0e0;
  --gray-400: #bdbdbd;
  --gray-500: #9e9e9e;
  --gray-600: #757575;
  --gray-700: #616161;
  --gray-800: #424242;
  --gray-900: #212121;
  --font-family: 'Roboto', 'Arial', sans-serif;
  --border-radius: 6px;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 6px 12px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--gray-100);
}

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

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

ul {
  list-style: none;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  color: var(--gray-700);
}

/* Buttons */
.btn-primary, 
.btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

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

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

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

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

.read-more {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  margin-top: 0.5rem;
}

/* Header */
header {
  background-color: white;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

nav ul {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav ul li a {
  color: var(--gray-700);
  font-weight: 500;
  transition: var(--transition);
}

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

.menu-toggle {
  display: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, var(--primary-color), var(--primary-hover));
  color: white;
  padding: 80px 0;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-text {
  flex: 1;
}

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

.hero-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero h1 {
  color: white;
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-item {
  background-color: var(--gray-100);
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

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

.feature-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  color: var(--primary-color);
}

/* Comparison Table Section */
.comparison {
  padding: 80px 0;
  background-color: var(--gray-100);
}

.table-container {
  overflow-x: auto;
  margin-top: 30px;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--gray-300);
}

th {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
}

tr:hover {
  background-color: var(--gray-200);
}

/* Overview Section */
.overview {
  padding: 80px 0;
  background-color: white;
}

.overview-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 800px;
  margin: 30px auto;
  padding: 30px;
  background-color: var(--gray-100);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.overview-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 1.1rem;
  color: var(--gray-700);
}

.bullet {
  color: var(--primary-color);
  font-size: 1.5rem;
}

/* Blog Posts Section */
.blog-posts {
  padding: 80px 0;
  background-color: var(--gray-100);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

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

.post-image {
  overflow: hidden;
  height: 200px;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-image img {
  transform: scale(1.05);
}

.post-content {
  padding: 25px;
}

.post-content h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

/* CTA Section */
.cta {
  background: linear-gradient(to right, var(--primary-color), var(--primary-hover));
  padding: 80px 0;
  text-align: center;
  margin-top: 40px;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta h2 {
  color: white;
  margin-bottom: 20px;
}

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

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

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

.footer-logo img {
  margin-bottom: 15px;
  height: 50px;
}

.footer-links h3, 
.footer-contact h3, 
.footer-social h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.2rem;
  position: relative;
  display: inline-block;
}

.footer-links h3::after, 
.footer-contact h3::after, 
.footer-social h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
}

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

.footer-links a,
.footer-contact a {
  color: var(--gray-400);
  transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: white;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: var(--gray-400);
}

.footer-contact svg {
  color: var(--primary-color);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.social-icons svg {
  color: white;
}

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

.footer-bottom p {
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* Page Banner */
.page-banner {
  background: linear-gradient(to right, var(--primary-color), var(--primary-hover));
  color: white;
  padding: 60px 0;
  text-align: center;
}

.page-banner h1 {
  color: white;
  margin-bottom: 15px;
}

.page-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* About Page */
.about-us {
  padding: 80px 0;
  background-color: white;
}

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

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  margin-top: 60px;
  text-align: center;
}

.stat-item {
  background-color: var(--primary-color);
  color: white;
  padding: 30px 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.stat-text {
  font-size: 1.1rem;
  opacity: 0.9;
}

.our-team {
  padding: 80px 0;
  background-color: var(--gray-100);
}

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

.team-member {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  padding-bottom: 20px;
}

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

.team-member img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-member h3 {
  margin: 20px 0 5px;
}

.team-member p {
  padding: 0 20px;
  margin-bottom: 10px;
}

.team-member p:nth-child(3) {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.team-member .social-icons {
  justify-content: center;
  margin-top: 15px;
}

.our-approach {
  padding: 80px 0;
  background-color: white;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.approach-item {
  text-align: center;
  padding: 30px;
  background-color: var(--gray-100);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.approach-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.approach-icon svg {
  color: var(--primary-color);
}

.testimonials {
  padding: 80px 0;
  background-color: var(--gray-100);
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.testimonial-content {
  position: relative;
  padding: 0 10px;
  margin-bottom: 30px;
}

.testimonial-content::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: -10px;
  font-size: 60px;
  color: var(--gray-300);
  font-family: Georgia, serif;
}

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

.author-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  margin: 0;
}

.author-info p {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.9rem;
}

/* Contact Page */
.contact-info {
  padding: 80px 0;
  background-color: white;
}

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

.contact-card {
  text-align: center;
  padding: 30px;
  background-color: var(--gray-100);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.contact-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.contact-icon svg {
  color: var(--primary-color);
}

.social-icons-small {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.social-icons-small a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.social-icons-small a:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
}

.social-icons-small svg {
  color: white;
}

.contact-form-section {
  padding: 80px 0;
  background-color: var(--gray-100);
}

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

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.form-group.full-width {
  grid-column: span 2;
}

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

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(13, 71, 161, 0.2);
  outline: none;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-group input {
  width: auto;
}

.checkbox-group label {
  margin-bottom: 0;
}

.map-section {
  padding: 80px 0;
  background-color: white;
}

.map-container {
  margin-top: 40px;
  height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faq-section {
  padding: 80px 0;
  background-color: var(--gray-100);
}

.faq-container {
  max-width: 800px;
  margin: 40px auto 0;
}

.faq-item {
  background-color: white;
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

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

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 20px;
  margin: 0;
}

/* Thank You Popup */
.thank-you-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background-color: white;
  padding: 40px;
  border-radius: var(--border-radius);
  text-align: center;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: popup-appear 0.3s ease;
}

@keyframes popup-appear {
  0% { 
    opacity: 0;
    transform: scale(0.8);
  }
  100% { 
    opacity: 1;
    transform: scale(1);
  }
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--gray-600);
  transition: var(--transition);
}

.close-popup:hover {
  color: var(--danger-color);
}

.popup-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.popup-icon svg {
  color: var(--success-color);
}

.thank-you-popup h2 {
  color: var(--success-color);
  margin-bottom: 15px;
}

.thank-you-popup button {
  margin-top: 20px;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark-color);
  padding: 20px;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  z-index: 100;
  display: none;
}

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

.cookie-content p {
  color: white;
  margin: 0;
}

.cookie-content a {
  color: var(--secondary-color);
  text-decoration: underline;
}

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

.btn-cookie-accept,
.btn-cookie-customize,
.btn-cookie-reject {
  padding: 8px 16px;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 0.9rem;
}

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

.btn-cookie-accept:hover {
  background-color: #43a047;
}

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

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

.btn-cookie-reject {
  background-color: transparent;
  color: white;
  border: 1px solid white;
}

.btn-cookie-reject:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-content {
    flex-direction: column;
  }
  
  .hero-text {
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
  }
  
  nav ul.active {
    display: flex;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    justify-content: center;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .btn-primary, 
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-links h3::after, 
  .footer-contact h3::after, 
  .footer-social h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .footer-contact p {
    justify-content: center;
  }
}
