/*
Theme Name: Condominio Theme
Theme URI: #
Author: Your Agency
Author URI: #
Description: Tema personalizzato per amministratore di condominii
Version: 1.0.0
Requires at least: 5.0
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: condominio-theme
Domain Path: /languages

Theme Color: #2E5090
Secondary Color: #4A9FBF
*/

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

html, body {
  height: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #1E293B;
  background-color: #F8FAFC;
  padding-top: 80px;
}

a {
  text-decoration: none;
  color: #2E5090;
  transition: color 0.3s ease;
}

a:hover {
  color: #4A9FBF;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  color: #1E293B;
}

.logo img,
.custom-logo {
  max-height: 36px;
  width: auto;
  height: auto;
}

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

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

nav a {
  padding: 0 16px;
  height: 40px;
  display: flex;
  align-items: center;
  border-radius: 6px;
  text-decoration: none;
  color: #64748B;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.2s;
}

nav a:hover {
  background: #F1F5F9;
  color: #2E5090;
}

nav a.active {
  background: #EFF6FF;
  color: #2E5090;
  font-weight: 600;
}

.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a,
.primary-menu .current-menu-ancestor > a,
.primary-menu .current_page_ancestor > a {
  background: #EFF6FF;
  color: #2E5090;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  color: #1E293B;
  position: relative;
}

.menu-toggle-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  background: #1E293B;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform-origin: center;
}

