/* Base Styles & Typography */
:root {
  --primary-color: #2a7d8b;
  --secondary-color: #f7b945;
  --dark-color: #333333;
  --light-color: #ffffff;
  --gray-color: #f4f4f4;
  --dark-gray: #666666;
  --medium-gray: #999999;
  --light-gray: #e1e1e1;
  --success-color: #28a745;
  --error-color: #dc3545;
  --heading-font: 'Playfair Display', serif;
  --body-font: 'Montserrat', sans-serif;
  --transition: all 0.3s ease;
  --border-radius: 4px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.2rem;
}

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

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

ul {
  list-style: none;
}

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

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

.section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--light-color);
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

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

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

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

/* Header & Navigation */
header {
  background-color: var(--light-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 15px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.logo h1 {
  font-size: 1.5rem;
  margin-bottom: 0;
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: var(--dark-color);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

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

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

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

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

/* Hero Section / Slider */
.hero {
  position: relative;
  overflow: hidden;
  height: 80vh;
  min-height: 500px;
  background-color: var(--dark-color);
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

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

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 80%;
  max-width: 800px;
  color: var(--light-color);
  z-index: 1;
}

.slide-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--light-color);
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.slider-controls {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.prev-btn, .next-btn {
  background-color: rgba(0, 0, 0, 0.6);
  color: var(--light-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 1.5rem;
  transition: var(--transition);
}

.prev-btn:hover, .next-btn:hover {
  background-color: var(--primary-color);
}

.dots {
  display: flex;
  justify-content: center;
  margin: 0 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  margin: 0 5px;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--light-color);
}

/* Featured Posts Section */
.featured-posts {
  padding: 5rem 0;
}

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

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

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

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

.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: 1.5rem;
}

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

.post-content p {
  color: var(--dark-gray);
  margin-bottom: 1.2rem;
}

.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  position: relative;
}

.read-more::after {
  content: '→';
  margin-left: 5px;
  transition: var(--transition);
}

.read-more:hover::after {
  margin-left: 10px;
}

.view-all {
  text-align: center;
  margin-top: 3rem;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background-color: var(--gray-color);
}

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

.service-card {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.service-icon {
  margin: 0 auto 1.5rem;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(42, 125, 139, 0.1);
  border-radius: 50%;
}

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

.service-card h3 {
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--dark-gray);
}

/* Testimonials */
.testimonials {
  padding: 5rem 0;
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial {
  display: none;
  padding: 2rem;
  text-align: center;
}

.testimonial.active {
  display: block;
}

.testimonial-content {
  background-color: var(--light-color);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  position: relative;
}

.testimonial-content::before {
  content: '"';
  position: absolute;
  top: 0;
  left: 20px;
  font-size: 5rem;
  color: var(--light-gray);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-content p {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.client-info h4 {
  color: var(--primary-color);
  margin-bottom: 0.3rem;
}

.client-info p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--medium-gray);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--light-gray);
  margin: 0 5px;
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dot.active {
  background-color: var(--primary-color);
}

/* Newsletter Section */
.newsletter {
  padding: 5rem 0;
  background-color: var(--primary-color);
  color: var(--light-color);
}

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

.newsletter-content h2 {
  color: var(--light-color);
}

.newsletter-form {
  display: flex;
  margin-top: 2rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

.newsletter-form button {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  background-color: var(--secondary-color);
  color: var(--dark-color);
}

.newsletter-form button:hover {
  background-color: #e5a835;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 5rem 0 2rem;
}

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

.footer-about .footer-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.footer-about h3, .footer-links h3, .footer-policy h3, .footer-contact h3 {
  color: var(--light-color);
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
}

.footer-about p {
  color: var(--medium-gray);
}

.footer-links ul li, .footer-policy ul li {
  margin-bottom: 0.8rem;
}

.footer-links ul li a, .footer-policy ul li a {
  color: var(--medium-gray);
  transition: var(--transition);
}

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

.footer-contact p {
  display: flex;
  align-items: center;
  color: var(--medium-gray);
  margin-bottom: 1rem;
}

.footer-contact p svg {
  margin-right: 10px;
  min-width: 16px;
}

.social-links {
  display: flex;
  margin-top: 1.5rem;
}

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

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

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

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

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: rgba(51, 51, 51, 0.95);
  color: var(--light-color);
  padding: 1.5rem 0;
  z-index: 1000;
  transition: bottom 0.5s ease-in-out;
}

.cookie-banner.show {
  bottom: 0;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

.cookie-content p {
  margin-bottom: 1rem;
  text-align: center;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.cookie-buttons .btn {
  padding: 8px 16px;
  font-size: 0.85rem;
}

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

.cookie-decline {
  background-color: var(--error-color);
}

.cookie-settings {
  background-color: var(--dark-gray);
}

.cookie-buttons a {
  color: var(--light-color);
  text-decoration: underline;
  margin-left: 15px;
  align-self: center;
}

/* Blog Page Styles */
.page-header {
  background-color: var(--primary-color);
  color: var(--light-color);
  text-align: center;
  padding: 4rem 0;
  margin-bottom: 3rem;
}

.page-header h1 {
  color: var(--light-color);
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.2rem;
  margin-bottom: 0;
  opacity: 0.9;
}

.blog-content {
  padding: 0 0 5rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 3rem;
}

.blog-post {
  margin-bottom: 2rem;
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.blog-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.post-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--medium-gray);
  margin-bottom: 0.8rem;
}

.blog-post h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.blog-post h2 a {
  color: var(--dark-color);
  transition: var(--transition);
}

.blog-post h2 a:hover {
  color: var(--primary-color);
}

/* Single Blog Post Styles */
.blog-post-single {
  padding: 0 0 5rem;
}

.post-header {
  text-align: center;
  margin-bottom: 3rem;
}

.post-header h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.post-featured-image {
  margin-bottom: 3rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.post-content {
  margin-bottom: 3rem;
  line-height: 1.8;
}

.post-content .post-intro {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--dark-gray);
  margin-bottom: 2rem;
}

.post-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.post-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.post-content h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}

.post-content ul, .post-content ol {
  margin-bottom: 2rem;
  padding-left: 2rem;
}

.post-content ul li, .post-content ol li {
  margin-bottom: 0.5rem;
}

.post-content .content-image {
  margin: 2.5rem 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 2rem;
}

.post-tags span {
  font-weight: 600;
  margin-right: 1rem;
}

.post-tags a {
  display: inline-block;
  background-color: var(--gray-color);
  color: var(--dark-gray);
  padding: 5px 15px;
  border-radius: 20px;
  margin-right: 10px;
  margin-bottom: 10px;
  font-size: 0.85rem;
  transition: var(--transition);
}

.post-tags a:hover {
  background-color: var(--primary-color);
  color: var(--light-color);
}

.post-share {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--light-gray);
}

.post-share span {
  font-weight: 600;
  margin-right: 1rem;
}

.post-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--gray-color);
  margin-right: 10px;
  transition: var(--transition);
}

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

