html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
  max-width: 100vw;
  overflow-x: hidden;
}
* {
  box-sizing: border-box;
}
@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@400;600;700&display=swap');

:root {
  --red: #00b793;
  --blue: #1976d2;
  --white: #f4f6fb;
  --dark: #181824;
  --darkblue: #23243a;
  --darkred: #4b0707;
  --gray: #23243a;
  --accent: #00b793;
  --card-bg: #23243a;
  --border: #31324a;
}

/* Modern theme overrides */
:root {
  --text: #0f172a;
  --muted-text: #334155;
  --bg: #f8fafc;
  --surface: #ffffff;
  --blue: #0ea5e9;
  --accent: #00b793;
  --border: #e5e7eb;
}

body {
  margin: 0;
  font-family: 'Urbanist', system-ui, -apple-system, 'Segoe UI', Roboto, 'Inter', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

header {
  background: var(--surface);
  box-shadow: 0 1px 0 var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.3rem 1rem;
  position: relative;
}
.logo {
  flex: 0 0 auto;
}
.logo a {
  display: block;
  line-height: 0;
}
.logo img {
  height: 80px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.logo img:hover {
  opacity: 0.8;
}

/* Hero image styling */
.hero-image-container {
  width: 100%;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  background: transparent;
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: block;
  object-fit: cover;
}

/* Mobile-specific hero image */
.hero-image-mobile {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark overlay on hero image */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* Hero content (title and button) */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: #ffffff;
  width: 90%;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.hero-cta {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
}

.hero-cta:hover {
  background: #00b793;
  border-color: #00b793;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 183, 147, 0.4);
}

/* Responsive hero image for larger screens */
@media (min-width: 1200px) {
  .hero-image-container {
    min-height: 450px;
  }
  
  .hero-image {
    min-height: 450px;
  }
}

@media (max-width: 768px) {
  .hero-image-container {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero-image {
    display: none;
  }
  
  .hero-image-mobile {
    display: block;
    height: 100%;
    max-height: none;
    object-fit: cover;
  }
  
  .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    padding: 1rem;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
  }
  
  .hero-cta {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
  }
}

/* Home page hero brand coloring - kept for other sections */
body.home .brand-hero {
  background: #0e2a47 !important; /* dark blue */
  color: #ffffff !important;
}
body.home .brand-hero h1,
body.home .brand-hero p,
body.home .brand-hero .highlight {
  color: #ffffff !important;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  margin: 0 auto;
  padding: 0;
  flex: 1 1 auto;
  justify-content: center;
}
.nav-phone {
  flex: 0 0 auto;
  margin-left: auto;
  font-weight: 700;
  color: var(--red);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
nav a:hover {
  color: var(--accent);
  background: none;
}

/* Dropdown styles */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Language Dropdown Styles */
.language-dropdown {
  position: relative;
  display: inline-block;
}

.language-selector {
  display: flex;
  align-items: center;
  padding: 0.3rem 0.5rem !important;
  cursor: pointer;
}

.flag-icon {
  width: 28px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}

.language-selector:hover .flag-icon {
  transform: scale(1.1);
}

.language-menu {
  min-width: 160px !important;
}

.language-option {
  display: flex !important;
  align-items: center;
  gap: 0.8rem;
  padding: 0.65rem 1rem !important;
}

.language-option .flag-icon {
  width: 24px;
}

.language-option span {
  font-weight: 600;
  font-size: 0.95rem;
}

/* Center language dropdown below flag */
.language-dropdown .dropdown-content {
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--surface);
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1000;
  border-radius: 6px;
  border: 1px solid var(--border);
  top: 100%;
  left: 0;
  margin-top: 0;
  padding-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.dropdown-content a {
  color: var(--text);
  padding: 0.75rem 1rem;
  text-decoration: none;
  display: block;
  border-radius: 0;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background-color 0.2s, color 0.2s;
}

.dropdown-content a:hover {
  background-color: var(--accent);
  color: white;
}

.dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  visibility: visible;
}


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

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > a {
  display: block;
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  position: relative;
}

.dropdown-submenu > a::after {
  content: '›';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--muted-text);
  transition: transform 0.2s, color 0.2s;
}

.dropdown-submenu:hover > a,
.dropdown-submenu > a:focus,
.dropdown-submenu.active-submenu > a {
  background-color: var(--accent);
  color: #ffffff;
  outline: none;
}

.dropdown-submenu:hover > a::after,
.dropdown-submenu > a:focus::after,
.dropdown-submenu.active-submenu > a::after {
  color: #ffffff;
  transform: translateY(-50%) rotate(90deg);
}

.submenu-content {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: -1px;
  background-color: var(--surface);
  min-width: 200px;
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.15);
  padding: 0.5rem 0;
  z-index: 1000;
}

.submenu-content a {
  padding: 0.65rem 1rem;
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.dropdown-submenu:hover > .submenu-content,
.dropdown-submenu:focus-within > .submenu-content,
.dropdown-submenu.active-submenu > .submenu-content {
  display: block;
}

.dropdown-submenu:hover > .submenu-content a:hover,
.submenu-content a:focus {
  background-color: var(--accent);
  color: #ffffff;
  outline: none;
}

.dropdown.active .dropdown-content {
  display: block !important;
}

/* Hamburger Menu Styles */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--text);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 3px;
}

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

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

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

.hero {
  background: linear-gradient(135deg, rgba(14,165,233,0.15) 0%, rgba(0,183,147,0.15) 100%);
  text-align: center;
  padding: 3rem 1rem 2.5rem 1rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  font-size: 2.1rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}
.hero .highlight {
  color: var(--blue);
  font-weight: 700;
}

