/* ===========================================================
   style.css — Branded to your palette
   Background: #FAFAF8 (near-white)
   Primary interactive color: #5F3685 (deep purple)
   Layout style: Modern Minimalist (C1)
   =========================================================== */

/* =========================
   CSS VARIABLES (BRAND)
   ========================= */
:root{
  --color-1: #B87800;  /* warm brown */
  --color-2: #DFA44B;  /* gold */
  --color-3: #FAC472;  /* light gold */
  --color-4: #FFB103;  /* bright amber */
  --color-5: #F9F2EC;  /* soft cream */
  --color-6: #5F3685;  /* deep purple (primary text & CTA) */
  --color-7: #8853AD;  /* mid purple (headings) */
  --color-8: #A87AC8;  /* light purple (accents) */
  --color-9: #8C52FF;  /* vivid purple (secondary interactive) */
  --color-10:#FAFAF8;  /* near-white background */
  --color-11:#EDEBE6;  /* another near-white */
  --color-12:#1C1C1C;  /* Black color */

  --page-pad: 4rem;
  --transition: all 0.32s cubic-bezier(0.2,0,0.2,1);
  --radius-lg: 25px;
  --radius-md: 8px;
  --shadow-soft: 0 10px 30px rgba(95,54,133,0.06);
  --shadow-subtle: 0 6px 18px rgba(95,54,133,0.05);
  --header-height: 72px;
}

/* =========================
   BASIC RESET
   ========================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
html,body { height: 100%; width: 100%; scroll-behavior:auto; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
body {
  font-family: 'Bright-Melody','CODE_Light', 'Segoe UI', 'Roboto', system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  background: var(--color-10);
  color: var(--color-12);
  font-size: 16px;
  line-height: 1.6;
  padding-top: var(--header-height);
}

/* =========================
   TYPOGRAPHY
   ========================= */
/* ========================
   Uppercase / Headers Font
   ========================= */   
@font-face{
  font-family: "CODE_Bold";
  src: url('../assets/fonts/CODE_Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap; 
}
/* ========================
   Uppercase / Headers Font
   ========================= */
@font-face{
  font-family: "CODE_Light";
  src: url('../assets/fonts/CODE_Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
/* ========================
   Lowercase Font
   ========================= */
@font-face{
  font-family: "Bright-Melody";
  src: url('../assets/fonts/Bright_Melody.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* =========================
   HEADINGS / UPPERCASE
   ========================= */
h1,h2,h3,h4,h5,h6,
.about-title, .services-title, .testimonials-title, .contact-title, 
.hero-title, .contact-form h3, .mission-content.fade-in h2, .section-header h2, .content-wrapper h3
{
    font-family: "CODE_Bold", system-ui, sans-serif;
    color: var(--color-6);
    text-transform: uppercase;
}

/* =========================
   BODY / LOWERCASE
   ========================= */
body, p, .service-features li, .about-intro, .testimonial-card p, 
.contact-item, .hero-subtitle,.section-header p,.method-dimensions, .mission-content.fade-in p, .method-enhanced h3,
.service-card p, .contact-wrapper p
{
    font-family: "Bright-Melody", "CODE_Light", system-ui, sans-serif;
    font-weight: 400;
    font-size: 16px;
    text-transform:none;
    color: var(--color-12);
}
/* =========================
   STRONG / EMPHASIS
   ========================= */
.method-dimensions strong, .about-intro strong, .about-text strong, .testimonial-card cite strong 
{
    font-family: "Bright-Melody", "CODE_Light", system-ui, sans-serif;
    font-weight: 600;
    font-size: 18px;
    text-transform:none;
    color: var(--color-7);
}

/* =========================
   SUBTITLES / LIGHT TEXT
   ========================= */
.hero-subtitle, .about-text, .about-role, .method-enhanced .section-subtitle, .footer-content p {
    font-family: "CODE_Light", system-ui, sans-serif;
    font-weight: 300;
}

/* =========================
   CTA BUTTONS / NAV LINKS / EMPHASIS
   ========================= */
.cta-button, .service-open, .nav-links li a {
    font-family: "CODE_Bold", system-ui, sans-serif;
    font-weight: 700;
}

/* =========================
   LAYOUT / CONTAINERS
   ========================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

/* Generic section spacing */
section {
  padding: 5.5rem var(--page-pad);
  position: relative;
  background: transparent;
}

/* Alternating subtle backgrounds */
section:nth-child(even) { background: linear-gradient(180deg, var(--color-10) 0%, rgba(168,122,200,0.02) 100%); }
section:nth-child(odd)  { background: var(--color-10); }

/* =========================
   NAVIGATION / HEADER
   ========================= */
.header-sticky {
  position: fixed;
  height: var(--header-height);
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: var(--color-10);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 0;
}

/* brand / logo */
.brand { display:flex; align-items:center; text-decoration:none; color:inherit; }
.logo { height:48px; width:auto; transition: transform 0.25s ease; }
.logo:hover { transform: scale(1.02); }

/* nav list */
.nav-links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
  align-items: center;
}

/* links */
.nav-links li a {
  text-decoration: none;
  color: var(--color-6);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.22s ease;
}

/* underline accent */
.nav-links li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--color-2), var(--color-4));
  transition: width 0.28s cubic-bezier(.2,.8,.2,1);
}
.nav-links li a:hover { color: var(--color-6); }
.nav-links li a:hover::after { width: 100%; }

/* hamburger */
.open-menu {
  display: none;
  font-size: 1.45rem;
  cursor: pointer;
  color: var(--color-6);
  padding: 6px;
  border-radius: 8px;
}
.open-menu:focus { outline: 2px solid rgba(140,82,255,0.12); outline-offset: 2px; }

/* =========================
   HERO
   ========================= */
#hero {
  min-height: 92vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding-top: 6rem;
  padding-bottom: 6rem;
  position: relative;
  overflow: visible;
  background: linear-gradient(180deg, rgba(140,82,255,0.02), var(--color-10));
}

