:root {
  --primary-purple: #7B2D8E;
  --primary-pink: #E91E8C;
  --text-dark: #1a1a1a;
  --text-gray: #666;
  --text-medium: #333;
  --text-light: #888;
  --border-light: #e5e5e5;
  --bg-light: #f8f9fa;
  --bg-overlay: rgba(0, 0, 0, 0.1);
}

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

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

/* ========== Navbar Styles ========== */
.navbar-custom {
  background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
  padding: 1rem 0;
  position: static;
  top: 0;
  z-index: 1000;
}

.navbar-custom .navbar-brand img {
  height: 70px;
}

.navbar-custom .nav-link {
  color: white !important;
  font-weight: 600;
  margin: 0 1rem;
  transition: opacity 0.3s ease;
}

.navbar-custom .nav-link:hover {
  opacity: 0.8;
}

/* ========== Hero Section ========== */
.hero-section {
  background: white;
  padding: 120px 0 80px;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  line-height: 1.1;
  background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-gray);
  margin-bottom: 3rem;
  max-width: 800px;
}

/* ========== About Section ========== */
.about-section {
  background: var(--bg-light);
  padding: 100px 0;
}

.about-content {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.8;
  color: var(--text-dark);
}

/* ========== Section Titles ========== */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

.section-spacing {
  padding: 80px 0;
}

/* ========== Project Cards ========== */
.project-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2rem;
  text-decoration: none;
  display: block;
  height: 100%;
  
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-image-wrapper {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
}

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

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

.project-view-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-view-button {
  opacity: 1;
}

.view-button {
  background: white;
  color: var(--text-dark);
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.view-button:hover {
  transform: scale(1.05);
}

.project-content {
  padding: 1.5rem;
}

.project-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  color: var(--text-gray);
  font-size: 0.9rem;
}

.project-tag {
  display: flex;
  align-items: center;
}

.tag-dot {
  width: 4px;
  height: 4px;
  background: var(--text-gray);
  border-radius: 50%;
  margin: 0 0.5rem;
}