.menu-toggle.is-open .menu-toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .menu-toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.menu-toggle-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Footer */
footer {
  background: #1E293B;
  padding: 64px 24px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-section h3 {
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.footer-section p {
  font-size: 14px;
  color: #94A3B8;
  margin-bottom: 12px;
}

.footer-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.footer-section ul li a {
  font-size: 14px;
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section ul li a:hover {
  color: #4A9FBF;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid #334155;
  text-align: center;
}

.footer-bottom p {
  font-size: 14px;
  color: #64748B;
}

/* Home Page */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1E3A8A 0%, #3b65b5 50%, #5bb7d9 100%);
  padding: 120px 24px 100px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(74, 159, 191, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(46, 80, 144, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 50px;
  color: #BAE6FD;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge svg {
  width: 18px;
  height: 18px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 20px;
  color: #DBEAFE;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn svg {
  width: 20px;
  height: 20px;
}

.btn-primary {
  background: #FFFFFF;
  color: #2E5090;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.stat-item {
  padding: 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
  font-size: 40px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: #DBEAFE;
  font-weight: 500;
}

/* Section Common Styles */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  color: #2E5090;
  font-size: 14px;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 18px;
  color: #64748B;
  max-width: 600px;
  margin: 0 auto;
}

/* Services Section */
.services-section {
  padding: 100px 24px;
  background: #FFFFFF;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: #FFFFFF;
  padding: 40px 32px;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  transition: all 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
  border-color: #CBD5E1;
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.icon-blue {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
}

.icon-blue svg {
  color: #2E5090;
}

.icon-teal {
  background: linear-gradient(135deg, #F0FDFA 0%, #CCFBF1 100%);
}

.icon-teal svg {
  color: #0D9488;
}

.icon-purple {
  background: linear-gradient(135deg, #F5F3FF 0%, #EDE9FE 100%);
}

.icon-purple svg {
  color: #7C3AED;
}

.icon-amber {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
}

.icon-amber svg {
  color: #D97706;
}

.icon-green {
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
}

.icon-green svg {
  color: #059669;
}

.icon-red {
  background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%);
}

.icon-red svg {
  color: #DC2626;
}

.service-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 12px;
}

.service-card > p {
  font-size: 15px;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #475569;
}

.service-features li svg {
  width: 16px;
  height: 16px;
  color: #10B981;
  flex-shrink: 0;
}

/* About Section */
.about-section {
  padding: 100px 24px;
  background: #F8FAFC;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.about-text h2 {
  font-size: 36px;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 24px;
  line-height: 1.3;
}

.about-text p {
  font-size: 16px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 24px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 40px 0;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #2E5090 0%, #4A9FBF 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #FFFFFF;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-text h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 14px;
  color: #64748B;
  margin: 0;
}

.about-image {
  position: relative;
}

.image-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
}

.image-card img {
  width: 100%;
  height: auto;
  display: block;
}

.image-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: #FFFFFF;
  padding: 20px 24px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.2);
}

.image-badge svg {
  width: 32px;
  height: 32px;
  color: #2E5090;
}

.badge-number {
  font-size: 24px;
  font-weight: 800;
  color: #1E293B;
  line-height: 1;
}

.badge-text {
  font-size: 12px;
  color: #64748B;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Projects Section */
.projects-section {
  padding: 100px 24px;
  background: #FFFFFF;
}

.projects-container {
  max-width: 1200px;
  margin: 0 auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
}

/* Layout custom: c1 e c2 50%, c3 100%, c4/c5/c6 33% */
.project-card:nth-child(1) {
  grid-column: 1 / 4;
}

.project-card:nth-child(2) {
  grid-column: 4 / 7;
}

.project-card:nth-child(3) {
  grid-column: 1 / 7;
}

.project-card:nth-child(4) {
  grid-column: 1 / 3;
}

.project-card:nth-child(5) {
  grid-column: 3 / 5;
}

.project-card:nth-child(6) {
  grid-column: 5 / 7;
}

.project-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  height: 400px;
}

.custom-link {
  color: #0058ff !important;
}

.project-image {
  width: 100%;
  height: 100%;
  position: relative;
}

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

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

.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 32px;
  opacity: 0;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-info {
  color: #FFFFFF;
  transform: translateY(20px);
  transition: transform 0.3s;
}

.project-card:hover .project-info {
  transform: translateY(0);
}

.project-tag {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(74, 159, 191, 0.9);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-info h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.project-info p {
  font-size: 14px;
  color: #E2E8F0;
  margin-bottom: 16px;
  line-height: 1.5;
}

.project-meta {
  display: flex;
  gap: 24px;
  font-size: 13px;
}

.project-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-meta svg {
  width: 16px;
  height: 16px;
}

/* Carousel Section */
.carousel-section {
  padding: 100px 24px;
  background: #F8FAFC;
}

.carousel-container {
  max-width: 1200px;
  margin: 0 auto;
}

.modern-carousel {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
  display: none;
}

.carousel-slide.active {
  display: block;
}

.carousel-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(to top, rgba(30, 41, 59, 0.95) 0%, transparent 100%);
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 600;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
}

.carousel-btn:hover {
  background: #FFFFFF;
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn svg {
  width: 24px;
  height: 24px;
  color: #2E5090;
}

.prev-btn {
  left: 24px;
}

.next-btn {
  right: 24px;
}

.carousel-indicators {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.indicator {
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s;
}

.indicator.active {
  background: #FFFFFF;
  width: 60px;
}

/* CTA Section */
.cta-section {
  padding: 100px 24px;
  background: linear-gradient(135deg, #1E3A8A 0%, #2E5090 50%, #4A9FBF 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(74, 159, 191, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(46, 80, 144, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

.cta-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

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

.cta-content h2 {
  font-size: 40px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.3;
}

.cta-content p {
  font-size: 18px;
  color: #DBEAFE;
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  background: #FFFFFF;
  color: #2E5090;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline-white {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Contact Page */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

/* Privacy Policy */
.privacy-policy {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.privacy-policy h2 {
  font-size: 28px;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 24px;
}

.privacy-policy h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1E293B;
  margin: 24px 0 12px;
}

.privacy-policy p {
  font-size: 16px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 16px;
}

.privacy-policy ul {
  padding-left: 20px;
  margin-bottom: 16px;
  color: #475569;
}

.privacy-policy li {
  margin-bottom: 8px;
}

.content-container {
  margin-bottom: 80px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 16px;
  color: #64748B;
  max-width: 500px;
  margin: 0 auto;
}

/* Form Layout */
.form-layout {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 48px;
  align-items: start;
}

/* Contact Form */
.contact-form {
  background: #FFFFFF;
  padding: 40px;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.contact-form .wpcf7-form p {
  margin-bottom: 20px;
}

.contact-form .wpcf7-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 8px;
}

.contact-form .wpcf7-form input[type="text"],
.contact-form .wpcf7-form input[type="email"],
.contact-form .wpcf7-form input[type="tel"],
.contact-form .wpcf7-form select,
.contact-form .wpcf7-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.2s;
}

.contact-form .wpcf7-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E5090' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px;
  padding-right: 48px;
  cursor: pointer;
}

/* Custom Dropdown Styles */
.custom-select-wrapper {
  position: relative;
}

.custom-select-wrapper select {
  opacity: 0;
  position: absolute;
  pointer-events: none;
}

.custom-select-trigger {
  width: 100%;
  padding: 12px 48px 12px 16px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #1E293B;
}

.custom-select-trigger.placeholder {
  color: #94A3B8;
}

.custom-select-trigger:hover {
  border-color: #94A3B8;
}

.custom-select-wrapper.is-open .custom-select-trigger {
  border-color: #2E5090;
  box-shadow: 0 0 0 3px rgba(46, 80, 144, 0.1);
}

.custom-select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  transition: transform 0.3s ease;
  width: 20px;
  height: 20px;
  color: #2E5090;
}

.custom-select-wrapper.is-open .custom-select-arrow {
  transform: translateY(-50%) rotate(180deg);
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.15);
  max-height: 280px;
  overflow-y: auto;
  z-index: 100;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.2s ease;
}

.custom-select-wrapper.is-open .custom-select-options {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.custom-select-option {
  padding: 12px 16px;
  font-size: 15px;
  color: #1E293B;
  cursor: pointer;
  transition: all 0.15s;
}

.custom-select-option:first-child {
  border-radius: 8px 8px 0 0;
}

.custom-select-option:last-child {
  border-radius: 0 0 8px 8px;
}

.custom-select-option:hover {
  background: #F1F5F9;
  color: #2E5090;
}

.custom-select-option.is-selected {
  background: #EFF6FF;
  color: #2E5090;
  font-weight: 600;
}

.custom-select-option.is-disabled {
  color: #94A3B8;
  cursor: default;
  font-style: italic;
}

.custom-select-option.is-disabled:hover {
  background: transparent;
  color: #94A3B8;
}

.contact-form .wpcf7-form select::-ms-expand {
  display: none;
}

.contact-form .wpcf7-form input[type="text"]:focus,
.contact-form .wpcf7-form input[type="email"]:focus,
.contact-form .wpcf7-form input[type="tel"]:focus,
.contact-form .wpcf7-form select:focus,
.contact-form .wpcf7-form textarea:focus {
  outline: none;
  border-color: #2E5090;
  box-shadow: 0 0 0 3px rgba(46, 80, 144, 0.1);
}

.contact-form .wpcf7-form select:hover {
  border-color: #94A3B8;
}

.contact-form .wpcf7-form select option:first-child {
  color: #94A3B8;
}

.contact-form .wpcf7-form select:invalid {
  color: #94A3B8;
}

.contact-form .wpcf7-form select:valid {
  color: #1E293B;
}

.contact-form .wpcf7-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .wpcf7-form .wpcf7-acceptance {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-form .wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 2px;
}

.contact-form .wpcf7-form .wpcf7-acceptance label {
  font-size: 13px;
  color: #475569;
  margin: 0;
  font-weight: 500;
}

.contact-form .wpcf7-form input[type="submit"],
.contact-form .wpcf7-form button[type="submit"] {
  width: 100%;
  height: 52px;
  background: linear-gradient(135deg, #2E5090 0%, #4A9FBF 100%);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 12px rgba(46, 80, 144, 0.25);
}

.contact-form .wpcf7-form input[type="submit"]:hover,
.contact-form .wpcf7-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(46, 80, 144, 0.35);
}

.contact-form .wpcf7-form input[type="submit"]:disabled,
.contact-form .wpcf7-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.contact-form .wpcf7-not-valid-tip {
  font-size: 13px;
  color: #DC2626;
  margin-top: 6px;
}

.contact-form .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2E5090;
  box-shadow: 0 0 0 3px rgba(46, 80, 144, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.gdpr-checkbox {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.gdpr-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 2px;
  cursor: pointer;
}

.gdpr-checkbox label {
  font-size: 13px;
  color: #475569;
  cursor: pointer;
  margin: 0;
}

.submit-button {
  width: 100%;
  height: 52px;
  background: linear-gradient(135deg, #2E5090 0%, #4A9FBF 100%);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 12px rgba(46, 80, 144, 0.25);
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(46, 80, 144, 0.35);
}

.submit-button:active {
  transform: translateY(0);
}

.submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

/* Contact Info Cards */
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-card {
  padding: 32px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-email {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
}

.card-phone {
  background: linear-gradient(135deg, #F0FDFA 0%, #CCFBF1 100%);
}

.card-location {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.card-email .card-icon {
  background: #2E5090;
}

.card-phone .card-icon {
  background: #0D9488;
}

.card-location .card-icon {
  background: #D97706;
}

.card-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 8px;
}

.card-link {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
}

.card-email .card-link {
  color: #2E5090;
}

.card-phone .card-link {
  color: #0D9488;
}

.card-location .card-link {
  color: #D97706;
}

.card-description {
  font-size: 14px;
  color: #64748B;
}

/* Additional Info Section */
.additional-info {
  background: #FFFFFF;
  padding: 64px 48px;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
}

.info-header {
  text-align: center;
  margin-bottom: 32px;
}

.info-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 12px;
}

.info-header p {
  font-size: 16px;
  color: #64748B;
}

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

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.icon-blue {
  background: #EFF6FF;
}

.icon-teal {
  background: #F0FDFA;
}

.icon-amber {
  background: #FEF3C7;
}

.feature-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1E293B;
}

.feature-item p {
  font-size: 15px;
  color: #64748B;
}

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

  .about-content {
    gap: 48px;
  }

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

  .form-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-info-cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .info-card {
    flex: 1;
    min-width: 280px;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    height: auto;
    padding: 16px 24px;
    justify-content: flex-start;
  }

  .menu-toggle {
    display: inline-flex;
    order: 1;
  }

  .logo {
    order: 2;
    flex: 1;
    justify-content: center;
  }

  .primary-nav {
    width: 100%;
    order: 3;
  }

  .primary-nav ul {
    display: none;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 12px;
  }

  .primary-nav.is-open ul {
    display: flex;
  }

  .primary-nav a {
    justify-content: center;
  }

  .hero {
    padding: 80px 24px 60px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-header h2 {
    font-size: 32px;
  }

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

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid .project-card:nth-child(n) {
    grid-column: auto;
  }

  .project-card {
    height: 280px;
  }

  .carousel-slide img {
    height: 350px;
  }

  .cta-content h2 {
    font-size: 28px;
  }

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

  .main-content {
    padding: 60px 24px;
  }

  .content-container {
    margin-bottom: 60px;
  }

  .contact-form {
    padding: 32px 24px;
  }

  .contact-info-cards {
    flex-direction: column;
  }

  .additional-info {
    padding: 48px 24px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .logo img {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

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

  .btn {
    width: 100%;
    justify-content: center;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .project-card {
    height: 300px;
  }

  .carousel-slide img {
    height: 300px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .prev-btn {
    left: 12px;
  }

  .next-btn {
    right: 12px;
  }

  .contact-form {
    padding: 24px 20px;
  }

  .info-card {
    padding: 24px;
  }

  .additional-info {
    padding: 40px 20px;
  }
}

.footer-logo-name {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.footer-logo-text {
  margin-bottom: 0!important;
}

/*
inside .footer-section the nav ul should be {
  list-style: none;
  display: flex;
  gap: 0px;
} 
*/

.footer-section ul {
  list-style: none;
  display: flex;
  gap: 0px;
}