.hero-content { max-width: 900px; margin: 0 auto; z-index:2; }
.hero-logo { height:250px; margin-bottom:25px; }
.hero-title { font-size: 3.2rem; color: var(--color-12); margin-bottom: 0.6rem; }
.hero-subtitle { font-size: 1.15rem; color: var(--color-12); margin-bottom: 1.25rem; font-weight: 300; }

.cta-button {
  display:inline-block;
  padding: 0.95rem 2.1rem;
  background: linear-gradient(180deg, var(--color-6), var(--color-7));
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(95,54,133,0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}
.cta-button:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(95,54,133,0.14); opacity: 0.98; }

/* hero scroll indicator */
.hero-scroll-indicator { position:absolute; bottom:32px; left:49%; transform:translateX(-51%); color: var(--color-12); font-size:0.92rem; animation: scroll-bounce 2.2s infinite; }

/* =========================
   ABOUT
   ========================= */
.about-content {
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-image img { margin-left: 5%; width:45%; border-radius: 50% 50% 0 0 / 30% 30% 0 0; box-shadow: var(--shadow-soft); object-fit:cover; height:auto; min-height:100px; }
.about-text { padding-top:0; }
.about-intro { font-size:1.1rem; margin-bottom:1rem; color: var(--color-12); }

.credentials-showcase { margin-top:1.25rem; background: linear-gradient(180deg, rgba(140,82,255,0.02), rgba(168,122,200,0.02)); border-left: 4px solid var(--color-9); padding: 1.1rem; border-radius: 8px; }

/* ABOUT responsive */
@media (max-width: 1024px){
  .about-content { grid-template-columns: 1fr; text-align: center; }
  .about-image img { min-height: 300px; }
}

/* =========================
   MISSION SECTION
   ========================= */
.mission-enhanced {
  position: relative;
  width: 100%;
  min-height: 60vh;
  background: url('../assets/images/mission-bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mission-overlay {
  position: absolute;
  inset: 0;
  background: rgba(95,54,133,0.5); /* deep purple overlay with transparency */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem var(--page-pad);
}

.mission-content {
  position: relative;
  color: var(--color-10); /* white text on overlay */
  text-align: center;
  max-width: 800px;
  z-index: 2;
}

.mission-content h2 {
  font-size: 2.8rem;
  font-family: "CODE_Bold", sans-serif;
  color: var(--color-4); /* gold accent for headings */
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.mission-content p {
  font-size: 1.1rem;
  font-family: "CODE_Light", sans-serif;
  line-height: 1.7;
  color: var(--color-5); /* soft cream for readability */
  font-weight: 300;
  margin: 0 auto;
}

/* subtle text shadow for contrast against background */
.mission-content h2,
.mission-content p {
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

/* fade-in animation for content */
.mission-content.fade-in {
  opacity: 0;
  animation-name: fadeIn;
  animation-duration: 2s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(.16,.84,.44,1);
  animation-play-state: paused; /* IntersectionObserver can trigger running */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .mission-overlay { padding: 3rem var(--page-pad); }
  .mission-content h2 { font-size: 2.4rem; }
  .mission-content p { font-size: 1rem; line-height: 1.6; }
}

@media (max-width: 768px) {
  .mission-overlay { padding: 2rem var(--page-pad); }
  .mission-content h2 { font-size: 2rem; }
  .mission-content p { font-size: 0.95rem; line-height: 1.5; }
}

/* =========================
   METHOD SECTION - POLISHED
   ========================= */
.method-enhanced {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4rem var(--page-pad);
  background: linear-gradient(180deg, rgba(168, 122, 200, 0.05), var(--color-12));
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  overflow: hidden;
}

.method-enhanced .section-header h2 {
  font-size: 2.8rem;
  color: var(--color-7);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.method-enhanced .section-subtitle {
  font-size: 1.15rem;
  color: var(--color-6);
  margin-bottom: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.method-enhanced .header-underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-2), var(--color-4));
  border-radius: 2px;
  margin: 1rem auto 2rem auto;
}

.method-dimensions {
  list-style: none;
  text-align: left;
  max-width: 720px;
  margin: 0 auto 3rem auto;
  padding-left: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.method-dimensions li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-12);
  transition: transform 0.3s ease, color 0.3s ease;
}

.method-dimensions li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-4);
  font-size: 1.3rem;
  line-height: 1;
}

