/* === 1. VARIABLE DECLARATION (Color Palette Updated to Logo Theme) === */
:root {
    /* Primary brand colors from the logo/theme */
    --color-primary: #6D4C44;    /* Deep Brown/Taupe (Main Accent, Buttons, Headings) */
    --color-secondary: #092825;  /* Very Dark Green (Logo Text, Strong Contrast, Footer BG) */
    --color-light-accent: #90A09A; /* Light Grayish Green (Subtle accents, social links) */
    
    /* Base Colors */
    --color-dark: #3c3c3c;       /* Dark text color */
    --color-light-bg: #f5f5f5;   /* Near-White/Off-White Background (Cleaner) */
    --color-white: #ffffff;
    
    /* General Typography & Spacing */
    --font-family-primary: 'Roboto', sans-serif;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 15px;
    /* Spacing scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    /* Elevation */
    --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
    --shadow-md: 0 6px 20px rgba(0,0,0,.08);
}

/* === 2. BASE & TYPOGRAPHY RESET === */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { font-size: 100%; }

body {
    font-family: var(--font-family-primary);
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-white);
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark);
    margin-bottom: 0.5em;
}

h1 { font-size: clamp(2rem, 2.8vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.2vw, 2.25rem); text-align: center; margin-bottom: 20px; }

.subtitle { text-align: center; font-size: 1.1em; color: #666; margin: 0 auto var(--space-8); max-width: 65ch; }

.tagline {
    display: block;
    text-align: center;
    color: var(--color-primary); /* CHANGED to Deep Brown */
    font-size: 1.2em;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

/* === 3. LAYOUT & UTILITIES === */
.container { max-width: 72rem; margin: 0 auto; padding-inline: var(--space-4); }

.section-padded { padding-block: clamp(3rem, 6vw, 6rem); position: relative; }

.section-alt { background: var(--color-light-bg); }

/* === About Section === */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: var(--space-8); align-items: start; }
.about-col { opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
.about-col.in-view { opacity: 1; transform: translateY(0); }
.about-content-flow > h3 { margin-top: var(--space-6); margin-bottom: var(--space-2); color: var(--color-secondary); }
.about-content-flow > p { line-height:2.5em; margin-bottom: var(--space-4); }
.about-card { position: sticky; top: 96px; background: #fff; border: 1px solid rgba(0,0,0,.06); border-radius: 16px; box-shadow: var(--shadow-sm); padding: var(--space-6); }
.about-card .ekyam-title { margin-bottom: var(--space-3); color: var(--color-primary); text-align: left; }
.about-chips { margin-top: var(--space-6); }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-card { position: static; }
}

/*EKYAM NAME*/

/* === EKYAM LETTER ANIMATION KEYFRAMES === */
/* === EXPLODED VIEW ANIMATION KEYFRAMES === */
@keyframes explode-out {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translate(var(--translate-x), 0) scale(1);
    }
}
/* Keep the previous keyframes */
@keyframes explode-out {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translate(var(--translate-x), 0) scale(1);
    }
}

/* === EKYAM EXPLODED VIEW STYLING (REVISED) === */
.ekyam-list-container {
    display: flex;
    justify-content: space-between; /* Spreads the words across the container */
    margin: 40px auto;
    max-width: 900px; /* Constrain width for better look */
    text-align: center;
}