.cta, .contact-form button {
  display: inline-block;
  margin-top: 1.1rem;
  padding: 0.45rem 1.2rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,183,147,0.20);
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
}
.cta:hover, .contact-form button:hover {
  background: #00b793;
  transform: translateY(-2px) scale(1.04);
}

section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 2rem 0;
  background: var(--bg);
  color: var(--text);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
section h2, section h1 {
  color: var(--text);
  margin-top: 0;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
}

/* Unify section backgrounds for a cleaner, modern look */
.section-darkblue,
.section-white,
.section-blue,
.section-lightred,
.section-darkred {
  background: var(--bg) !important;
  color: var(--text) !important;
}

/* Gray sections for home page */
.section-gray {
  background: #f2f5f9 !important;
  color: var(--text) !important;
}
.section-darkblue h2, .section-darkblue h1,
.section-white h2, .section-white h1,
.section-blue h2, .section-blue h1,
.section-lightred h2, .section-lightred h1,
.section-darkred h2, .section-darkred h1,
.section-gray h2, .section-gray h1 {
  color: var(--text) !important;
}
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  padding: 0;
  list-style: none;
  justify-content: center;
}
.services-list li {
  background: var(--surface);
  color: var(--text);
  padding: 0.7rem 1.1rem;
  border-radius: 8px;
  font-weight: 600;
  flex: 1 1 180px;
  box-shadow: 0 1px 2px rgba(15,23,42,0.06);
  border: 1px solid var(--border);
  font-size: 1rem;
}
/* Portfolio Albums */
.portfolio-albums {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  contain: layout style paint;
}

.album-card {
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.album-card:hover {
  transform: translateY(-8px) scale(1.02) translateZ(0);
  box-shadow: 0 12px 32px rgba(0, 183, 147, 0.2);
}

.album-thumbnail {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

.album-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease-out;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.album-card:hover .album-thumbnail img {
  transform: scale(1.1) translateZ(0);
}

.album-title {
  padding: 1.2rem 1rem 0.5rem 1rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
}

.album-count {
  padding: 0 1rem 1.2rem 1rem;
  font-size: 0.95rem;
  color: var(--muted-text);
  text-align: center;
}

/* Gallery Modal */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  animation: fadeIn 0.3s ease;
  overflow-y: auto;
}

.gallery-modal.show {
  display: block;
}

.gallery-modal-content {
  position: relative;
  max-width: 1400px;
  margin: 2rem auto;
  padding: 2rem;
  background: transparent;
}

.gallery-close {
  position: fixed;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  transition: color 0.3s ease;
  background: rgba(0, 0, 0, 0.5);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.gallery-close:hover {
  color: #fff;
  background: rgba(0, 183, 147, 0.8);
}

.gallery-title {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

.gallery-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
  contain: layout style paint;
}

.gallery-image-item {
  position: relative;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.gallery-image-item:hover {
  transform: translateY(-5px) scale(1.02) translateZ(0);
  box-shadow: 0 8px 24px rgba(0, 183, 147, 0.4);
}

.gallery-image-item img {
  width: 100%;
  height: auto;
  min-height: 200px;
  max-height: 400px;
  object-fit: cover;
  display: block;
  background: #1a1a1a;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.gallery-image-description {
  padding: 1rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.85);
  font-size: 0.95rem;
  line-height: 1.5;
  min-height: 60px;
  display: flex;
  align-items: center;
  margin-top: 0;
}

/* Image Zoom Modal */
.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

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

/* Modal/Lightbox Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.modal-content {
  max-width: 90%;
  max-height: 75%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.3s ease;
  margin-bottom: 1rem;
}

.image-description {
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  max-width: 80%;
  text-align: center;
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 1rem;
}


.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  transition: color 0.3s ease;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: center;
}
.testimonials blockquote {
  background: var(--surface);
  color: var(--text);
  border-left: 6px solid var(--accent);
  padding: 0.8rem 1.1rem;
  border-radius: 8px;
  margin: 0;
  font-style: italic;
  box-shadow: 0 1px 2px rgba(15,23,42,0.06);
}
.testimonials span {
  display: block;
  margin-top: 0.5rem;
  font-weight: 700;
  color: var(--accent);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-width: 400px;
  margin-bottom: 1.2rem;
}
.contact-form label {
  font-weight: 600;
  color: var(--muted-text);
}
.contact-form input,
.contact-form textarea {
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.98rem;
  background: var(--surface);
  color: var(--text);
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--blue);
  background: var(--surface);
}
.contact-info {
  margin-bottom: 1rem;
}
.contact-info a {
  color: var(--blue);
  text-decoration: underline;
}
.map iframe {
  width: 100%;
  border-radius: 8px;
  margin-top: 1rem;
  border: 1px solid var(--border);
}
footer {
  background: #1a1a2e;
  color: #ffffff;
  padding: 3rem 0 1rem 0;
  margin-top: 2rem;
  flex-shrink: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-section h3 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.footer-section p {
  color: #cccccc;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-section ul li a {
  color: #cccccc;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

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

.footer-contact p {
  margin-bottom: 0.5rem;
}

.footer-contact span {
  color: #cccccc;
  font-weight: 600;
}

.footer-contact a {
  color: #00b793;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: #00b793;
}

.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 2rem;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

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

.footer-bottom a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #ffd700;
}
.section-blue {
  background: var(--blue);
  color: var(--white);
}
.section-darkblue {
  background: var(--darkblue);
  color: var(--white);
}
.section-white {
  background: var(--white);
  color: var(--dark);
}
.section-lightred {
  background: #3a2323;
  color: var(--white);
}
.section-darkred {
  background: var(--darkred);
  color: var(--white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 1.5rem 0;
  justify-items: center;
}

.service-card {
  position: relative;
  background: var(--card-bg);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(30,40,60,0.13);
  transition: transform 0.18s, box-shadow 0.18s;
  width: 100%;
  max-width: 270px;
  min-height: 270px;
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px rgba(25,118,210,0.18);
}
.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.92) contrast(1.08);
}
.service-title {
  position: absolute;
  left: 0; right: 0; top: 0;
  background: linear-gradient(180deg, rgba(0,183,147,0.92) 80%, rgba(0,183,147,0.0) 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 1.08rem;
  padding: 0.8rem 1rem 0.7rem 1rem;
  text-align: center;
  letter-spacing: 0.01em;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,183,147,0.10);
}
@media (max-width: 700px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
  .service-card {
    max-width: 98vw;
  }
}
@media (max-width: 600px) {
  .hero-image-container {
    min-height: 55vh;
  }
  
  .hero-content {
    width: 95%;
    padding: 0.8rem;
  }
  
  .hero-content h1 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    line-height: 1.2;
  }
  
  .hero-cta {
    padding: 0.5rem 1.2rem;
    font-size: 0.95rem;
  }
  
  nav {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0.8rem 1rem;
  }
  
  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .logo img {
    height: 50px;
  }
  
  .hamburger {
    margin-left: auto;
  }
  
  nav ul {
    justify-content: center;
    margin: 0.5rem 0;
  }
  .nav-phone {
    display: none;
  }
  section,
  .section-blue,
  .section-lightred {
    padding: 0.7rem 0;
  }
  .services-list {
    flex-direction: column;
    gap: 0.7rem;
  }
  .portfolio-albums {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 0 0.5rem;
  }
  
  .gallery-images {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }
  
  .gallery-title {
    font-size: 1.5rem;
  }
  
  .gallery-modal-content {
    padding: 1rem;
  }
  
  .gallery-close {
    top: 10px;
    right: 20px;
    font-size: 30px;
    width: 40px;
    height: 40px;
  }
  
  .modal-content {
    max-width: 95%;
    max-height: 80%;
  }
  
  .close {
    top: 10px;
    right: 20px;
    font-size: 30px;
  }
  
  /* Align all bullet points to the left on mobile */
  ul, ol {
    text-align: left;
  }
  
  .section-content ul,
  .section-content ol,
  .service-content ul,
  .service-content ol {
    text-align: left;
  }
  
}

@media (max-width: 480px) {
  .hero-image-container {
    min-height: 50vh;
  }
  
  .hero-content {
    width: 95%;
    padding: 0.5rem;
  }
  
  .hero-content h1 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.1;
  }
  
  .hero-cta {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
  }
  
  .logo img {
    height: 45px;
  }
  
  .portfolio-albums {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 0.3rem;
  }
  
  .gallery-images {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .gallery-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }
  
  .gallery-image-item img {
    min-height: 150px;
    max-height: 300px;
  }
  
  .modal-content {
    max-width: 98%;
    max-height: 75%;
  }
  
  .close {
    top: 5px;
    right: 15px;
    font-size: 25px;
  }
  
  /* Align all bullet points to the left on mobile */
  ul, ol {
    text-align: left;
  }
  
  .section-content ul,
  .section-content ol,
  .service-content ul,
  .service-content ol {
    text-align: left;
  }
  
} 

