/* Reset and Base Styles */
@import url('https://use.typekit.net/ulq2mve.css'); /* Amifer */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "source-sans-3", sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    font-weight: 100;
    font-style: normal;
}

/* Import Source Serif 4 Variable font */
@import url('https://fonts.adobe.com/fonts/source-serif-4-variable');

/* Heading styles with Source Serif 4 Variable */
h1, h2, h3, h4, h5, h6 {
    font-family: "source-serif-4-variable", serif;
    font-variation-settings: 'wght' 400, 'opsz' 20;
}

.section-title {
    font-family: "source-serif-4-variable", serif;
    font-variation-settings: 'wght' 400, 'opsz' 20;
}

/* Global heading sizes (desktop) */
h1 {
    font-size: 5.5rem; /* 66pt ≈ 88px */
    line-height: 1.1;
}
h2 {
    font-size: 4.6667rem; /* 56pt ≈ 74.67px */
    line-height: 1.15;
}
h3 {
    font-size: 3.5rem; /* 42pt ≈ 56px */
    line-height: 1.2;
}
h4 {
    font-size: 2rem; /* 24pt ≈ 32px */
    line-height: 1.3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff !important;
    background-color: #ffffff !important;
    opacity: 1 !important;
    z-index: 1000;
    padding: 2rem 0 1.5rem 0;
    border: none;
    box-shadow: none;
}

/* Project template: white background header like other pages */
.page-template-page-project .header {
    position: relative;
    background: #ffffff !important;
    background-color: #ffffff !important;
    opacity: 1 !important;
    box-shadow: none !important;
}

.page-template-page-project .header-flex {
    padding: 0.5rem 1rem 0.2rem 1rem !important;
    background: #ffffff;
    opacity: 1;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.1s ease-out;
    opacity: 1;
}

.logo {
    font-size: 2.5rem;
    font-weight: 300;
    color: #000;
    letter-spacing: -1px;
    font-family: 'Inter', sans-serif;
    transition: transform 0.1s ease-out;
}

/* Ensure parallax transitions work on all pages */
.page-template-page-about .logo,
.page-template-page-project .logo,
.page-template-page-services .logo,
.page-template-page-works .logo,
.page-template-page-white-label .logo {
    transition: transform 0.1s ease-out;
}

/* Custom logo sizing in header: keep visual height ~40px */
.logo .site-logo {
    height: 40px;
    width: auto;
    display: block;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.cta-button {
    background: #00FF00;
    color: #000;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    text-transform: none;
    letter-spacing: 0;
    display: inline-block;
    text-align: center;
    font-family: "amifer", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.cta-button:hover {
    background: #00FF00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 0, 0.3);
}

.cta-button.contact-btn {
    background: #222;
    color: #00FF00;
    border: none;
    padding: 0.8em 2.5em;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1.2rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0;
    text-transform: none;
    box-shadow: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.1s ease-out;
    outline: none;
    display: inline-block;
    text-align: center;
    font-family: "amifer", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.cta-button, .cta-button.contact-btn:hover {
    background: #00FF00;
    color: #000;
    box-shadow: 0 2px 12px rgba(0,255,0,0.2);
}

.header-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    cursor: pointer;
    margin-left: 1.5rem;
    background: none;
    border: none;
    outline: none;
    transition: transform 0.1s ease-out;
}

/* Ensure parallax transitions work on all pages */
.page-template-page-about .contact-btn,
.page-template-page-project .contact-btn,
.page-template-page-services .contact-btn,
.page-template-page-works .contact-btn,
.page-template-page-white-label .contact-btn {
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.1s ease-out;
}

.page-template-page-about .header-hamburger,
.page-template-page-project .header-hamburger,
.page-template-page-services .header-hamburger,
.page-template-page-works .header-hamburger,
.page-template-page-white-label .header-hamburger {
    transition: transform 0.1s ease-out;
}

.header-hamburger span {
    display: block;
    width: 36px;
    height: 4px;
    background: #111;
    border-radius: 2px;
    margin: 4px 0;
    transition: all 0.3s;
}

/* Hero Title Section */
.hero-title-section {
    background: white;
    padding: 20px 0 50px;
    text-align: left;
    position: relative;
    z-index: 10;
    transition: transform 0.1s ease-out;
}

.hero-title-text {
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.2;
    color: #333;
    margin: 0;
    font-family: "amifer", sans-serif;
    font-weight: 500;
    font-style: normal;
    transition: transform 0.1s ease-out;
}

.hero-title-text .highlight {
    color: #03ff00;
}

.service-hero-title-text {
    font-family: "amifer", sans-serif;
    font-size: 1.5rem;
    color: #333333 !important;
}

.service-hero-title-text .highlight {
    color: #333333 !important;
}

/* Works page: heading/subheading style */
.page-template-page-works .hero-title-text {
    font-size: 1.125rem;
    font-weight: 900;
    color: #0a0a0a;
    margin-bottom: 1rem;
}

.page-template-page-works .hero-title-text .highlight {
    font-family: "amifer", sans-serif;
    font-size: 1.5rem;
    color: #333333 !important;
}

.page-template-page-works .hero-title-section .section-description {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 300;
    color: #222;
    max-width: 800px;
    margin: 0;
}


/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 400px;
    background: #222;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

/* Parallax Container */
.parallax-container {
    position: relative;
    z-index: 2;
    background: white;
}

/* Main content positioning for parallax */
.site-main {
    position: relative;
    z-index: 2;
}

.carousel-slide {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: #222;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.carousel-slide.active {
    display: flex;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    min-height: 400px;
    background: #222;
    display: block;
    opacity: 1 !important;
    transition: opacity 0.3s;
    position: absolute;
    top: 0;
    left: 0;
}

.carousel-slide img.loading {
    opacity: 0.5 !important;
    filter: blur(4px) grayscale(0.5);
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 90%;
    max-width: 1200px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.highlight {
    color: #00ff88;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 2px;
}

.page-template-page-project .carousel-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 20;
}

.nav-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.8);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0;
    outline: none;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    display: inline-block;
}

.nav-dot.active {
    background: #00ff88;
    border-color: #00ff88;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.6);
}

.nav-dot:hover {
    background: rgba(0, 255, 136, 0.3);
    border-color: #00ff88;
    transform: scale(1.1);
}