/* Acronym explainer (clean list) */
.acronym-list { list-style: none; padding: 0; margin: var(--space-6) auto; max-width: 42rem; display: grid; gap: var(--space-3); }
.acronym-list li { display: flex; align-items: center; gap: var(--space-3); padding: .6rem .75rem; background: #fff; border: 1px solid rgba(0,0,0,.06); border-radius: 12px; box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; }
.acronym-letter { width: 2.25rem; height: 2.25rem; flex: 0 0 2.25rem; border-radius: 999px; background: var(--color-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.acronym-word { font-weight: 600; color: var(--color-dark); letter-spacing: 0.02em; }
.acronym-list.in-view li { opacity: 1; transform: translateY(0); }
.acronym-list.in-view li:nth-child(1) { transition-delay: 0ms; }
.acronym-list.in-view li:nth-child(2) { transition-delay: 60ms; }
.acronym-list.in-view li:nth-child(3) { transition-delay: 120ms; }
.acronym-list.in-view li:nth-child(4) { transition-delay: 180ms; }
.acronym-list.in-view li:nth-child(5) { transition-delay: 240ms; }

.ekyam-word-item {
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.25rem;
  opacity: 0;
  transform: translate(0, 0) scale(1);
}


/* Style the big letters E K Y A M */
.ekyam-word-item::before {
  content: attr(data-letter);
  display: inline;
  font-weight: 800;
  font-size: 1.1em;
  letter-spacing: 0.02em;
  color: var(--color-primary);
  margin-right: 2px;
  opacity: 0;
  transform: translate(0, 0) scale(1);
  animation: explode-out 0.9s cubic-bezier(0.25,0.46,0.45,0.94) forwards;
  animation-play-state: paused;
}



/* === ANIMATION POSITIONS & DELAYS (The Exploded View Logic) === */
/* The final position of the letters relative to their centered parent (.ekyam-word-item) */

/* E - Far Left */
.ekyam-word-item:nth-child(1) .ekyam-letter-span { animation-delay: 0.2s; }

/* K - Left-Center */
.ekyam-word-item:nth-child(2) .ekyam-letter-span { animation-delay: 0.4s; }

/* Y - Center */
.ekyam-word-item:nth-child(3) .ekyam-letter-span { animation-delay: 0.6s; }

/* A - Right-Center */
.ekyam-word-item:nth-child(4) .ekyam-letter-span { animation-delay: 0.8s; }

/* M - Far Right */
.ekyam-word-item:nth-child(5) .ekyam-letter-span { animation-delay: 1.0s; }


/* === SCROLL TRIGGER STATE === */

/* Class added by JavaScript when the user scrolls to the section */
.ekyam-list-container.is-visible .ekyam-word-item {
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.25rem;
  opacity: 0;
  transform: translate(0, 0) scale(1);
}


.ekyam-list-container.is-visible .ekyam-word-item::before {
  content: attr(data-letter);
  display: inline;
  font-weight: 800;
  font-size: 1.1em;
  letter-spacing: 0.02em;
  color: var(--color-primary);
  margin-right: 2px;
  opacity: 0;
  transform: translate(0, 0) scale(1);
  animation: explode-out 0.9s cubic-bezier(0.25,0.46,0.45,0.94) forwards;
  animation-play-state: paused;
}

 

/* Media Query to adjust positions on small screens */
@media (max-width: 768px) {
    .ekyam-centered-word { font-size: 1.8em; }
}

@media (max-width: 500px) {
    .ekyam-list-container {
        /* On very small screens, let the items wrap and stack naturally */
        flex-wrap: wrap; 
        height: auto;
        justify-content: space-around;
    }
    .ekyam-word-item {
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.25rem;
  opacity: 0;
  transform: translate(0, 0) scale(1);
}

    .ekyam-word-item::before {
  content: attr(data-letter);
  display: inline;
  font-weight: 800;
  font-size: 1.1em;
  letter-spacing: 0.02em;
  color: var(--color-primary);
  margin-right: 2px;
  opacity: 0;
  transform: translate(0, 0) scale(1);
  animation: explode-out 0.9s cubic-bezier(0.25,0.46,0.45,0.94) forwards;
  animation-play-state: paused;
}

}



.img-rounded-lg {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    display: block;
    object-fit: cover;
}

.img-rounded-md {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    display: block;
    object-fit: cover;
}

/* Mission & Values block */
.mission-values {
    background-color: var(--color-light-bg);
    padding: 30px;
    border-radius: var(--radius-lg);
    margin-top: 50px;
    text-align: center;
    border: 1px solid var(--color-primary);
}
.mission-values h3 {
    color: var(--color-primary);
}


/* === 4. BUTTONS & LINKS === */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: 12px 30px; text-decoration: none; border-radius: 12px; font-weight: 600; transition: background-color 0.2s ease, color 0.2s ease, transform .15s ease, box-shadow .2s ease; border: 1px solid transparent; font-size: 1.05em; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); }

.btn-primary {
    background-color: var(--color-primary); 
    color: var(--color-white); /* Ensures text is white against the dark background */
}

.btn-primary:hover { background-color: var(--color-secondary); color: var(--color-white); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); transform: translateY(-1px); }

