/* Updated all classes with cbs- prefix (cbao services) and new purple/blue web design theme */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  color: #2c3e50;
}

/* Header with new styling */
header {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.cbs-header-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Brand color updated to purple/blue for web design agency */
.cbs-logo {
  font-size: 2.1rem;
  font-weight: 800;
  color: #8e44ad;
  text-decoration: none;
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

nav a {
  text-decoration: none;
  color: #34495e;
  font-weight: 600;
  transition: color 0.3s;
  font-size: 1rem;
}

nav a:hover {
  color: #8e44ad;
}

.cbs-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.7rem;
  cursor: pointer;
  color: #34495e;
}

/* Hero Section with purple gradient and web design workspace image */
.cbs-hero-area {
  background: linear-gradient(135deg, #8e44ad 0%, #3498db 100%);
  color: white;
  padding: 140px 2rem 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cbs-hero-area::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("https://images.unsplash.com/photo-1559028012-481c04fa702d?w=1400&h=700&fit=crop");
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  z-index: 0;
}

.cbs-hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cbs-hero-area h1 {
  font-size: 4rem;
  margin-bottom: 1.3rem;
  font-weight: 800;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.cbs-hero-area p {
  font-size: 1.35rem;
  margin-bottom: 2.3rem;
  opacity: 0.93;
  font-weight: 400;
  line-height: 1.7;
}

.cbs-cta-button {
  display: inline-block;
  background: white;
  color: #8e44ad;
  padding: 1.2rem 3rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.cbs-cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  background: #f8f9fa;
}

/* Stats Section with new layout */
.cbs-stats-section {
  background: #f5f6fa;
  padding: 5rem 2rem;
}

.cbs-stats-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 4rem;
  text-align: center;
}

.cbs-stat-item h3 {
  font-size: 3.5rem;
  color: #8e44ad;
  margin-bottom: 0.8rem;
  font-weight: 800;
}

.cbs-stat-item p {
  color: #7f8c8d;
  font-size: 1.2rem;
  font-weight: 600;
}

/* Services Section with web design styling */
.cbs-offerings-area {
  padding: 6rem 2rem;
  background: #ffffff;
}

.cbs-offerings-area h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 1.3rem;
  color: #2c3e50;
  font-weight: 800;
}

.cbs-subtitle {
  text-align: center;
  color: #7f8c8d;
  margin-bottom: 4rem;
  font-size: 1.25rem;
  font-weight: 400;
}

.cbs-offerings-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 3rem;
}

.cbs-offering-box {
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 5px solid #8e44ad;
}

.cbs-offering-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(142, 68, 173, 0.15);
}

.cbs-offering-emoji {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.cbs-offering-box h3 {
  color: #8e44ad;
  margin-bottom: 1.3rem;
  font-size: 1.7rem;
  font-weight: 800;
}

.cbs-offering-box p {
  color: #7f8c8d;
  line-height: 1.85;
  font-size: 1.08rem;
}

/* About Section with web design agency narrative */
.cbs-story-area {
  padding: 6rem 2rem;
  background: #f5f6fa;
}

.cbs-story-layout {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.cbs-story-copy h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  color: #2c3e50;
  font-weight: 800;
  line-height: 1.25;
}

.cbs-story-copy p {
  color: #7f8c8d;
  margin-bottom: 1.5rem;
  line-height: 1.95;
  font-size: 1.1rem;
}

.cbs-company-details {
  background: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  margin: 2.5rem 0;
  border-left: 6px solid #8e44ad;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.cbs-company-details p {
  margin: 0.9rem 0;
  font-size: 1.05rem;
  color: #34495e;
  font-weight: 600;
}

.cbs-story-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.cbs-story-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s;
}

.cbs-story-image:hover img {
  transform: scale(1.06);
}

/* Portfolio Section with web design projects grid */
.cbs-zones-area {
  padding: 6rem 2rem;
  background: #ffffff;
}

.cbs-zones-area h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 1.3rem;
  color: #2c3e50;
  font-weight: 800;
}

.cbs-zones-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}

.cbs-zone-tile {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
}

.cbs-zone-tile:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.cbs-zone-tile img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.cbs-zone-details {
  padding: 2.3rem;
}

.cbs-zone-details h3 {
  color: #8e44ad;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 800;
}

.cbs-zone-details p {
  color: #7f8c8d;
  line-height: 1.8;
  font-size: 1.08rem;
}

/* Testimonials Section with client feedback */
.cbs-feedback-area {
  padding: 6rem 2rem;
  background: #f5f6fa;
}

.cbs-feedback-area h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 4rem;
  color: #2c3e50;
  font-weight: 800;
}

.cbs-feedback-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}

.cbs-feedback-card {
  background: #ffffff;
  padding: 3rem;
  border-radius: 16px;
  border-left: 6px solid #8e44ad;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.cbs-feedback-text {
  font-style: italic;
  color: #7f8c8d;
  margin-bottom: 1.8rem;
  line-height: 1.95;
  font-size: 1.1rem;
}

.cbs-feedback-name {
  font-weight: 800;
  color: #8e44ad;
  font-size: 1.15rem;
}