.method-dimensions li:hover {
  transform: translateX(5px);
  color: var(--color-7);
}

.method-image {
  position: relative;
  display: flex;
  align-items: center;
  margin: 3rem auto 2rem auto;
  max-width: 600px;
  width: 100%;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  border-radius: var(--radius-lg);
  overflow: hidden; /* ensures overlay and image stay inside the container */
}

.method-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none; /* allows clicks on image if needed */
  border-radius: var(--radius-lg);
}

.method-image img {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
  position: relative;
  z-index: 2; /* ensures image is above overlay */
}

.method-image:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.method-image .image-accent {
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 70px;
  height: 70px;
  background: var(--color-);
  border-radius: 50%;
  opacity: 0.15;
}

.method-enhanced h3 {
  font-size: 1.3rem;
  color: var(--color-12);
  font-weight: 400;
  max-width: 800px;
  margin: 2rem auto 0 auto;
  line-height: 1.8;
}

/* Responsive tweaks */
@media (max-width: 1024px) {
  .method-enhanced { padding: 3rem var(--page-pad); }
  .method-dimensions { gap: 0.7rem; }
  .method-image { margin: 2rem 0; }
  .method-enhanced h2 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
  .method-enhanced { padding: 2rem var(--page-pad); }
  .method-dimensions { font-size: 0.95rem; }
  .method-enhanced h3 { font-size: 1.1rem; line-height: 1.6; }
}

/* =========================
   SERVICES SECTION
   ========================= */
.services-enhanced {
  padding: 4rem var(--page-pad);
  background: linear-gradient(180deg, rgba(168,122,200,0.05), var(--color-10));
  border-radius: var(--radius-lg);
}