.btn-secondary {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary:hover { background-color: var(--color-light-bg); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-link {
    color: var(--color-primary); /* CHANGED to Deep Brown */
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
}/* === HEADER & NAVIGATION === */
.header {
  background-color: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 4px rgba(0,0,0,.05);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: .5em 1em;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4em;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo */
.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-secondary);
  font-size: 2em;
  font-weight: 550;
  letter-spacing: .1em;
  padding: .5rem 1rem;
}

/* Nav container (links + CTA + hamburger) */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Links (desktop visible) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Individual links */
.nav-links a {
  text-decoration: none;
  color: var(--color-dark);
  padding: .5rem .75rem;
  border-radius: 999px;
  font-weight: 500;
  transition: color .2s ease, background-color .2s ease;
}
.nav-links a:hover {
  color: var(--color-primary);
  background: rgba(0,0,0,.04);
}

/* Contact button (always visible) */
.cta .btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
  padding: .5rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background-color .3s ease;
}
.cta .btn-primary:hover {
  background-color: var(--color-secondary);
}

/* Hamburger (right of contact) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  gap: 5px;
}
.hamburger span {
  display: block;
  height: 3px;
  width: 20px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

/* === MOBILE BREAKPOINT === */
@media (max-width: 768px) {
  .nav-menu {
    gap: .5rem;
  }

  /* hide nav links until hamburger click */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(10px);
    padding: .75rem;
    border-bottom: 1px solid rgba(0,0,0,.06);
    z-index: 99;
  }
  .nav-links a {
    padding: .8rem 1rem;
    border-radius: .75rem;
  }
  .nav-links.active {
    display: flex;
  }

  /* show hamburger next to contact */
  .hamburger {
    display: flex;
  }

  /* hide large-screen gaps */
  .nav-container {
    justify-content: space-between;
  }
}


/* === 6. HERO SECTION === */
.hero-section { min-height: 80vh; display: flex; align-items: center; padding: clamp(3rem, 6vw, 6rem) 0; background: linear-gradient(180deg, #fff 0%, rgba(144,160,154,.08) 100%); }

.hero-content { display: grid; grid-template-columns: 1.2fr .8fr; gap: var(--space-5); align-items: center; }
.hero-heading { text-align: center; margin-bottom: var(--space-8); }
.hero-heading .tagline { display: block; margin-bottom: var(--space-2); }
.hero-heading h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--color-secondary); }

.hero-left {
    flex: 1;
    max-width: 60%;
    font-size: large;
    line-height: 2em;
}

.hero-right {
    flex: 1;
    min-height: 400px;
    background-image: url('images/Final\ Ekyam_Final\ Aprroved\ \(2\).png'); /* Placeholder image, replace with suitable image */
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    /* Filter applied here for B&W look */
}

.hero-left h2 { font-size: clamp(2rem, 4vw, 3rem); text-align: left; color: var(--color-secondary); }

.hero-actions { display: flex; gap: var(--space-4); margin-top: var(--space-6); }

.hero-actions .btn { margin-right: 0; }

/* === 7. SERVICES SECTION STYLING (Taller, B&W Background) === */

#services { padding-top: 50px; padding-bottom: 100px; color: var(--color-white); position: relative; z-index: 1; }

/* Overlay to darken the B&W image and improve readability */
#services::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)), url('images/background\ baby.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; filter: grayscale(100%); }

/* Ensure text is light/white on the dark background */
#services h2{
    color: var(--color-white);
    font-size: 2.5em;
}
#services .subtitle,
#services .tagline {
    color: var(--color-white); 
}

/* Service Cards Container */
.service-cards { display: grid; gap: var(--space-6); grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 40px; }