/* Carousel styles */
.carousel {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 2rem auto;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.carousel-image {
  min-width: 100%;
  width: 100%;
  object-fit: cover;
  height: 480px; /* Taller for better visibility */
  border-radius: 10px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  color: var(--accent);
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 2;
  border-radius: 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.carousel-btn:hover {
  opacity: 1;
  background: none;
  color: #00b793;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
} 

/* White background for non-index pages */
body.white-bg {
  background: var(--bg) !important;
  color: var(--text) !important;
} 

/* White content area for non-index pages */
.content-white {
  background: var(--surface) !important;
  color: var(--text) !important;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15,23,42,0.06);
  padding: 2rem 1.5rem;
  margin: 2rem auto;
  max-width: 900px;
}
.content-white h1, .content-white h2, .content-white h3 {
  color: var(--text) !important;
}
.content-white a {
  color: var(--blue);
  text-decoration: underline;
}
.content-white a.cta, .content-white a.cta-link {
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  padding: 0.45rem 1.2rem;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}
.content-white a.cta:hover, .content-white a.cta-link:hover {
  background: #00b793;
  color: #fff;
} 

/* Section content centering and width */
.section-white, .section-darkblue {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.2rem 0 2.2rem 0;
}
.section-content {
  max-width: 700px;
  width: 90%;
  text-align: left;
  margin: 0 auto;
  padding-left: 5%;
  padding-right: 5%;
  box-sizing: border-box;
}
.section-white h1, .section-white h2,
.section-darkblue h1, .section-darkblue h2 {
  text-align: center;
  margin-bottom: 1.1rem;
}
.section-white ul, .section-darkblue ul {
  padding-left: 1.5rem;
} 
.section-white h1, .section-darkblue h1 {
  font-size: 2.3rem;
}
.section-white h2, .section-darkblue h2 {
  font-size: 1.6rem;
}
.section-content p, .section-content ul, .section-content li, .section-content a.cta {
  font-size: 1.18rem;
}
.section-content ul {
  margin-bottom: 0.7rem;
}
.section-content li {
  margin-bottom: 0.3rem;
} 
.section-white:first-of-type .section-content {
  max-width: 850px;
} 
main {
  flex: 1 0 auto;
}
footer {
  margin-top: 0 !important;
  padding-top: 0 !important;
} 

#dece-teaser h2 {
  color: #000000;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  text-align: center;
  letter-spacing: 0.02em;
}

