/* =====================================================
   PATCH 0 - அடிப்படை Website Styles
   இந்த பகுதியில் முழு Website-க்கு தேவையான:
   • Color Variables
   • Font
   • Reset
   • Common Styles
   அமைக்கப்படுகின்றன.
   ===================================================== */

:root {
    --ink: #18211f;
    --deep: #102820;
    --deep-soft: #18382e;

    --cream: #f7f3e8;
    --paper: #fffdf7;
    --white: #ffffff;

    --gold: #d9a441;
    --gold-light: #f3cf79;

    --teal: #1e7a6d;
    --teal-dark: #14554c;

    --coral: #dc6b4e;
    --muted: #66736e;

    --line: rgba(24, 33, 31, 0.12);

    --shadow-sm: 0 10px 30px rgba(16, 40, 32, 0.08);
    --shadow-md: 0 20px 50px rgba(16, 40, 32, 0.14);
    --shadow-lg: 0 30px 70px rgba(16, 40, 32, 0.20);

    --radius-lg: 28px;
    --radius-md: 18px;

    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        "Noto Sans Tamil",
        "Noto Sans",
        Arial,
        sans-serif;

    background:
        radial-gradient(
            circle at top left,
            rgba(217, 164, 65, 0.10),
            transparent 28%
        ),
        var(--cream);

    color: var(--ink);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea {
    font: inherit;
}

/* =====================================================
   PATCH 0 END
   ===================================================== */


/* =====================================================
   PATCH 1 — NAVIGATION BAR — FINAL UNIFORM CSS FIX
   விளக்கம்: எல்லா Page-லும் Same Nav - CSS Apply ஆகும்
   open + active ரெண்டுக்கும் வேலை செய்யும்
===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #2a1a5a;
  font-weight: 700;
  font-size: 18px;
}
.brand-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: 0.2s;
}
.nav-links li a.active,
.nav-links li a:hover {
  background: #f0ebff;
  color: #7c5cff;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
}

/* Mobile */
@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: none;
  }
  .nav-links.open,
  .nav-links.active {
    display: flex !important;
  }
}


/* =====================================================
   PATCH 2 - HERO / THREE MAIN ENTRY CARDS STYLES
   index.html → PATCH 2 Hero மற்றும் மூன்று Poster Cards-ஐ
   அழகுபடுத்தும் CSS.
   ===================================================== */

.hero-section {
    width: min(1320px, calc(100% - 40px));
    margin: auto;

    padding: 70px 0 65px;
}

.hero-intro {
    max-width: 780px;
    margin: 0 auto 42px;

    text-align: center;
}

.eyebrow,
.section-tag {
    display: inline-flex;
    align-items: center;

    padding: 8px 14px;

    background: rgba(217, 164, 65, 0.14);
    color: var(--teal-dark);

    border: 1px solid rgba(217, 164, 65, 0.28);
    border-radius: 999px;

    font-size: 0.82rem;
    font-weight: 800;
}

.hero-intro h1 {
    margin-top: 18px;

    font-size: clamp(2rem, 5vw, 4.3rem);
    line-height: 1.22;

    letter-spacing: -0.04em;
}

.hero-intro h1 span {
    display: block;
    color: var(--ink);
}

.hero-intro h1 strong {
    color: var(--teal);
}

.hero-intro p {
    max-width: 680px;
    margin: 20px auto 0;

    color: var(--muted);
    font-size: 1rem;
    line-height: 1.9;
}

.poster-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 950px;
    margin: 0 auto;

    align-items: stretch;
}

.poster-card {
    position: relative;

    overflow: hidden;

    display: flex;
    flex-direction: column;

    min-height: 100%;

    background: var(--paper);

    border: 1px solid rgba(24, 33, 31, 0.08);
    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

a.poster-card {
    cursor: pointer;
}

a.poster-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}


/* === FIX: CENTER POSTER REMOVED, 2 POSTERS ONLY === */
.center-card { display: none !important; }
.poster-grid.two-only { grid-template-columns: repeat(2, 1fr); gap: 40px; max-width: 950px; margin: 0 auto; }

.employer-card:hover {
    border-color: rgba(220, 107, 78, 0.55);
}

.seeker-card:hover {
    border-color: rgba(30, 122, 109, 0.55);
}

.poster-image-wrap {
    position: relative;

    overflow: hidden;

    aspect-ratio: auto;
    height: auto;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--deep);
}

.poster-image-wrap::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 55%,
            rgba(16, 40, 32, 0.18)
        );

    pointer-events: none;
}