/* Ensure dots look consistent on focus and when overlaying video */
.hero .carousel-nav .nav-dot:focus { outline: none; box-shadow: 0 0 0 2px rgba(255,255,255,0.35); }
.hero .carousel-nav { position: static; bottom: auto; left: auto; transform: none; z-index: 20; display: flex; gap: 15px; justify-content: center; margin-top: 18px; }
.hero .carousel-slide video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Home hero carousel: larger dots and new colors */
.hero .nav-dot {
    width: 26px; /* 75% larger than base 15px */
    height: 26px;
    border: none; /* solid filled dot */
    background: #e7ffe4; /* off state */
}
.hero .nav-dot.active { background: #000000; border: none; box-shadow: none; }
.hero .nav-dot:hover { background: #e7ffe4; border: none; }

/* Play Connect Discover Section */
.play-connect-discover {
    padding: 100px 0;
    background: white;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.section-chevron-bg {
    position: absolute;
    top: 0;
    left: 0vw;
    width: 600px;
    height: 100%;
    background: #00FF00;
    clip-path: polygon(60% 0, 100% 0, 40% 100%, 0 100%);
    z-index: 0;
    pointer-events: none;
}

.play-connect-discover .container,
.play-connect-discover .section-title,
.play-connect-discover .section-description,
.play-connect-discover .client-logos {
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 3rem;
    font-weight: 400;
    text-align: left;
    margin-bottom: 2rem;
    color: #333;
    font-family: "amifer", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.section-description {
    font-size: 1.8rem;
    text-align: left;
    max-width: 800px;
    color: #333;
    line-height: 1.6;
    font-style: normal;
    margin-bottom: 50px;
}

.what-we-do .section-description {
    font-size: 1.8rem;
    text-align: left;
    max-width: 600px;
    color: #333;
    line-height: 1.6;
    font-style: normal;
    margin-bottom: 50px;
}

.awards .section-description {
    margin: unset;
}

.client-logos {
    overflow: hidden;
    position: relative;
    padding-bottom: 16px; /* prevent bottom shadow from being clipped */
}

.logo-scroll {
    display: flex;
    animation: scrollAwards 120s linear infinite; /* slower speed for larger set */
    width: max-content;
    gap: 1.25rem;
}

/* Ensure client logo images fill the tile comfortably */
.client-logos .logo-item img {
    max-width: 70% !important;
    max-height: 70% !important;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.logo-item {
    background: white;
    padding: 0;
    margin: 0 12px;
    border-radius: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    font-weight: 700;
    font-size: 2.2rem;
    white-space: nowrap;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.logo-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: none;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Latest Work Section */
.latest-work {
    padding: 100px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.latest-work .section-chevron-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 600px;
    height: 180px;
    background: #00FF00;
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
    z-index: 0;
    pointer-events: none;
}

.latest-work .container,
.latest-work .section-title,
.latest-work .section-description,
.latest-work .work-grid {
    position: relative;
    z-index: 1;
}

.latest-work .section-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: left;
    margin-bottom: 0.75rem; /* tighter gap to subheader */
    color: rgb(51, 51, 51);
    font-family: "amifer", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.latest-work .section-description {
    font-size: 1.8rem;
    text-align: left;
    max-width: 550px;
    color: #333;
    line-height: 1.6;
    font-style: normal;
    margin-bottom: 50px;
}

.work-grid {
    display: flex;
    gap: 3rem;
    justify-content: flex-start;
    margin-bottom: 3rem;
}

.work-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
    transition: all 0.3s ease;
    cursor: pointer;
    width: 320px;
    min-width: 260px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
}

.work-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.card-image {
    height: 240px;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    margin: 0;
    padding: 0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px 24px 0 0;
    margin: 0;
    padding: 0;
    display: block;
    transition: transform 420ms ease-in-out;
    will-change: transform;
}

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

.card-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 1.5rem 1.5rem 0.5rem;
    color: #111;
    font-family: "amifer", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.card-description {
    color: #444;
    margin: 0 1.5rem 1.5rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Testimonial Section */
.testimonial {
    padding: 80px 0 60px 0;
    background: #333333;
    color: white;
    text-align: center;
}

.testimonial-slider {
    max-width: 1100px;
    margin: 0 auto 2.5rem auto;
}

.testimonial-slide {
    display: none;
    text-align: center;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

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

.testimonial-quote {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 2.5rem;
    color: #fff;
    quotes: none;
    font-family: "amifer", sans-serif;
    font-weight: 500;
    font-style: normal;
}
.testimonial-quote::before {
    content: none;
}
.testimonial-quote::after {
    content: none;
}

.testimonial-author {
    display: block;
    font-size: 1rem;
    color: #00FF00;
    font-weight: 500;
    margin-bottom: 2.2rem;
    margin-top: 0.5rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 0.5rem;
}

/* Testimonial dots (override to ensure consistency) */
.testimonial .testimonial-dots .dot {
  width: 25px; /* ~75% larger than original 14px */
  height: 25px;
  border-radius: 50%;
  padding: 0;
  margin: 0;
  background: #e7ffe4; /* off state */
  border: none;
  outline: none;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  display: inline-block;
  transition: background 0.2s, transform 0.2s;
}
.testimonial .testimonial-dots .dot.active {
  background: #000000; /* on state */
  border: none;
  box-shadow: none;
  transform: scale(1.05);
}
.testimonial .testimonial-dots .dot:hover { transform: scale(1.1); }
.testimonial .testimonial-dots .dot:focus { outline: none; box-shadow: 0 0 0 2px rgba(255,255,255,0.3); }

/* What We Do Best Section */
.what-we-do {
    padding: 100px 0;
    background: white;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.what-we-do .section-chevron-bg {
    position: absolute;
    top: 0;
    left: 0vw;
    width: 600px;
    height: 100%;
    background: #00FF00;
    clip-path: polygon(60% 0, 100% 0, 40% 100%, 0 100%);
    z-index: 0;
    pointer-events: none;
}

.what-we-do .container,
.what-we-do .section-title,
.what-we-do .section-description,
.what-we-do .services-grid {
    position: relative;
    z-index: 1;
}

.what-we-do .section-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: left;
    margin-bottom: 0.75rem; /* tighter gap to subheader */
    color: rgb(51, 51, 51);
    font-family: "amifer", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.what-we-do .section-description {
    font-size: 1.8rem;
    text-align: left;
    max-width: 600px;
    color: #333;
    line-height: 1.6;
    font-style: normal;
    margin-bottom: 50px;
}

.what-we-do .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 8rem;
}

/* Center the Our Services button on the Home page */
.what-we-do .cta-button {
    display: block;
    margin: 2.5rem auto 0 auto;
    background: #222;
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 999px;
    padding: 0.8em 2.5em;
    box-shadow: none;
    letter-spacing: 0;
    text-transform: none;
    border: none;
    outline: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.what-we-do .cta-button:hover {
    background: #00FF00;
    color: #000;
    box-shadow: 0 2px 12px rgba(0,255,0,0.2);
}

.service-tile {
    background: none;
    box-shadow: none;
    border: none;
    padding: 0;
    cursor: pointer;
    perspective: 1200px;
    border-radius: 32px;
    transition: box-shadow 0.2s;
}

.card-flip {
    width: 100%;
    height: auto;
    min-width: 220px;
    min-height: 220px;
    aspect-ratio: 1 / 1; /* make cards square */
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.77,0,0.175,1);
    border-radius: 32px;
}
.service-tile:hover .card-flip,
.service-tile:focus .card-flip {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 32px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden; /* Safari fix for bleed during flip */
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 32px 16px 24px 16px;
    background: #fff;
    z-index: 1;
}
.card-front { position: absolute; overflow: hidden; background: #ffffff; }
.card-front::before {
    content: "";
    position: absolute;
    inset: -10%;
    background: linear-gradient(135deg, transparent 42.5%, rgba(0,255,0,0.12) 42.5%, rgba(0,255,0,0.12) 57.5%, transparent 57.5%);
    border-radius: inherit;
    z-index: 0;
}
.card-front .service-icon, .card-front .service-title { position: relative; z-index: 1; }
.card-back {
    background: #00FF00;
    color: #111;
    transform: rotateY(180deg);
    z-index: 2;
    box-shadow: 0 8px 32px rgba(0,255,0,0.10);
    position: relative;
    overflow: hidden;
}
.card-back::before {
    content: "";
    position: absolute;
    inset: -10%;
    background: linear-gradient(135deg, transparent 42.5%, rgba(255,255,255,0.35) 42.5%, rgba(255,255,255,0.35) 57.5%, transparent 57.5%);
    border-radius: inherit;
    z-index: 0;
}
.card-back .service-back-header { display: flex; align-items: center; gap: 0.8rem; width: 100%; justify-content: flex-start; position: relative; z-index: 1; }
.card-back .service-back-header .service-icon { margin: 0; width: 48px; height: 48px; }
.card-back .service-back-header .service-icon img { width: 40px; height: 40px; filter: none; }
.card-back .service-back-header .service-title { margin: 0; font-size: 1.1rem; font-weight: 700; line-height: 1; align-self: center; }
.service-bullets { margin: 1rem 0 0; padding-left: 1.2rem; list-style: disc; text-align: left; position: relative; z-index: 1; }
.service-bullets li { margin: 0.4rem 0; }
.card-front .service-title {
    color: #222;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 1.2rem;
    margin-bottom: 0;
    font-family: "amifer", sans-serif;
    font-weight: 500;
    font-style: normal;
}
.card-back .service-title {
    color: #222;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 1.2rem;
    margin-bottom: 0;
    font-family: "amifer", sans-serif;
    font-weight: 500;
    font-style: normal;
}
.card-back .service-description {
    color: #000000;
    font-size: 0.90rem;
    margin-top: 0.7rem;
    margin-bottom: 0;
    text-align: center;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: 4.2em;
    white-space: normal;
}
.card-front .service-icon,
.card-back .service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-front .service-icon img {
    /* width: 48px;
    height: 48px;
    */
    width: 82px;
    height: 82px;
    max-width: none;
}
.card-back .service-icon img {
    width: 48px;
    height: 48px;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(1) contrast(1);
    filter: drop-shadow(0 0 2px #00FF00);
}

.service-tile.active { background: transparent; color: inherit; transform: scale(1.05); }

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
}

.service-tile.active .service-icon {
    color: #00ff88;
}

.service-icon svg {
    width: 30px;
    height: 30px;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
}

.service-tile.active .service-description {
    color: rgba(0, 0, 0, 0.9);
}

/* Expertise Section */
.expertise {
    padding: 70px 0 40px 0; /* further reduced spacing */
    background: transparent;
}

.expertise-card {
    background: repeating-linear-gradient(135deg, #333 0 32px, #363636 32px 64px);
    border-radius: 24px;
    padding: 48px 36px 48px 36px;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0,255,0,0.08);
    position: relative;
}
.expertise-card .section-title {
    color: #00FF00;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    font-family: "amifer", sans-serif;
    font-weight: 500;
    font-style: normal;
}
.expertise-card .section-description {
    color: #fff;
    font-size: 1.15rem;
    text-align: center;
    margin: auto;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 2.5rem;
    margin-top: 0;
}
.expertise-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    cursor: default !important;
}

.expertise-item:hover {
    transform: none !important;
    box-shadow: none !important;
    background: none !important;
    opacity: 1 !important;
    cursor: default !important;
}

.expertise-item * {
    transition: none !important;
}

.expertise-item:hover * {
    transform: none !important;
    box-shadow: none !important;
    background: none !important;
    opacity: 1 !important;
}

.expertise-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0.7rem;
    margin-top: 0; /* center-align with title vertically */
}
.expertise-icon img {
    width: 54px;
    height: 54px; /* requested 54x54 */
    opacity: 0.8;
    object-fit: contain;
    display: block;
}
.expertise-title {
    color: #00FF00;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0 1rem; /* tighten spacing next to centered icon */
    display: flex;
    align-items: center;
    font-family: "amifer", sans-serif;
    font-weight: 500;
    font-style: normal;
}
.expertise-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}
.expertise-description {
    color: #fff;
    font-size: 1rem;
    line-height: 1.5;
    max-width: 340px;
    margin: -10px 0 0 4rem
}

/* Awards Section */
.awards {
    padding: 60px 0 40px 0; /* further reduced spacing */
    background: #fff;
}

.awards .section-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: left;
    margin-bottom: 0.75rem;
    color: rgb(51, 51, 51);
    font-family: "amifer", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.awards .section-description {
    font-size: 1.8rem;
    text-align: left;
    max-width: 650px;
    color: #333;
    line-height: 1.6;
    font-style: normal;
    margin-bottom: 50px;
}

.awards-carousel {
    overflow: hidden;
    position: relative;
    width: auto;
    left: auto;
    transform: none;
}

.awards-scroll {
    display: flex;
    animation: scrollAwards 50s linear infinite; /* match client logos speed */
    width: max-content;
    gap: 1.25rem;
}

.award-item {
    padding: 0;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    color: #222;
    width: 140px;
    height: 140px;
    min-width: 140px;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    border: none;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin: 12px;
}

.award-item:hover {
    transform: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Ensure award logos fit neatly inside square tiles */
.award-item img { max-width: 70% !important; max-height: 70% !important; width: auto; height: auto; object-fit: contain; display: block; }

@keyframes scrollAwards {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Footer */
.footer {
    background: #2c2c2c;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.footer-left {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
}

.footer-logo {
    font-size: 3rem;
    font-weight: 700;
    color: #00ff88;
    font-family: 'Inter', sans-serif;
    letter-spacing: -2px;
}
.footer-logo .site-logo { height: 40px; width: auto; display: block; }

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.1rem;
    font-weight: 400;
    font-family: "amifer", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.footer-nav a:hover {
    color: #00FF00;
}

.footer-right {
    display: flex;
    gap: 4rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: "amifer", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 400;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-section .email-link:hover, .footer-section p:first-child:hover {
    color: #00FF00;
}

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

.social-icon {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.social-icon:hover {
    background: #00FF00;
    color: #111;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 255, 0, 0.25);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: right;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 400;
}

/* Mobile typography (<=600px)
   Spec: H1 33pt (~44px), H2 28pt (~37.33px), H3 20pt (~26.67px), H4 16pt (~21.33px), Body 15pt (~20px), Body small 12pt (~16px) */
@media (max-width: 600px) {
    body { font-size: 1.25rem; }
    h1 { font-size: 2.75rem; line-height: 1.15; }
    h2 { font-size: 2.3333rem; line-height: 1.2; }
    h3 { font-size: 1.6667rem; line-height: 1.25; }
    h4 { font-size: 1.3333rem; line-height: 1.3; }
    .body-small, .text-small { font-size: 1rem; }
}

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

    .hero-title-section {
        padding: 100px 0 60px;
    }

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

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

    .header-flex {
        padding: 0 10px;
    }
    .cta-button.contact-btn {
        font-size: 1rem;
        padding: 0.7em 1.5em;
    }
    .header-hamburger {
        width: 40px;
        height: 40px;
    }
    .header-hamburger span {
        width: 28px;
        height: 3px;
        margin: 3px 0;
    }

    .menu-content {
        width: 100%;
        padding: 40px 30px;
    }

    .menu-link {
        font-size: 1.8rem;
    }

    .carousel-content {
        width: 95%;
        padding: 0 20px;
    }

    .carousel-nav {
        bottom: 30px;
    }

    .nav-dot {
        width: 12px;
        height: 12px;
        border-width: 2px;
    }

    .hamburger-menu {
        top: 80px;
        right: 20px;
    }

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

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

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

    .awards-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        text-align: center;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Restore fixed menu button styles */
.fixed-menu-button {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    z-index: 1002;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
}

.hamburger-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.hamburger-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.hamburger-icon span {
    width: 20px;
    height: 2px;
    background: #333;
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

/* Floating round menu button rotation */
.fixed-menu-button .hamburger-icon {
    transition: transform 0.5s cubic-bezier(0.77,0,0.175,1);
}
.fixed-menu-button:hover .hamburger-icon {
    transform: rotate(180deg);
}

/* Popup menu redesign */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #333333;
    z-index: 1003;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out, visibility 0.5s ease-in-out;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}
.menu-overlay.active {
    visibility: visible;
    transform: translateX(0);
}
.menu-content {
    display: flex;
    flex-direction: row;
    width: 100vw;
    height: 100vh;
    padding: 0;
    background: transparent;
    position: relative;
}
.menu-left {
    background: transparent;
    color: #fff;
    width: 40vw;
    min-width: 320px;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 40px 0 0 7vw;
    z-index: 2;
}
.menu-logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00FF00;
    margin-bottom: 60px;
}
.menu-nav {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 100px;
}
.menu-link {
    font-size: 2.2rem;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    padding: 0;
    display: block;
}
.menu-link.active,
.menu-link:hover {
    color: #00FF00;
}
.menu-right {
    position: relative;
    flex: 1 1 0;
    background: transparent;
    overflow: hidden;
    z-index: 1;
}
.menu-top-actions {
    position: absolute;
    top: 40px;
    right: 60px;
    display: flex;
    align-items: center;
    gap: 24px;
    z-index: 2;
}
.menu-contact-btn {
    background: #222;
    color: #00FF00;
    border: none;
    padding: 0.7em 2em;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0;
    text-transform: none;
    box-shadow: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    outline: none;
    display: inline-block;
    text-align: center;
}
.menu-contact-btn:hover {
    background: #00FF00;
    color: #000;
    box-shadow: 0 2px 12px rgba(0,255,0,0.2);
}
.close-menu {
    background: transparent;
    border: none;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 0;
    color: #111;
    transition: opacity 0.2s;
}
.close-menu:hover { background: transparent; opacity: 0.7; }
.close-menu:focus { outline: none; box-shadow: none; }
.close-menu svg { width: 60px; height: 60px; }
.close-menu svg line { stroke: currentColor; }
.menu-diagonal {
    position: absolute;
    top: 0;
    right: -200px;
    width: 120vw;
    height: 100vh;
    background: #fff;
    clip-path: polygon(70% 0, 100% 0, 60% 100%, 30% 100%);
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 900px) {
    .menu-diagonal {
        clip-path: polygon(75% 0, 100% 0, 100% 100%, 55% 100%);
    }
}


/* --- SLIDER ANIMATIONS --- */
.carousel-slide {
    transition: none;
}

.carousel-slide.slide-in-right {
    animation: slideInRight 0.7s cubic-bezier(0.77,0,0.175,1) both;
    z-index: 2;
}
.carousel-slide.slide-in-left {
    animation: slideInLeft 0.7s cubic-bezier(0.77,0,0.175,1) both;
    z-index: 2;
}
.carousel-slide.slide-out-left {
    animation: slideOutLeft 0.7s cubic-bezier(0.77,0,0.175,1) both;
    z-index: 1;
}
.carousel-slide.slide-out-right {
    animation: slideOutRight 0.7s cubic-bezier(0.77,0,0.175,1) both;
    z-index: 1;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0.7; }
    to   { transform: translateX(0); opacity: 1; }
}
@keyframes slideInLeft {
    from { transform: translateX(-100%); opacity: 0.7; }
    to   { transform: translateX(0); opacity: 1; }
}
@keyframes slideOutLeft {
    from { transform: translateX(0); opacity: 1; }
    to   { transform: translateX(-100%); opacity: 0.7; }
}
@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to   { transform: translateX(100%); opacity: 0.7; }
}

@media (max-width: 1100px) {
    .work-grid {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

}
@media (max-width: 700px) {
    .work-card {
        width: 95vw;
        min-width: 0;
    }

}

.latest-work .cta-button {
    display: block;
    margin: 2.5rem auto 0 auto;
    background: #222;
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 999px;
    padding: 0.8em 2.5em;
    box-shadow: none;
    letter-spacing: 0;
    text-transform: none;
    border: none;
    outline: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.latest-work .cta-button:hover {
    background: #00FF00;
    color: #000;
    box-shadow: 0 2px 12px rgba(0,255,0,0.2);
}

/* Services page: dark themed Latest Work section */
.page-template-page-services .latest-work {
    background: #2c2c2c; /* match footer background */
    color: #fff;
}
.page-template-page-services .latest-work .section-title {
    color: #00FF00;
}
.page-template-page-services .latest-work .section-description {
    color: rgba(255,255,255,0.85);
}
.page-template-page-services .work-card {
    background: transparent;
}
.page-template-page-services .work-card .card-image img {
    border-radius: 18px;
    box-shadow: 0 22px 60px rgba(0,0,0,0.35);
}
.page-template-page-services .work-card .card-title,
.page-template-page-services .work-card .card-title a {
    color: #fff;
}
.page-template-page-services .work-card .card-description {
    color: rgba(255,255,255,0.85);
}

/* About page: make Latest Work match footer colors */
.page-template-page-about .latest-work {
    background: #2c2c2c;
}
.page-template-page-about .latest-work .section-title,
.page-template-page-about .latest-work .section-description {
    color: #fff;
}
.page-template-page-about .latest-work .cta-button {
    background: #fff;
    color: #222;
}
.page-template-page-about .latest-work .cta-button:hover {
    background: #eaeaea;
    color: #111;
}

/* About page: Our Work button white off / green hover */
.page-template-page-about .latest-work .cta-button {
    background: #ffffff;
    color: #222222;
}
.page-template-page-about .latest-work .cta-button:hover {
    background: #00FF00;
    color: #000000;
}

/* Services page: Our Work button (footer) white off / green hover */
.page-template-page-services .latest-work .cta-button {
    background: #ffffff;
    color: #222222;
}
.page-template-page-services .latest-work .cta-button:hover {
    background: #00FF00;
    color: #000000;
}

/* About page: Latest Work card layout and colors like design */
.page-template-page-about .latest-work .work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    justify-content: unset;
    margin-bottom: 0;
}
.page-template-page-about .latest-work .work-card {
    background: transparent;
    border-radius: 16px;
    box-shadow: none;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}
.page-template-page-about .latest-work .work-card:hover {
    transform: none;
    box-shadow: none;
}
.page-template-page-about .latest-work .card-image {
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 16px;
    overflow: hidden;
    margin: 0 0 14px 0;
}
.page-template-page-about .latest-work .card-image img {
    border-radius: 16px;
}
.page-template-page-about .latest-work .card-title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 6px 0;
}
.page-template-page-about .latest-work .card-description {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    margin: 0 0 6px 0;
}

@media (max-width: 1000px) {
  .page-template-page-about .latest-work .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .page-template-page-about .latest-work .work-grid {
    grid-template-columns: 1fr;
  }
  .page-template-page-about .latest-work .card-image { aspect-ratio: 1 / 1; }
}

@media (max-width: 900px) {
    .testimonial-quote {
        font-size: 1.5rem;
    }
    .testimonial-slider {
        max-width: 95vw;
    }
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    .card-flip {
        min-width: 160px;
        min-height: 180px;
    }
}
@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .card-flip {
        min-width: 120px;
        min-height: 120px;
    }
}

.about-btn {
    display: block;
    margin: 2.5rem auto 0 auto;
    background: #222;
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 999px;
    padding: 0.8em 2.5em;
    box-shadow: none;
    letter-spacing: 0;
    text-transform: none;
    border: none;
    outline: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.about-btn:hover {
    background: #00FF00;
    color: #000;
    box-shadow: 0 2px 12px rgba(0,255,0,0.2);
}

@media (max-width: 1100px) {
    .expertise-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1.5rem;
    }
}
@media (max-width: 700px) {
    .expertise-card {
        padding: 24px 8px 24px 8px;
    }
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem 0.5rem;
    }
    .expertise-description {
        max-width: 100%;
    }
}

@media (max-width: 900px) {
    .awards .section-description {
        font-size: 1.3rem;
    }
    .awards-grid {
        gap: 1.2rem;
    }
    .award-item {
        min-width: 200px;
        min-height: 120px;
        padding: 1.2rem 1.2rem;
        font-size: 1.1rem;
    }
}
@media (max-width: 600px) {
    .awards-grid {
        gap: 0.7rem;
    }
    .award-item {
        min-width: 160px;
        min-height: 90px;
        padding: 0.7rem 0.7rem;
        font-size: 1rem;
    }
}

/* About Page Styles */

/* Our Story Section */
.about-banner { margin: 30px 0 10px; }
.about-banner-img {
    width: 100%;
    height: 70vh; /* approx half the previous full-height render */
    max-height: 600px; /* cap for large screens */
    min-height: 300px; /* keep some presence on small screens */
    object-fit: cover; /* crop to maintain aspect */
    display: block;
}
.our-story {
    padding: 50px 0 0 0;
    background: white;
    padding: 20px 0 50px;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr; /* expand text to full width since image removed */
    gap: 4rem;
    align-items: start;
}

.story-text {
    max-width: none;
}

.our-story .section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 1.5rem;
}

.story-headline {
    font-size: 1.8rem;
    font-weight: 300;
    color: #222;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-family: "source-sans-3", sans-serif;
}

.story-paragraph {
    font-size: 1.8rem;
    text-align: left;
    color: #333;
    line-height: 1.6;
    font-style: normal;
    margin-bottom: 50px;
}

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

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

/* Team & Partners Section */
.team-partners {
    padding: 50px 0 0 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.team-partners .section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 1.5rem;
}

.team-headline {
    font-size: 1.8rem;
    color: #222;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-family: "source-sans-3", sans-serif;
    font-weight: 100;
}

.team-description {
    font-size: 1.8rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 4rem;
    font-family: "source-sans-3", sans-serif;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.team-member {
    text-align: center;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-8px);
}

.member-portrait {
    width: 140px;
    height: 140px;
    border-radius: 24px;
    background: #00FF00;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 255, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-member:hover .member-portrait {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 255, 0, 0.3);
}

.portrait-placeholder {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111;
    font-family: 'Inter', sans-serif;
}

.member-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.member-role {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
    line-height: 1.4;
}

/* Our Clients Section */
.our-clients {
    padding: 100px 0;
    background: white;
}

.clients-headline {
    font-size: 2.5rem;
    font-weight: 700;
    color: #222;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.clients-description {
    font-size: 1.2rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 800px;
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.client-logo {
    background: white;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 2rem;
    min-width: 150px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.client-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.logo-placeholder {
    font-size: 1rem;
    font-weight: 600;
    color: #222;
    text-align: center;
}

/* Responsive Design for About Page */
@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 900px) {
    .story-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .story-headline,
    .team-headline,
    .clients-headline {
        font-size: 2rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .member-portrait {
        width: 120px;
        height: 120px;
    }
    
    .portrait-placeholder {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .our-story,
    .team-partners,
    .our-clients {
        padding: 30px 0 0;
    }
    
    .story-headline,
    .team-headline,
    .clients-headline {
        font-size: 1.8rem;
    }
    
    .about-banner-img {
        height: auto;
    }

    .story-paragraph {
        margin-bottom: 0px;
    }

    .team-description {
        margin-bottom: 2rem;
    }

    .story-paragraph,
    .team-description,
    .clients-description {
        font-size: 1rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .member-portrait {
        width: 100px;
        height: 100px;
    }
    
    .portrait-placeholder {
        font-size: 1.5rem;
    }
    
    .clients-grid {
        gap: 1rem;
    }
    
    .client-logo {
        min-width: 120px;
        min-height: 80px;
        padding: 1.5rem;
    }
}

/* Services List Section (Redesigned) */
.services-list-section {
    background: #fff;
    padding: 0 0 80px 0;
}
.services-list-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.service-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
    background: transparent;
    border-radius: 0;
    min-height: 240px;
}
/* Ensure no green rule/chevron appears under rows on Services */
.page-template-page-services .service-row::before,
.page-template-page-services .service-row::after,
.page-template-page-services .chevron-bg-row::before,
.page-template-page-services .chevron-bg-row::after { display: none !important; background: none !important; }
.chevron-bg-row {
    background: none;
}
.chevron-bg-row::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(120deg, #00FF00 0 40%, transparent 60% 100%);
    z-index: -1;
    border-radius: 0 0 0 0;
    opacity: 1;
}
.service-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 32px 0 32px 0;
}
.service-icon-title {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 0.7rem;
}
.service-icon-img {
    width: 56px;
    height: 56px;
    background: #fff;
    object-fit: contain;
    display: block;
}
.service-title-main {
    font-family: "amifer", sans-serif;
    font-size: 1.5rem;
    color: #333333 !important;
}

.service-title-secondary {
    margin: 0.2rem 0 0.7rem 0;
    letter-spacing: -0.5px;
    font-size: 1.8rem;
    text-align: left;
    color: #333;
    line-height: 1.6;
    font-family: "source-sans-3", sans-serif;
    font-weight: 100;
}
.service-desc {
    font-size: 1.05rem;
    color: #222;
    line-height: 1.7;
    margin: 0;
    max-width: 95%;
}
.service-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
}
.service-image img {
    width: 100%;
    max-width: 260px;
    height: 180px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    background: #eee;
}
@media (max-width: 900px) {
    .service-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        min-height: 0;
    }
    .service-image {
        margin-top: 1.5rem;
        justify-content: flex-start;
    }
    .service-image img {
        max-width: 100%;
        height: 160px;
    }
}
@media (max-width: 600px) {
    .services-list-section .container {
        padding: 0 8px;
    }
    .service-row {
        margin-bottom: 32px;
        padding: 0;
    }
    .service-info {
        padding: 18px 0 10px 0;
    }
    .service-title-secondary {
        font-size: 1.1rem;
    }
    .service-image img {
        height: 310px;
        border-radius: 12px;
    }
    
    /* Reorder service elements on mobile: image first, info second */
    .service-row {
        display: flex;
        flex-direction: column;
    }
    
    .service-image {
        order: 1;
    }
    
    .service-info {
        order: 2;
    }
}

/* Works Grid Section */
.works-grid-section {
    background: white;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.works-grid-section .section-chevron-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 600px;
    height: 200px;
    background: #00FF00;
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
    z-index: 0;
    pointer-events: none;
}

.works-grid-section .container {
    position: relative;
    z-index: 1;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.works-grid .work-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.works-grid .work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.works-grid .card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.works-grid .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.works-grid .work-card:hover .card-image img {
    transform: scale(1.1);
}

.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.works-grid .work-card:hover .hover-overlay {
    opacity: 1;
}

.works-grid .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1rem 1rem 0.5rem;
    color: #222;
}

.page-template-page-works .works-grid .card-title a,
.page-template-page-works .works-grid .card-title a:visited {
    color: #0a0a0a;
    text-decoration: none;
}

.page-template-page-works .works-grid .card-title a:hover,
.page-template-page-works .works-grid .card-title a:focus,
.page-template-page-works .works-grid .card-title a:active {
    color: #0a0a0a;
    text-decoration: none;
}

.works-grid .card-description {
    color: #666;
    margin: 0 1rem 1rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Responsive Design for Works Grid */
@media (max-width: 1000px) {
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 700px) {
    .works-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
}

@media (max-width: 500px) {
    .works-grid-section {
        padding: 0px 0 40px;
    }
    
    .works-grid .card-image {
        height: 260px;
    }

}

/* Project Page Styles */

/* Project Hero Banner */
.project-hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
    color: white;
}

.hero-left {
    flex: 1;
}

.hero-text-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    max-width: 400px;
}

.hero-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #00FF00;
}

.hero-mission {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-graphic {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #ff4444, #ff6666);
    border-radius: 50%;
    position: relative;
}

.hero-graphic::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    right: 20%;
    bottom: 20%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

/* Project Details Section */
.project-details {
    background: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.project-details .section-chevron-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 600px;
    height: 100%;
    background: #00FF00;
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
    z-index: 0;
    pointer-events: none;
}

.project-details .container {
    position: relative;
    z-index: 1;
}

.project-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: start;
}

/* When no logo is present, make project-info take full width */
.project-header:not(:has(.project-logo)) {
    grid-template-columns: 1fr;
}

.project-meta {
    margin-bottom: 1rem;
}

.project-client {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.5rem 0;
    font-family: "source-sans-3", sans-serif;
}

.project-gallery {
    font-size: 1.2rem;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.project-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #222;
    margin: 0 0 2rem 0;
    line-height: 1.1;
    font-family: "amifer", sans-serif;
}

.project-intro {
    font-size: 1.8rem;
    font-weight: 100;
    color: #333;
    line-height: 1.5;
    margin: 0 0 1.5rem 0;
    max-width: 600px;
    font-family: "source-sans-3", sans-serif;
}

.project-description {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
    margin: 0;
    max-width: 600px;
}

.project-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 0.1rem;
    width: 100px;
    height: 80px;
    box-shadow: none;
}

