/* Sivotis Static Website Styles - Enhanced Version */

:root {
  --primary-color: #00142C;
  --primary-light: #001e45;
  --secondary-color: #0EC9AC;
  --secondary-dark: #0ab69d;
  --text-color: #828FA0;
  --light-text: #FFFFFF;
  --dark-text: #00142C;
  --accent-color: #011936;
  --accent-light: #022554;
  --danger-color: #e74c3c;
  --success-color: #2ecc71;
  --warning-color: #f39c12;
  --info-color: #3498db;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--primary-color);
  overflow-x: hidden;
}

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

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border-top-color: var(--secondary-color);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Header Styles */
header {
  background-color: rgba(0, 20, 44, 0.95);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

header.scrolled {
  padding: 15px 0;
  background-color: rgba(0, 20, 44, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

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

.logo img {
  max-width: 150px;
  transition: var(--transition);
}

header.scrolled .logo img {
  max-width: 140px;
}

.nav-menu {
  display: flex;
}

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

.nav-menu ul li {
  margin-left: 36px;
  position: relative;
}

.nav-menu ul li a {
  color: var(--light-text);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  padding: 5px 0;
  position: relative;
}

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

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

.nav-menu ul li a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  color: var(--secondary-color);
  font-size: 24px;
  cursor: pointer;
  transition: var(--transition);
  z-index: 101;
}

.mobile-menu-toggle:hover {
  transform: scale(1.1);
}

.mobile-menu-toggle.active i::before {
  content: "\f00d";
}

.nav-menu.active {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--primary-color);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 100;
}

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

.nav-menu.active ul li {
  margin: 15px 0;
}

.nav-menu.active ul li a {
  font-size: 24px;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 180px 0 100px;
  background-color: var(--primary-color);
  background-image: radial-gradient(circle at 30% 50%, var(--primary-light) 0%, var(--primary-color) 70%);
  color: var(--light-text);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(14, 201, 172, 0.1) 0%, rgba(0, 20, 44, 0) 100%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(14, 201, 172, 0.05) 0%, rgba(0, 20, 44, 0) 70%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-text {
  width: 50%;
}

.hero-image {
  width: 45%;
  text-align: right;
  position: relative;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(14, 201, 172, 0.1) 0%, rgba(0, 20, 44, 0) 70%);
  border-radius: 50%;
  z-index: -1;
}

.hero-image img {
  max-width: 100%;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
}

.hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero h1 span {
  color: var(--secondary-color);
  position: relative;
  display: inline-block;
}

.hero h1 span::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), transparent);
  border-radius: 2px;
}

.hero p {
  font-size: 16px;
  margin-bottom: 30px;
  max-width: 600px;
  opacity: 0.9;
}

.animated-text {
  position: relative;
  display: inline-block;
}

.text-animation {
  animation: textFade 0.5s ease;
}

@keyframes textFade {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Services Section */
.services {
  padding: 100px 0;
  background-color: var(--primary-color);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(1, 25, 54, 0.5) 0%, rgba(0, 20, 44, 0) 100%);
  z-index: 0;
}

.services-container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.service-card {
  width: 32%;
  background-color: var(--accent-color);
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 20px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--secondary-color), transparent);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--card-shadow);
  background-color: var(--accent-light);
}

.service-card:hover::before {
  height: 7px;
}

.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-title {
  color: var(--light-text);
  font-size: 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.service-title img {
  width: 35px;
  margin-right: 15px;
  transition: var(--transition);
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.2));
}

.service-card:hover .service-title img {
  transform: scale(1.1) rotate(5deg);
}

.service-description {
  color: var(--text-color);
  font-size: 14px;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.service-card:hover .service-description {
  color: var(--light-text);
}

/* About Section */
.about {
  padding: 100px 0;
  background-color: var(--primary-color);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at right, rgba(14, 201, 172, 0.05) 0%, rgba(0, 20, 44, 0) 70%);
  z-index: 0;
}

.about-container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.about-image {
  width: 48%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  position: relative;
}

