/**
Theme Name: cideralorenzo
Theme URI: https://cideralorenzo.fr/
Author: Jobayer
Author URI: https://jobayerhossan.com
Description: cideralorenzo is custom based website
Version: 1.0
Requires at least: 5.3
Tested up to: 5.7.2
Requires PHP: 5.3
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cidera
Tags: custom-menu, custom-logo, entertainment, one-column, two-columns
 **/

:root {
  /* Light theme (default) */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8F9FA;
  --text-primary: #1A1A1A;
  --text-secondary: #4A4A4A;
  --accent: #00C87B;
  --accent-hover: #00B06C;
  --border: #E0E0E0;
  --shadow: rgba(0, 0, 0, 0.06);
  --card-bg: #FFFFFF;
}

[data-theme="dark"] {
  --bg-primary: #0A0A0A;
  --bg-secondary: #121212;
  --text-primary: #F2F2F2;
  --text-secondary: #E0E0E0;
  --accent: #00C87B;
  --accent-hover: #00D989;
  --border: #333333;
  --shadow: rgba(0, 0, 0, 0.25);
  --card-bg: #1A1A1A;
  --progress-bg: #333333;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-family: 'Space Grotesk', sans-serif;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.admin-bar nav{
  top: 32px;
}

nav.scrolled {
  background-color: var(--bg-primary);
  box-shadow: 0 2px 10px var(--shadow);
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-primary);
}
.logo a{
  color: var(--text-primary);
}
.logo a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}
/*
.logo a:after {
  content: '';
  width: 10px;
  height: 10px;
  background: #00c87b;
  display: inline-flex;
  border-radius: 50%;
}*/
.nav-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.theme-toggle {
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.theme-toggle:hover {
  background-color: var(--shadow);
}

.theme-toggle .sun {
  display: none;
}

.theme-toggle .moon {
  display: block;
}

[data-theme="dark"] .theme-toggle .sun {
  display: block;
}

[data-theme="dark"] .theme-toggle .moon {
  display: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.cta-button {
  background-color: var(--accent);
  color: white !important;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  width: 30px;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 100%;
  background-color: var(--text-primary);
  margin: 2px 0;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent) 0%, #003b28 100%);
  animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-content {
  text-align: center;
  color: white;
  z-index: 2;
  padding: 0 1rem;
  max-width: 800px;
}

.typing-container {
  height: 4.5rem;
  margin-bottom: 1.5rem;
}

#typing-text {
  display: inline-block;
  position: relative;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}

#typing-text::after {
  content: "|";
  position: absolute;
  right: -8px;
  top: 0;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-subtitle {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: var(--accent);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-block;
}

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

.btn-secondary {
  background-color: transparent;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  border: 2px solid white;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-block;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  transform: translateY(-2px);
}

/* Section Styling */
.section {
  padding: 5rem 0;
}

.bg-alt {
  background-color: var(--bg-secondary);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--accent);
  margin: 1rem auto 0;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px var(--shadow);
}

.feature-icon {
  margin-bottom: 1.5rem;
  color: var(--accent);
}
.feature-icon svg{
	width:48px; 
	height:48px; 
}

/* About Section */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.quote {
  margin: 2rem 0;
  padding: 2rem;
  background-color: var(--card-bg);
  border-left: 5px solid var(--accent);
  border-radius: 4px;
}

blockquote {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.4;
  text-align: center;
}

.bio p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* Updated Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px var(--shadow);
}