.project-logo img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Project Carousel Section */
.project-carousel {
    background: #fff;
    padding: 0px 0 20px 0;
}

.carousel-container {
    position: relative;
    max-width: none; /* take full width of section container */
    margin: 0; /* align with container's left edge */
    width: 100%;
}

/* Project carousel: ensure no rounded corners or dark curves show */
.project-carousel .carousel-container,
.project-carousel .carousel-slide,
.project-carousel .carousel-slide img,
.project-carousel .carousel-slide video {
    border-radius: 0 !important;
    background: #fff;
}

.project-carousel .carousel-slide { box-shadow: none; }

.carousel-slide {
    display: none;
    position: relative;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

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

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

.play-button {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #cfcfcf; /* off state: grey */
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    padding: 0;
    margin: 0;
    outline: none;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
}

.carousel-dot.active { background: #00FF00; }

/* Project page carousel dots: larger and custom colors */
.page-template-page-project .carousel-dot {
    width: 21px; /* 75% larger than base 12px */
    height: 21px;
    background: #e7ffe4; /* off state */
    border: none;
}
.page-template-page-project .carousel-dot.active {
    background: #000000; /* on state */
}

/* Remove blue focus ring and provide subtle custom focus */
.project-carousel .carousel-dot:focus,
.project-carousel .carousel-dot:focus-visible {
    outline: none !important;
}

/* Problem Statement Section */
.problem-statement {
    background: white;
    padding: 60px 0;
}

.problem-statement .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 2rem;
}

.problem-content {
    max-width: 800px;
}

.problem-content p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Our Approach Section */
.our-approach {
    background: white;
    padding: 80px 0 0px;
    position: relative;
    overflow: hidden;
}

.our-approach .section-chevron-bg-reverse {
    display: none;
}

.our-approach .container {
    position: relative;
    z-index: 1;
}

.approach-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.approach-text .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 2rem;
}

