/* Base Styles */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
  --text-color: #333;
  --bg-color: #fff;
  --border-color: #ddd;
  --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 5px;
  --section-padding: 80px 0;
}

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

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

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

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

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

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

section {
  padding: var(--section-padding);
}

.btn {
  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;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.primary-btn:hover {
  background-color: #2980b9;
  color: white;
}

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

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

.center-btn {
  text-align: center;
  margin-top: 2rem;
}

/* Welcome Banner */
.welcome-banner {
  background-color: var(--primary-color);
  color: white;
  padding: 8px 0;
  text-align: center;
}

.welcome-banner p {
  margin: 0;
  font-size: 0.9rem;
}

/* Header Styles */
header {
  background-color: 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;
}

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

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--dark-color);
  font-weight: 600;
  position: relative;
  padding-bottom: 5px;
}

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

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--dark-color);
  transition: var(--transition);
}

/* Tip of the Day */
.tip-of-the-day {
  background-color: #f8f9fa;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
}

.tip-of-the-day .container {
  display: flex;
  align-items: center;
}

.tip-of-the-day h3 {
  display: flex;
  align-items: center;
  margin: 0 15px 0 0;
  font-size: 1.1rem;
  color: var(--secondary-color);
}

.tip-of-the-day h3 svg {
  margin-right: 10px;
  color: var(--secondary-color);
}

.tip-of-the-day p {
  margin: 0;
  font-style: italic;
}

/* Hero Section */
.hero {
  background-color: #f5f9ff;
  padding: 100px 0;
}

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

.hero-content {
  flex: 1;
  padding-right: 50px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.hero-content h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

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

.hero-image {
  flex: 1;
  text-align: center;
}

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

/* Services Section */
.services {
  background-color: white;
  text-align: center;
}

.services h2 {
  margin-bottom: 50px;
}

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

.service-card {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.service-card .icon {
  width: 70px;
  height: 70px;
  background-color: #f5f9ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.service-card .icon svg {
  color: var(--secondary-color);
  width: 35px;
  height: 35px;
}

.service-card h3 {
  margin-bottom: 15px;
}

/* About Preview Section */
.about-preview {
  background-color: #f5f9ff;
}

.about-preview .container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1;
}

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

.about-content {
  flex: 1;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 20px;
}

/* Testimonials Section */
.testimonials {
  background-color: white;
  text-align: center;
}

.testimonials h2 {
  margin-bottom: 50px;
}

.testimonial-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 30px;
  padding-bottom: 30px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.testimonial-slider::-webkit-scrollbar {
  display: none;
}

.testimonial-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.testimonial-content {
  background-color: #f5f9ff;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: left;
}

.stars {
  display: flex;
  margin-bottom: 15px;
}

.stars svg {
  color: #f1c40f;
  width: 20px;
  height: 20px;
  margin-right: 5px;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 20px;
}

.client-info h4 {
  margin-bottom: 5px;
}

.client-info p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}

/* Blog Preview Section */
.blog-preview {
  background-color: #f5f9ff;
  text-align: center;
}

.blog-preview h2 {
  margin-bottom: 50px;
}

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

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

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

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

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 20px;
  text-align: left;
}

.blog-content h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.blog-content p {
  margin-bottom: 15px;
  color: #666;
}

.read-more {
  font-weight: 600;
  color: var(--secondary-color);
  display: inline-flex;
  align-items: center;
}

.read-more:hover {
  color: var(--primary-color);
}

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

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

.cta p {
  margin-bottom: 30px;
  font-size: 1.2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background-color: #1a2a3a;
  color: white;
  padding: 70px 0 20px;
}

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

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

.footer-logo p {
  font-size: 0.9rem;
  color: #bbb;
}

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

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

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

.footer-links ul li a {
  color: #bbb;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-contact address {
  font-style: normal;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  color: #bbb;
}