.services-enhanced .section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.services-enhanced .section-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-6);
  margin-bottom: 0.4rem;
}
.services-enhanced .section-subtitle {
  font-size: 1.1rem;
  color: var(--color-8);
  margin-bottom: 0.8rem;
}
.services-enhanced .header-underline {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-2), var(--color-4));
  margin: 0 auto;
  border-radius: 3px;
}

/* =========================
   SERVICES GRID
   ========================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: stretch;
}

/* =========================
   SERVICE CARD
   ========================= */
.service-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  border: 1px solid rgba(143,86,209,0.06);
  box-shadow: 0 4px 18px rgba(95,54,133,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(95,54,133,0.08);
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.service-card-header i {
  font-size: 1.8rem;
  color: var(--color-6);
}
.service-card-header h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-7);
  margin: 0;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-12);
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}
.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--color-6);
}
.service-features li i {
  color: var(--color-6);
  margin-top: 2px;
}

/* =========================
   SERVICE BUTTON
   ========================= */
.service-open {
  margin-top: auto;
  display: inline-block;
  padding: 0.65rem 1.5rem;
  background: var(--color-6);
  color: #fff;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.service-open:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(95,54,133,0.15);
}

/* =========================
   MODAL
   ========================= */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.modal[hidden] { display: none !important; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(2px);
}
.modal-content {
  position: relative;
  z-index: 2001;
  background: #fff;
  width: min(92%, 640px);
  max-height: 86vh;
  overflow-y: auto;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 28px 60px rgba(95,54,133,0.12);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--color-6);
}

/* =========================
   TESTIMONIALS
   ========================= */
.testimonials-container { overflow:hidden; padding-top:0; }
.testimonials-track {
  display:flex; gap:1.25rem; align-items:stretch;
  animation: scroll-left 28s linear infinite;
}
.testimonial-card {
  font-size: 15px;
  min-width: 300px;
  max-height: 300px;
  background: #fff;
  border-radius: 12px;
  padding: 1.3rem;
  box-shadow: var(--shadow-subtle);
}
/*.testimonial-rating { color: var(--color-1); margin-bottom: 0.6rem; }*/
/* pause on hover */
.testimonials-track:hover { animation-play-state: paused; }

/* =========================
   CONTACT
   ========================= */
.contact-wrapper {
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  width: 500px;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: linear-gradient(
    180deg,
    rgba(140, 82, 255, 0.3) 0%,
    rgba(95, 54, 133, 0.3) 100%
  );
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* optional subtle shadow for depth */
}
.contact-item i { color: var(--color-6); font-size:1.25rem; margin-top:2px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width:100%; padding: 0.9rem 1rem; border-radius: 10px; border: 1px solid rgba(95,54,133,0.06); background: #fff; font-family: inherit;
}
.contact-form textarea { min-height: 140px; resize: vertical; }

.submit-button {
  padding: 0.9rem 1.6rem; background: var(--color-6); color:#fff; border: none; border-radius: 999px; cursor:pointer; font-weight:700;
}
.submit-button:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(95,54,133,0.12); }

.social-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

.social-links h4 {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-6);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: var(--color-7); /* subtle background */
    color: var(--color-10);
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-size: 1.2rem;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--color-7); /* accent color on hover */
    color: #fff;
    transform: scale(1.15);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}


/* =========================
   FOOTER
   ========================= */
footer {
  background: linear-gradient(180deg, rgba(95,54,133,0.05), rgba(140,82,255,0.02));
  padding: 2.2rem var(--page-pad);
  color: var(--color-6);
  text-align: center;
  border-top: 1px solid rgba(95,54,133,0.03);
}

/* =========================
   RESPONSIVE BREAKPOINTS
   ========================= */
@media (max-width: 1024px) {
  :root { --page-pad: 2.5rem; }
  h1 { font-size: 2.4rem; }
  h2 { font-size: 2rem; }
  .about-content { gap: 2rem; }
  .services-grid { gap: 1.25rem; }
  .contact-wrapper { gap: 1.5rem; }
}