.approach-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.approach-image {
    position: relative;
}

.approach-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.approach-carousel-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
}

.approach-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
}

.approach-dot.active {
    background: #00FF00;
}

.approach-quote {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    margin-top: 3.8rem; /* align with first paragraph on the left */
}

.approach-quote p {
    font-size: clamp(1.25rem, 2.2vw, 1.8rem);
    font-weight: 300; /* Light */
    font-family: "source-sans-3", sans-serif;
    color: #333;
    line-height: 1.5;
    margin: 0;
    font-style: italic;
}



/* Contact Popup Overlay */
.contact-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 1004;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out, visibility 0.5s ease-in-out;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

.contact-overlay.active {
    visibility: visible;
    transform: translateX(0);
}

.contact-content {
    display: flex;
    flex-direction: row;
    width: 100vw;
    height: 100vh;
    padding: 0;
    background: transparent;
    position: relative;
}

.contact-left {
    background: #fff;
    color: #222;
    width: 40vw;
    min-width: 320px;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 40px 0 0 7vw;
    z-index: 2;
}

.contact-logo {
    margin-bottom: 60px;
    font-family: 'Inter', sans-serif;
}

.contact-logo a {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00FF00;
    text-decoration: none;
    display: block;
}

.contact-logo img {
    height: 40px;
    width: auto;
    display: block;
}

