/* ===== GLOBAL VARIABLES ===== */
:root {
  --primary-color: rgb(32, 55, 61);
  --primary-light: rgb(52, 75, 81);
  --secondary-color: #bca454;
  --secondary-light: #e8c874;
  --accent-color: rgb(32, 55, 61);
  --dark-color: #222222;
  --light-color: #f8f9fa;
  --gray-color: #6c757d;
  --white-color: #ffffff;
  --overlay-color: rgba(0, 0, 0, 0.7);
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
  --border-radius: 8px;
  --container-width: 1320px;

  /* Text size variables for consistency */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: 16px; /* Consistent base font size */
}

body {
  font-family: var(--font-main);
  color: var(--dark-color);
  background-color: var(--light-color);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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


/* ===== GLOBAL SECTION STYLES ===== */

/* SECTION HEADERS and SUBTITLE Styling */

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

.section-header-wide h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--primary-color);
  margin-bottom: 18px;
  position: relative;
  display: inline-block;
  font-weight: 600;
}

.section-header-wide h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}


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

.section-header h2 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: var(--primary-color);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
  font-weight: 600;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 2px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.section-subtitle {
  font-size: var(--text-lg);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
}


.section-subtitle-wide {
  font-size: 1.2rem;
  color: var(--secondary-color);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
  opacity: 0.9;
}


/* Section dividers for all main sections */
.about-studio,
.activities-section,
.studios,
.values-section,
.network-section {
  position: relative;
}

.about-studio::before,
.activities-section::before,
.studios::before,
.values-section::before,
.network-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

/* ===== ABOUT STUDIO SECTION ===== */
.about-studio {
  padding: 6rem 0;
  background: var(--white-color);
  position: relative;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

.about-text {
  padding: 1rem 0;
}

.about-text p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--dark-color);
  margin-bottom: 2rem;
  font-family: var(--font-main);
}

.about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  height: auto;
  max-height: 500px;
}

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

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== ACTIVITIES SECTION ===== */
.activities-section {
  padding: 6rem 0;
  background-color: var(--light-color);
  position: relative;
}

.activities-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.activities-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 100%;
  position: relative;
}

.activities-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.activities-content h3 {
  font-size: var(--text-xl);
  color: var(--primary-color);
  margin-bottom: 1.8rem;
  font-family: var(--font-heading);
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--white-color);
  border-radius: var(--border-radius);
  transition: var(--transition);
  min-height: 80px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.activity-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--secondary-color);
}

.activity-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  border-radius: 50%;
  color: var(--white-color);
  font-size: 1.25rem;
}

.activity-item h4 {
  font-size: var(--text-sm);
  color: var(--dark-color);
  line-height: 1.4;
  font-family: var(--font-main);
  margin: 0;
  flex-grow: 1;
}

/* ===== TEAM SECTION (UPDATED TO MATCH INDEX.HTML) ===== */
.studios {
  width: 100%;
  padding: 100px 0;
  background-color: var(--white-color);
  position: relative;
  overflow: hidden;
}

.studios-container-wide {
  width: 100%;
  max-width: 80%;
  padding: 0 20px;
  margin: 0 auto;
}

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

.section-header-wide h2 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: var(--primary-color);
  margin-bottom: 18px;
  position: relative;
  display: inline-block;
  font-weight: 600;
}

.section-header-wide h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.studios-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 40px;
  width: 100%;
}

.professional-card {
  flex: 1 1 0;
  min-width: 0;
  border: 3px solid var(--secondary-color);
  border-radius: var(--border-radius);
  box-sizing: border-box;
  transition: var(--transition);
  overflow: hidden;
  background: var(--white-color);
}

.professional-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(188, 164, 84, 0.3);
}

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

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

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

.card-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-content h3 {
  font-size: var(--text-xl);
  margin-bottom: 12px;
  color: var(--primary-color);
  font-family: var(--font-heading);
  position: relative;
  padding-bottom: 12px;
  font-weight: 600;
}

.card-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
}

.card-specialty {
  font-size: var(--text-base);
  margin-bottom: 15px;
  color: var(--secondary-color);
  line-height: 1.6;
  font-weight: 500;
}

.card-excerpt {
  margin-bottom: 15px;
}

.card-excerpt p {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--gray-color);
  margin-bottom: 0;
}

.card-contact {
  font-size: var(--text-base);
  margin-bottom: 22px;
  margin-top: auto;
}

.card-contact p {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  line-height: 1.5;
  word-break: keep-all;
}

.card-contact p strong {
  min-width: 75px;
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  flex-shrink: 0;
  margin-right: 8px;
}

.card-contact a {
  color: var(--accent-color);
  transition: var(--transition);
  position: relative;
  font-weight: 500;
  word-break: break-all;
  hyphens: none;
}

.card-contact a:hover {
  color: var(--primary-color);
}

.card-cta {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.ctaButton.small {
  padding: 12px 24px;
  font-size: var(--text-sm);
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: 5px;
  text-align: center;
  min-width: 140px;
  white-space: nowrap;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  flex: 1;
}

.ctaButton.small:hover {
  background-color: var(--primary-light);
  color: var(--white-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.ctaButton.small.profile {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.ctaButton.small.profile:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

/* ===== MISSION SECTION ENHANCEMENTS ===== */
.values-section {
  padding: 6rem 0;
  background: var(--primary-color) !important;
  position: relative;
}

.mission-container {
  max-width: 1000px;
  margin: 0 auto 5rem;
  padding: 0 2rem;
  position: relative;
}

.mission-content {
  width: 100%;
  background: var(--white-color);
  padding: 3.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(188, 164, 84, 0.1);
  border-left: 4px solid var(--secondary-color);
}



.mission-content p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--dark-color);
  max-width: 80%;
  margin: 0 auto;
  font-family: var(--font-main);
  position: relative;
}

.mission-content p::before,
.mission-content p::after {
  content: '"';
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--dark-color);
  position: absolute;
  opacity: 0.3;
  line-height: 1;
}

.mission-content p::before {
  top: -1.2rem;
  left: -1.8rem;
}

.mission-content p::after {
  bottom: -2rem;
  right: -1.8rem;
}

/* ===== VALUES GRID ENHANCEMENTS ===== */
.values-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--white-color);
  padding: 2rem 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: var(--transition);
}

.value-card:hover::before {
  opacity: 1;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  font-size: 1.5rem;
  transition: var(--transition);
}

.value-card:hover .value-icon {
  transform: scale(1.05);
  background: var(--primary-light);
}

.value-card h3 {
  font-size: var(--text-lg);
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-family: var(--font-heading);
  position: relative;
  padding-bottom: 0.8rem;
}

.value-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.value-card:hover h3::after {
  width: 50px;
}

.value-card p {
  font-size: var(--text-base);
  color: var(--gray-color);
  font-family: var(--font-main);
  line-height: 1.6;
}

/* ===== NETWORK SECTION ENHANCEMENTS ===== */
.network-section {
  padding: 6rem 0;
  background-color: var(--white-color);
  position: relative;
}

.network-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.network-content {
  padding: 1rem 0;
}

.network-content p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--dark-color);
  margin-bottom: 2rem;
  font-family: var(--font-main);
}

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

.network-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 1rem;
  font-size: var(--text-base);
  font-family: var(--font-main);
}

.network-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 12px;
  height: 12px;
  background-color: var(--primary-color);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  
}

.network-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  height: 100%;
}

.network-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

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