.post-share a svg {
  color: var(--dark-color);
  transition: var(--transition);
}

.post-share a:hover svg {
  color: var(--light-color);
}

.related-posts h3 {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

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

.related-post:hover {
  transform: translateY(-5px);
}

.related-post img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.related-post h4 {
  padding: 1rem;
  margin-bottom: 0;
}

.related-post h4 a {
  color: var(--dark-color);
  font-size: 1.1rem;
  transition: var(--transition);
}

.related-post h4 a:hover {
  color: var(--primary-color);
}

/* Portfolio Page Styles */
.portfolio-filters {
  margin-bottom: 3rem;
  text-align: center;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.filter-btn {
  background-color: var(--gray-color);
  border: none;
  color: var(--dark-gray);
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
}

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

.portfolio-gallery {
  padding-bottom: 5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  aspect-ratio: 1/1;
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(42, 125, 139, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-info {
  text-align: center;
  color: var(--light-color);
  padding: 0 1.5rem;
}

.gallery-info h3 {
  color: var(--light-color);
  margin-bottom: 0.5rem;
}

.gallery-info p {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.gallery-zoom {
  display: inline-block;
  color: var(--light-color);
  background-color: rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: var(--transition);
}

.gallery-zoom:hover {
  background-color: var(--light-color);
  color: var(--primary-color);
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--light-color);
  font-size: 3rem;
  cursor: pointer;
}

.lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  text-align: center;
  color: var(--light-color);
  font-size: 1.2rem;
  padding: 0 20px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 50px;
  transform: translateY(-50%);
}

.prev-img, .next-img {
  color: var(--light-color);
  font-size: 3rem;
  cursor: pointer;
  transition: var(--transition);
}

.prev-img:hover, .next-img:hover {
  color: var(--secondary-color);
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background-color: var(--primary-color);
  color: var(--light-color);
  text-align: center;
}

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

.cta-content h2 {
  color: var(--light-color);
  margin-bottom: 1.5rem;
}

.cta-content p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.cta-content .btn {
  background-color: var(--secondary-color);
  color: var(--dark-color);
  padding: 12px 30px;
  font-size: 1rem;
}

.cta-content .btn:hover {
  background-color: var(--light-color);
}

/* About Page Styles */
.about-story {
  padding: 5rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.about-text h2 {
  margin-bottom: 2rem;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-philosophy {
  padding: 5rem 0;
  background-color: var(--gray-color);
}

.philosophy-content {
  text-align: center;
}

.philosophy-content h2 {
  margin-bottom: 3rem;
}

.philosophy-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2.5rem;
}

.philosophy-item {
  background-color: var(--light-color);
  padding: 2.5rem 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.philosophy-item:hover {
  transform: translateY(-5px);
}

.philosophy-icon {
  margin: 0 auto 1.5rem;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(42, 125, 139, 0.1);
  border-radius: 50%;
}

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

.philosophy-item h3 {
  margin-bottom: 1rem;
}

.philosophy-item p {
  color: var(--dark-gray);
}

.team-section {
  padding: 5rem 0;
}

.team-section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

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

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

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

.team-member h3 {
  margin: 1.5rem 0 0.5rem;
}

.team-member p {
  padding: 0 1.5rem;
  margin-bottom: 1.5rem;
}

.team-member p:first-of-type {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 1.5rem;
}

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

.member-social a:hover {
  background-color: var(--primary-color);
}

.member-social a svg {
  color: var(--dark-color);
  transition: var(--transition);
}

.member-social a:hover svg {
  color: var(--light-color);
}

.achievements-section {
  padding: 5rem 0;
  background-color: var(--gray-color);
}

.achievements-section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.achievement-item {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.achievement-item:hover {
  transform: translateY(-5px);
}

.achievement-icon {
  margin: 0 auto 1.5rem;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(42, 125, 139, 0.1);
  border-radius: 50%;
}

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

.achievement-item h3 {
  margin-bottom: 1rem;
}

.achievement-item p {
  color: var(--dark-gray);
}

.equipment-section {
  padding: 5rem 0;
}

.equipment-section h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--dark-gray);
}

.equipment-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.equipment-category {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.equipment-category h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--light-gray);
}

.equipment-category ul {
  list-style: disc;
  padding-left: 1.5rem;
}

.equipment-category ul li {
  margin-bottom: 0.8rem;
  color: var(--dark-gray);
}

/* Contact Page Styles */
.contact-section {
  padding: 5rem 0;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.contact-info > p {
  margin-bottom: 2.5rem;
  color: var(--dark-gray);
}

.info-item {
  display: flex;
  margin-bottom: 2rem;
}

.info-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background-color: rgba(42, 125, 139, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
}

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

.info-content h3 {
  margin-bottom: 0.5rem;
}

.info-content p {
  color: var(--dark-gray);
  margin-bottom: 0.5rem;
}

.info-note {
  font-size: 0.85rem;
  color: var(--medium-gray) !important;
}

.social-contact h3 {
  margin-bottom: 1.2rem;
}

.contact-form-container h2 {
  margin-bottom: 2rem;
}

.contact-form {
  background-color: var(--light-color);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(42, 125, 139, 0.2);
}

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

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

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

.submit-btn {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}

.map-section {
  padding: 5rem 0;
  background-color: var(--gray-color);
}

.map-section h2 {
  text-align: center;
  margin-bottom: 2.5rem;
}

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

.faq-section {
  padding: 5rem 0;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--light-gray);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  cursor: pointer;
}

.faq-question h3 {
  margin-bottom: 0;
  transition: var(--transition);
}

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

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

.faq-answer {
  display: none;
  padding-bottom: 1.5rem;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question h3 {
  color: var(--primary-color);
}

.thank-you-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.thank-you-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: var(--light-color);
  padding: 3rem;
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-content svg {
  margin: 0 auto 1.5rem;
  color: var(--success-color);
}

.modal-content h2 {
  margin-bottom: 1rem;
}

.modal-content p {
  margin-bottom: 2rem;
}

.close-btn {
  width: 100%;
}

/* Media Queries */
@media (max-width: 1100px) {
  .slide-content h2 {
    font-size: 2.5rem;
  }
  
  .about-content {
    gap: 3rem;
  }
}

@media (max-width: 991px) {
  .container {
    width: 95%;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero {
    height: 70vh;
  }
  
  .slide-content h2 {
    font-size: 2.2rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-image {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .post-header h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  header .container {
    padding: 1rem 15px;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--light-color);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1100;
    padding: 4rem 1.5rem 2rem;
  }
  
  nav.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
  }
  
  nav ul li {
    margin-left: 0;
    margin-bottom: 1.5rem;
  }
  
  .hamburger {
    display: flex;
    z-index: 1200;
  }
  
  .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(7px, -6px);
  }
  
  .hero {
    height: 60vh;
  }
  
  .slide-content h2 {
    font-size: 1.8rem;
  }
  
  .slide-content p {
    font-size: 1rem;
  }
  
  .posts-grid, 
  .services-grid, 
  .blog-grid, 
  .team-grid, 
  .achievements-grid, 
  .philosophy-items {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .featured-posts, 
  .services, 
  .testimonials, 
  .newsletter, 
  .about-story, 
  .about-philosophy, 
  .team-section, 
  .achievements-section, 
  .equipment-section, 
  .contact-section, 
  .map-section, 
  .faq-section {
    padding: 3rem 0;
  }
  
  .post-content .post-intro {
    font-size: 1.1rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
  }
  
  .newsletter-form button {
    border-radius: var(--border-radius);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .cookie-content {
    flex-direction: column;
    padding: 0 15px;
  }
  
  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .cookie-buttons .btn {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .cookie-buttons a {
    margin-left: 0;
    margin-top: 10px;
  }
}

@media (max-width: 576px) {
  .container {
    width: 100%;
  }
  
  .slide-content {
    width: 90%;
  }
  
  .slide-content h2 {
    font-size: 1.5rem;
  }
  
  .post-header h1 {
    font-size: 1.8rem;
  }
  
  .post-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .post-share {
    flex-wrap: wrap;
  }
  
  .post-share span {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .modal-content {
    padding: 2rem 1.5rem;
  }
}