.contact-title {
    font-size: 3rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 2rem;
    margin-top: 100px;
    font-family: "amifer", sans-serif;
}

.contact-intro {
    font-size: 1.2rem;
    font-weight: 100;
    color: #555;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 400px;
    font-family: "source-sans-3", sans-serif;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-email-text,
.contact-phone-text {
    font-size: 1rem;
    color: #666;
    margin: 0;
    font-family: "source-sans-3", sans-serif;
}

.contact-email,
.contact-phone {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
    margin: 0;
    text-decoration: none;
}

.contact-email a:hover,
.contact-phone a:hover {
    color: #00FF00;
}

.contact-email a, .contact-phone a {
    color: #222;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-right {
    position: relative;
    flex: 1 1 0;
    background: transparent;
    overflow: hidden;
    z-index: 1;
}

.contact-diagonal {
    position: absolute;
    top: 0;
    right: -200px;
    width: 120vw;
    height: 100vh;
    background: #00FF00;
    clip-path: polygon(70% 0, 100% 0, 60% 100%, 30% 100%);
    z-index: 1;
    pointer-events: none;
}

.contact-form-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 0 4vw 0 8vw;
}

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
}

/* Contact Form 7: popup styling (transparent panel, compact spacing) */
.wpcf7 form.wpcf7-form { background: transparent; padding: 0; border-radius: 0; box-shadow: none; max-width: 500px; width: 100%; display: flex; flex-direction: column; }
.wpcf7 form.wpcf7-form p { margin-bottom: 0.7rem; }
.wpcf7 form.wpcf7-form label { display: block; font-size: 0.95rem; line-height: 1.3; margin: 0 0 0.35rem; color: #444; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}
.wpcf7 textarea { min-height: 90px; height: 90px; }
.wpcf7 input:focus,
.wpcf7 textarea:focus { outline: none; border-color: #00FF00; box-shadow: 0 0 0 3px rgba(0,255,0,0.1); }
.wpcf7 input[type="submit"] {
    width: auto;
    background: #333;
    color: #fff;
    border: none;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto; /* push to right */
}
.wpcf7 input[type="submit"]:hover { background: #222; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.15); }

/* CF7 validation/help text */
.wpcf7-not-valid-tip { font-size: 0.9rem; margin-top: 0.25rem; color: #e11d48; }

/* Privacy text inserted before submit */
.wpcf7-privacy { font-size: 0.95rem; color: #555; line-height: 1.5; margin: 0.4rem 0 0; }
.wpcf7-privacy .privacy-link { color: #413f3f; text-decoration: underline; }
.wpcf7-privacy .privacy-link:hover { text-decoration: none; }

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00FF00;
    box-shadow: 0 0 0 3px rgba(0, 255, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: 'Inter', sans-serif;
}

.privacy-text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.privacy-link {
    color: #00FF00;
    text-decoration: none;
    font-weight: 500;
}

.privacy-link:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    background: #333;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: #222;
    transform: translateY(-2px);
}

/* Ensure contact-right is a positioning context */
.contact-right { position: relative; }

/* Contact popup close button (X) */
.close-contact {
	position: absolute;
	top: 40px;
	right: 60px;
	background: transparent;
	border: none;
    width: 72px;
    height: 72px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border-radius: 0;
	color: #111 !important;
	transition: opacity 0.2s;
	z-index: 10;
	pointer-events: auto;
}
.close-contact:hover { background: transparent; opacity: 0.7; }
.close-contact:focus { outline: none; box-shadow: none; }
.close-contact svg { width: 60px; height: 60px; }
.close-contact svg line { stroke: currentColor; }

/* Overlay menu links: force white like Contact Us */
.menu-nav .menu-link,
.menu-nav .menu-link:link,
.menu-nav .menu-link:visited,
.menu-nav .menu-link:active {
	color: #fff !important;
	text-decoration: none;
}
.menu-nav .menu-link:hover,
.menu-nav .menu-link.active { color: #00FF00 !important; }


/* White Label page */
.page-template-page-white-label .wl-intro { padding: 60px 0 20px;  }
.page-template-page-white-label .wl-hero { padding: 40px 0px; background-color: #333333; }
.page-template-page-white-label .hero-grid { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; }
.page-template-page-white-label .hero-badge img { 
    height: 165px; width: 165px; display: block; max-width: none; border-radius: 50%;
}
.page-template-page-white-label .kicker { 
    color: #00FF00;
    font-weight: 700;
    margin: 0 0 12px 0;
    font-family: 'amifer', serif;
    font-size: 1.5rem;
}
.page-template-page-white-label .hero-headline { 
    font-size: 1.8rem;
    text-align: left;
    color: #fff;
    line-height: 1.6;
    font-style: normal;
    font-family: "source-sans-3", sans-serif; 
    font-weight: 100;
}
.page-template-page-white-label .hero-subline { 
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-family: "source-sans-3", sans-serif; 
    font-weight: 100;
    line-height: 1.6;
    font-style: normal;
    margin-bottom: 0;
}

.page-template-page-white-label .wl-feature { background: #ffffff; color: #222; padding: 40px 0; }
.page-template-page-white-label .wl-feature .section-title { font-size: 1.5rem; font-weight: 700; margin: 0 0 12px 0; }
.page-template-page-white-label .wl-feature .feature-text { 
    font-size: 1.2rem;
    font-family: "source-sans-3", sans-serif;
    font-weight: 100;
    line-height: 1.5;
    font-style: normal;
}
.page-template-page-white-label .wl-expertise { padding: 30px 0; }
.page-template-page-white-label .wl-expertise .expertise-card {
  border-radius: 24px;
  padding: 24px;
  color: #fff;
  background:
    repeating-linear-gradient( 45deg, rgba(255,255,255,0.05) 0 24px, rgba(255,255,255,0.08) 24px 48px),
    #2f2f2f;
}
.page-template-page-white-label .wl-expertise .section-title { color: #fff; margin-bottom: 12px; }
.page-template-page-white-label .wl-expertise .section-description { color: rgba(255,255,255,0.9); margin-bottom: 20px; }
.page-template-page-white-label .wl-expertise .expertise-cta { padding: 16px; }
.page-template-page-white-label .wl-expertise .expertise-cta-heading {
    margin: 0 0 12px 0;
    color: #fff;
    font-size: 1.9rem;
    font-family: "source-sans-3", sans-serif;
    font-weight: 100;
    line-height: 1.7;
    font-style: normal;
}
.page-template-page-white-label .wl-expertise .expertise-cta-person { display: flex; align-items: center; gap: 10px; font-family: "source-sans-3", sans-serif; }
.page-template-page-white-label .wl-expertise .expertise-cta-avatar { width: 44px; height: 44px; border-radius: 50%; display: block; }
.page-template-page-white-label .wl-expertise .expertise-cta-name { color: #00FF00; font-weight: 700; font-family: "source-sans-3", sans-serif;}
.page-template-page-white-label .wl-expertise .expertise-cta-title { color: rgba(255,255,255,0.9); font-size: 0.9rem; font-family: "source-sans-3", sans-serif; font-weight: 700;}

.page-template-page-white-label .wl-intro .section-title { 
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 1.5rem;
    font-family: "amifer", sans-serif;
}
.page-template-page-white-label .wl-intro .section-description { 
    font-size: 1.8rem;
    font-weight: 300;
    color: #222;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-family: "source-sans-3", sans-serif; 
}

.page-template-page-white-label .latest-work { 
    background: #2c2c2c;
 }
.page-template-page-white-label .latest-work .section-title {
    color: #fff; 
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: "amifer", sans-serif;
}
.page-template-page-white-label .latest-work .section-description { 
    font-size: 1.8rem;
    text-align: left;
    max-width: 550px;
    color: #fff;
    line-height: 1.6;
    font-style: normal;
    margin-bottom: 50px;
    font-family: "source-sans-3", sans-serif;
}
.page-template-page-white-label .latest-work .work-grid { 
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    justify-content: unset;
    margin-bottom: 0;
}
.page-template-page-white-label .latest-work .work-card { 
    background: transparent;
    border-radius: 16px;
    box-shadow: none;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}
.page-template-page-white-label .latest-work .card-image { 
    height: 360px; margin: 0 0 12px 0; overflow: hidden; 
}
.page-template-page-white-label .latest-work .card-image img {
    width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1); transition: transform 0.4s ease; 
}
.page-template-page-white-label .latest-work .card-image a:hover img { transform: scale(1.04); }
.page-template-page-white-label .latest-work .card-title { color: #ffffff; font-size: 1rem; font-weight: 700; margin: 0 16px 6px 16px; }
.page-template-page-white-label .latest-work .card-description { color: rgba(255,255,255,0.85); font-size: 0.9rem; margin: 0 16px; }
.page-template-page-white-label .latest-work .cta-button { background: #ffffff; color: #222; display: block; margin: 2rem auto 0 auto; }
.page-template-page-white-label .latest-work .cta-button:hover { background: #00FF00; color: #000; }

@media (max-width: 1000px) {
  .page-template-page-white-label .latest-work .work-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .page-template-page-white-label .wl-intro { padding: 40px 0 10px; }
  .page-template-page-white-label .wl-intro .section-title { font-size: 1.8rem; }
  .page-template-page-white-label .latest-work .work-grid { grid-template-columns: 1fr; }
  .page-template-page-white-label .latest-work .card-image { height: 220px; }
}

/* Responsive Design for Project Page */
@media (max-width: 1000px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text-panel {
        max-width: 100%;
    }
    
    .project-header {
        grid-template-columns: 1fr;
        gap: 2rem;
        display: flex;
        flex-direction: column;
    }
    
    .project-logo {
        order: 1;
        align-self: flex-start;
        margin-bottom: 1rem;
        min-width: 80px;
        min-height: 60px;
        padding: 0.1rem;
    }
    
    .project-info {
        order: 2;
    }
    
    .project-title {
        font-size: 2.5rem;
    }
    
    .approach-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 700px) {
    .project-hero {
        height: 60vh;
    }
    
    .project-title {
        font-size: 2rem;
    }
    
    .project-intro {
        font-size: 1.2rem;
    }
    
    .carousel-slide img {
        height: 300px;
    }
    
    .approach-image img {
        height: 250px;
    }
    .approach-quote { margin-top: 0; }
}

@media (max-width: 500px) {
    .project-details,
    .project-carousel,
    .problem-statement,
    .our-approach {
        padding: 20px 0;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-text-panel {
        padding: 1.5rem;
    }
    
    .hero-mission {
        font-size: 1.2rem;
    }
    
    .project-title {
        font-size: 1.8rem;
    }
    
    .carousel-slide img {
        height: 200px;
    }
    
    .approach-image img {
        height: 200px;
    }
}

@media (max-width: 600px) {
    .menu-diagonal {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    /* Mobile menu overlay redesign */
    .menu-overlay {
        background: #333333;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out;
    }
    
    .menu-content {
        flex-direction: column;
        width: 100%;
        height: 100%;
        background: #333333;
        padding: 0;
    }
    
    .menu-left {
        width: 100%;
        height: 100%;
        padding: 40px 30px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        z-index: 3;
        margin-top: 100px;
    }
    
    .menu-logo {
        font-size: 2rem;
        font-weight: 700;
        color: #69ff4d;
        margin-bottom: 0;
        margin-top: 0;
    }
    
    .menu-top-actions {
        position: absolute;
        top: 30px;
        right: 30px;
        display: flex;
        align-items: center;
        gap: 15px;
        z-index: 15;
        background: transparent;
    }
    
    .menu-contact-btn {
        background: #69ff4d;
        color: #000;
        border: none;
        padding: 8px 16px;
        border-radius: 20px;
        font-weight: 600;
        font-size: 0.9rem;
        font-family: 'Inter', sans-serif;
        letter-spacing: 0;
        text-transform: none;
        box-shadow: none;
        transition: background 0.2s, color 0.2s, box-shadow 0.2s;
        outline: none;
        display: inline-block;
        text-align: center;
        cursor: pointer;
        z-index: 16;
        position: relative;
    }
    
    .menu-contact-btn:hover {
        background: #5ceb42;
        color: #000;
        box-shadow: 0 2px 8px rgba(105,255,77,0.3);
    }
    
    .close-menu {
        background: transparent;
        border: none;
        width: 72px;
        height: 72px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        border-radius: 0;
        color: #fff;
        transition: opacity 0.2s;
        z-index: 20;
        position: relative;
    }
    
    .close-menu:hover { 
        background: transparent; 
        opacity: 0.7; 
    }
    
    .close-menu:focus { 
        outline: none; 
        box-shadow: none; 
    }
    
    .close-menu svg { 
        width: 96px; 
        height: 96px; 
    }
    
    .close-menu svg line { 
        stroke: #fff; 
        stroke-width: 3;
    }
    
    .menu-nav {
        display: flex;
        flex-direction: column;
        gap: 24px;
        margin-top: 10px;
        padding: 0;
        width: 100%;
    }
    
    .menu-link {
        font-size: 1.8rem;
        font-weight: 400;
        color: #fff;
        text-decoration: none;
        transition: color 0.3s;
        padding: 8px 0;
        display: block;
    }
    
    .menu-link.active,
    .menu-link:hover {
        color: #69ff4d;
    }
    
    .menu-right {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: transparent;
        z-index: 2;
    }
    
    .menu-diagonal {
        display: none;
    }
    
    /* Contact popup mobile layout */
    .contact-content {
        flex-direction: column;
        width: 100%;
        height: 100%;
        background: #fff;
        padding: 0;
        overflow: scroll;
    }

    .contact-form-container {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        height: auto;
        padding: 0;
    }
    
    .contact-left {
        background:none;
        width: 100%;
        height: auto;
        min-width: auto;
        max-width: none;
        padding: 40px 30px 20px 30px;
        order: 1;
        pointer-events: auto;
        z-index: 1;
    }
    
    .contact-right {
        width: 100%;
        flex: none;
        height: auto;
        background: #fff;
        order: 2;
        padding: 0 30px 40px 30px;
        pointer-events: auto;
        z-index: 1;
    }
    
    .contact-diagonal {
        display: none;
    }
    
    .close-contact {
        position: fixed;
        right: -20px;
        top: -20px;
        width: 140px;
        height: 140px;
        z-index: 9999;
        pointer-events: auto;
        cursor: pointer;
    }
    
    .close-contact svg {
        width: 24px;
        height: 24px;
    }
    
    .close-contact svg line {
        stroke: #111;
        stroke-width: 2.5;
    }

    .page-template-page-white-label .wl-feature {
        padding: 0px 0 0;
    }

    .page-template-page-white-label .wl-hero {
        margin-bottom: 40px;
    }

    .page-template-page-white-label .wl-expertise {
        padding: 0;
        margin-bottom: 25px;
    }

}


@media (max-width: 480px) {

    .page-template-page-project .carousel-nav {
        bottom: -40px;
    }

    .hero .nav-dot {
        width: 16px;
        height: 16px;
    }

    .expertise-card .section-title {
        font-size: 1.8rem;
    }

    .page-template-page-works .hero-title-section .section-description {
        font-size: 1.8rem; 
    }

    .container {
        padding: 0px 15px 15px;
    }

    .hero-title-text {
        font-size: 1.8rem;
    }

    .hero-title-section {
        padding: 0px 0 0px;
    }

    .hero {
        min-height: auto;
    }

    .hero-carousel {
        height: auto;
        min-height: 200px;
    }

    .hero .carousel-slide video {
       height: 400px;
    }

    .play-connect-discover {
        padding: 40px 0px;
    }

    .latest-work {
        padding: 40px 0px;
    }

    .what-we-do {
        padding: 40px 0px;
    }

    .expertise { padding: 40px 0px; }

    .awards { padding: 40px 0px; }

    .testimonials { padding: 40px 0px; }

    .cta { padding: 40px 0px; }
    
    .what-we-do .services-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
    
    /* Mobile tap to flip cards */
    .service-tile.tapped .card-flip {
        transform: rotateY(180deg);
    }

    .card-back {
        padding: 10px;
    }

    .header-actions {
        gap: 0;
    }

    .service-bullets li {
        margin: auto;
        font-size: 0.8rem;
    }

    .card-back .service-back-header {
        gap: 0.5rem;
    }

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

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

    .logo {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .carousel-content {
        width: 100%;
        padding: 0 15px;
    }

    .carousel-nav {
        bottom: 20px;
        gap: 10px;
    }

    .nav-dot {
        width: 10px;
        height: 10px;
    }
    

    .footer {
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    }
    
    /* Footer mobile fixes */
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-left {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    
    .footer-right {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    
    .footer-nav {
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
    }

    /* Force center alignment for all footer text */
    .footer-content * {
        text-align: center !important;
        
    }
    

    .footer-nav a {
        text-align: center !important;
    }
    
    .footer-section h3,
    .footer-section p,
    .footer-section a {
        text-align: center !important;
    }
    
    /* White Label hero: stack image above text on mobile */
    .page-template-page-white-label .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .page-template-page-white-label .hero-badge {
        order: 1;
        display: flex;
        justify-content: center;
    }
    
    .page-template-page-white-label .hero-copy {
        order: 2;
        text-align: center;
    }
    
    .page-template-page-white-label .hero-headline,
    .page-template-page-white-label .hero-subline {
        text-align: center;
    }

    .page-template-page-white-label .wl-feature .section-title {
        text-align: center;
    }
}

.hero .carousel-nav, .testimonial .testimonial-dots {
    display: none !important;
}

.page-template-page-project .carousel-dot {
   background: #d9d9d9;
   width: 16px;
   height: 16px;
}

/* Privacy Policy Page Styles */
.privacy-hero {
    background: #f8f9fa;
    padding: 4rem 0;
    text-align: center;
}

.privacy-hero-title {
    font-size: 3.5rem;
    font-weight: 400;
    color: #000;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.privacy-hero-intro {
    font-size: 1.25rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.privacy-content {
    padding: 4rem 0;
    background: #fff;
}

.privacy-sections {
    max-width: 100%;
    margin: 0 auto;
}

.privacy-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.privacy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.privacy-section-title {
    font-size: 2rem;
    font-weight: 400;
    color: #000;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.privacy-section-content {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
}

.privacy-section-content p {
    margin-bottom: 1rem;
}

.privacy-section-content ul,
.privacy-section-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.privacy-section-content li {
    margin-bottom: 0.5rem;
}

.privacy-section-content a {
    color: #007cba;
    text-decoration: underline;
}

.privacy-section-content a:hover {
    color: #005a87;
}

/* Mobile Privacy Policy Styles */
@media (max-width: 768px) {
    .privacy-hero {
        padding: 2rem 0;
    }
    
    .privacy-hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .privacy-hero-intro {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .privacy-content {
        padding: 2rem 0;
    }
    
    .privacy-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .privacy-section-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .privacy-section-content {
        font-size: 0.95rem;
    }
}