.poster-image-wrap img {
    width: 100%;
    height: auto;
    max-height: none;
    width: 100%;
    height: 100%;

    object-fit: contain;

    transition: transform 0.6s ease;
}

a.poster-card:hover .poster-image-wrap img {
    width: 100%;
    height: auto;
    max-height: none;
    transform: scale(1.06);
}

.center-card {
    transform: translateY(-16px);
    border: 1px solid rgba(217, 164, 65, 0.42);

    box-shadow:
        0 30px 70px rgba(16, 40, 32, 0.14),
        0 0 0 5px rgba(217, 164, 65, 0.06);
}

.center-glow {
    position: absolute;

    width: 180px;
    height: 180px;

    top: -90px;
    left: 50%;

    transform: translateX(-50%);

    background: rgba(217, 164, 65, 0.35);
    filter: blur(55px);

    pointer-events: none;
}

.poster-card-info {
    flex: 1;

    padding: 23px 23px 25px;
}

.poster-card-info > span:first-child {
    color: var(--teal);
    font-size: 0.78rem;
    font-weight: 800;
}

.poster-card-info h2 {
    margin-top: 10px;

    font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.poster-card-info p {
    margin-top: 10px;

    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.poster-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 18px;

    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 800;
}

.poster-action b {
    display: grid;
    place-items: center;

    width: 28px;
    height: 28px;

    color: var(--white);
    background: var(--deep);

    border-radius: 50%;

    transition: transform var(--transition);
}

a.poster-card:hover .poster-action b {
    transform: translateX(5px);
}

.center-info {
    text-align: center;
}

.center-info > span:first-child {
    color: var(--gold);
}

.quick-actions {
    display: none;
}

/* =====================================================
   PATCH 2 END
   ===================================================== */


/* =====================================================
   PATCH 3 - TRUST / WEBSITE INTRODUCTION STYLES
   ===================================================== */

.trust-section {
    padding: 95px 20px;

    background: var(--deep);
    color: var(--white);
}

.section-heading {
    width: min(800px, 100%);
    margin: auto;

    text-align: center;
}

.section-heading .section-tag {
    background: rgba(255, 255, 255, 0.10);
    color: var(--gold-light);

    border-color: rgba(255, 255, 255, 0.14);
}

.section-heading h2 {
    margin-top: 20px;

    font-size: clamp(1.7rem, 4vw, 3rem);
    line-height: 1.45;
}

.section-heading h2 span {
    color: var(--gold-light);
}

.trust-grid {
    width: min(1160px, 100%);
    margin: 55px auto 0;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.trust-card {
    position: relative;

    min-height: 310px;

    padding: 35px 30px;

    background: rgba(255, 255, 255, 0.06);

    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 24px;

    overflow: hidden;

    transition: transform var(--transition), background var(--transition);
}

.trust-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.09);
}

.featured-trust-card {
    background:
        linear-gradient(
            145deg,
            rgba(217, 164, 65, 0.25),
            rgba(30, 122, 109, 0.20)
        );
}

.trust-number {
    position: absolute;

    top: 18px;
    right: 20px;

    color: rgba(255, 255, 255, 0.18);

    font-size: 2.3rem;
    font-weight: 900;
}

.trust-icon {
    display: grid;
    place-items: center;

    width: 60px;
    height: 60px;

    font-size: 1.6rem;

    background: rgba(255, 255, 255, 0.10);
    border-radius: 18px;
}

.trust-card h3 {
    margin-top: 28px;
    font-size: 1.35rem;
}

.trust-card p {
    margin-top: 13px;

    color: rgba(255, 255, 255, 0.72);
    line-height: 1.8;
    font-size: 0.93rem;
}

/* =====================================================
   PATCH 3 END
   ===================================================== */


/* =====================================================
   PATCH 4 - AUTO MESSAGE SLIDER STYLES
   index.html → PATCH 4 Slider-ஐ வடிவமைக்கும் CSS.
   ===================================================== */

.message-slider-section {
    width: min(1100px, calc(100% - 40px));
    margin: 80px auto;
}

.slider-top-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    margin-bottom: 15px;

    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.live-dot {
    width: 9px;
    height: 9px;

    background: var(--coral);
    border-radius: 50%;

    box-shadow: 0 0 0 7px rgba(220, 107, 78, 0.12);

    animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
    50% {
        transform: scale(0.75);
        opacity: 0.6;
    }
}

.message-slider {
    position: relative;

    min-height: 210px;

    overflow: hidden;

    border-radius: 30px;

    background:
        linear-gradient(135deg, var(--deep), var(--teal-dark));

    box-shadow: var(--shadow-md);
}