.service-card { background-color: rgba(255, 255, 255, 0.918); padding: 20px; border-radius: 16px; box-shadow: var(--shadow-sm); text-align: center; color: var(--color-dark); transition: transform .18s ease, box-shadow .18s ease; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.service-card h3 {
    color: var(--color-primary); /* CHANGED to Deep Brown */
    margin-top: 15px;
    font-size: 1.4em;
}

.service-card p {
    margin-bottom: 15px;
}

.service-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 12px; }


/* === 8. FOUNDER PROFILE SECTION === */

.founder-container .tagline{
    font-size: 2em;
    font-weight: 400;
}

.founder-profile {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    text-align: left;
    max-width: 1000px;
    margin: 40px auto;
    
}

.founder-profile .profile-image {
    flex-shrink: 0;
    width: 350px;
}

.founder-profile .profile-details {
    flex-grow: 1;
    line-height: 2.4em;
}

.founder-profile ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.founder-profile ul li {
    margin-bottom: 5px;
    padding-left: 1.5em;
    text-indent: -1.5em;
    font-weight: 500;
line-height: 2.5em;
}

.founder-profile ul li::before {
    content: "\f0c9"; /* Use the Font Awesome "check" icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    line-height: 0.5em;
    margin-right: 0.5em;
}

.founder-profile h4 {
    color: var(--color-primary); /* CHANGED to Deep Brown */
    margin-top: 20px;
}


/* === 9. CONSULTATION & CONTACT SECTION === */
.consultation-cards { display: grid; gap: var(--space-6); grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 40px; margin-bottom: 40px; text-align: center; }

.consult-card { padding: 30px; border: 1px solid #ddd; border-radius: 16px; text-align: center; background-color: var(--color-white); box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.consult-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.consult-card i {
    color: var(--color-primary); /* CHANGED to Deep Brown */
    font-size: 2.5em;
    margin-bottom: 10px;
}

.consult-card h3 {
    color: var(--color-dark);
}

.contact-details {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background-color: var(--color-light-bg);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--color-primary);
}

.contact-details h3 {
    color: var(--color-primary);
    margin-bottom: 15px;
}

.contact-details p {
    margin-bottom: 8px;
    font-size: 1.1em;
}

.contact-details p strong {
    font-weight: 700;
}


/* === 10. FOOTER === */
.footer {
    background-color: var(--color-secondary); /* CHANGED to Very Dark Green */
    color: #ccc;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
}

/* === 11. MEDIA QUERIES (RESPONSIVENESS) === */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-left {
        max-width: 100%;
    }

    .hero-left h2 {
        text-align: center;
        font-size: 2.8em;
    }

    .hero-actions {
        text-align: center;
    }
    
    /* Services Section */
    .service-card {
        flex-basis: calc(50% - 15px); /* 2 cards per row */
    }

    /* Founder Section */
    .founder-profile {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .founder-profile .profile-image {
        width: 100%;
        max-width: 350px;
    }

    /* Contact Section */
    .consultation-cards {
        flex-direction: column;
        align-items: center;
    }
    .consult-card {
        max-width: 90%;
    }
}

@media (max-width: 600px) {
    h2 {
        font-size: 2em;
    }

    .nav-menu a {
        margin-left: 10px;
    }

    .service-card {
        flex-basis: 100%; /* 1 card per row */
    }

    .flex-row {
        flex-direction: column;
    }
}


/* === REVISED CONTACT GRID LAYOUT === */
.contact-grid-container {
    display: grid;
    /* Two rows: one for text, one for buttons */
    grid-template-rows: auto auto; 
    gap: 15px; /* Vertical gap between the two rows */
    margin-bottom: 25px; 
}

/* Row 1: Phone and Email Text */
.contact-text-row {
    display: flex;
    justify-content: center;
    gap: 40px; /* Space between Phone and Email */
    font-size: 1.1em;
    font-weight: 500;
}

.contact-static-item {
    /* Ensures symbols appear correctly */
    display: inline-flex; 
    align-items: center;
    color: var(--color-dark);
}