.about-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 20, 44, 0.2), rgba(0, 20, 44, 0.5));
  z-index: 1;
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, var(--primary-color), transparent);
  z-index: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

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

.about-content {
  width: 48%;
  padding: 40px;
  background-color: var(--accent-color);
  border-radius: 15px;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.section-subtitle {
  color: var(--secondary-color);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
  padding-left: 15px;
}

.section-subtitle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 5px;
  height: 20px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.section-title {
  color: var(--light-text);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-text {
  margin-bottom: 30px;
}

.about-features {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
}

.feature {
  width: 100%;
  margin-bottom: 20px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature:hover {
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-5px);
}

.feature-title {
  color: var(--light-text);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.feature-title i {
  color: var(--secondary-color);
  margin-right: 10px;
  font-size: 20px;
  transition: var(--transition);
}

.feature:hover .feature-title i {
  transform: scale(1.2);
}

/* Services Detail Section */
.services-detail {
  padding: 120px 0;
  background-color: var(--primary-color);
  position: relative;
  overflow: hidden;
}

.services-detail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(1, 25, 54, 0.8) 0%, rgba(0, 20, 44, 0.9) 100%);
  z-index: 0;
}

.services-detail::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="rgba(255,255,255,0.03)" width="50" height="50" x="0" y="0"/><rect fill="rgba(255,255,255,0.03)" width="50" height="50" x="50" y="50"/></svg>');
  background-size: 100px 100px;
  opacity: 0.5;
  z-index: 0;
}

.services-detail-container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 60px;
}

.service-detail-card {
  width: 32%;
  background-color: var(--accent-color);
  border-radius: 15px;
  padding: 40px 30px;
  margin-bottom: 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.service-detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(14, 201, 172, 0.05) 0%, rgba(0, 20, 44, 0) 100%);
  z-index: 0;
}

.service-detail-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--card-shadow);
  background-color: var(--accent-light);
}

.service-detail-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 25px;
  transition: var(--transition);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.2));
}

.service-detail-card:hover .service-detail-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-detail-title {
  color: var(--light-text);
  font-size: 22px;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.service-detail-description {
  color: var(--text-color);
  font-size: 15px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.service-detail-card:hover .service-detail-description {
  color: var(--light-text);
}

.service-detail-link {
  display: inline-block;
  color: var(--secondary-color);
  margin-top: 20px;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  z-index: 1;
  transition: var(--transition);
  padding: 5px 0;
}

.service-detail-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.service-detail-link i {
  margin-left: 5px;
  transition: var(--transition);
}

.service-detail-link:hover {
  color: var(--secondary-dark);
}

.service-detail-link:hover::after {
  width: 100%;
}

.service-detail-link:hover i {
  transform: translateX(5px);
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background-color: var(--primary-color);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(1, 25, 54, 0.9) 0%, rgba(0, 20, 44, 0.8) 100%);
  z-index: 0;
}

.cta::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(14, 201, 172, 0.1) 0%, rgba(0, 20, 44, 0) 70%);
  z-index: 0;
}

.cta-container {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background-color: var(--accent-color);
  padding: 60px;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(14, 201, 172, 0.05) 0%, rgba(0, 20, 44, 0) 100%);
  border-radius: 20px;
  z-index: -1;
}

.cta-title {
  color: var(--light-text);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-text {
  color: var(--light-text);
  margin-bottom: 30px;
  font-size: 16px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
  color: var(--light-text);
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 5px 15px rgba(14, 201, 172, 0.3);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-color) 100%);
  transition: var(--transition);
  z-index: -1;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(14, 201, 172, 0.4);
}

.btn:hover::before {
  left: 0;
}


/* Footer */
.footer {
  padding: 70px 0 30px;
  background-color: var(--primary-color);
  color: var(--light-text);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(1, 25, 54, 0.5) 0%, rgba(0, 20, 44, 0) 100%);
  z-index: 0;
}

.footer-container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-logo img {
  max-width: 150px;
  transition: var(--transition);
}