.message-slide {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;

    padding: 35px 8%;

    opacity: 0;
    transform: translateX(40px);

    pointer-events: none;

    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.message-slide.active {
    opacity: 1;
    transform: translateX(0);

    pointer-events: auto;
}

.slide-icon {
    flex: 0 0 auto;

    display: grid;
    place-items: center;

    width: 72px;
    height: 72px;

    font-size: 2rem;

    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);

    border-radius: 22px;
}

.message-slide span {
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 800;
}

.message-slide h3 {
    max-width: 760px;

    margin-top: 8px;

    color: var(--white);
    font-size: clamp(1.05rem, 2.2vw, 1.55rem);
    line-height: 1.65;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;

    margin-top: 22px;
}

.slider-arrow {
    display: grid;
    place-items: center;

    width: 42px;
    height: 42px;

    border: 1px solid var(--line);
    border-radius: 50%;

    color: var(--deep);
    background: var(--paper);

    cursor: pointer;

    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition);
}

.slider-arrow:hover {
    transform: translateY(-3px);
    color: var(--white);
    background: var(--deep);
}

.slider-dots {
    display: flex;
    align-items: center;
    gap: 9px;
}

.slider-dot {
    width: 8px;
    height: 8px;

    padding: 0;

    border: none;
    border-radius: 50%;

    background: rgba(24, 33, 31, 0.22);

    cursor: pointer;

    transition: all var(--transition);
}

.slider-dot.active {
    width: 28px;
    border-radius: 99px;

    background: var(--gold);
}

/* =====================================================
   PATCH 4 END
   ===================================================== */


/* =====================================================
   PATCH 5 - CONTACT SECTION STYLES
   index.html → PATCH 5 Contact Form மற்றும் Poster பகுதியை
   அழகுபடுத்தும் CSS.
   ===================================================== */

/* ============ CONTACT SECTION ============ */
.contact-section {
    width: 100%;
    padding: 60px 20px;
    background: #f7f9fc;
    display: flex;
    justify-content: center;
}

.contact-wrapper {
    width: 100%;
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1fr 1fr;   /* Desktop: இடது | வலது */
    gap: 30px;
    align-items: stretch;
}

/* ---------- Contact Card (Form) ---------- */
.contact-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

/* Gmail icon - circular badge, centered */
.contact-icon-badge {
    width: 84px;
    height: 84px;
    border-radius: 50%;              /* round */
    background: linear-gradient(135deg, #e8f0fe, #dbe7fd);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;              /* center */
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.25);
}

.contact-icon-badge img {
    width: 44px;
    height: 44px;
    object-fit: contain;             /* SVG fits, no cut */
}

.contact-heading {
    text-align: center;
    margin-bottom: 22px;
}

.contact-heading span {
    font-size: 14px;
    color: #4285f4;
    font-weight: 600;
}

.contact-heading h2 {
    font-size: 28px;
    color: #1a1a2e;
    margin: 6px 0;
}

.contact-heading p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

/* ---------- Form ---------- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1.5px solid #e0e4eb;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    background: #fbfcfe;
    color: #1a1a2e;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #4285f4;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.15);
    background: #ffffff;
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.contact-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #4285f4, #1a73e8);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    font-family: inherit;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}

.contact-submit-btn b {
    font-size: 18px;
}

.form-status {
    font-size: 14px;
    text-align: center;
    color: #16a34a;
    min-height: 20px;
    margin: 0;
}

.contact-mini-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;                /* pushes to bottom */
    padding-top: 20px;
    font-size: 13px;
    color: #6b7280;
}

.contact-mini-note span {
    font-size: 16px;
}

/* ---------- Poster Side ---------- */
.contact-poster-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.poster-side-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
}

.contact-poster-frame {
    flex: 1;
    border-radius: 18px;
    overflow: hidden;                /* important: cuts nothing outside */
    background: #eef2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
}

/* THE FIX - image fits fully, never cut */
.contact-poster-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;               /* fills box, no overflow */
    display: block;
}

/* Fallback (if image missing) */
.poster-fallback {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    gap: 10px;
    color: #374151;
}

.poster-fallback span {
    font-size: 40px;
}

.poster-fallback h3 {
    font-size: 22px;
    margin: 0;
}

.poster-fallback p {
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
    max-width: 300px;
}

/* ============ MOBILE (stacked) ============ */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;   /* one column: form on top, poster below */
        gap: 24px;
    }

    .contact-card {
        padding: 24px;
    }

    .contact-poster-frame {
        min-height: 300px;
    }
}