/* Row 2: Call and WhatsApp Buttons */
.contact-action-row {
    display: flex;
    justify-content: center;
    gap: 20px; /* Space between the two buttons */
}

/* Styling for the new action buttons (using base .btn structure) */
.btn-call-action,
.btn-whatsapp-action {
    /* Inherit base button style, but slightly smaller/less padded than primary nav button */
    padding: 10px 20px;
    font-size: 1em;
    font-weight: 600;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: background-color 0.3s, transform .15s ease, box-shadow .2s ease;
}

/* WhatsApp Button Specific Style (Using Primary Brand Color) */
.btn-whatsapp-action {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.btn-whatsapp-action:hover {
    background-color:  #051A18; /* Darker shade of Very Dark Green for hover */
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Call Button Specific Style (Using Dark Brand Color for contrast/prominence) */
.btn-call-action {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-call-action:hover {
    background-color:#8C6A5F; /* Lighter shade of Deep Brown for hover */
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}


/* Media Query for smaller screens: stack elements vertically */
@media (max-width: 600px) {
    .contact-text-row,
    .contact-action-row {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}

/* === MAP LOCATION LINKS STYLING === */
/* === MAP LOCATION LINKS STYLING (UPDATED) === */
.location-group {
    /* Remove PADDING-TOP and BORDER-TOP here if you want the visual separator only below the text/action rows */
    /* If you want the separator above this section, keep it. */
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(109, 76, 68, 0.4); 
    
    display: block; /* Change from flex to block for standard flow */
    text-align: center; /* Center the heading */
    margin-bottom: 20px; /* Add some spacing below the group */
}

.location-group h4 {
    color: var(--color-dark); /* Ensure heading is dark */
    margin-bottom: 15px;
    font-size: 1.2em;
}

.map-link:hover {
    color: var(--color-secondary); /* CHANGED to Very Dark Green on hover */
    border-bottom: 1px dashed var(--color-secondary);
}

/* === NEW RULE: Spreads out the links in the hospital list === */
.location-links.spread-full {
    display: flex;
    flex-wrap: wrap; /* Allows links to wrap to the next line if needed */
    justify-content: space-between; /* Pushes the first item to the left, last to the right, and spaces the rest evenly */
    align-items: center;
    text-align: left;
    gap: 10px 5px; /* Small vertical gap, small horizontal gap if wrapping */
}

/* The standard location-links will remain centered using the parent's text-align: center; */
.location-links {
    font-size: 1.1em;
}

/* Ensure the map links are styled correctly (already existing) */
.map-link {
    color: var(--color-primary); 
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    /* ... other map-link styles ... */
}

/* === SOCIAL ICONS STYLING === */
.social-icons {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(109, 76, 68, 0.4); /* CHANGED to rgba(Deep Brown, 0.4) */
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-icons a {
    color: var(--color-light-accent); /* CHANGED to Light Grayish Green */
    font-size: 2.2em;
    transition: color 0.2s ease, transform .15s ease;
}

.social-icons a:hover {
    color: var(--color-primary); /* CHANGED to Deep Brown on hover */
    transform: translateY(-1px);
}
/* EKYAM exploded layout offsets */
.ekyam-word-item:nth-child(2) { --translate-x: -60px; }
.ekyam-word-item:nth-child(3) { --translate-x: 0px; }
.ekyam-word-item:nth-child(4) { --translate-x: 60px; }
.ekyam-word-item:nth-child(5) { --translate-x: 120px; }



/* Accessibility: focus styles */
.btn:focus-visible,
.chip:focus-visible,
.map-link:focus-visible,
.nav-menu a:focus-visible { outline: 3px solid rgba(9,40,37,.35); outline-offset: 2px; }

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

a:focus-visible { text-decoration: underline; outline-offset: 2px; }

/* Responsive grids */
@media (max-width: 1000px) {
  .service-cards,
  .consultation-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-right { order: -1; }
}

@media (max-width: 640px) {
  .service-cards,
  .consultation-cards { grid-template-columns: 1fr; }
}