/* ========== Stats Section ========== */
.stats-section {
  background: white;
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: var(--bg-light);
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-purple);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* ========== Clients Section ========== */
.clients-section {
  background: var(--bg-light);
  padding: 80px 0;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.client-logo {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

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

.client-logo img {
  max-width: 100%;
  max-height: 60px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.client-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ========== Contact Section ========== */
.contact-section {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
  padding: 100px 0;
  color: white;
}

.contact-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: white;
}

.contact-description {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.contact-form {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
  color: white;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.submit-btn {
  background: white;
  color: var(--primary-purple);
  border: none;
  padding: 1rem 2rem;
  border-radius: 10px;
  font-weight: 700;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

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

/* ========== Footer ========== */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer-text {
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ========== Animations ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.animation-delay-1 {
  animation-delay: 0.1s;
}

.animation-delay-2 {
  animation-delay: 0.2s;
}

.animation-delay-3 {
  animation-delay: 0.3s;
}

.animation-delay-4 {
  animation-delay: 0.4s;
}

/* ========== Responsive Styles ========== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .about-content {
    font-size: 1.25rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .contact-title {
    font-size: 2.5rem;
  }

  .contact-form {
    padding: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.5rem;
  }

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

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========== Section Styles ========== */
.section-spacing {
  padding: 80px 0;
}

.section-title-large {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 60px;
  color: var(--text-dark);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.section-description {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* ========== Approach Section ========== */
.approach-section {
  background: white;
  padding: 60px 0;
}

/* ========== Company List Styles ========== */
.branding-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 60px;
}

.company-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.company-item {
  padding: 16px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-medium);
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.company-item:hover {
  color: var(--text-dark);
  padding-left: 12px;
}

.company-item.active {
  color: var(--text-dark);
  padding-left: 12px;
  background-color: #f0f0f0;
}

.company-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background-color: var(--text-dark);
  transition: width 0.3s ease;
}

.company-item:hover::before,
.company-item.active::before {
  width: 6px;
}

/* ========== Carousel Styles ========== */
.carousel-container {
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px var(--bg-overlay);
  overflow: hidden;
  display: none;
  animation: slideDown 0.4s ease;
}

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

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.carousel-header {
  padding: 24px;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
}

.carousel-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.close-btn {
  background: #f0f0f0;
  border: none;
  color: var(--text-dark);
  font-size: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding-bottom: 5px;
}

.close-btn:hover {
  background: #e0e0e0;
  transform: rotate(90deg);
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  height: 100%;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
}

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

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

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: white;
  transform: scale(1.2);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  z-index: 10;
  color: var(--text-dark);
}

.carousel-nav:hover {
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-nav.prev {
  left: 20px;
}

.carousel-nav.next {
  right: 20px;
}

/* ========== Rebranding Section ========== */
.rebranding-section {
  background: var(--bg-light);
}

.rebranding-wrapper {
  display: flex;
  gap: 4rem;
  margin-top: 2rem;
}

.rebranding-column {
  flex: 1;
}

.rebranding-item {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* ========== Project Cards ========== */
.project-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2rem;
  text-decoration: none;
  display: block;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.project-image-wrapper {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

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

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

.project-content {
  padding: 1.5rem;
}

.project-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  color: var(--text-gray);
  font-size: 0.9rem;
}

.project-tag {
  display: flex;
  align-items: center;
}

.tag-dot {
  width: 4px;
  height: 4px;
  background: var(--text-gray);
  border-radius: 50%;
  margin: 9px 0.5rem;
}

/* ========== Responsive Styles ========== */
@media (max-width: 768px) {
  .section-title-large {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-description {
    font-size: 1.1rem;
  }

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

  .carousel-wrapper {
    height: 300px;
  }

  .carousel-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

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

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

  .rebranding-wrapper {
    flex-direction: column;
    gap: 2rem;
  }
}

/* Contact page */
/* Additional Contact Page Specific Styles */
.contact-hero {
  padding: 100px 0 60px;
  background: white;
}

.contact-hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.contact-hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-gray);
  max-width: 600px;
  line-height: 1.8;
}

/* Contact Form Section */
.contact-form-section {
  padding: 80px 0;
  background: var(--bg-light);
}

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

.form-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.form-subtitle {
  font-size: 1rem;
  color: var(--text-gray);
  margin-bottom: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.form-control-custom {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e0e0e0;
  background: white;
  color: var(--text-dark);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control-custom:focus {
  outline: none;
  border-color: var(--primary-pink);
  box-shadow: 0 0 0 3px rgba(233, 30, 140, 0.1);
}

.form-control-custom::placeholder {
  color: #999;
}

textarea.form-control-custom {
  resize: vertical;
  min-height: 150px;
}

.btn-submit-custom {
  background: linear-gradient(90deg, var(--primary-purple), var(--primary-pink));
  color: white;
  padding: 1rem 3rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-submit-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(123, 45, 142, 0.3);
}

/* Contact Info Section */
.contact-info-section {
  padding: 80px 0;
  background: white;
}

.info-card {
  background: var(--bg-light);
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
  height: 100%;
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.5rem;
}

.info-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.info-text {
  color: var(--text-gray);
  font-size: 1rem;
  line-height: 1.6;
}

.info-link {
  color: var(--primary-pink);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s;
}

.info-link:hover {
  opacity: 0.8;
}

/* Map Section */
.map-section {
  padding: 0;
  background: var(--bg-light);
}

.map-container {
  width: 100%;
  height: 450px;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
}

/* Success Message */
.success-message {
  display: none;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.success-message.show {
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-hero-title {
    font-size: 2.5rem;
  }

  .form-container {
    padding: 2rem;
  }

  .info-card {
    margin-bottom: 2rem;
  }
}