#servicii-teaser h2,
#faq h2 {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.02em;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  background: none;
  margin: 0 auto 1.5rem auto;
  padding: 0;
  max-width: 1200px;
}
.why-us-card {
  background: #eaf3f9;
  border-top: 5px solid #00b793;
  border-radius: 0 0 8px 8px;
  text-align: center;
  padding: 2rem 1rem 1.5rem 1rem;
  box-shadow: 0 2px 8px rgba(30,40,60,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 320px;
  transition: box-shadow 0.25s cubic-bezier(.4,2,.6,1), transform 0.18s cubic-bezier(.4,2,.6,1);
  cursor: pointer;
}
.why-us-card:hover {
  box-shadow: 0 8px 32px rgba(0,183,147,0.18), 0 2px 8px rgba(30,40,60,0.10);
  transform: translateY(-6px) scale(1.04);
}
.why-us-card:hover .why-us-icon svg {
  filter: drop-shadow(0 2px 8px #00b79355);
}
.why-us-icon {
  margin-bottom: 1.1rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* SVG colors are now defined directly in the HTML */
.why-us-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 0.7rem 0;
  color: #181824;
}
.why-us-card p {
  color: #181824;
  font-size: 1.05rem;
  margin: 0;
  font-weight: 500;
}
@media (max-width: 1100px) {
  .why-us-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }
  
  /* Align all bullet points to the left on mobile */
  ul, ol {
    text-align: left;
  }
  
  .section-content ul,
  .section-content ol,
  .service-content ul,
  .service-content ol {
    text-align: left;
  }
}
@media (max-width: 700px) {
  #dece-teaser h2,
  #servicii-teaser h2,
  #faq h2,
  #portofoliu-teaser h2,
  #contact-teaser h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .why-us-card {
    min-height: 0;
    padding: 1.5rem 0.7rem 1.2rem 0.7rem;
  }
  
  /* Align all bullet points to the left on mobile */
  ul, ol {
    text-align: left;
  }
  
  .section-content ul,
  .section-content ol,
  .service-content ul,
  .service-content ol {
    text-align: left;
  }
} 

/* Modern grid for services: 2 per row, responsive */
.services-grid.modern-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 2rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.sbs-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin: 2rem auto 3rem;
  max-width: 1250px;
}

.sbs-service-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: start;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 40px -24px rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.sbs-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px -30px rgba(14, 165, 233, 0.35);
  border-color: rgba(14, 165, 233, 0.25);
}

.sbs-service-image {
  width: 140px;
  height: 140px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(14,165,233,0.08) 0%, rgba(0,183,147,0.08) 100%);
  padding: 1rem;
}