.service-header {
  position: relative;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  background-color: var(--bg-secondary);
  overflow: visible;
}
.service-illustration {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.service-profile {
  position: absolute;
  bottom: -30px;
  left: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  border: 3px solid var(--card-bg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.service-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 3;
}

.service-badge.popular {
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

.service-badge.best-seller {
  background: linear-gradient(135deg, #343a40 0%, #212529 100%);
}

.service-badge.premium {
  background: linear-gradient(135deg, #00C87B 0%, #009e5f 100%);
}
.service-header > img {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-content {
  padding: 2rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-title {
  font-size: 1.2rem;
  margin: 0.5rem 0 1rem;
  line-height: 1.4;
}

.service-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
}

.service-meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.service-price {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
}

.service-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rating-stars {
  color: #ffc107;
  font-weight: 500;
}

.rating-count {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.service-action {
  margin-top: 1.25rem;
}

.service-btn {
  width: 100%;
  border: none;
  background-color: var(--accent);
  color: white;
  padding: 0.8rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: inherit;
  font-size: 1rem;
    display: block;
  text-align: center;
}

.service-btn:hover {
  background-color: var(--accent-hover);
	color:#fff; 
}

.hourly-card {
  background: linear-gradient(145deg, var(--accent), rgba(0, 200, 123, 0.1));
  position: relative;
  overflow: hidden;
}

.hourly-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--card-bg);
  opacity: 0.9;
  z-index: 0;
}

.hourly-card .service-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem;
}

.hourly-card .service-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.hourly-card .service-price {
  font-size: 1.6rem;
  margin: 1.5rem 0;
}

.hourly-btn {
  background-color: var(--text-primary);
  color: var(--bg-primary);
}

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

.services-cta {
  text-align: center;
  margin-top: 4rem; 
  display: flex;
  justify-content: center; 
  width: 100%;
}

.services-cta .btn-primary {
  margin: 0 auto; 
  padding: 1rem 2rem; 
  font-size: 1.1rem; 
  display: inline-block;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.services-cta .btn-primary::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.5);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.services-cta .btn-primary:hover::after {
  transform: scaleX(1);
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.service-features li {
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
}

.maintenance-card {
  position: relative;
  overflow: hidden;
}

.maintenance-card.hidden {
  display: none;
  opacity: 0;
  height: 0;
  margin: 0;
  padding: 0;
  transform: translateY(20px);
}

.fade-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

.fade-out {
  animation: fadeOutDown 0.5s ease-in forwards;
}

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

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

/* Service Modal Styles */
.service-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.service-modal.active {
  opacity: 1;
  visibility: visible;
}

.service-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
}

.service-modal-container {
  position: relative;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  background-color: var(--bg-primary);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  padding: 2.5rem;
  z-index: 1001;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-modal.active .service-modal-container {
  transform: translateY(0);
}

.service-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.service-modal-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.service-modal-close {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.service-modal-close:hover {
  background-color: var(--shadow);
}

.service-modal-gallery {
  margin: 1.5rem 0;
  background-color: var(--bg-secondary);
  height: 250px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.service-details-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.service-details-section h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.service-details-section ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-details-section li {
  margin-bottom: 0.8rem;
  position: relative;
}

.service-details-section li::before {
  content: "✓";
  position: absolute;
  left: -1.5rem;
  color: var(--accent);
}

.service-modal-sidebar {
  background-color: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: 8px;
}

.service-detail-item {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.service-detail-item:last-child {
  border-bottom: none;
}

.service-detail-label {
  color: var(--text-secondary);
}

.service-detail-value {
  font-weight: 700;
}

.service-modal-cta {
  margin-top: 2rem;
}

.service-modal-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Portfolio Section - Updated */
/* Portfolio Page Styles */
.portfolio-page {
  padding: 120px 0 80px;
  min-height: 80vh;
}

/* Portfolio Header */
.portfolio-header {
  text-align: center;
  margin-bottom: 3rem;
}

.portfolio-header h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 1rem;
  font-weight: 700;
}

.portfolio-intro {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* Portfolio Filters */
.page-template-portfolios .portfolio-filters{
    margin-bottom: 2.5rem;
}
.home .portfolio-filters {
    display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: transparent;
  border: 1px solid var(--border);
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 200, 123, 0.2);
}

.filters-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.dropdown-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-dropdown {
  position: relative;
  z-index: 10;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dropdown-toggle:hover {
  border-color: var(--accent);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 220px;
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 5px 15px var(--shadow);
  padding: 0.5rem;
  display: none;
  z-index: 20;
}

.filter-dropdown.active .dropdown-menu {
  display: block;
  animation: fadeIn 0.2s ease;
}

.dropdown-item {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.dropdown-item:hover {
  background-color: var(--bg-secondary);
}

.dropdown-item.active {
  background-color: var(--accent);
  color: white;
}

.search-filter {
  position: relative;
  flex: 1;
  min-width: 280px;
}

.search-filter input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background-color: var(--card-bg);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.clear-search {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0.75rem;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 2;
}

.search-filter input:not(:placeholder-shown) + .clear-search {
  opacity: 1;
}

.view-toggle {
  display: none;
}

.toggle-buttons {
  display: none;
}

.view-button {
  display: none;
}


/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.portfolio-grid.list-view .portfolio-item,
.portfolio-grid.list-view .portfolio-image,
.portfolio-grid.list-view .portfolio-content,
.portfolio-grid.list-view .portfolio-meta,
.portfolio-grid.list-view .view-project {
  width: auto;
  padding: initial;
  height: auto;
  border-radius: initial;
  flex-direction: column;
}

.portfolio-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
  display: flex;
  flex-direction: column;
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--shadow);
}

.portfolio-image {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 50%; /* 2:1 aspect ratio */
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.portfolio-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.portfolio-meta {
  padding: 1rem 1.5rem 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.portfolio-meta .category {
  color: var(--accent);
  font-weight: 500;
}

.portfolio-content {
  padding: 1rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.portfolio-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.tech-badges span {
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  border-radius: 20px;
  font-weight: 500;
}

.project-duration {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.view-project {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: white;
  background-color: var(--accent);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  width: 100%;
}

.view-project:hover {
  background-color: var(--accent-hover);
  color: white;
}

.view-project i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.view-project:hover i {
  transform: translateX(3px);
}

.results-count {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 1rem;
}
.portfolio-cta {
  text-align: center;
  margin-top: 3.5rem;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .portfolio-page {
    padding: 100px 0 60px;
  }
  
  .filters-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  
  .dropdown-filters {
    width: 100%;
    justify-content: space-between;
  }
  
  .filter-dropdown {
    flex: 1;
  }
  
  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }
  
  .search-filter {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .dropdown-filters {
    flex-direction: column;
  }
}


/* Pagination */
.portfolio-pagination {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.load-more-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.load-more-btn:hover {
  background-color: var(--accent);
  color: white;
}

.pagination-controls {
  display: none; /* Hidden by default, we'll use "Load more" instead */
  align-items: center;
  gap: 0.5rem;
}

.pagination-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pagination-btn.active {
  background-color: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
}

.modal-container {
  position: relative;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  background-color: var(--bg-primary);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  padding: 2rem;
  z-index: 1001;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal.active .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  z-index: 5;
}

.modal-close:hover {
  background-color: var(--shadow);
}

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

.modal-header {
  margin-bottom: 2rem;
}

.modal-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: var(--text-secondary);
}

.modal-images {
  margin: 2rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.modal-image {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}

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

.modal-section {
  margin-bottom: 1.5rem;
}

.modal-section h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: var(--accent);
}

.modal-section ul {
  padding-left: 1.5rem;
}

.modal-section li {
  margin-bottom: 0.5rem;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.modal-tag {
  background-color: var(--bg-secondary);
  padding: 0.4rem 0.8rem;
  border-radius: 30px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.modal-navigation {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  transform: translateY(-50%);
  pointer-events: none;
}

.modal-nav-btn {
  background-color: var(--bg-primary);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px var(--shadow);
  transition: transform 0.3s ease, background-color 0.3s ease;
  pointer-events: auto;
}

.modal-nav-btn:hover {
  background-color: var(--accent);
  color: white;
  transform: scale(1.1);
}

/* Updated Testimonials Section */
.testimonial-tagline {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin: -2rem auto 3rem;
  max-width: 600px;
}

.google-rating-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow);
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.google-rating {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

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

.google-logo svg {
  width: 36px;
  height: 36px;
}

.rating-details {
  display: flex;
  flex-direction: column;
}

.rating-score {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.score {
  font-size: 2rem;
  font-weight: 700;
}

.stars {
  display: flex;
  color: #FBBC05;
}

.rating-count {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.rating-cta {
  background-color: var(--accent);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.rating-cta:hover {
  background-color: var(--accent-hover);
  color: white;
  transform: translateY(-2px);
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  margin: 0 0 2rem;
  width: 100%;
}

.testimonial-slider .swiper-wrapper{
  height: auto;
}
.testimonial-slider .swiper-wrapper .swiper-slide{
  height: auto;
}
.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 20px);
  padding: 1.5rem 2rem;
  background-color: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow);
  display: flex;
  flex-direction: column;
  margin: 0;
  min-width: 280px;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  height: 100%;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-info {
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.verified-badge {
  background-color: #34A853;
  color: white;
  font-size: 0.7rem;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-weight: 500;
}

.testimonial-date {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.testimonial-rating {
  display: flex;
  color: #FBBC05;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.testimonial-content {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-primary);
  font-style: normal;
  margin-bottom: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  white-space: normal;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  gap: 1rem;
}

.slider-btn {
  background: transparent;
  border: 1px solid var(--border);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-primary);
}

.slider-btn:hover {
  background-color: var(--accent);
  color: white;
  border-color: var(--accent);
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

/* Responsive adjustments for testimonials */
@media (max-width: 992px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 20px);
  }
  
  .google-rating-container {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 90%;
    margin: 0 auto;
    min-width: 0;
    padding: 1.5rem;
    width: 90%;
    box-sizing: border-box;
  }
  
  .testimonial-slider {
    overflow: hidden;
    width: 100%;
  }
  
  .testimonial-track {
    width: 100%;
    justify-content: flex-start;
  }
  
  .google-rating {
    width: 100%;
    justify-content: center;
  }
  
  .rating-cta {
    width: 100%;
    text-align: center;
  }
}

/* Contact Section */
.contact-intro-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.contact-intro-text {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-flex {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-benefits {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefit-card {
  background-color: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  display: flex;
  gap: 1rem;
  box-shadow: 0 4px 15px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow);
}

.benefit-icon {
  background-color: rgba(0, 200, 123, 0.1);
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.benefit-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.benefit-content p {
  font-size: 0.95rem;
  margin-bottom: 0;
  color: var(--text-secondary);
}

.contact-faq {
  background-color: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow);
}

.contact-faq h3 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.faq-item {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.faq-question {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-size: 1rem;
}

.faq-answer {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.social-links-container h3 {
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  background-color: var(--card-bg);
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 10px var(--shadow);
  color: var(--text-primary);
  font-weight: 500;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--shadow);
  color: var(--accent);
}

.calendar-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calendar-wrapper {
  background-color: var(--card-bg);
  border-radius: 16px;
  box-shadow: 0 4px 20px var(--shadow);
  overflow: hidden;
  position: relative;
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.calendar-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px var(--shadow);
}

.calendar-header {
  padding: 2rem 1.5rem 1rem;
  text-align: center;
  position: relative;
}

.calendar-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--accent);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
}

.calendar-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.calendar-header p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.calendar-embed {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.calendly-inline-widget {
  min-width: 100% !important;
  background-color: var(--bg-primary);
}

.calendar-footer {
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
}

.calendar-benefits {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.benefit-item svg {
  color: var(--accent);
}

.testimonial-mini {
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px var(--shadow);
  position: relative;
}

.testimonial-mini-content {
  position: relative;
  padding-top: 1.5rem;
}

.quote-icon {
  position: absolute;
  top: -10px;
  left: 0;
  color: var(--accent);
  opacity: 0.2;
  transform: scale(1.5);
}

.testimonial-mini p {
  font-style: italic;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.testimonial-mini-author {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: var(--text-primary);
}

.author-company {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Updated responsive styles for contact section */
@media (max-width: 992px) {
  .contact-flex {
    flex-direction: column;
    gap: 3rem;
  }
  
  .calendar-wrapper, .testimonial-mini {
    width: 100%;
  }
  
  .calendly-inline-widget {
    height: 580px !important;
  }
}

@media (max-width: 768px) {
  .contact-intro-header {
    margin-bottom: 2rem;
  }
  
  .contact-intro-text {
    font-size: 1.1rem;
  }
  
  .calendar-benefits {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .benefit-card {
    padding: 1.25rem;
  }
}

@media (max-width: 576px) {
  .calendar-embed {
    margin: 0 -1rem;
  }
  
  .calendly-inline-widget {
    height: 530px !important;
  }
  
  .calendar-badge {
    position: relative;
    top: 0;
    right: 0;
    display: inline-block;
    margin-bottom: 1rem;
  }
  
  .calendar-header {
    padding: 1.5rem 1rem 1rem;
  }
}

/* Footer */
.footer {
  background-color: var(--bg-secondary);
  padding: 4rem 0 2rem;
  margin-top: 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
    gap: 0px;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--card-bg);
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--accent);
  color: white;
  transform: translateY(-3px);
}

@media (max-width: 992px) {
  .contact-flex {
    flex-direction: column;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 1rem 5%;
  }
  
  .nav-controls {
    order: 3; /* Push controls to the right */
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 80%;
    background-color: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
    z-index: 99;
    box-shadow: -5px 0 15px var(--shadow);
    padding: 4rem 2rem 2rem;
    gap: 2rem;
  }

  .nav-links.active {
    right: 0;
  }
  
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  
  .nav-links a {
    display: block;
    padding: 1rem 0;
    font-size: 1.2rem;
  }
  
  .nav-links .cta-button {
    margin-top: 1rem;
    width: 100%;
    display: block;
    text-align: center;
  }

  .menu-toggle {
    display: flex;
    z-index: 100;
  }

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

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

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

  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-links {
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .logo {
    font-size: 1.25rem;
  }
  
  .nav-controls {
    gap: 1rem;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-cta a {
    width: 100%;
  }

  .features-grid, .services-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-filters {
    flex-wrap: wrap;
  }

  .filter-btn {
    margin-bottom: 0.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .modal-navigation {
    position: static;
    transform: none;
    margin-top: 2rem;
    padding: 0;
  }
  
  .modal-sections {
    grid-template-columns: 1fr;
  }
  
  .modal-container {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .portfolio-filters {
    flex-wrap: wrap;
  }

  .filter-btn {
    margin-bottom: 0.5rem;
  }
  
  .modal-subtitle {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .modal-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .service-details-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-modal-container {
    padding: 1.5rem;
  }
}