.footer-logo:hover img {
  transform: scale(1.05);
}

.social-icons {
  display: flex;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: var(--accent-color);
  border-radius: 50%;
  margin-left: 15px;
  color: var(--light-text);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.social-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(14, 201, 172, 0.3);
  color: var(--light-text);
}

.social-icon:hover::before {
  opacity: 1;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* Contact Page Styles */
.contact-hero {
  padding: 180px 0 100px;
  text-align: left;
  position: relative;
}

.contact-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(1, 25, 54, 0.5) 0%, rgba(0, 20, 44, 0) 100%);
  z-index: 0;
}

.contact-container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
}

.contact-info {
  width: 48%;
}

.contact-form {
  width: 48%;
  background-color: var(--accent-color);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  padding: 20px;
  background-color: var(--accent-color);
  border-radius: 15px;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow);
  background-color: var(--accent-light);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  color: var(--light-text);
  font-size: 24px;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(14, 201, 172, 0.3);
}

.contact-item:hover .contact-icon {
  transform: scale(1.1) rotate(5deg);
}

.contact-content h4 {
  color: var(--light-text);
  margin-bottom: 10px;
  font-size: 18px;
}

.contact-content p {
  color: var(--text-color);
  transition: var(--transition);
}

.contact-item:hover .contact-content p {
  color: var(--light-text);
}

.contact-form h3 {
  color: var(--light-text);
  font-size: 24px;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.contact-form h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), transparent);
  border-radius: 2px;
}

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

.form-control {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 30px;
  color: var(--light-text);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
  background-color: rgba(255, 255, 255, 0.1);
}

textarea.form-control {
  height: 150px;
  resize: none;
  border-radius: 20px;
}

.form-group.error .form-control {
  border-color: var(--danger-color);
}

.form-group.success .form-control {
  border-color: var(--success-color);
}

.error-message {
  color: var(--danger-color);
  font-size: 12px;
  margin-top: 5px;
  margin-left: 20px;
  display: none;
}

.form-group.error .error-message {
  display: block;
}

/* Blog Page Styles */
.blog-hero {
  padding: 180px 0 100px;
  text-align: left;
  position: relative;
}

.blog-page {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.blog-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(1, 25, 54, 0.5) 0%, rgba(0, 20, 44, 0) 100%);
  z-index: 0;
}

.blog-page-container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
}

.blog-main {
  width: 68%;
}

.blog-sidebar {
  width: 28%;
}

.blog-post {
  margin-bottom: 40px;
  background-color: var(--accent-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

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

.blog-post-image {
  height: 300px;
  position: relative;
  overflow: hidden;
}

.blog-post-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 20, 44, 0), rgba(0, 20, 44, 0.5));
  z-index: 1;
}

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

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

.blog-post-content {
  padding: 30px;
}

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

.blog-post-meta span {
  margin-right: 20px;
  display: flex;
  align-items: center;
}

.blog-post-meta i {
  margin-right: 5px;
  color: var(--secondary-color);
}

.blog-post-title {
  color: var(--light-text);
  font-size: 24px;
  margin-bottom: 15px;
  transition: var(--transition);
}

.blog-post:hover .blog-post-title {
  color: var(--secondary-color);
}

.blog-post-excerpt {
  margin-bottom: 20px;
}

.blog-post-excerpt ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.blog-post-excerpt ul li {
  margin-bottom: 10px;
}

.sidebar-widget {
  background-color: var(--accent-color);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.widget-title {
  color: var(--light-text);
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), transparent);
  border-radius: 2px;
}