.sbs-service-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.sbs-service-content h3 {
  margin: 0 0 0.65rem 0;
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: 0.01em;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.sbs-service-content {
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.sbs-service-content p {
  margin: 0;
  color: var(--muted-text);
  line-height: 1.6;
  font-size: 0.88rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

@media (max-width: 1050px) {
  .sbs-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 750px) {
  .sbs-services-grid {
    grid-template-columns: 1fr;
  }
  
  .sbs-service-card {
    grid-template-columns: 90px 1fr;
    gap: 1rem;
    padding: 1.25rem 1.4rem;
    align-items: start;
  }
  
  .sbs-service-content {
    min-width: 0;
  }
  
  .sbs-service-image {
    width: 90px;
    height: 90px;
    padding: 0.5rem;
    border-radius: 12px;
  }
  
  .sbs-service-content h3 {
    font-size: 1.1rem;
  }
  
  .sbs-service-content p {
    font-size: 0.95rem;
  }
}
.services-grid.modern-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 2rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
@media (max-width: 900px) {
  .services-grid.modern-grid {
    grid-template-columns: 1fr;
    gap: 2rem 0;
  }
  /* Mobile Navigation */
  .hamburger {
    display: flex;
  }
  
  nav ul {
    position: fixed;
    left: -100%;
    top: 66px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    margin: 0 !important;
  }
  
  nav ul.active {
    left: 0;
  }
  
  nav ul li {
    margin: 0.5rem 0;
  }
  
  nav ul li a {
    padding: 0.8rem 1rem;
    display: block;
  }
  
  .nav-phone {
    display: none;
  }
  
  /* Dropdown adjustments for mobile */
  .dropdown-content {
    position: static;
    display: none;
    box-shadow: none;
    background-color: #f5f5f5;
    margin-top: 0;
  }
  
  .dropdown.active .dropdown-content {
    display: block;
  }
  
  .dropdown:hover .dropdown-content {
    display: none;
  }

  /* Language dropdown on mobile */
  .language-dropdown .dropdown-content {
    background-color: #ffffff;
  }

  .language-dropdown .language-option {
    padding: 0.8rem 1.5rem !important;
  }

  .dropdown-submenu {
    width: 100%;
  }

  .dropdown-submenu > a {
    padding: 0.75rem 1.5rem;
  }

  .dropdown-submenu > a::after {
    right: 1.5rem;
  }

  .submenu-content {
    position: static;
    display: none;
    border: none;
    box-shadow: none;
    padding: 0;
    background: transparent;
    margin-left: 0;
  }

  .dropdown-submenu.active-submenu > .submenu-content {
    display: block;
  }
  
  .dropdown-submenu.active-submenu > a {
    background-color: rgba(0, 183, 147, 0.1);
    color: var(--accent);
  }
  
  .dropdown-submenu.active-submenu > a::after {
    transform: translateY(-50%) rotate(90deg);
    color: var(--accent);
  }

  .submenu-content a {
    padding: 0.65rem 2.5rem;
    background: transparent;
    color: var(--text);
  }

  .submenu-content a:hover {
    background: rgba(0, 183, 147, 0.15);
    color: var(--accent);
  }
  
  /* Align all bullet points to the left on mobile */
  ul, ol {
    text-align: left;
  }
  
  .section-content ul,
  .section-content ol,
  .service-content ul,
  .service-content ol {
    text-align: left;
  }
}

.service-card.hover-reveal {
  position: relative;
  width: 400px;
  height: 320px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(30,40,60,0.10);
  transition: box-shadow 0.2s, transform 0.2s;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.service-card.hover-reveal:hover {
  box-shadow: 0 8px 32px rgba(30,40,60,0.18);
  transform: translateY(-6px) scale(1.03);
}
.service-img-large {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 22px;
  transition: filter 0.3s, transform 0.3s;
}
.service-card.hover-reveal:hover .service-img-large {
  filter: blur(2px) brightness(0.7);
  transform: scale(1.04);
}
.service-overlay-hover {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  background: rgba(0, 183, 147, 0.92);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  padding: 2.2rem 1.2rem;
}
.service-card.hover-reveal:hover .service-overlay-hover {
  opacity: 1;
  pointer-events: auto;
}
.service-overlay-hover .service-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  letter-spacing: 0.01em;
  text-align: center;
  position: static;
  background: none;
  box-shadow: none;
  border-radius: 0;
}
.service-overlay-hover .service-desc {
  font-size: 1.08rem;
  font-weight: 400;
  color: #fff;
  text-shadow: 0 2px 8px rgba(24,24,36,0.18);
  text-align: left;
  width: 100%;
  margin-top: auto;
} 

/* Update card and image for less rounded corners and broader images */
.service-card.hover-reveal {
  border-radius: 8px;
  width: 320px;
  height: 320px;
}
.service-img-large {
  border-radius: 8px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  padding: 0;
}

/* Service Section Styles */
.service-section {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 1.5rem;
  align-items: center;
  margin: 2rem auto;
  max-width: 1000px;
  width: 95%;
  padding: 0 1rem;
  padding-left: 8%;
  padding-right: 3%;
  box-sizing: border-box;
}

.service-section.reverse {
  grid-template-columns: 1fr 1fr;
}

.service-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.service-content h3 {
  font-size: 1.4rem;
  margin: 1.5rem 0 1rem 0;
  color: var(--red);
  font-weight: 600;
}

.service-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.service-content ul {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.service-content li {
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--white);
}

.service-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  transition: transform 0.2s ease-out;
}

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

.service-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease-out;
}

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

/* Hero subtitle */
.hero-subtitle {
  font-size: 1.3rem;
  line-height: 1.6;
  margin: 1.5rem 0 2rem 0;
  color: var(--white);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Text center utility */
.text-center {
  text-align: center;
}

/* CTA buttons container */
.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  flex-wrap: wrap;
  padding: 2rem 0;
}

/* Override for buttons inside .section-content to ensure proper alignment */
.section-content .cta-buttons {
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  max-width: none !important;
}

/* Override for buttons inside .cta-buttons to prevent positioning conflicts */
.section-content .cta-buttons .cta,
.section-content .cta-buttons .cta-link {
  margin: 0 !important;
}

.cta-link {
  display: inline-block;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--accent);
  text-decoration: none;
  border: 2px solid var(--accent);
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
  margin: 0;
}

.cta-link:hover {
  background: var(--accent);
  color: #fff;
  transform: none;
  box-shadow: none;
}

/* Service pages CTA section - extra vertical centering */
main > section:last-of-type.section-white {
  padding: 4rem 0;
  display: flex;
  align-items: center;
  min-height: 400px;
}

main > section:last-of-type.section-white .section-content {
  width: 100%;
}

/* Make .cta buttons in .cta-buttons container match the styling */
.cta-buttons .cta,
.cta-buttons .cta-link {
  padding: 0.7rem 1.5rem;
  font-size: 1.1rem;
  margin: 0 !important;
  border-radius: 8px;
  height: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  white-space: nowrap;
  flex-shrink: 0;
  vertical-align: top;
}

/* Center hero CTA buttons on service pages */
.section-darkblue .section-content {
  text-align: center;
}