/* =====================================================
   PATCH 5 END
   ===================================================== */


/* =====================================================
   PATCH 6 - FINAL ACTION SECTION STYLES
   ===================================================== */

.final-action-section {
    padding: 80px 20px 100px;
}

.final-action-content {
    width: min(1160px, 100%);
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    padding: 55px;

    background:
        linear-gradient(
            135deg,
            var(--deep),
            #20493d
        );

    border-radius: 32px;

    color: var(--white);

    box-shadow: var(--shadow-lg);
}

.final-action-content .section-tag {
    color: var(--gold-light);

    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.final-action-content h2 {
    margin-top: 17px;

    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.5;
}

.final-action-content h2 span {
    color: var(--gold-light);
}

.final-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;

    min-width: 250px;
}

.final-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 15px 18px;

    border-radius: 15px;

    font-size: 0.92rem;
    font-weight: 900;

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.final-btn:hover {
    transform: translateX(5px);
}

.seeker-final-btn {
    color: var(--deep);
    background: var(--gold-light);
}

.provider-final-btn {
    color: var(--white);
    background: rgba(255, 255, 255, 0.10);

    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* =====================================================
   PATCH 6 END
   ===================================================== */


/* =====================================================
   PATCH 7 - FOOTER STYLES
   index.html → PATCH 7 Footer மற்றும் Social Icons.
   ===================================================== */

.site-footer {
    background: #0b1814;
    color: var(--white);
}

.footer-main {
    width: min(1200px, calc(100% - 40px));
    margin: auto;

    padding: 50px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-logo-link {
    flex: 0 0 auto;
}

.footer-logo-link img {
    width: 75px;
    height: 75px;

    object-fit: contain;
}

.footer-brand h3 {
    font-size: 1.2rem;
}

.footer-brand p {
    max-width: 480px;

    margin-top: 7px;

    color: rgba(255, 255, 255, 0.55);

    font-size: 0.86rem;
    line-height: 1.7;
}

.footer-social {
    text-align: right;
}

.footer-social > p {
    margin-bottom: 13px;

    color: var(--gold-light);
    font-size: 0.8rem;
    font-weight: 800;
}

.social-links {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.social-link {
    display: grid;
    place-items: center;

    width: 44px;
    height: 44px;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 13px;

    transition:
        transform var(--transition),
        background var(--transition);
}

.social-link:hover {
    transform: translateY(-5px);
    background: rgba(217, 164, 65, 0.25);
}

.social-link img {
    width: 22px;
    height: 22px;
}

.footer-bottom {
    width: min(1200px, calc(100% - 40px));
    margin: auto;

    padding: 20px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.78rem;
}

.back-to-top {
    color: var(--gold-light);
    font-size: 0.8rem;
    font-weight: 800;
}

/* =====================================================
   PATCH 7 END
   ===================================================== */


/* =====================================================
   RESPONSIVE - TABLET
   ===================================================== */

@media (max-width: 980px) {

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

    .center-card {
        grid-column: 1 / -1;

        max-width: 520px;
        width: 100%;

        margin: auto;

        transform: none;
    }

    .center-card .poster-image-wrap {
        aspect-ratio: 16 / 8;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        max-width: 620px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-poster-side {
        min-height: 500px;
    }

    .final-action-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .final-action-buttons {
        width: 100%;
        flex-direction: row;
    }

    .final-btn {
        flex: 1;
    }
}


/* =====================================================
   RESPONSIVE - MOBILE
   ===================================================== */

@media (max-width: 760px) {

    .site-header {
        padding: 10px 12px;
    }

    .navbar {
        position: relative;

        min-height: 64px;

        padding: 7px 8px 7px 16px;

        border-radius: 20px;
    }

    .brand-logo img {
        height: 48px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;

        top: calc(100% + 10px);
        left: 0;
        right: 0;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        padding: 10px;

        background: rgba(255, 253, 247, 0.98);

        border: 1px solid rgba(24, 33, 31, 0.08);
        border-radius: 20px;

        box-shadow: var(--shadow-md);

        opacity: 0;
        visibility: hidden;

        transform: translateY(-10px);

        transition:
            opacity var(--transition),
            transform var(--transition),
            visibility var(--transition);
    }

    .nav-menu.is-open {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);
    }

    .nav-link {
        width: 100%;
        padding: 14px 16px;
    }

    .nav-link::after {
        display: none;
    }

    .hero-section {
        width: min(100% - 24px, 1320px);

        padding: 45px 0;
    }

    .hero-intro {
        margin-bottom: 28px;
    }

    .hero-intro h1 {
        font-size: 2rem;
    }

    .hero-intro p {
        font-size: 0.92rem;
    }

    .poster-grid, .poster-grid.two-only {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 420px;
        margin: 0 auto;
    }

    .poster-card {
        border-radius: 22px;
    }

    .center-card {
        grid-column: auto;
        max-width: none;
    }

    .poster-image-wrap {
        aspect-ratio: 16 / 11;
    }

    .center-card .poster-image-wrap {
        aspect-ratio: 16 / 10;
    }

    .poster-card-info {
        padding: 19px;
    }

    .quick-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;

        margin-top: 18px;
    }

    .quick-btn {
        display: flex;
        align-items: center;
        gap: 10px;

        padding: 14px 12px;

        border-radius: 16px;

        box-shadow: var(--shadow-sm);
    }

    .quick-btn > span {
        font-size: 1.25rem;
    }

    .quick-btn small,
    .quick-btn strong {
        display: block;
    }

    .quick-btn small {
        color: var(--muted);
        font-size: 0.65rem;
    }

    .quick-btn strong {
        margin-top: 2px;
        font-size: 0.76rem;
    }

    .quick-seeker {
        background: rgba(30, 122, 109, 0.10);
    }

    .quick-provider {
        background: rgba(220, 107, 78, 0.10);
    }

    .trust-section {
        padding: 70px 20px;
    }

    .trust-card {
        min-height: auto;
        padding: 30px 25px;
    }

    .message-slider-section {
        width: calc(100% - 24px);
        margin: 55px auto;
    }

    .message-slider {
        min-height: 270px;
        border-radius: 24px;
    }

    .message-slide {
        flex-direction: column;
        text-align: center;
        gap: 15px;

        padding: 28px 22px;
    }

    .slide-icon {
        width: 60px;
        height: 60px;
    }

    .contact-section {
        padding: 65px 12px;
    }

    .contact-card {
        padding: 28px 20px;
        border-radius: 24px;
    }

    .contact-icon-badge {
        width: 60px;
        height: 60px;
    }

    .contact-poster-side {
        min-height: 400px;
    }

    .contact-poster-frame {
        min-height: 400px;
        border-radius: 24px;
    }

    .contact-poster-frame > img {
        min-height: 400px;
    }

    .final-action-section {
        padding: 50px 12px 70px;
    }

    .final-action-content {
        padding: 32px 22px;
        border-radius: 25px;
    }

    .final-action-buttons {
        flex-direction: column;
    }

    .footer-main {
        width: calc(100% - 32px);

        padding: 38px 0;

        flex-direction: column;
        align-items: flex-start;
    }

    .footer-brand {
        align-items: flex-start;
    }

    .footer-social {
        width: 100%;
        text-align: left;
    }

    .social-links {
        justify-content: flex-start;
    }

    .footer-bottom {
        width: calc(100% - 32px);

        flex-direction: column;
        align-items: flex-start;
    }
}


/* =====================================================
   RESPONSIVE - SMALL MOBILE
   ===================================================== */

@media (max-width: 420px) {

    .quick-actions {
        grid-template-columns: 1fr;
    }

    .hero-intro h1 {
        font-size: 1.75rem;
    }

    .poster-image-wrap {
        aspect-ratio: 4 / 3.2;
    }

    .footer-brand {
        flex-direction: column;
    }
}

/* ===== MOBILE MENU FIX - INDEX ===== */
.menu-toggle { display: none; }
.menu-toggle span { transition: 0.3s; display: block; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 768px) {
  .menu-toggle { display: flex !important; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; z-index: 1001; }
  .menu-toggle span { width: 25px; height: 3px; background: #333; border-radius: 2px; }
  .nav-links {
    position: absolute; top: 70px; left: 12px; right: 12px;
    background: #fff; flex-direction: column; padding: 12px;
    border: 1px solid #e2e8f0; border-radius: 16px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.15);
    display: none !important; z-index: 1000;
  }
  .nav-links.is-open, .nav-links.open, .nav-links.active, .nav-links.show {
    display: flex !important;
  }
  .nav-links li { width: 100%; }
  .nav-links li a { display: block; width: 100%; padding: 12px 14px; }
}

/* === FINAL FIXES FOR POSTER FIT & GAP === */
.poster-image-wrap img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center top !important;
}
.poster-card {
    overflow: visible;
}
.poster-card .poster-image-wrap {
    border-radius: 28px 28px 0 0;
    overflow: hidden;
}
@media (max-width: 768px) {
  .poster-image-wrap { aspect-ratio: auto !important; }
}