/* CTA Section with purple/blue gradient */
.cbs-final-push {
  background: linear-gradient(135deg, #8e44ad 0%, #3498db 100%);
  color: white;
  padding: 6rem 2rem;
  text-align: center;
}

.cbs-final-push h2 {
  font-size: 3rem;
  margin-bottom: 1.3rem;
  font-weight: 800;
}

.cbs-final-push p {
  font-size: 1.3rem;
  margin-bottom: 2.8rem;
  opacity: 0.93;
  font-weight: 400;
}

/* Footer with updated styling */
footer {
  background: #1a1a1a;
  color: white;
  padding: 4rem 2rem 2rem;
}

.cbs-footer-layout {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 4rem;
  margin-bottom: 3rem;
}

.cbs-footer-block h3 {
  color: #8e44ad;
  margin-bottom: 1.3rem;
  font-size: 1.5rem;
  font-weight: 800;
}

.cbs-footer-block ul {
  list-style: none;
}

.cbs-footer-block ul li {
  margin-bottom: 0.9rem;
}

.cbs-footer-block a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 1.08rem;
}

.cbs-footer-block a:hover {
  color: #8e44ad;
}

.cbs-footer-block p {
  color: #bdc3c7;
  line-height: 1.85;
  font-size: 1.08rem;
}

.cbs-footer-info {
  margin-top: 1.3rem;
  padding-top: 1.3rem;
  border-top: 1px solid #34495e;
}

.cbs-footer-info p {
  font-size: 0.98rem;
  margin: 0.6rem 0;
}

.cbs-footer-base {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 3rem;
  border-top: 1px solid #34495e;
  text-align: center;
  color: #95a5a6;
  font-size: 0.95rem;
}

/* Contact Page styles updated */
.cbs-contact-header {
  background: linear-gradient(135deg, #8e44ad 0%, #3498db 100%);
  color: white;
  padding: 100px 2rem 80px;
  text-align: center;
}

.cbs-contact-header h1 {
  font-size: 3.5rem;
  margin-bottom: 1.2rem;
  font-weight: 800;
}

.cbs-contact-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.cbs-contact-form {
  background: white;
  padding: 3.2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.cbs-input-group {
  margin-bottom: 2rem;
}

.cbs-input-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 700;
  color: #2c3e50;
  font-size: 1.08rem;
}

.cbs-input-group input,
.cbs-input-group textarea {
  width: 100%;
  padding: 1.1rem;
  border: 2px solid #ecf0f1;
  border-radius: 10px;
  font-size: 1.08rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.cbs-input-group input:focus,
.cbs-input-group textarea:focus {
  outline: none;
  border-color: #8e44ad;
}

.cbs-input-group textarea {
  min-height: 180px;
  resize: vertical;
}

.cbs-form-submit {
  background: #8e44ad;
  color: white;
  padding: 1.2rem 3rem;
  border: none;
  border-radius: 50px;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.cbs-form-submit:hover {
  background: #732d91;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(142, 68, 173, 0.3);
}

.cbs-contact-info {
  background: #f5f6fa;
  padding: 3.2rem;
  border-radius: 16px;
}

.cbs-contact-info h2 {
  color: #8e44ad;
  margin-bottom: 3rem;
  font-size: 2.1rem;
  font-weight: 800;
}

.cbs-info-section {
  margin-bottom: 3rem;
}

.cbs-info-section h3 {
  color: #2c3e50;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.cbs-info-section p {
  color: #7f8c8d;
  line-height: 1.85;
  font-size: 1.1rem;
}

/* Legal Pages with updated styling */
.legal-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.legal-page h1 {
  color: #8e44ad;
  margin-bottom: 3rem;
  font-size: 3rem;
  font-weight: 800;
}

.legal-page h2 {
  color: #2c3e50;
  margin-top: 3rem;
  margin-bottom: 1.3rem;
  font-size: 2.2rem;
  font-weight: 800;
}

.legal-page h3 {
  color: #8e44ad;
  margin-top: 2.3rem;
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.legal-page p {
  color: #7f8c8d;
  line-height: 1.95;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.legal-page ul {
  margin-left: 3rem;
  margin-bottom: 1.5rem;
}

.legal-page ul li {
  color: #7f8c8d;
  line-height: 1.95;
  margin-bottom: 0.9rem;
  font-size: 1.1rem;
}

/* Cookie Banner with purple theme */
#cbs-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26, 26, 26, 0.96);
  color: white;
  padding: 2rem 2.3rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  display: none;
}

#cbs-cookie-banner.show {
  display: block;
}

.cbs-cookie-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
}

.cbs-cookie-buttons {
  display: flex;
  gap: 1.3rem;
}

.cbs-cookie-yes,
.cbs-cookie-no {
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1.08rem;
}

.cbs-cookie-yes {
  background: #8e44ad;
  color: white;
}

.cbs-cookie-yes:hover {
  background: #732d91;
}

.cbs-cookie-no {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cbs-cookie-no:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .cbs-mobile-toggle {
    display: block;
  }

  nav ul {
    display: none;
  }

  .cbs-hero-area h1 {
    font-size: 3rem;
  }

  .cbs-hero-area p {
    font-size: 1.2rem;
  }

  .cbs-story-layout,
  .cbs-contact-container {
    grid-template-columns: 1fr;
  }

  .cbs-offerings-grid,
  .cbs-zones-grid,
  .cbs-feedback-grid {
    grid-template-columns: 1fr;
  }

  .cbs-cookie-content {
    flex-direction: column;
    text-align: center;
  }
}