.section-darkblue .section-content .cta {
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

.section-white .section-content > .cta:not(.cta-buttons .cta) {
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2rem;
}

/* Responsive design for service sections */
@media (max-width: 1000px) {
  .service-section,
  .service-section.reverse {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 90%;
    padding: 0 1rem;
  }
  
  .service-content h2 {
    font-size: 1.8rem;
  }
  
  .service-content h3 {
    font-size: 1.3rem;
  }
  
  .service-content p {
    font-size: 1rem;
  }
  
  .service-content li {
    font-size: 1rem;
  }
  
  .service-image img {
    height: 280px;
  }
  /* Reduce carousel height on medium screens */
  .carousel-image {
    height: 360px;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .cta-buttons {
    flex-direction: row;
    gap: 1rem;
    padding: 1.5rem 0;
  }
  
  main > section:last-of-type.section-white {
    padding: 3rem 0;
    min-height: 300px;
  }
  
  /* Align all bullet points to the left on mobile */
  ul, ol {
    text-align: left;
  }
  
  .section-content ul,
  .section-content ol,
  .service-content ul,
  .service-content ol {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .service-section,
  .service-section.reverse {
    gap: 1rem;
    width: 90%;
    padding: 0 1rem;
    margin: 1rem auto;
  }
  
  .service-content h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
  
  .service-content h3 {
    font-size: 1.2rem;
    margin: 1rem 0 0.8rem 0;
  }
  
  .service-content p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
  
  .service-content li {
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
  }
  
  .service-image img {
    height: 220px;
  }
  /* Reduce carousel height on small screens */
  .carousel-image {
    height: 260px;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin: 1rem 0 1.5rem 0;
  }
  
  .cta-buttons {
    padding: 1rem 0;
  }
  
  main > section:last-of-type.section-white {
    padding: 2rem 0;
    min-height: 250px;
  }
  
  /* Align all bullet points to the left on mobile */
  ul, ol {
    text-align: left;
  }
  
  .section-content ul,
  .section-content ol,
  .service-content ul,
  .service-content ol {
    text-align: left;
  }
} 

/* Global rectangular teal buttons (placed at end for precedence) */
.cta,
.contact-form button,
.content-white a.cta {
  background: transparent; /* outline by default */
  color: #00b793;
  border: 2px solid #00b793;
  border-radius: 8px;
  padding: 0.35rem 0.9rem; /* reduced padding */
  box-shadow: none;
}

.cta-link,
.content-white a.cta-link {
  background: transparent; /* outline by default */
  color: #898989;
  border: 2px solid #898989;
  border-radius: 8px;
  padding: 0.35rem 0.9rem; /* reduced padding */
  box-shadow: none;
}

/* Center titles and content for home page Portfolio and Contact sections */
#portofoliu-teaser,
#contact-teaser {
  text-align: center;
}

#portofoliu-teaser h2,
#contact-teaser h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff !important;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

#contact-teaser p,
#contact-teaser .cta-link {
  text-align: center;
}

#contact-teaser p {
  max-width: 650px;
  margin: 0 auto 2rem auto;
  line-height: 1.5;
}

/* Square corners for service cards */
.service-card {
  border-radius: 0;
}

.service-card.hover-reveal {
  border-radius: 0;
}

.service-img-large {
  border-radius: 0;
}

.service-title {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.cta:hover,
.contact-form button:hover,
.content-white a.cta:hover {
  background: #00b793; /* fill on hover */
  color: #fff; /* text becomes white when filled */
  transform: none; /* prevent size jump on hover */
}

.cta-link:hover,
.content-white a.cta-link:hover {
  background: #898989; /* fill on hover */
  color: #fff; /* text becomes white when filled */
  transform: none; /* prevent size jump on hover */
}

/* Ensure text is black on pages with white background (e.g., service pages) */
body.white-bg .service-content h2,
body.white-bg .service-content p,
body.white-bg .service-content li,
body.white-bg .hero-subtitle {
  color: var(--text) !important;
}

/* Remove gap between Portfolio and Contact sections on home page */
#portofoliu-teaser.section-gray {
  padding-bottom: 4rem !important;
  margin-bottom: 0 !important;
  border-bottom: none !important;
  padding-top: 4rem !important;
}

#portofoliu-teaser h2 {
  margin-top: 0;
  margin-bottom: 2rem;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text) !important;
}

#contact-teaser.section-gray {
  padding-top: 0 !important;
  margin-top: 4rem !important;
  border-top: none !important;
}

/* How It Works Section Styles */
#cum-functioneaza {
  background: var(--bg) !important;
  padding: 4rem 0 !important;
}

#cum-functioneaza h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--text);
  letter-spacing: 0.02em;
}

.how-it-works-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

.how-it-works-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.how-it-works-intro h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.how-it-works-intro .subtitle {
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 600;
  margin: 0;
}

.how-it-works-main {
  margin-bottom: 3rem;
}

.how-it-works-main h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.how-it-works-main p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--muted-text);
  margin-bottom: 1.5rem;
}

.how-it-works-points {
  margin-bottom: 3rem;
}

.how-it-works-points h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.how-it-works-points > p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--muted-text);
  margin-bottom: 1.5rem;
}

.test-categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.test-category-card {
  background: #eaf3f9;
  border-top: 4px solid #00b793;
  border-radius: 0 0 8px 8px;
  padding: 1.2rem 0.8rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(30,40,60,0.07);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 180px;
}

.test-category-card:hover {
  box-shadow: 0 8px 24px rgba(0,183,147,0.18);
  transform: translateY(-4px);
}

.test-category-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.8rem 0;
  line-height: 1.3;
}

.test-category-card p {
  font-size: 0.85rem;
  color: var(--muted-text);
  margin: 0;
  line-height: 1.5;
  flex-grow: 1;
}

.how-it-works-tires {
  background: var(--surface);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border);
}

.how-it-works-tires h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.how-it-works-tires > p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--muted-text);
  margin-bottom: 1.5rem;
}

.tire-indicators {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.tire-indicators li {
  padding: 1rem 1.5rem;
  margin-bottom: 0.8rem;
  border-radius: 8px;
  background: #f8fafc;
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
}

.tire-indicators li:hover {
  background: #f1f5f9;
  transform: translateX(3px);
}

.tire-indicators li strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
}

.tire-red {
  color: #dc2626;
}

.tire-yellow {
  color: #d97706;
}

.tire-green {
  color: #16a34a;
}

.tire-indicators li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-text);
}

/* Responsive design for How It Works section */
@media (max-width: 1100px) {
  .test-categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  #cum-functioneaza {
    padding: 3rem 0 !important;
  }
  
  #cum-functioneaza h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  
  .how-it-works-content {
    padding: 0 0.5rem;
  }
  
  .how-it-works-intro h3 {
    font-size: 1.5rem;
  }
  
  .how-it-works-intro .subtitle {
    font-size: 1.1rem;
  }
  
  .how-it-works-main h3,
  .how-it-works-points h3,
  .how-it-works-tires h3 {
    font-size: 1.4rem;
  }
  
  .how-it-works-main p,
  .how-it-works-points > p,
  .how-it-works-tires > p {
    font-size: 1rem;
  }
  
  .test-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .test-category-card {
    padding: 1rem 0.7rem;
    min-height: 160px;
  }
  
  .test-category-card h4 {
    font-size: 0.95rem;
  }
  
  .test-category-card p {
    font-size: 0.8rem;
  }
  
  .how-it-works-tires {
    padding: 1.5rem;
  }
  
  .tire-indicators li {
    padding: 0.8rem 1rem;
  }
}