.footer-contact p svg {
  margin-right: 10px;
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-contact a {
  color: #bbb;
}

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

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

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

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

.social-icons svg {
  color: white;
}

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

.footer-bottom p {
  color: #bbb;
  font-size: 0.9rem;
  margin: 0;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(52, 73, 94, 0.95);
  color: white;
  padding: 20px;
  z-index: 9999;
  display: none;
}

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

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

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

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

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

.cookie-btn.decline {
  background-color: #7f8c8d;
  color: white;
}

.cookie-btn:hover {
  opacity: 0.9;
}

.cookie-policy {
  font-size: 0.9rem;
  margin: 0;
}

.cookie-policy a {
  color: #3498db;
  text-decoration: underline;
}

/* Page Header */
.page-header {
  background-color: #f5f9ff;
  text-align: center;
  padding: 60px 0;
}

.page-header h1 {
  margin-bottom: 10px;
}

.page-header p {
  font-size: 1.2rem;
  color: #666;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* About Page Styles */
.about-story {
  background-color: white;
}

.about-story .container {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 50px;
}

.mission-values {
  background-color: #f5f9ff;
  text-align: center;
}

.mission-values h2 {
  margin-bottom: 50px;
}

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

.value-card {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.value-card .icon {
  width: 70px;
  height: 70px;
  background-color: #f5f9ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.value-card .icon svg {
  color: var(--secondary-color);
  width: 35px;
  height: 35px;
}

.team-section {
  background-color: white;
  text-align: center;
}

.team-section h2 {
  margin-bottom: 20px;
}

.section-intro {
  max-width: 800px;
  margin: 0 auto 50px;
}

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

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

.team-member:hover {
  transform: translateY(-10px);
}

.team-member img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.team-member h3 {
  margin: 20px 0 5px;
  font-size: 1.3rem;
}

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

.team-member p:nth-of-type(1) {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 15px 0 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #f5f9ff;
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--secondary-color);
}

.social-links a:hover svg {
  color: white;
}

.social-links svg {
  color: var(--secondary-color);
}

/* Blog Page Styles */
.blog-content {
  background-color: white;
}

.blog-content .container {
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 40px;
}

.blog-posts {
  padding-right: 20px;
}

.blog-post {
  margin-bottom: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border-color);
}

.blog-post:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.post-image {
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: #666;
}

.post-date, .post-author, .post-category {
  display: flex;
  align-items: center;
}

.post-category {
  background-color: #f5f9ff;
  padding: 3px 10px;
  border-radius: 20px;
  color: var(--secondary-color);
}

.blog-sidebar {
  padding-left: 20px;
  border-left: 1px solid var(--border-color);
}

.sidebar-widget {
  margin-bottom: 40px;
}

.sidebar-widget h3 {
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.sidebar-widget h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--secondary-color);
}

.sidebar-widget ul {
  list-style: none;
}

.sidebar-widget ul li {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.sidebar-widget ul li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.sidebar-widget ul li a {
  color: var(--text-color);
  transition: var(--transition);
}

.sidebar-widget ul li a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.subscribe-form {
  margin-top: 15px;
}

.subscribe-form input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
}

.subscribe-form .btn {
  width: 100%;
}

/* Contact Page Styles */
.contact-section {
  background-color: white;
}

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

.contact-info {
  padding: 30px;
  background-color: #f5f9ff;
  border-radius: var(--border-radius);
}

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

.info-item {
  display: flex;
  margin-bottom: 25px;
}

.info-item .icon {
  width: 50px;
  height: 50px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.info-item .icon svg {
  color: var(--secondary-color);
}

.info-content h3 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.info-content p {
  margin: 0;
  color: #666;
}

.business-registration {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.business-registration p {
  font-style: italic;
  color: #666;
}

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

.contact-form-container h2 {
  margin-bottom: 30px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.form-group.checkbox {
  display: flex;
  align-items: flex-start;
}

.form-group.checkbox input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.form-group.checkbox label {
  font-weight: normal;
  font-size: 0.9rem;
}

.map-section {
  background-color: #f5f9ff;
  text-align: center;
}

.map-section h2 {
  margin-bottom: 30px;
}

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

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

.faq-section {
  background-color: white;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 50px;
}

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

.faq-item {
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  background-color: #f5f9ff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.toggle-icon {
  font-size: 1.5rem;
  font-weight: bold;
  transition: var(--transition);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 500px;
}

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

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

.modal-content {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 30px;
  max-width: 500px;
  width: 90%;
  position: relative;
  animation: modalFadeIn 0.3s;
}

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

.close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.thank-you-message {
  text-align: center;
}

.thank-you-message svg {
  color: #2ecc71;
  margin-bottom: 20px;
}

.thank-you-message h2 {
  color: #2ecc71;
  margin-bottom: 15px;
}

.thank-you-message p {
  margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
  }

  .hero-content {
    padding-right: 0;
    margin-bottom: 50px;
    text-align: center;
  }

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

  .about-preview .container,
  .about-story .container {
    flex-direction: column;
  }

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

  .blog-sidebar {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
  }

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

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin: 15px 0;
  }

  .hamburger {
    display: block;
    z-index: 1002;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .tip-of-the-day .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .tip-of-the-day h3 {
    margin-bottom: 10px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content h2 {
    font-size: 1.5rem;
  }

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

@media (max-width: 576px) {
  section {
    padding: 60px 0;
  }

  .hero {
    padding: 60px 0;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

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

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