@media (max-width: 768px) {
  :root { --page-pad: 1.5rem; }
  section { padding: 3.25rem var(--page-pad); }
  .nav-main .nav-sticky { position: fixed; }
  /* mobile nav */
  .nav-links {
    position:fixed;
    left: 0;
    top: var(--header-height);
    right: 0;
    width: 100%;
    background: var(--color-10);
    flex-direction: column;
    gap: 0;
    padding: 1.1rem 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s cubic-bezier(.2,.8,.2,1);
    z-index: 1200;
    text-align: center;
  }
  .body {padding-top: var(--header-height);}
  .nav-links.open { max-height: 420px; }
  .nav-links li { width: 100%; }
  .nav-links li a { display:block; padding: 0.95rem 0; width:100%; color:var(--color-6); font-weight:700; }
  .open-menu { display: inline-block; }
  .container { padding: 0 1.25rem; }
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .about-content { grid-template-columns: 1fr; text-align:center; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .testimonials-track { animation-duration: 22s; }
}

/* Hide hamburger on large screens explicitly (defensive) */
@media (min-width: 769px) {
  .open-menu { display: none !important; }
  .nav-links { position: static; max-height: none; flex-direction: row; background: transparent; padding: 0; box-shadow: none; }
}

/* =========================
   ANIMATIONS — KEYFRAMES
   ========================= */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scroll-bounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================
   ANIMATION CLASSES (observer-ready)
   - initial state: opacity:0; animation-play-state: paused;
   - IntersectionObserver will set play-state to 'running' & opacity to 1
   ========================= */
.fade-in, .fade-in-up, .fade-in-left, .fade-in-right {
  opacity: 0;
  animation-duration: 2s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(.16,.84,.44,1);
  will-change: transform, opacity;
  animation-play-state: paused;
}

/* assign animation names */
.fade-in { animation-name: fadeIn; }
.fade-in-up { animation-name: fadeInUp; }
.fade-in-left { animation-name: fadeInLeft; }
.fade-in-right { animation-name: fadeInRight; }

/* small utilities for delays if declared inline */
[data-anim-delay="xs"] { animation-delay: 0.06s; }
[data-anim-delay="s"]  { animation-delay: 0.12s; }
[data-anim-delay="m"]  { animation-delay: 0.22s; }
[data-anim-delay="l"]  { animation-delay: 0.34s; }

/* =========================
   MICRO-INTERACTIONS & UTILITIES
   ========================= */
.icon-circle {
  display:inline-flex; align-items:center; justify-content:center;
  width:42px; height:42px; border-radius:10px; background: linear-gradient(180deg, rgba(140,82,255,0.06), rgba(168,122,200,0.03));
  color:var(--color-6); font-size:1.05rem;
}

.btn-ghost {
  background: transparent;
  color: var(--color-6);
  border: 1px solid rgba(95,54,133,0.06);
  padding: 0.6rem 1rem;
  border-radius: 999px;
}

/* small helper spacing */
.mt-1 { margin-top: 0.6rem; }
.mb-1 { margin-bottom: 0.6rem; }

/* =========================
   ACCESSIBILITY
   ========================= */
/* Focus visible for interactive elements */
a:focus, button:focus, .open-menu:focus, .service-open:focus {
  outline: 3px solid rgba(143,86,209,0.14);
  outline-offset: 3px;
  border-radius: 8px;
}

/* =========================
   LEGACY SUPPORT / FALLBACKS
   ========================= */
@supports(not (animation: name)) {
  .fade-in, .fade-in-up, .fade-in-left, .fade-in-right { opacity: 1; transform: none; animation: none; }
}

/* =========================
   TEXT TRANSFORMATION & COLOR RULES
   ========================= */

/* Body text, paragraphs, descriptions, service explanations */
body, p, .service-features li, .about-text, .testimonial-card, .contact-item, .hero-subtitle {
    color: var(--color-12); /* black */
    text-transform: lowercase; /* all lowercase */
}

/* Headings and section titles */
h1, h2, h3, h4, h5, h6,
.about-title, .services-title, .testimonials-title, .contact-title, 
.hero-title, .contact-form h3, .about-text strong {
    color: var(--color-6); /* deep purple #5F3685 */
    text-transform: uppercase; /* all uppercase */
}

/* =========================
   END OF FILE
   ========================= */