@media (max-width: 480px) {
  #cum-functioneaza h2 {
    font-size: 1.6rem;
  }
  
  .how-it-works-intro h3 {
    font-size: 1.3rem;
  }
  
  .how-it-works-main h3,
  .how-it-works-points h3,
  .how-it-works-tires h3 {
    font-size: 1.2rem;
  }
  
  .how-it-works-main p,
  .how-it-works-points > p,
  .how-it-works-tires > p {
    font-size: 0.95rem;
  }
  
  .test-categories-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  
  .test-category-card {
    padding: 1rem 0.6rem;
    min-height: 140px;
  }
  
  .test-category-card h4 {
    font-size: 0.9rem;
  }
  
  .test-category-card p {
    font-size: 0.75rem;
  }
  
  .how-it-works-tires {
    padding: 1.2rem;
  }
}

/* Testimonials Section Styles */
#testimonials {
  background: var(--surface) !important;
  padding: 4rem 0 !important;
}

#testimonials h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--text);
  letter-spacing: 0.02em;
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  justify-items: center;
}

.testimonial-card {
  width: 100%;
  max-width: 450px;
  background: var(--surface);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: #00b793;
  border-radius: 16px 16px 0 0;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.15);
}

.testimonial-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.stars {
  color: #fbbf24;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 1.5rem 0;
  font-style: italic;
  position: relative;
  flex-grow: 1;
}

.testimonial-card blockquote::before {
  content: '"';
  font-size: 3rem;
  color: var(--accent);
  position: absolute;
  top: -10px;
  left: -5px;
  font-family: serif;
  opacity: 0.3;
}

.testimonial-author {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.author-info h4 {
  margin: 0 0 0.3rem 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.author-info span {
  color: var(--muted-text);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Responsive design for testimonials */
@media (max-width: 768px) {
  .testimonials-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 0.5rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  #testimonials h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  
  .testimonial-card blockquote {
    font-size: 1rem;
  }
  
  /* Align all bullet points to the left on mobile */
  ul, ol {
    text-align: left;
  }
  
  .section-content ul,
  .section-content ol,
  .service-content ul,
  .service-content ol {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .testimonial-card {
    padding: 1.2rem;
  }
  
  .testimonial-card blockquote {
    font-size: 0.95rem;
  }
  
  .stars {
    font-size: 1rem;
  }
  
  /* Align all bullet points to the left on mobile */
  ul, ol {
    text-align: left;
  }
  
  .section-content ul,
  .section-content ol,
  .service-content ul,
  .service-content ol {
    text-align: left;
  }
}

/* FAQ Section Styles */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  background: var(--surface);
  transition: background-color 0.3s ease;
  user-select: none;
}

.faq-question:hover {
  background: #f8fafc;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  flex: 1;
  padding-right: 1rem;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.2s ease-out;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 183, 147, 0.1);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: white;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: #f8fafc;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
  margin: 0;
  color: var(--muted-text);
  line-height: 1.6;
  font-size: 1rem;
}

/* FAQ Responsive Design */
@media (max-width: 768px) {
  .faq-container {
    padding: 0 0.5rem;
  }
  
  .faq-question {
    padding: 1.2rem;
  }
  
  .faq-question h3 {
    font-size: 1rem;
    padding-right: 0.8rem;
  }
  
  .faq-icon {
    font-size: 1.3rem;
    width: 20px;
    height: 20px;
  }
  
  .faq-item.active .faq-answer {
    padding: 0 1.2rem 1.2rem 1.2rem;
  }
  
  .faq-answer p {
    font-size: 0.95rem;
  }
  
  /* Align all bullet points to the left on mobile */
  ul, ol {
    text-align: left;
  }
  
  .section-content ul,
  .section-content ol,
  .service-content ul,
  .service-content ol {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .faq-question {
    padding: 1rem;
  }
  
  .faq-question h3 {
    font-size: 0.95rem;
    padding-right: 0.6rem;
  }
  
  .faq-item.active .faq-answer {
    padding: 0 1rem 1rem 1rem;
  }
  
  /* Align all bullet points to the left on mobile */
  ul, ol {
    text-align: left;
  }
  
  .section-content ul,
  .section-content ol,
  .service-content ul,
  .service-content ol {
    text-align: left;
  }
}

/* Contact Page Styles */
.contact-hero {
  text-align: center;
  margin: 2rem 0 3rem 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.contact-encouragement {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
  padding: 0 1rem;
}

.contact-encouragement strong {
  color: var(--accent);
  font-weight: 700;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.contact-info-section {
  background: var(--surface);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border);
}

.contact-info-section h2 {
  color: var(--text);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

.contact-info-modern {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(122, 16, 16, 0.1);
  flex-shrink: 0;
}

.contact-details h3 {
  margin: 0 0 0.3rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted-text);
}

.contact-details a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: #00b793;
  text-decoration: underline;
}

.contact-details span {
  color: var(--text);
  font-weight: 600;
  font-size: 1.1rem;
}

.company-schedule {
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.company-schedule h3 {
  color: var(--text);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  text-align: center;
}

.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

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

.schedule-item .day {
  font-weight: 600;
  color: var(--text);
}

.schedule-item .hours {
  font-weight: 600;
  color: var(--accent);
}

.contact-form-section {
  background: var(--surface);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border);
}

.contact-form-section h2 {
  color: var(--text);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}

.form-description {
  text-align: center;
  color: var(--muted-text);
  margin-bottom: 2rem;
  font-size: 1rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--text);
  font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  background: var(--surface);
  color: var(--text);
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 183, 147, 0.1);
}

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

.submit-btn {
  background: transparent;
  color: #00b793;
  border: 2px solid #00b793;
  border-radius: 8px;
  padding: 0.35rem 0.9rem;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
  display: inline-block;
  text-decoration: none;
}

.submit-btn:hover {
  background: #00b793;
  color: #fff;
  transform: none;
  box-shadow: none;
}

.map-section {
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.map-section h2 {
  color: var(--text);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

.map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border);
}

.map iframe {
  width: 100%;
  height: 300px;
  border: none;
}

/* Contact Page Responsive Design */
@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 0.5rem;
  }
  
  .contact-info-section,
  .contact-form-section {
    padding: 1.5rem;
  }
  
  .contact-encouragement {
    font-size: 1.1rem;
  }
  
  .contact-info-section h2,
  .contact-form-section h2,
  .map-section h2 {
    font-size: 1.6rem;
  }
  
  .contact-item {
    padding: 0.8rem;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
  }
  
  .contact-details h3 {
    font-size: 0.9rem;
  }
  
  .contact-details a,
  .contact-details span {
    font-size: 1rem;
  }
  
  /* Align all bullet points to the left on mobile */
  ul, ol {
    text-align: left;
  }
  
  .section-content ul,
  .section-content ol,
  .service-content ul,
  .service-content ol {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .contact-info-section,
  .contact-form-section {
    padding: 1rem;
  }
  
  .contact-encouragement {
    font-size: 1rem;
  }
  
  .contact-info-section h2,
  .contact-form-section h2,
  .map-section h2 {
    font-size: 1.4rem;
  }
  
  .contact-item {
    padding: 0.6rem;
    gap: 0.8rem;
  }
  
  .contact-icon {
    width: 36px;
    height: 36px;
  }
  
  .contact-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .contact-details h3 {
    font-size: 0.85rem;
  }
  
  .contact-details a,
  .contact-details span {
    font-size: 0.95rem;
  }
  
  .company-schedule {
    padding: 1rem;
  }
  
  .company-schedule h3 {
    font-size: 1.1rem;
  }
  
  .schedule-item {
    font-size: 0.9rem;
  }
  
  /* Align all bullet points to the left on mobile */
  ul, ol {
    text-align: left;
  }
  
  .section-content ul,
  .section-content ol,
  .service-content ul,
  .service-content ol {
    text-align: left;
  }
}