.recent-post {
  display: flex;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

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

.recent-post:hover {
  transform: translateX(5px);
}

.recent-post-image {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  margin-right: 15px;
  box-shadow: var(--box-shadow);
}

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

.recent-post:hover .recent-post-image img {
  transform: scale(1.1);
}

.recent-post-content h5 {
  color: var(--light-text);
  font-size: 16px;
  margin-bottom: 5px;
  transition: var(--transition);
}

.recent-post:hover .recent-post-content h5 {
  color: var(--secondary-color);
}

.recent-post-content span {
  color: var(--text-color);
  font-size: 12px;
  display: flex;
  align-items: center;
}

.recent-post-content span i {
  color: var(--secondary-color);
  margin-right: 5px;
  font-size: 10px;
}

.categories-list {
  list-style: none;
}

.categories-list li {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.categories-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.categories-list li:hover {
  transform: translateX(5px);
}

.categories-list a {
  color: var(--light-text);
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  transition: var(--transition);
}

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

.categories-list a span {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 12px;
  transition: var(--transition);
}

.categories-list a:hover span {
  background-color: var(--secondary-color);
  color: var(--light-text);
}

/* Single Blog Post */
.single-post-content {
  padding: 30px;
}

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

.single-post-content h2, 
.single-post-content h3 {
  color: var(--light-text);
  margin: 30px 0 15px;
}

.single-post-content ul, 
.single-post-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

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

.post-tags {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.post-tags span {
  margin-right: 10px;
  color: var(--light-text);
  font-weight: 600;
}

.tag {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 5px 15px;
  border-radius: 30px;
  margin-right: 10px;
  margin-bottom: 10px;
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

.tag:hover {
  background-color: var(--secondary-color);
  color: var(--light-text);
  transform: translateY(-3px);
}

.post-share {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.post-share span {
  margin-right: 10px;
  color: var(--light-text);
  font-weight: 600;
}

.share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-left: 10px;
  margin-bottom: 10px;
  color: var(--light-text);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.share-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.share-icon:hover {
  transform: translateY(-5px);
  color: var(--light-text);
}

.share-icon:hover::before {
  opacity: 1;
}

/* 404 Page Styles */
.error-container {
  text-align: center;
  padding: 100px 20px;
  position: relative;
  z-index: 1;
}

.error-code {
  font-size: 120px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  line-height: 1;
  text-shadow: 0 5px 15px rgba(14, 201, 172, 0.3);
}

.error-message {
  font-size: 32px;
  color: var(--light-text);
  margin-bottom: 30px;
}

.error-description {
  max-width: 600px;
  margin: 0 auto 40px;
  color: var(--text-color);
  font-size: 18px;
}

/* Form Validation Styles */
input:invalid,
textarea:invalid {
  border-color: var(--danger-color);
}

input:valid:not(:placeholder-shown),
textarea:valid:not(:placeholder-shown) {
  border-color: var(--success-color);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background-color: var(--primary-color);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--secondary-color), var(--secondary-dark));
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, var(--secondary-dark), var(--secondary-color));
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text, .hero-image {
    width: 100%;
  }
  
  .hero-image {
    margin-top: 40px;
    text-align: center;
  }
  
  .service-card, 
  .service-detail-card,
  .blog-card {
    width: 48%;
  }
  
  .about-container {
    flex-direction: column;
  }
  
  .about-image, 
  .about-content {
    width: 100%;
  }
  
  .about-image {
    margin-bottom: 40px;
  }
  
  .newsletter-container {
    padding: 40px 20px;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-input {
    border-radius: 30px;
    margin-bottom: 15px;
  }
  
  .newsletter-btn {
    border-radius: 30px;
    padding: 15px;
  }
  
  .contact-container,
  .blog-page-container {
    flex-direction: column;
  }
  
  .contact-info, 
  .contact-form,
  .blog-main,
  .blog-sidebar {
    width: 100%;
  }
  
  .contact-info {
    margin-bottom: 40px;
  }
  
  .blog-sidebar {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .service-card, 
  .service-detail-card,
  .blog-card {
    width: 100%;
  }
  
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-logo {
    margin-bottom: 20px;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .social-icon {
    margin: 0 8px;
  }
  
  .footer-bottom {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 32px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .cta-title {
    font-size: 26px;
  }
  
  .error-code {
    font-size: 100px;
  }
  
  .error-message {
    font-size: 26px;
  }
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Accessibility Improvements */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Focus styles for better accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}