/* Footer Responsive Design */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 0.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  /* Align all bullet points to the left on mobile */
  ul, ol {
    text-align: left;
  }
  
  .section-content ul,
  .section-content ol,
  .service-content ul,
  .service-content ol {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 0.5rem;
  }
  
  .footer-section h3 {
    font-size: 1.1rem;
  }
  
  .footer-section p,
  .footer-section ul li a {
    font-size: 0.9rem;
  }
  
  .footer-bottom {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  .footer-bottom p {
    font-size: 0.85rem;
  }
  
  /* Align all bullet points to the left on mobile */
  ul, ol {
    text-align: left;
  }
  
  .section-content ul,
  .section-content ol,
  .service-content ul,
  .service-content ol {
    text-align: left;
  }
}

/* Floating Social Media Bubbles */
.floating-whatsapp {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #ffffff;
}

.floating-social {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
}

.social-main {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  color: #ffffff;
}

.social-main:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.social-main.active {
  transform: rotate(45deg);
}

.social-bubbles {
  position: absolute;
  right: 0;
  bottom: 70px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.social-bubbles.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.social-bubble {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  text-decoration: none;
}

.social-bubble:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.social-bubble:nth-child(1) {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  animation-delay: 0.1s;
}

.social-bubble:nth-child(2) {
  background: #1877f2;
  animation-delay: 0.2s;
}

.social-bubble:nth-child(3) {
  background: #ff0000;
  animation-delay: 0.3s;
}

.social-bubbles.active .social-bubble {
  animation: bubblePop 0.4s ease forwards;
}

@keyframes bubblePop {
  0% {
    opacity: 0;
    transform: scale(0) translateY(20px);
  }
  50% {
    transform: scale(1.1) translateY(-5px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Responsive adjustments for floating bubbles */
@media (max-width: 768px) {
  .floating-whatsapp,
  .floating-social {
    bottom: 15px;
  }

  .floating-whatsapp {
    left: 15px;
    width: 55px;
    height: 55px;
  }

  .social-main {
    width: 55px;
    height: 55px;
  }

  .social-bubble {
    width: 45px;
    height: 45px;
  }

  .social-bubbles {
    bottom: 65px;
    gap: 12px;
  }

  .floating-whatsapp svg,
  .social-main svg {
    width: 28px;
    height: 28px;
  }

  .social-bubble svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .floating-whatsapp,
  .floating-social {
    bottom: 10px;
  }

  .floating-whatsapp {
    left: 10px;
    width: 50px;
    height: 50px;
  }

  .social-main {
    width: 50px;
    height: 50px;
  }

  .social-bubble {
    width: 40px;
    height: 40px;
  }

  .social-bubbles {
    bottom: 60px;
    gap: 10px;
  }

  .floating-whatsapp svg,
  .social-main svg {
    width: 24px;
    height: 24px;
  }

  .social-bubble svg {
    width: 18px;
    height: 18px;
  }
}